twilio-ruby 5.25.4 → 5.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +1 -3
  3. data/.travis.yml +3 -0
  4. data/CHANGES.md +24 -0
  5. data/README.md +22 -14
  6. data/lib/twilio-ruby/http/http_client.rb +4 -3
  7. data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +2 -2
  8. data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +2 -2
  9. data/lib/twilio-ruby/rest/api/v2010/account/address.rb +2 -2
  10. data/lib/twilio-ruby/rest/api/v2010/account/application.rb +2 -2
  11. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +10 -4
  12. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +2 -2
  13. data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +2 -2
  14. data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +2 -2
  15. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +4 -4
  16. data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +2 -2
  17. data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +2 -2
  18. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +2 -2
  19. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +2 -2
  20. data/lib/twilio-ruby/rest/api/v2010/account/key.rb +2 -2
  21. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +2 -2
  22. data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +2 -2
  23. data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +2 -2
  24. data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +2 -2
  25. data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +2 -2
  26. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +2 -2
  27. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +2 -2
  28. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +2 -2
  29. data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +2 -2
  30. data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +2 -2
  31. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +2 -2
  32. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +2 -2
  33. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +2 -2
  34. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_credential_list_mapping.rb +2 -2
  35. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_ip_access_control_list_mapping.rb +2 -2
  36. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping/auth_registrations_credential_list_mapping.rb +2 -2
  37. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +2 -2
  38. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +2 -2
  39. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +2 -2
  40. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +2 -2
  41. data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +2 -2
  42. data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +2 -2
  43. data/lib/twilio-ruby/rest/authy/v1/service.rb +2 -2
  44. data/lib/twilio-ruby/rest/authy/v1/service/entity.rb +2 -2
  45. data/lib/twilio-ruby/rest/authy/v1/service/entity/factor.rb +2 -2
  46. data/lib/twilio-ruby/rest/authy/v1/service/entity/factor/challenge.rb +2 -2
  47. data/lib/twilio-ruby/rest/autopilot/v1/assistant.rb +2 -2
  48. data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +2 -2
  49. data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type/field_value.rb +2 -2
  50. data/lib/twilio-ruby/rest/autopilot/v1/assistant/model_build.rb +2 -2
  51. data/lib/twilio-ruby/rest/autopilot/v1/assistant/query.rb +2 -2
  52. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +2 -2
  53. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/field.rb +2 -2
  54. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/sample.rb +2 -2
  55. data/lib/twilio-ruby/rest/autopilot/v1/assistant/webhook.rb +2 -2
  56. data/lib/twilio-ruby/rest/chat/v1/credential.rb +2 -2
  57. data/lib/twilio-ruby/rest/chat/v1/service.rb +2 -2
  58. data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +2 -2
  59. data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +2 -2
  60. data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +2 -2
  61. data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +2 -2
  62. data/lib/twilio-ruby/rest/chat/v1/service/role.rb +2 -2
  63. data/lib/twilio-ruby/rest/chat/v1/service/user.rb +2 -2
  64. data/lib/twilio-ruby/rest/chat/v2.rb +2 -4
  65. data/lib/twilio-ruby/rest/chat/v2/credential.rb +12 -14
  66. data/lib/twilio-ruby/rest/chat/v2/service.rb +35 -43
  67. data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +17 -19
  68. data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +28 -24
  69. data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +17 -16
  70. data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +43 -44
  71. data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +38 -37
  72. data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +25 -26
  73. data/lib/twilio-ruby/rest/chat/v2/service/role.rb +19 -17
  74. data/lib/twilio-ruby/rest/chat/v2/service/user.rb +17 -17
  75. data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +25 -27
  76. data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +8 -5
  77. data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +32 -6
  78. data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +30 -6
  79. data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +27 -6
  80. data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +2 -2
  81. data/lib/twilio-ruby/rest/fax/v1/fax.rb +2 -2
  82. data/lib/twilio-ruby/rest/fax/v1/fax/fax_media.rb +2 -2
  83. data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +2 -2
  84. data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +14 -0
  85. data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +2 -2
  86. data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +2 -2
  87. data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +2 -2
  88. data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +2 -2
  89. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +2 -2
  90. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +2 -2
  91. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +2 -2
  92. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +2 -2
  93. data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +2 -2
  94. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +2 -2
  95. data/lib/twilio-ruby/rest/ip_messaging/v2.rb +2 -4
  96. data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +12 -14
  97. data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +35 -43
  98. data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +17 -19
  99. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +28 -24
  100. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +17 -16
  101. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +43 -44
  102. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +38 -37
  103. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +25 -26
  104. data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +19 -17
  105. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +17 -17
  106. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +25 -27
  107. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +8 -5
  108. data/lib/twilio-ruby/rest/messaging/v1/service.rb +2 -2
  109. data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +2 -2
  110. data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +2 -2
  111. data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +2 -2
  112. data/lib/twilio-ruby/rest/messaging/v1/session.rb +2 -2
  113. data/lib/twilio-ruby/rest/messaging/v1/session/message.rb +2 -2
  114. data/lib/twilio-ruby/rest/messaging/v1/session/participant.rb +2 -2
  115. data/lib/twilio-ruby/rest/messaging/v1/session/webhook.rb +2 -2
  116. data/lib/twilio-ruby/rest/monitor/v1/alert.rb +2 -2
  117. data/lib/twilio-ruby/rest/notify/v1/credential.rb +2 -2
  118. data/lib/twilio-ruby/rest/notify/v1/service.rb +2 -2
  119. data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +2 -2
  120. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +2 -2
  121. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +2 -2
  122. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +2 -2
  123. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +2 -2
  124. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +2 -2
  125. data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +2 -2
  126. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +2 -2
  127. data/lib/twilio-ruby/rest/preview/sync/service.rb +2 -2
  128. data/lib/twilio-ruby/rest/preview/sync/service/document.rb +2 -2
  129. data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +2 -2
  130. data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +2 -2
  131. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +2 -2
  132. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +2 -2
  133. data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +2 -2
  134. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +2 -2
  135. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +2 -2
  136. data/lib/twilio-ruby/rest/preview/trusted_comms/branded_call.rb +10 -2
  137. data/lib/twilio-ruby/rest/preview/understand/assistant.rb +2 -2
  138. data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +2 -2
  139. data/lib/twilio-ruby/rest/preview/understand/assistant/field_type/field_value.rb +2 -2
  140. data/lib/twilio-ruby/rest/preview/understand/assistant/model_build.rb +2 -2
  141. data/lib/twilio-ruby/rest/preview/understand/assistant/query.rb +2 -2
  142. data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +2 -2
  143. data/lib/twilio-ruby/rest/preview/understand/assistant/task/field.rb +2 -2
  144. data/lib/twilio-ruby/rest/preview/understand/assistant/task/sample.rb +2 -2
  145. data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +2 -2
  146. data/lib/twilio-ruby/rest/proxy/v1/service.rb +2 -2
  147. data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +2 -2
  148. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +2 -2
  149. data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +2 -2
  150. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +2 -2
  151. data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +2 -2
  152. data/lib/twilio-ruby/rest/serverless/v1/service.rb +2 -2
  153. data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +2 -2
  154. data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +2 -2
  155. data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +2 -2
  156. data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +2 -2
  157. data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +2 -2
  158. data/lib/twilio-ruby/rest/studio.rb +2 -1
  159. data/lib/twilio-ruby/rest/studio/v1.rb +1 -1
  160. data/lib/twilio-ruby/rest/studio/v1/flow.rb +13 -13
  161. data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +25 -24
  162. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +11 -11
  163. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +20 -20
  164. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +15 -17
  165. data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +44 -38
  166. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb +12 -11
  167. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +21 -20
  168. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb +18 -17
  169. data/lib/twilio-ruby/rest/sync.rb +2 -1
  170. data/lib/twilio-ruby/rest/sync/v1.rb +1 -1
  171. data/lib/twilio-ruby/rest/sync/v1/service.rb +90 -93
  172. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +46 -33
  173. data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +36 -38
  174. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +44 -31
  175. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +94 -76
  176. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +37 -38
  177. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +45 -33
  178. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +98 -81
  179. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +35 -38
  180. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +39 -28
  181. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +14 -12
  182. data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +2 -2
  183. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +2 -2
  184. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +2 -2
  185. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +2 -2
  186. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +2 -2
  187. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +2 -2
  188. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +2 -2
  189. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +2 -2
  190. data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +2 -2
  191. data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +2 -2
  192. data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +2 -2
  193. data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +2 -2
  194. data/lib/twilio-ruby/rest/trunking/v1/trunk/terminating_sip_domain.rb +2 -2
  195. data/lib/twilio-ruby/rest/verify/v2/service.rb +2 -2
  196. data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +2 -2
  197. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +3 -3
  198. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +2 -2
  199. data/lib/twilio-ruby/rest/video/v1/composition.rb +2 -2
  200. data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +2 -2
  201. data/lib/twilio-ruby/rest/video/v1/recording.rb +2 -2
  202. data/lib/twilio-ruby/rest/video/v1/room/recording.rb +2 -2
  203. data/lib/twilio-ruby/rest/wireless.rb +3 -3
  204. data/lib/twilio-ruby/rest/wireless/v1.rb +3 -6
  205. data/lib/twilio-ruby/rest/wireless/v1/command.rb +54 -52
  206. data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +64 -65
  207. data/lib/twilio-ruby/rest/wireless/v1/sim.rb +147 -141
  208. data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +34 -28
  209. data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +32 -32
  210. data/lib/twilio-ruby/rest/wireless/v1/usage_record.rb +19 -19
  211. data/lib/twilio-ruby/version.rb +1 -1
  212. data/spec/integration/api/v2010/account/call_spec.rb +45 -0
  213. data/spec/integration/api/v2010/account/message_spec.rb +37 -0
  214. data/spec/integration/conversations/v1/conversation/message_spec.rb +5 -0
  215. data/spec/integration/conversations/v1/conversation/participant_spec.rb +8 -10
  216. data/spec/integration/conversations/v1/conversation_spec.rb +4 -0
  217. data/spec/integration/flex_api/v1/configuration_spec.rb +24 -0
  218. data/spec/integration/preview/trusted_comms/branded_call_spec.rb +1 -0
  219. data/spec/integration/verify/v2/service/verification_spec.rb +1 -1
  220. metadata +2 -2
@@ -16,8 +16,8 @@ module Twilio
16
16
  ##
17
17
  # Initialize the ExecutionContextList
18
18
  # @param [Version] version Version that contains the resource
19
- # @param [String] flow_sid The unique SID identifier of the Flow.
20
- # @param [String] execution_sid The unique SID identifier of the Execution.
19
+ # @param [String] flow_sid The SID of the Flow.
20
+ # @param [String] execution_sid The SID of the context's Execution resource.
21
21
  # @return [ExecutionContextList] ExecutionContextList
22
22
  def initialize(version, flow_sid: nil, execution_sid: nil)
23
23
  super(version)
@@ -71,8 +71,9 @@ module Twilio
71
71
  ##
72
72
  # Initialize the ExecutionContextContext
73
73
  # @param [Version] version Version that contains the resource
74
- # @param [String] flow_sid The unique SID identifier of the Flow.
75
- # @param [String] execution_sid The unique SID identifier of the Execution.
74
+ # @param [String] flow_sid The SID of the Flow with the Execution context to
75
+ # fetch.
76
+ # @param [String] execution_sid The SID of the Execution context to fetch.
76
77
  # @return [ExecutionContextContext] ExecutionContextContext
77
78
  def initialize(version, flow_sid, execution_sid)
78
79
  super(version)
@@ -122,8 +123,8 @@ module Twilio
122
123
  # Initialize the ExecutionContextInstance
123
124
  # @param [Version] version Version that contains the resource
124
125
  # @param [Hash] payload payload that contains response from Twilio
125
- # @param [String] flow_sid The unique SID identifier of the Flow.
126
- # @param [String] execution_sid The unique SID identifier of the Execution.
126
+ # @param [String] flow_sid The SID of the Flow.
127
+ # @param [String] execution_sid The SID of the context's Execution resource.
127
128
  # @return [ExecutionContextInstance] ExecutionContextInstance
128
129
  def initialize(version, payload, flow_sid: nil, execution_sid: nil)
129
130
  super(version)
@@ -158,31 +159,31 @@ module Twilio
158
159
  end
159
160
 
160
161
  ##
161
- # @return [String] Account Sid.
162
+ # @return [String] The SID of the Account that created the resource
162
163
  def account_sid
163
164
  @properties['account_sid']
164
165
  end
165
166
 
166
167
  ##
167
- # @return [Hash] Flow state.
168
+ # @return [Hash] The current state of the flow
168
169
  def context
169
170
  @properties['context']
170
171
  end
171
172
 
172
173
  ##
173
- # @return [String] Flow Sid.
174
+ # @return [String] The SID of the Flow
174
175
  def flow_sid
175
176
  @properties['flow_sid']
176
177
  end
177
178
 
178
179
  ##
179
- # @return [String] Execution Sid.
180
+ # @return [String] The SID of the Execution
180
181
  def execution_sid
181
182
  @properties['execution_sid']
182
183
  end
183
184
 
184
185
  ##
185
- # @return [String] The URL of this resource.
186
+ # @return [String] The absolute URL of the resource
186
187
  def url
187
188
  @properties['url']
188
189
  end
@@ -16,8 +16,8 @@ module Twilio
16
16
  ##
17
17
  # Initialize the ExecutionStepList
18
18
  # @param [Version] version Version that contains the resource
19
- # @param [String] flow_sid The unique SID identifier of the Flow.
20
- # @param [String] execution_sid The unique SID identifier of the Execution.
19
+ # @param [String] flow_sid The SID of the Flow.
20
+ # @param [String] execution_sid The SID of the Step's Execution resource.
21
21
  # @return [ExecutionStepList] ExecutionStepList
22
22
  def initialize(version, flow_sid: nil, execution_sid: nil)
23
23
  super(version)
@@ -154,9 +154,10 @@ module Twilio
154
154
  ##
155
155
  # Initialize the ExecutionStepContext
156
156
  # @param [Version] version Version that contains the resource
157
- # @param [String] flow_sid The unique SID identifier of the Flow.
158
- # @param [String] execution_sid The unique SID identifier of the Execution.
159
- # @param [String] sid The unique SID identifier of the Step.
157
+ # @param [String] flow_sid The SID of the Flow with the Step to fetch.
158
+ # @param [String] execution_sid The SID of the Execution resource with the Step to
159
+ # fetch.
160
+ # @param [String] sid The SID of the ExecutionStep resource to fetch.
160
161
  # @return [ExecutionStepContext] ExecutionStepContext
161
162
  def initialize(version, flow_sid, execution_sid, sid)
162
163
  super(version)
@@ -223,9 +224,9 @@ module Twilio
223
224
  # Initialize the ExecutionStepInstance
224
225
  # @param [Version] version Version that contains the resource
225
226
  # @param [Hash] payload payload that contains response from Twilio
226
- # @param [String] flow_sid The unique SID identifier of the Flow.
227
- # @param [String] execution_sid The unique SID identifier of the Execution.
228
- # @param [String] sid The unique SID identifier of the Step.
227
+ # @param [String] flow_sid The SID of the Flow.
228
+ # @param [String] execution_sid The SID of the Step's Execution resource.
229
+ # @param [String] sid The SID of the ExecutionStep resource to fetch.
229
230
  # @return [ExecutionStepInstance] ExecutionStepInstance
230
231
  def initialize(version, payload, flow_sid: nil, execution_sid: nil, sid: nil)
231
232
  super(version)
@@ -272,73 +273,73 @@ module Twilio
272
273
  end
273
274
 
274
275
  ##
275
- # @return [String] A string that uniquely identifies this Step.
276
+ # @return [String] The unique string that identifies the resource
276
277
  def sid
277
278
  @properties['sid']
278
279
  end
279
280
 
280
281
  ##
281
- # @return [String] Account Sid.
282
+ # @return [String] The SID of the Account that created the resource
282
283
  def account_sid
283
284
  @properties['account_sid']
284
285
  end
285
286
 
286
287
  ##
287
- # @return [String] Flow Sid.
288
+ # @return [String] The SID of the Flow
288
289
  def flow_sid
289
290
  @properties['flow_sid']
290
291
  end
291
292
 
292
293
  ##
293
- # @return [String] Execution Sid.
294
+ # @return [String] The SID of the Execution
294
295
  def execution_sid
295
296
  @properties['execution_sid']
296
297
  end
297
298
 
298
299
  ##
299
- # @return [String] The event that caused the flow to transition to this Step.
300
+ # @return [String] The event that caused the Flow to transition to the Step
300
301
  def name
301
302
  @properties['name']
302
303
  end
303
304
 
304
305
  ##
305
- # @return [Hash] The context
306
+ # @return [Hash] The current state of the flow
306
307
  def context
307
308
  @properties['context']
308
309
  end
309
310
 
310
311
  ##
311
- # @return [String] The Widget that preceded the Widget for this Step.
312
+ # @return [String] The Widget that preceded the Widget for the Step
312
313
  def transitioned_from
313
314
  @properties['transitioned_from']
314
315
  end
315
316
 
316
317
  ##
317
- # @return [String] The Widget that will follow the Widget for this Step.
318
+ # @return [String] The Widget that will follow the Widget for the Step
318
319
  def transitioned_to
319
320
  @properties['transitioned_to']
320
321
  end
321
322
 
322
323
  ##
323
- # @return [Time] The date this Step was created
324
+ # @return [Time] The ISO 8601 date and time in GMT when the resource was created
324
325
  def date_created
325
326
  @properties['date_created']
326
327
  end
327
328
 
328
329
  ##
329
- # @return [Time] The date this Step was updated
330
+ # @return [Time] The ISO 8601 date and time in GMT when the resource was last updated
330
331
  def date_updated
331
332
  @properties['date_updated']
332
333
  end
333
334
 
334
335
  ##
335
- # @return [String] The URL of this resource.
336
+ # @return [String] The absolute URL of the resource
336
337
  def url
337
338
  @properties['url']
338
339
  end
339
340
 
340
341
  ##
341
- # @return [String] The links
342
+ # @return [String] The URLs of related resources
342
343
  def links
343
344
  @properties['links']
344
345
  end
@@ -17,10 +17,10 @@ module Twilio
17
17
  ##
18
18
  # Initialize the ExecutionStepContextList
19
19
  # @param [Version] version Version that contains the resource
20
- # @param [String] flow_sid The unique SID identifier of the Flow.
21
- # @param [String] execution_sid The unique SID identifier of the Execution.
22
- # @param [String] step_sid The unique SID identifier of the Step this context is
23
- # associated with.
20
+ # @param [String] flow_sid The SID of the Flow.
21
+ # @param [String] execution_sid The SID of the context's Execution resource.
22
+ # @param [String] step_sid The SID of the Step that the context is associated
23
+ # with.
24
24
  # @return [ExecutionStepContextList] ExecutionStepContextList
25
25
  def initialize(version, flow_sid: nil, execution_sid: nil, step_sid: nil)
26
26
  super(version)
@@ -75,9 +75,10 @@ module Twilio
75
75
  ##
76
76
  # Initialize the ExecutionStepContextContext
77
77
  # @param [Version] version Version that contains the resource
78
- # @param [String] flow_sid The unique SID identifier of the Flow.
79
- # @param [String] execution_sid The unique SID identifier of the Execution.
80
- # @param [String] step_sid The unique SID identifier of the Step.
78
+ # @param [String] flow_sid The SID of the Flow with the Step to fetch.
79
+ # @param [String] execution_sid The SID of the Execution resource with the Step to
80
+ # fetch.
81
+ # @param [String] step_sid The SID of the Step to fetch.
81
82
  # @return [ExecutionStepContextContext] ExecutionStepContextContext
82
83
  def initialize(version, flow_sid, execution_sid, step_sid)
83
84
  super(version)
@@ -128,10 +129,10 @@ module Twilio
128
129
  # Initialize the ExecutionStepContextInstance
129
130
  # @param [Version] version Version that contains the resource
130
131
  # @param [Hash] payload payload that contains response from Twilio
131
- # @param [String] flow_sid The unique SID identifier of the Flow.
132
- # @param [String] execution_sid The unique SID identifier of the Execution.
133
- # @param [String] step_sid The unique SID identifier of the Step this context is
134
- # associated with.
132
+ # @param [String] flow_sid The SID of the Flow.
133
+ # @param [String] execution_sid The SID of the context's Execution resource.
134
+ # @param [String] step_sid The SID of the Step that the context is associated
135
+ # with.
135
136
  # @return [ExecutionStepContextInstance] ExecutionStepContextInstance
136
137
  def initialize(version, payload, flow_sid: nil, execution_sid: nil, step_sid: nil)
137
138
  super(version)
@@ -168,37 +169,37 @@ module Twilio
168
169
  end
169
170
 
170
171
  ##
171
- # @return [String] Account Sid.
172
+ # @return [String] The SID of the Account that created the resource
172
173
  def account_sid
173
174
  @properties['account_sid']
174
175
  end
175
176
 
176
177
  ##
177
- # @return [Hash] Flow state.
178
+ # @return [Hash] The current state of the flow
178
179
  def context
179
180
  @properties['context']
180
181
  end
181
182
 
182
183
  ##
183
- # @return [String] Execution Sid.
184
+ # @return [String] The SID of the Execution
184
185
  def execution_sid
185
186
  @properties['execution_sid']
186
187
  end
187
188
 
188
189
  ##
189
- # @return [String] Flow Sid.
190
+ # @return [String] The SID of the Flow
190
191
  def flow_sid
191
192
  @properties['flow_sid']
192
193
  end
193
194
 
194
195
  ##
195
- # @return [String] Step Sid.
196
+ # @return [String] Step SID
196
197
  def step_sid
197
198
  @properties['step_sid']
198
199
  end
199
200
 
200
201
  ##
201
- # @return [String] The URL of this resource.
202
+ # @return [String] The absolute URL of the resource
202
203
  def url
203
204
  @properties['url']
204
205
  end
@@ -29,7 +29,8 @@ module Twilio
29
29
  end
30
30
 
31
31
  ##
32
- # @param [String] sid A unique identifier for this service instance.
32
+ # @param [String] sid The unique string that we created to identify the Service
33
+ # resource.
33
34
  # @return [Twilio::REST::Sync::V1::ServiceInstance] if sid was passed.
34
35
  # @return [Twilio::REST::Sync::V1::ServiceList]
35
36
  def services(sid=:unset)
@@ -19,7 +19,7 @@ module Twilio
19
19
  end
20
20
 
21
21
  ##
22
- # @param [String] sid A unique identifier for this service instance.
22
+ # @param [String] sid The SID of the Service resource to fetch.
23
23
  # @return [Twilio::REST::Sync::V1::ServiceContext] if sid was passed.
24
24
  # @return [Twilio::REST::Sync::V1::ServiceList]
25
25
  def services(sid=:unset)
@@ -28,31 +28,30 @@ module Twilio
28
28
  ##
29
29
  # Retrieve a single page of ServiceInstance records from the API.
30
30
  # Request is executed immediately.
31
- # @param [String] friendly_name Human-readable name for this service instance
32
- # @param [String] webhook_url A URL that will receive event updates when objects
33
- # are manipulated.
34
- # @param [Boolean] reachability_webhooks_enabled `true` or `false` - controls
35
- # whether this instance fires webhooks when client endpoints connect to Sync
36
- # Defaults to false.
37
- # @param [Boolean] acl_enabled `true` or `false` - determines whether token
38
- # identities must be granted access to Sync objects via the [Permissions
39
- # API](https://www.twilio.com/docs/api/sync/rest/sync-rest-api-permissions) in
40
- # this Service.
41
- # @param [Boolean] reachability_debouncing_enabled `true` or `false` - If false,
42
- # every endpoint disconnection immediately yields a reachability webhook (if
43
- # enabled). If true, then 'disconnection' webhook events will only be fired after
44
- # a configurable delay. Intervening reconnections would effectively cancel that
45
- # webhook. Defaults to false.
46
- # @param [String] reachability_debouncing_window Reachability webhook delay period
47
- # in milliseconds. Determines the delay after which a Sync identity is declared
48
- # actually offline, measured from the moment the last running client disconnects.
49
- # If all endpoints remain offline throughout this delay, then reachability
50
- # webhooks will be fired (if enabled). A reconnection by any endpoint during this
51
- # window — from the same identity — means no reachability webhook would be fired.
52
- # Must be between 1000 and 30000. Defaults to 5000.
53
- # @param [Boolean] webhooks_from_rest_enabled `true` or `false` - controls whether
54
- # this instance fires webhooks when Sync objects are updated through REST.
55
- # Defaults to false.
31
+ # @param [String] friendly_name A string that you assign to describe the resource.
32
+ # @param [String] webhook_url The URL we should call when Sync objects are
33
+ # manipulated.
34
+ # @param [Boolean] reachability_webhooks_enabled Whether the service instance
35
+ # should call `webhook_url` when client endpoints connect to Sync. The default is
36
+ # `false`.
37
+ # @param [Boolean] acl_enabled Whether token identities in the Service must be
38
+ # granted access to Sync objects by using the
39
+ # [Permissions](https://www.twilio.com/docs/sync/api/permissions) resource.
40
+ # @param [Boolean] reachability_debouncing_enabled Whether every
41
+ # `endpoint_disconnected` event should occur after a configurable delay. The
42
+ # default is `false`, where the `endpoint_disconnected` event occurs immediately
43
+ # after disconnection. When `true`, intervening reconnections can prevent the
44
+ # `endpoint_disconnected` event.
45
+ # @param [String] reachability_debouncing_window The reachability event delay in
46
+ # milliseconds if `reachability_debouncing_enabled` = `true`. Must be between
47
+ # 1,000 and 30,000 and defaults to 5,000. This is the number of milliseconds after
48
+ # the last running client disconnects, and a Sync identity is declared offline,
49
+ # before the `webhook_url` is called if all endpoints remain offline. A
50
+ # reconnection from the same identity by any endpoint during this interval
51
+ # prevents the call to `webhook_url`.
52
+ # @param [Boolean] webhooks_from_rest_enabled Whether the Service instance should
53
+ # call `webhook_url` when the REST API is used to update Sync objects. The default
54
+ # is `false`.
56
55
  # @return [ServiceInstance] Newly created ServiceInstance
57
56
  def create(friendly_name: :unset, webhook_url: :unset, reachability_webhooks_enabled: :unset, acl_enabled: :unset, reachability_debouncing_enabled: :unset, reachability_debouncing_window: :unset, webhooks_from_rest_enabled: :unset)
58
57
  data = Twilio::Values.of({
@@ -200,7 +199,7 @@ module Twilio
200
199
  ##
201
200
  # Initialize the ServiceContext
202
201
  # @param [Version] version Version that contains the resource
203
- # @param [String] sid A unique identifier for this service instance.
202
+ # @param [String] sid The SID of the Service resource to fetch.
204
203
  # @return [ServiceContext] ServiceContext
205
204
  def initialize(version, sid)
206
205
  super(version)
@@ -233,38 +232,37 @@ module Twilio
233
232
 
234
233
  ##
235
234
  # Deletes the ServiceInstance
236
- # @return [Boolean] true if delete succeeds, true otherwise
235
+ # @return [Boolean] true if delete succeeds, false otherwise
237
236
  def delete
238
237
  @version.delete('delete', @uri)
239
238
  end
240
239
 
241
240
  ##
242
241
  # Update the ServiceInstance
243
- # @param [String] webhook_url A URL that will receive event updates when objects
244
- # are manipulated.
245
- # @param [String] friendly_name Human-readable name for this service instance
246
- # @param [Boolean] reachability_webhooks_enabled True or false - controls whether
247
- # this instance fires webhooks when client endpoints connect to Sync Defaults to
248
- # false.
249
- # @param [Boolean] acl_enabled `true` or `false` - determines whether token
250
- # identities must be granted access to Sync objects via the [Permissions
251
- # API](https://www.twilio.com/docs/api/sync/rest/sync-rest-api-permissions) in
252
- # this Service.
253
- # @param [Boolean] reachability_debouncing_enabled `true` or `false` - If false,
254
- # every endpoint disconnection immediately yields a reachability webhook (if
255
- # enabled). If true, then 'disconnection' webhook events will only be fired after
256
- # a configurable delay. Intervening reconnections would effectively cancel that
257
- # webhook. Defaults to false.
258
- # @param [String] reachability_debouncing_window Reachability webhook delay period
259
- # in milliseconds. Determines the delay after which a Sync identity is declared
260
- # actually offline, measured from the moment the last running client disconnects.
261
- # If all endpoints remain offline throughout this delay, then reachability
262
- # webhooks will be fired (if enabled). A reconnection by any endpoint during this
263
- # window — from the same identity — means no reachability webhook would be fired.
264
- # Must be between 1000 and 30000. Defaults to 5000.
265
- # @param [Boolean] webhooks_from_rest_enabled `true` or `false` - controls whether
266
- # this instance fires webhooks when Sync objects are updated through REST.
267
- # Defaults to false.
242
+ # @param [String] webhook_url The URL we should call when Sync objects are
243
+ # manipulated.
244
+ # @param [String] friendly_name A string that you assign to describe the resource.
245
+ # @param [Boolean] reachability_webhooks_enabled Whether the service instance
246
+ # should call `webhook_url` when client endpoints connect to Sync. The default is
247
+ # `false`.
248
+ # @param [Boolean] acl_enabled Whether token identities in the Service must be
249
+ # granted access to Sync objects by using the
250
+ # [Permissions](https://www.twilio.com/docs/sync/api/permissions) resource.
251
+ # @param [Boolean] reachability_debouncing_enabled Whether every
252
+ # `endpoint_disconnected` event should occur after a configurable delay. The
253
+ # default is `false`, where the `endpoint_disconnected` event occurs immediately
254
+ # after disconnection. When `true`, intervening reconnections can prevent the
255
+ # `endpoint_disconnected` event.
256
+ # @param [String] reachability_debouncing_window The reachability event delay in
257
+ # milliseconds if `reachability_debouncing_enabled` = `true`. Must be between
258
+ # 1,000 and 30,000 and defaults to 5,000. This is the number of milliseconds after
259
+ # the last running client disconnects, and a Sync identity is declared offline,
260
+ # before the webhook is called if all endpoints remain offline. A reconnection
261
+ # from the same identity by any endpoint during this interval prevents the webhook
262
+ # from being called.
263
+ # @param [Boolean] webhooks_from_rest_enabled Whether the Service instance should
264
+ # call `webhook_url` when the REST API is used to update Sync objects. The default
265
+ # is `false`.
268
266
  # @return [ServiceInstance] Updated ServiceInstance
269
267
  def update(webhook_url: :unset, friendly_name: :unset, reachability_webhooks_enabled: :unset, acl_enabled: :unset, reachability_debouncing_enabled: :unset, reachability_debouncing_window: :unset, webhooks_from_rest_enabled: :unset)
270
268
  data = Twilio::Values.of({
@@ -380,7 +378,7 @@ module Twilio
380
378
  # Initialize the ServiceInstance
381
379
  # @param [Version] version Version that contains the resource
382
380
  # @param [Hash] payload payload that contains response from Twilio
383
- # @param [String] sid A unique identifier for this service instance.
381
+ # @param [String] sid The SID of the Service resource to fetch.
384
382
  # @return [ServiceInstance] ServiceInstance
385
383
  def initialize(version, payload, sid: nil)
386
384
  super(version)
@@ -420,85 +418,85 @@ module Twilio
420
418
  end
421
419
 
422
420
  ##
423
- # @return [String] A unique identifier for this service instance.
421
+ # @return [String] The unique string that identifies the resource
424
422
  def sid
425
423
  @properties['sid']
426
424
  end
427
425
 
428
426
  ##
429
- # @return [String] The unique_name
427
+ # @return [String] An application-defined string that uniquely identifies the resource
430
428
  def unique_name
431
429
  @properties['unique_name']
432
430
  end
433
431
 
434
432
  ##
435
- # @return [String] The account_sid
433
+ # @return [String] The SID of the Account that created the resource
436
434
  def account_sid
437
435
  @properties['account_sid']
438
436
  end
439
437
 
440
438
  ##
441
- # @return [String] Human-readable name for this service instance
439
+ # @return [String] The string that you assigned to describe the resource
442
440
  def friendly_name
443
441
  @properties['friendly_name']
444
442
  end
445
443
 
446
444
  ##
447
- # @return [Time] The date_created
445
+ # @return [Time] The ISO 8601 date and time in GMT when the resource was created
448
446
  def date_created
449
447
  @properties['date_created']
450
448
  end
451
449
 
452
450
  ##
453
- # @return [Time] The date_updated
451
+ # @return [Time] The ISO 8601 date and time in GMT when the resource was last updated
454
452
  def date_updated
455
453
  @properties['date_updated']
456
454
  end
457
455
 
458
456
  ##
459
- # @return [String] The url
457
+ # @return [String] The absolute URL of the Service resource
460
458
  def url
461
459
  @properties['url']
462
460
  end
463
461
 
464
462
  ##
465
- # @return [String] A URL that will receive event updates when objects are manipulated.
463
+ # @return [String] The URL we call when Sync objects are manipulated
466
464
  def webhook_url
467
465
  @properties['webhook_url']
468
466
  end
469
467
 
470
468
  ##
471
- # @return [Boolean] true or false - controls whether this instance fires webhooks when Sync objects are updated through REST
469
+ # @return [Boolean] Whether the Service instance should call webhook_url when the REST API is used to update Sync objects
472
470
  def webhooks_from_rest_enabled
473
471
  @properties['webhooks_from_rest_enabled']
474
472
  end
475
473
 
476
474
  ##
477
- # @return [Boolean] true or false - controls whether this instance fires webhooks when client endpoints connect to Sync
475
+ # @return [Boolean] Whether the service instance calls webhook_url when client endpoints connect to Sync
478
476
  def reachability_webhooks_enabled
479
477
  @properties['reachability_webhooks_enabled']
480
478
  end
481
479
 
482
480
  ##
483
- # @return [Boolean] true or false - determines whether token identities must be granted access to Sync objects via the Permissions API in this Service.
481
+ # @return [Boolean] Whether token identities in the Service must be granted access to Sync objects by using the Permissions resource
484
482
  def acl_enabled
485
483
  @properties['acl_enabled']
486
484
  end
487
485
 
488
486
  ##
489
- # @return [Boolean] true or false - Determines whether transient disconnections (i.e. an immediate reconnect succeeds) cause reachability webhooks.
487
+ # @return [Boolean] Whether every endpoint_disconnected event occurs after a configurable delay
490
488
  def reachability_debouncing_enabled
491
489
  @properties['reachability_debouncing_enabled']
492
490
  end
493
491
 
494
492
  ##
495
- # @return [String] Determines how long an identity must be offline before reachability webhooks fire.
493
+ # @return [String] The reachability event delay in milliseconds
496
494
  def reachability_debouncing_window
497
495
  @properties['reachability_debouncing_window']
498
496
  end
499
497
 
500
498
  ##
501
- # @return [String] The links
499
+ # @return [String] The URLs of related resources
502
500
  def links
503
501
  @properties['links']
504
502
  end
@@ -512,38 +510,37 @@ module Twilio
512
510
 
513
511
  ##
514
512
  # Deletes the ServiceInstance
515
- # @return [Boolean] true if delete succeeds, true otherwise
513
+ # @return [Boolean] true if delete succeeds, false otherwise
516
514
  def delete
517
515
  context.delete
518
516
  end
519
517
 
520
518
  ##
521
519
  # Update the ServiceInstance
522
- # @param [String] webhook_url A URL that will receive event updates when objects
523
- # are manipulated.
524
- # @param [String] friendly_name Human-readable name for this service instance
525
- # @param [Boolean] reachability_webhooks_enabled True or false - controls whether
526
- # this instance fires webhooks when client endpoints connect to Sync Defaults to
527
- # false.
528
- # @param [Boolean] acl_enabled `true` or `false` - determines whether token
529
- # identities must be granted access to Sync objects via the [Permissions
530
- # API](https://www.twilio.com/docs/api/sync/rest/sync-rest-api-permissions) in
531
- # this Service.
532
- # @param [Boolean] reachability_debouncing_enabled `true` or `false` - If false,
533
- # every endpoint disconnection immediately yields a reachability webhook (if
534
- # enabled). If true, then 'disconnection' webhook events will only be fired after
535
- # a configurable delay. Intervening reconnections would effectively cancel that
536
- # webhook. Defaults to false.
537
- # @param [String] reachability_debouncing_window Reachability webhook delay period
538
- # in milliseconds. Determines the delay after which a Sync identity is declared
539
- # actually offline, measured from the moment the last running client disconnects.
540
- # If all endpoints remain offline throughout this delay, then reachability
541
- # webhooks will be fired (if enabled). A reconnection by any endpoint during this
542
- # window — from the same identity — means no reachability webhook would be fired.
543
- # Must be between 1000 and 30000. Defaults to 5000.
544
- # @param [Boolean] webhooks_from_rest_enabled `true` or `false` - controls whether
545
- # this instance fires webhooks when Sync objects are updated through REST.
546
- # Defaults to false.
520
+ # @param [String] webhook_url The URL we should call when Sync objects are
521
+ # manipulated.
522
+ # @param [String] friendly_name A string that you assign to describe the resource.
523
+ # @param [Boolean] reachability_webhooks_enabled Whether the service instance
524
+ # should call `webhook_url` when client endpoints connect to Sync. The default is
525
+ # `false`.
526
+ # @param [Boolean] acl_enabled Whether token identities in the Service must be
527
+ # granted access to Sync objects by using the
528
+ # [Permissions](https://www.twilio.com/docs/sync/api/permissions) resource.
529
+ # @param [Boolean] reachability_debouncing_enabled Whether every
530
+ # `endpoint_disconnected` event should occur after a configurable delay. The
531
+ # default is `false`, where the `endpoint_disconnected` event occurs immediately
532
+ # after disconnection. When `true`, intervening reconnections can prevent the
533
+ # `endpoint_disconnected` event.
534
+ # @param [String] reachability_debouncing_window The reachability event delay in
535
+ # milliseconds if `reachability_debouncing_enabled` = `true`. Must be between
536
+ # 1,000 and 30,000 and defaults to 5,000. This is the number of milliseconds after
537
+ # the last running client disconnects, and a Sync identity is declared offline,
538
+ # before the webhook is called if all endpoints remain offline. A reconnection
539
+ # from the same identity by any endpoint during this interval prevents the webhook
540
+ # from being called.
541
+ # @param [Boolean] webhooks_from_rest_enabled Whether the Service instance should
542
+ # call `webhook_url` when the REST API is used to update Sync objects. The default
543
+ # is `false`.
547
544
  # @return [ServiceInstance] Updated ServiceInstance
548
545
  def update(webhook_url: :unset, friendly_name: :unset, reachability_webhooks_enabled: :unset, acl_enabled: :unset, reachability_debouncing_enabled: :unset, reachability_debouncing_window: :unset, webhooks_from_rest_enabled: :unset)
549
546
  context.update(