twilio-ruby 5.0.0.rc26 → 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +21 -0
- data/.rubocop_todo.yml +187 -0
- data/.travis.yml +13 -0
- data/CHANGES.md +4 -0
- data/Gemfile +2 -2
- data/Makefile +8 -1
- data/Rakefile +3 -7
- data/examples/examples.rb +12 -10
- data/examples/{print-call-log.rb → print_call_log.rb} +4 -4
- data/lib/rack/twilio_webhook_authentication.rb +2 -3
- data/lib/twilio-ruby/framework/domain.rb +2 -6
- data/lib/twilio-ruby/framework/error.rb +0 -1
- data/lib/twilio-ruby/framework/helper.rb +1 -1
- data/lib/twilio-ruby/framework/page.rb +23 -25
- data/lib/twilio-ruby/framework/resource.rb +2 -2
- data/lib/twilio-ruby/framework/serialize.rb +5 -12
- data/lib/twilio-ruby/framework/twilio_response.rb +1 -1
- data/lib/twilio-ruby/framework/values.rb +2 -2
- data/lib/twilio-ruby/framework/version.rb +19 -37
- data/lib/twilio-ruby/http/http_client.rb +5 -6
- data/lib/twilio-ruby/jwt/access_token.rb +27 -41
- data/lib/twilio-ruby/jwt/client_capability.rb +11 -16
- data/lib/twilio-ruby/jwt/jwt.rb +7 -13
- data/lib/twilio-ruby/jwt/task_router.rb +40 -38
- data/lib/twilio-ruby/rest/accounts.rb +2 -0
- data/lib/twilio-ruby/rest/accounts/v1.rb +2 -0
- data/lib/twilio-ruby/rest/accounts/v1/credential.rb +2 -2
- data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +12 -7
- data/lib/twilio-ruby/rest/api.rb +96 -0
- data/lib/twilio-ruby/rest/api/v2010.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account.rb +66 -56
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +30 -13
- data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +22 -8
- data/lib/twilio-ruby/rest/api/v2010/account/application.rb +40 -11
- data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +20 -9
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number.rb +16 -15
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/local.rb +26 -28
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/mobile.rb +26 -28
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/toll_free.rb +26 -28
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +64 -34
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +12 -4
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +28 -3
- data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +37 -16
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +25 -15
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +28 -27
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +28 -19
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +22 -9
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +62 -58
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +52 -12
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +52 -12
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +52 -12
- data/lib/twilio-ruby/rest/api/v2010/account/key.rb +8 -9
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +47 -20
- data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +12 -2
- data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +17 -17
- data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +10 -2
- data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +10 -2
- data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +37 -16
- data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +14 -13
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +20 -10
- data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +10 -10
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +37 -21
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +22 -13
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +22 -13
- data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +26 -9
- data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +24 -13
- data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +8 -9
- data/lib/twilio-ruby/rest/api/v2010/account/sip.rb +8 -10
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +16 -11
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +14 -9
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +36 -13
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +14 -10
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +14 -10
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +16 -11
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +16 -9
- data/lib/twilio-ruby/rest/api/v2010/account/token.rb +14 -2
- data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +26 -9
- data/lib/twilio-ruby/rest/api/v2010/account/usage.rb +4 -6
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +44 -33
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +28 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +28 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +28 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +28 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +28 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +28 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +28 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +28 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +32 -15
- data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +10 -1
- data/lib/twilio-ruby/rest/chat.rb +8 -0
- data/lib/twilio-ruby/rest/chat/v1.rb +8 -0
- data/lib/twilio-ruby/rest/chat/v1/credential.rb +16 -7
- data/lib/twilio-ruby/rest/chat/v1/service.rb +48 -13
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +34 -15
- data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +20 -10
- data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +22 -10
- data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +26 -10
- data/lib/twilio-ruby/rest/chat/v1/service/role.rb +18 -8
- data/lib/twilio-ruby/rest/chat/v1/service/user.rb +30 -10
- data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +16 -8
- data/lib/twilio-ruby/rest/chat/v2.rb +8 -0
- data/lib/twilio-ruby/rest/chat/v2/credential.rb +16 -7
- data/lib/twilio-ruby/rest/chat/v2/service.rb +46 -13
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +34 -15
- data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +20 -10
- data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +22 -10
- data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +26 -10
- data/lib/twilio-ruby/rest/chat/v2/service/role.rb +18 -8
- data/lib/twilio-ruby/rest/chat/v2/service/user.rb +30 -10
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +16 -8
- data/lib/twilio-ruby/rest/client.rb +94 -45
- data/lib/twilio-ruby/rest/ip_messaging.rb +8 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1.rb +8 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +16 -7
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +48 -13
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +34 -15
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +20 -10
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +22 -10
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +26 -10
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +18 -8
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +30 -10
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +16 -8
- data/lib/twilio-ruby/rest/ip_messaging/v2.rb +8 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +16 -7
- data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +46 -13
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +34 -15
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +20 -10
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +22 -10
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +26 -10
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +18 -8
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +30 -10
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +16 -8
- data/lib/twilio-ruby/rest/lookups.rb +4 -0
- data/lib/twilio-ruby/rest/lookups/v1.rb +9 -5
- data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +14 -1
- data/lib/twilio-ruby/rest/monitor.rb +8 -0
- data/lib/twilio-ruby/rest/monitor/v1.rb +8 -0
- data/lib/twilio-ruby/rest/monitor/v1/alert.rb +34 -10
- data/lib/twilio-ruby/rest/monitor/v1/event.rb +28 -13
- data/lib/twilio-ruby/rest/pricing.rb +6 -0
- data/lib/twilio-ruby/rest/pricing/v1.rb +6 -0
- data/lib/twilio-ruby/rest/pricing/v1/messaging.rb +8 -2
- data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +12 -7
- data/lib/twilio-ruby/rest/pricing/v1/phone_number.rb +8 -2
- data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +10 -7
- data/lib/twilio-ruby/rest/pricing/v1/voice.rb +10 -4
- data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +12 -7
- data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +14 -1
- data/lib/twilio-ruby/rest/taskrouter.rb +4 -0
- data/lib/twilio-ruby/rest/taskrouter/v1.rb +4 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +46 -24
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +16 -10
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +30 -17
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +42 -19
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +22 -10
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +16 -8
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +34 -15
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +12 -3
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +10 -11
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +34 -23
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +22 -10
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +28 -9
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +10 -3
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +10 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +28 -11
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +12 -3
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +10 -2
- data/lib/twilio-ruby/rest/trunking.rb +4 -0
- data/lib/twilio-ruby/rest/trunking/v1.rb +4 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +36 -15
- data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +14 -8
- data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +14 -8
- data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +22 -8
- data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +52 -8
- data/lib/twilio-ruby/rest/video.rb +8 -0
- data/lib/twilio-ruby/rest/video/v1.rb +8 -0
- data/lib/twilio-ruby/rest/video/v1/recording.rb +26 -12
- data/lib/twilio-ruby/rest/video/v1/room.rb +34 -13
- data/lib/twilio-ruby/rest/video/v1/room/recording.rb +28 -12
- data/lib/twilio-ruby/security/request_validator.rb +1 -2
- data/lib/twilio-ruby/twiml/messaging_response.rb +7 -19
- data/lib/twilio-ruby/twiml/twiml.rb +8 -14
- data/lib/twilio-ruby/twiml/voice_response.rb +157 -169
- data/lib/twilio-ruby/util.rb +1 -1
- data/lib/twilio-ruby/version.rb +1 -1
- data/spec/framework/serialize_spec.rb +17 -30
- data/spec/holodeck/holodeck.rb +6 -6
- data/spec/jwt/access_token_spec.rb +0 -6
- data/spec/jwt/client_capability_spec.rb +3 -3
- data/spec/jwt/task_router_spec.rb +16 -21
- data/spec/rack/twilio_webhook_authentication_spec.rb +12 -16
- data/spec/spec_helper.rb +2 -2
- data/spec/support/fakeweb.rb +1 -1
- data/spec/twiml/voice_response_spec.rb +33 -20
- data/twilio-ruby.gemspec +7 -3
- metadata +21 -193
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +0 -420
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +0 -345
- data/lib/twilio-ruby/rest/fax.rb +0 -40
- data/lib/twilio-ruby/rest/fax/v1.rb +0 -37
- data/lib/twilio-ruby/rest/fax/v1/fax.rb +0 -520
- data/lib/twilio-ruby/rest/fax/v1/fax/fax_media.rb +0 -321
- data/lib/twilio-ruby/rest/messaging.rb +0 -40
- data/lib/twilio-ruby/rest/messaging/v1.rb +0 -37
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +0 -604
- data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +0 -344
- data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +0 -349
- data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +0 -349
- data/lib/twilio-ruby/rest/notify.rb +0 -44
- data/lib/twilio-ruby/rest/notify/v1.rb +0 -48
- data/lib/twilio-ruby/rest/notify/v1/credential.rb +0 -394
- data/lib/twilio-ruby/rest/notify/v1/service.rb +0 -611
- data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +0 -414
- data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +0 -249
- data/lib/twilio-ruby/rest/notify/v1/service/segment.rb +0 -219
- data/lib/twilio-ruby/rest/notify/v1/service/user.rb +0 -437
- data/lib/twilio-ruby/rest/notify/v1/service/user/segment_memberships.rb +0 -247
- data/lib/twilio-ruby/rest/notify/v1/service/user/user_binding.rb +0 -418
- data/lib/twilio-ruby/rest/preview.rb +0 -107
- data/lib/twilio-ruby/rest/preview/bulk_exports.rb +0 -48
- data/lib/twilio-ruby/rest/preview/bulk_exports/export.rb +0 -198
- data/lib/twilio-ruby/rest/preview/bulk_exports/export/day.rb +0 -209
- data/lib/twilio-ruby/rest/preview/bulk_exports/export_configuration.rb +0 -232
- data/lib/twilio-ruby/rest/preview/hosted_numbers.rb +0 -37
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +0 -539
- data/lib/twilio-ruby/rest/preview/marketplace.rb +0 -48
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +0 -326
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +0 -297
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +0 -427
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +0 -335
- data/lib/twilio-ruby/rest/preview/proxy.rb +0 -37
- data/lib/twilio-ruby/rest/preview/proxy/service.rb +0 -489
- data/lib/twilio-ruby/rest/preview/proxy/service/phone_number.rb +0 -349
- data/lib/twilio-ruby/rest/preview/proxy/service/session.rb +0 -525
- data/lib/twilio-ruby/rest/preview/proxy/service/session/interaction.rb +0 -406
- data/lib/twilio-ruby/rest/preview/proxy/service/session/participant.rb +0 -495
- data/lib/twilio-ruby/rest/preview/proxy/service/session/participant/message_interaction.rb +0 -422
- data/lib/twilio-ruby/rest/preview/proxy/service/short_code.rb +0 -349
- data/lib/twilio-ruby/rest/preview/sync.rb +0 -37
- data/lib/twilio-ruby/rest/preview/sync/service.rb +0 -491
- data/lib/twilio-ruby/rest/preview/sync/service/document.rb +0 -431
- data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +0 -390
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +0 -426
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +0 -422
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +0 -390
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +0 -426
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +0 -424
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +0 -390
- data/lib/twilio-ruby/rest/preview/wireless.rb +0 -59
- data/lib/twilio-ruby/rest/preview/wireless/command.rb +0 -371
- data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +0 -414
- data/lib/twilio-ruby/rest/preview/wireless/sim.rb +0 -512
- data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +0 -220
- data/lib/twilio-ruby/rest/sync.rb +0 -40
- data/lib/twilio-ruby/rest/sync/v1.rb +0 -37
- data/lib/twilio-ruby/rest/sync/v1/service.rb +0 -491
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +0 -431
- data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +0 -390
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +0 -426
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +0 -422
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +0 -390
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +0 -426
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +0 -424
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +0 -390
- data/lib/twilio-ruby/rest/wireless.rb +0 -48
- data/lib/twilio-ruby/rest/wireless/v1.rb +0 -59
- data/lib/twilio-ruby/rest/wireless/v1/command.rb +0 -357
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +0 -427
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +0 -516
- data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +0 -235
- data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension_spec.rb +0 -135
- data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on_spec.rb +0 -223
- data/spec/integration/fax/v1/fax/fax_media_spec.rb +0 -126
- data/spec/integration/fax/v1/fax_spec.rb +0 -272
- data/spec/integration/messaging/v1/service/alpha_sender_spec.rb +0 -170
- data/spec/integration/messaging/v1/service/phone_number_spec.rb +0 -201
- data/spec/integration/messaging/v1/service/short_code_spec.rb +0 -173
- data/spec/integration/messaging/v1/service_spec.rb +0 -263
- data/spec/integration/notify/v1/credential_spec.rb +0 -223
- data/spec/integration/notify/v1/service/binding_spec.rb +0 -227
- data/spec/integration/notify/v1/service/notification_spec.rb +0 -97
- data/spec/integration/notify/v1/service/segment_spec.rb +0 -84
- data/spec/integration/notify/v1/service/user/segment_memberships_spec.rb +0 -118
- data/spec/integration/notify/v1/service/user/user_binding_spec.rb +0 -269
- data/spec/integration/notify/v1/service/user_spec.rb +0 -213
- data/spec/integration/notify/v1/service_spec.rb +0 -280
- data/spec/integration/preview/bulk_exports/export/day_spec.rb +0 -56
- data/spec/integration/preview/bulk_exports/export_configuration_spec.rb +0 -79
- data/spec/integration/preview/bulk_exports/export_spec.rb +0 -43
- data/spec/integration/preview/hosted_numbers/hosted_number_order_spec.rb +0 -276
- data/spec/integration/preview/marketplace/available_add_on/available_add_on_extension_spec.rb +0 -121
- data/spec/integration/preview/marketplace/available_add_on_spec.rb +0 -142
- data/spec/integration/preview/marketplace/installed_add_on/installed_add_on_extension_spec.rb +0 -164
- data/spec/integration/preview/marketplace/installed_add_on_spec.rb +0 -252
- data/spec/integration/preview/proxy/service/phone_number_spec.rb +0 -173
- data/spec/integration/preview/proxy/service/session/interaction_spec.rb +0 -104
- data/spec/integration/preview/proxy/service/session/participant/message_interaction_spec.rb +0 -164
- data/spec/integration/preview/proxy/service/session/participant_spec.rb +0 -226
- data/spec/integration/preview/proxy/service/session_spec.rb +0 -216
- data/spec/integration/preview/proxy/service/short_code_spec.rb +0 -173
- data/spec/integration/preview/proxy/service_spec.rb +0 -200
- data/spec/integration/preview/sync/service/document/document_permission_spec.rb +0 -206
- data/spec/integration/preview/sync/service/document_spec.rb +0 -254
- data/spec/integration/preview/sync/service/sync_list/sync_list_item_spec.rb +0 -256
- data/spec/integration/preview/sync/service/sync_list/sync_list_permission_spec.rb +0 -206
- data/spec/integration/preview/sync/service/sync_list_spec.rb +0 -207
- data/spec/integration/preview/sync/service/sync_map/sync_map_item_spec.rb +0 -257
- data/spec/integration/preview/sync/service/sync_map/sync_map_permission_spec.rb +0 -206
- data/spec/integration/preview/sync/service/sync_map_spec.rb +0 -207
- data/spec/integration/preview/sync/service_spec.rb +0 -244
- data/spec/integration/preview/wireless/command_spec.rb +0 -169
- data/spec/integration/preview/wireless/rate_plan_spec.rb +0 -260
- data/spec/integration/preview/wireless/sim/usage_spec.rb +0 -49
- data/spec/integration/preview/wireless/sim_spec.rb +0 -208
- data/spec/integration/sync/v1/service/document/document_permission_spec.rb +0 -206
- data/spec/integration/sync/v1/service/document_spec.rb +0 -254
- data/spec/integration/sync/v1/service/sync_list/sync_list_item_spec.rb +0 -256
- data/spec/integration/sync/v1/service/sync_list/sync_list_permission_spec.rb +0 -206
- data/spec/integration/sync/v1/service/sync_list_spec.rb +0 -207
- data/spec/integration/sync/v1/service/sync_map/sync_map_item_spec.rb +0 -257
- data/spec/integration/sync/v1/service/sync_map/sync_map_permission_spec.rb +0 -206
- data/spec/integration/sync/v1/service/sync_map_spec.rb +0 -207
- data/spec/integration/sync/v1/service_spec.rb +0 -244
- data/spec/integration/wireless/v1/command_spec.rb +0 -166
- data/spec/integration/wireless/v1/rate_plan_spec.rb +0 -268
- data/spec/integration/wireless/v1/sim/usage_record_spec.rb +0 -65
- data/spec/integration/wireless/v1/sim_spec.rb +0 -208
@@ -26,6 +26,10 @@ module Twilio
|
|
26
26
|
@v1 ||= V1.new self
|
27
27
|
end
|
28
28
|
|
29
|
+
##
|
30
|
+
# @param [String] sid The sid
|
31
|
+
# @return [Twilio::REST::Taskrouter::V1::WorkspaceInstance] if sid was passed.
|
32
|
+
# @return [Twilio::REST::Taskrouter::V1::WorkspaceList]
|
29
33
|
def workspaces(sid=:unset)
|
30
34
|
self.v1.workspaces(sid)
|
31
35
|
end
|
@@ -16,6 +16,10 @@ module Twilio
|
|
16
16
|
@workspaces = nil
|
17
17
|
end
|
18
18
|
|
19
|
+
##
|
20
|
+
# @param [String] sid The sid
|
21
|
+
# @return [Twilio::REST::Taskrouter::V1::WorkspaceInstance] if sid was passed.
|
22
|
+
# @return [Twilio::REST::Taskrouter::V1::WorkspaceList]
|
19
23
|
def workspaces(sid=:unset)
|
20
24
|
if sid.nil?
|
21
25
|
raise ArgumentError, 'sid cannot be nil'
|
@@ -68,13 +68,6 @@ module Twilio
|
|
68
68
|
# When passed a block, yields WorkspaceInstance records from the API.
|
69
69
|
# This operation lazily loads records as efficiently as possible until the limit
|
70
70
|
# is reached.
|
71
|
-
# @param [String] friendly_name The friendly_name
|
72
|
-
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
73
|
-
# guarantees to never return more than limit. Default is no limit
|
74
|
-
# @param [Integer] page_size Number of records to fetch per request, when not set will use
|
75
|
-
# the default value of 50 records. If no page_size is defined
|
76
|
-
# but a limit is defined, stream() will attempt to read the
|
77
|
-
# limit with the most efficient page size, i.e. min(limit, 1000)
|
78
71
|
def each
|
79
72
|
limits = @version.read_limits
|
80
73
|
|
@@ -282,8 +275,8 @@ module Twilio
|
|
282
275
|
|
283
276
|
##
|
284
277
|
# Access the activities
|
285
|
-
# @return [ActivityList]
|
286
|
-
# @return [ActivityContext] if
|
278
|
+
# @return [ActivityList]
|
279
|
+
# @return [ActivityContext] if sid was passed.
|
287
280
|
def activities(sid=:unset)
|
288
281
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
289
282
|
|
@@ -307,8 +300,8 @@ module Twilio
|
|
307
300
|
|
308
301
|
##
|
309
302
|
# Access the events
|
310
|
-
# @return [EventList]
|
311
|
-
# @return [EventContext] if
|
303
|
+
# @return [EventList]
|
304
|
+
# @return [EventContext] if sid was passed.
|
312
305
|
def events(sid=:unset)
|
313
306
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
314
307
|
|
@@ -332,8 +325,8 @@ module Twilio
|
|
332
325
|
|
333
326
|
##
|
334
327
|
# Access the tasks
|
335
|
-
# @return [TaskList]
|
336
|
-
# @return [TaskContext] if
|
328
|
+
# @return [TaskList]
|
329
|
+
# @return [TaskContext] if sid was passed.
|
337
330
|
def tasks(sid=:unset)
|
338
331
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
339
332
|
|
@@ -357,8 +350,8 @@ module Twilio
|
|
357
350
|
|
358
351
|
##
|
359
352
|
# Access the task_queues
|
360
|
-
# @return [TaskQueueList]
|
361
|
-
# @return [TaskQueueContext] if
|
353
|
+
# @return [TaskQueueList]
|
354
|
+
# @return [TaskQueueContext] if sid was passed.
|
362
355
|
def task_queues(sid=:unset)
|
363
356
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
364
357
|
|
@@ -382,8 +375,8 @@ module Twilio
|
|
382
375
|
|
383
376
|
##
|
384
377
|
# Access the workers
|
385
|
-
# @return [WorkerList]
|
386
|
-
# @return [WorkerContext] if
|
378
|
+
# @return [WorkerList]
|
379
|
+
# @return [WorkerContext] if sid was passed.
|
387
380
|
def workers(sid=:unset)
|
388
381
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
389
382
|
|
@@ -407,8 +400,8 @@ module Twilio
|
|
407
400
|
|
408
401
|
##
|
409
402
|
# Access the workflows
|
410
|
-
# @return [WorkflowList]
|
411
|
-
# @return [WorkflowContext] if
|
403
|
+
# @return [WorkflowList]
|
404
|
+
# @return [WorkflowContext] if sid was passed.
|
412
405
|
def workflows(sid=:unset)
|
413
406
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
414
407
|
|
@@ -432,8 +425,8 @@ module Twilio
|
|
432
425
|
|
433
426
|
##
|
434
427
|
# Access the statistics
|
435
|
-
# @return [WorkspaceStatisticsList]
|
436
|
-
# @return [WorkspaceStatisticsContext]
|
428
|
+
# @return [WorkspaceStatisticsList]
|
429
|
+
# @return [WorkspaceStatisticsContext]
|
437
430
|
def statistics
|
438
431
|
WorkspaceStatisticsContext.new(
|
439
432
|
@version,
|
@@ -443,8 +436,8 @@ module Twilio
|
|
443
436
|
|
444
437
|
##
|
445
438
|
# Access the task_channels
|
446
|
-
# @return [TaskChannelList]
|
447
|
-
# @return [TaskChannelContext] if
|
439
|
+
# @return [TaskChannelList]
|
440
|
+
# @return [TaskChannelContext] if sid was passed.
|
448
441
|
def task_channels(sid=:unset)
|
449
442
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
450
443
|
|
@@ -513,7 +506,6 @@ module Twilio
|
|
513
506
|
##
|
514
507
|
# Generate an instance context for the instance, the context is capable of
|
515
508
|
# performing various actions. All instance actions are proxied to the context
|
516
|
-
# @param [Version] version Version that contains the resource
|
517
509
|
# @return [WorkspaceContext] WorkspaceContext for this WorkspaceInstance
|
518
510
|
def context
|
519
511
|
unless @instance_context
|
@@ -525,62 +517,92 @@ module Twilio
|
|
525
517
|
@instance_context
|
526
518
|
end
|
527
519
|
|
520
|
+
##
|
521
|
+
# @return [String] The account_sid
|
528
522
|
def account_sid
|
529
523
|
@properties['account_sid']
|
530
524
|
end
|
531
525
|
|
526
|
+
##
|
527
|
+
# @return [Time] The date_created
|
532
528
|
def date_created
|
533
529
|
@properties['date_created']
|
534
530
|
end
|
535
531
|
|
532
|
+
##
|
533
|
+
# @return [Time] The date_updated
|
536
534
|
def date_updated
|
537
535
|
@properties['date_updated']
|
538
536
|
end
|
539
537
|
|
538
|
+
##
|
539
|
+
# @return [String] The default_activity_name
|
540
540
|
def default_activity_name
|
541
541
|
@properties['default_activity_name']
|
542
542
|
end
|
543
543
|
|
544
|
+
##
|
545
|
+
# @return [String] The default_activity_sid
|
544
546
|
def default_activity_sid
|
545
547
|
@properties['default_activity_sid']
|
546
548
|
end
|
547
549
|
|
550
|
+
##
|
551
|
+
# @return [String] The event_callback_url
|
548
552
|
def event_callback_url
|
549
553
|
@properties['event_callback_url']
|
550
554
|
end
|
551
555
|
|
556
|
+
##
|
557
|
+
# @return [String] The events_filter
|
552
558
|
def events_filter
|
553
559
|
@properties['events_filter']
|
554
560
|
end
|
555
561
|
|
562
|
+
##
|
563
|
+
# @return [String] The friendly_name
|
556
564
|
def friendly_name
|
557
565
|
@properties['friendly_name']
|
558
566
|
end
|
559
567
|
|
568
|
+
##
|
569
|
+
# @return [Boolean] The multi_task_enabled
|
560
570
|
def multi_task_enabled
|
561
571
|
@properties['multi_task_enabled']
|
562
572
|
end
|
563
573
|
|
574
|
+
##
|
575
|
+
# @return [String] The sid
|
564
576
|
def sid
|
565
577
|
@properties['sid']
|
566
578
|
end
|
567
579
|
|
580
|
+
##
|
581
|
+
# @return [String] The timeout_activity_name
|
568
582
|
def timeout_activity_name
|
569
583
|
@properties['timeout_activity_name']
|
570
584
|
end
|
571
585
|
|
586
|
+
##
|
587
|
+
# @return [String] The timeout_activity_sid
|
572
588
|
def timeout_activity_sid
|
573
589
|
@properties['timeout_activity_sid']
|
574
590
|
end
|
575
591
|
|
592
|
+
##
|
593
|
+
# @return [workspace.QueueOrder] The prioritize_queue_order
|
576
594
|
def prioritize_queue_order
|
577
595
|
@properties['prioritize_queue_order']
|
578
596
|
end
|
579
597
|
|
598
|
+
##
|
599
|
+
# @return [String] The url
|
580
600
|
def url
|
581
601
|
@properties['url']
|
582
602
|
end
|
583
603
|
|
604
|
+
##
|
605
|
+
# @return [String] The links
|
584
606
|
def links
|
585
607
|
@properties['links']
|
586
608
|
end
|
@@ -76,14 +76,6 @@ module Twilio
|
|
76
76
|
# When passed a block, yields ActivityInstance records from the API.
|
77
77
|
# This operation lazily loads records as efficiently as possible until the limit
|
78
78
|
# is reached.
|
79
|
-
# @param [String] friendly_name The friendly_name
|
80
|
-
# @param [String] available The available
|
81
|
-
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
82
|
-
# guarantees to never return more than limit. Default is no limit
|
83
|
-
# @param [Integer] page_size Number of records to fetch per request, when not set will use
|
84
|
-
# the default value of 50 records. If no page_size is defined
|
85
|
-
# but a limit is defined, stream() will attempt to read the
|
86
|
-
# limit with the most efficient page size, i.e. min(limit, 1000)
|
87
79
|
def each
|
88
80
|
limits = @version.read_limits
|
89
81
|
|
@@ -172,7 +164,6 @@ module Twilio
|
|
172
164
|
# @param [Version] version Version that contains the resource
|
173
165
|
# @param [Response] response Response from the API
|
174
166
|
# @param [Hash] solution Path solution for the resource
|
175
|
-
# @param [String] workspace_sid The workspace_sid
|
176
167
|
# @return [ActivityPage] ActivityPage
|
177
168
|
def initialize(version, response, solution)
|
178
169
|
super(version, response)
|
@@ -310,7 +301,6 @@ module Twilio
|
|
310
301
|
##
|
311
302
|
# Generate an instance context for the instance, the context is capable of
|
312
303
|
# performing various actions. All instance actions are proxied to the context
|
313
|
-
# @param [Version] version Version that contains the resource
|
314
304
|
# @return [ActivityContext] ActivityContext for this ActivityInstance
|
315
305
|
def context
|
316
306
|
unless @instance_context
|
@@ -323,34 +313,50 @@ module Twilio
|
|
323
313
|
@instance_context
|
324
314
|
end
|
325
315
|
|
316
|
+
##
|
317
|
+
# @return [String] The account_sid
|
326
318
|
def account_sid
|
327
319
|
@properties['account_sid']
|
328
320
|
end
|
329
321
|
|
322
|
+
##
|
323
|
+
# @return [Boolean] The available
|
330
324
|
def available
|
331
325
|
@properties['available']
|
332
326
|
end
|
333
327
|
|
328
|
+
##
|
329
|
+
# @return [Time] The date_created
|
334
330
|
def date_created
|
335
331
|
@properties['date_created']
|
336
332
|
end
|
337
333
|
|
334
|
+
##
|
335
|
+
# @return [Time] The date_updated
|
338
336
|
def date_updated
|
339
337
|
@properties['date_updated']
|
340
338
|
end
|
341
339
|
|
340
|
+
##
|
341
|
+
# @return [String] The friendly_name
|
342
342
|
def friendly_name
|
343
343
|
@properties['friendly_name']
|
344
344
|
end
|
345
345
|
|
346
|
+
##
|
347
|
+
# @return [String] The sid
|
346
348
|
def sid
|
347
349
|
@properties['sid']
|
348
350
|
end
|
349
351
|
|
352
|
+
##
|
353
|
+
# @return [String] The workspace_sid
|
350
354
|
def workspace_sid
|
351
355
|
@properties['workspace_sid']
|
352
356
|
end
|
353
357
|
|
358
|
+
##
|
359
|
+
# @return [String] The url
|
354
360
|
def url
|
355
361
|
@properties['url']
|
356
362
|
end
|
@@ -104,21 +104,6 @@ module Twilio
|
|
104
104
|
# When passed a block, yields EventInstance records from the API.
|
105
105
|
# This operation lazily loads records as efficiently as possible until the limit
|
106
106
|
# is reached.
|
107
|
-
# @param [Time] end_date The end_date
|
108
|
-
# @param [String] event_type The event_type
|
109
|
-
# @param [String] minutes The minutes
|
110
|
-
# @param [String] reservation_sid The reservation_sid
|
111
|
-
# @param [Time] start_date The start_date
|
112
|
-
# @param [String] task_queue_sid The task_queue_sid
|
113
|
-
# @param [String] task_sid The task_sid
|
114
|
-
# @param [String] worker_sid The worker_sid
|
115
|
-
# @param [String] workflow_sid The workflow_sid
|
116
|
-
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
117
|
-
# guarantees to never return more than limit. Default is no limit
|
118
|
-
# @param [Integer] page_size Number of records to fetch per request, when not set will use
|
119
|
-
# the default value of 50 records. If no page_size is defined
|
120
|
-
# but a limit is defined, stream() will attempt to read the
|
121
|
-
# limit with the most efficient page size, i.e. min(limit, 1000)
|
122
107
|
def each
|
123
108
|
limits = @version.read_limits
|
124
109
|
|
@@ -196,7 +181,6 @@ module Twilio
|
|
196
181
|
# @param [Version] version Version that contains the resource
|
197
182
|
# @param [Response] response Response from the API
|
198
183
|
# @param [Hash] solution Path solution for the resource
|
199
|
-
# @param [String] workspace_sid The sid
|
200
184
|
# @return [EventPage] EventPage
|
201
185
|
def initialize(version, response, solution)
|
202
186
|
super(version, response)
|
@@ -311,7 +295,6 @@ module Twilio
|
|
311
295
|
##
|
312
296
|
# Generate an instance context for the instance, the context is capable of
|
313
297
|
# performing various actions. All instance actions are proxied to the context
|
314
|
-
# @param [Version] version Version that contains the resource
|
315
298
|
# @return [EventContext] EventContext for this EventInstance
|
316
299
|
def context
|
317
300
|
unless @instance_context
|
@@ -324,62 +307,92 @@ module Twilio
|
|
324
307
|
@instance_context
|
325
308
|
end
|
326
309
|
|
310
|
+
##
|
311
|
+
# @return [String] The account_sid
|
327
312
|
def account_sid
|
328
313
|
@properties['account_sid']
|
329
314
|
end
|
330
315
|
|
316
|
+
##
|
317
|
+
# @return [String] The actor_sid
|
331
318
|
def actor_sid
|
332
319
|
@properties['actor_sid']
|
333
320
|
end
|
334
321
|
|
322
|
+
##
|
323
|
+
# @return [String] The actor_type
|
335
324
|
def actor_type
|
336
325
|
@properties['actor_type']
|
337
326
|
end
|
338
327
|
|
328
|
+
##
|
329
|
+
# @return [String] The actor_url
|
339
330
|
def actor_url
|
340
331
|
@properties['actor_url']
|
341
332
|
end
|
342
333
|
|
334
|
+
##
|
335
|
+
# @return [String] The description
|
343
336
|
def description
|
344
337
|
@properties['description']
|
345
338
|
end
|
346
339
|
|
340
|
+
##
|
341
|
+
# @return [String] The event_data
|
347
342
|
def event_data
|
348
343
|
@properties['event_data']
|
349
344
|
end
|
350
345
|
|
346
|
+
##
|
347
|
+
# @return [Time] The event_date
|
351
348
|
def event_date
|
352
349
|
@properties['event_date']
|
353
350
|
end
|
354
351
|
|
352
|
+
##
|
353
|
+
# @return [String] The event_type
|
355
354
|
def event_type
|
356
355
|
@properties['event_type']
|
357
356
|
end
|
358
357
|
|
358
|
+
##
|
359
|
+
# @return [String] The resource_sid
|
359
360
|
def resource_sid
|
360
361
|
@properties['resource_sid']
|
361
362
|
end
|
362
363
|
|
364
|
+
##
|
365
|
+
# @return [String] The resource_type
|
363
366
|
def resource_type
|
364
367
|
@properties['resource_type']
|
365
368
|
end
|
366
369
|
|
370
|
+
##
|
371
|
+
# @return [String] The resource_url
|
367
372
|
def resource_url
|
368
373
|
@properties['resource_url']
|
369
374
|
end
|
370
375
|
|
376
|
+
##
|
377
|
+
# @return [String] The sid
|
371
378
|
def sid
|
372
379
|
@properties['sid']
|
373
380
|
end
|
374
381
|
|
382
|
+
##
|
383
|
+
# @return [String] The source
|
375
384
|
def source
|
376
385
|
@properties['source']
|
377
386
|
end
|
378
387
|
|
388
|
+
##
|
389
|
+
# @return [String] The source_ip_address
|
379
390
|
def source_ip_address
|
380
391
|
@properties['source_ip_address']
|
381
392
|
end
|
382
393
|
|
394
|
+
##
|
395
|
+
# @return [String] The url
|
383
396
|
def url
|
384
397
|
@properties['url']
|
385
398
|
end
|
@@ -104,21 +104,6 @@ module Twilio
|
|
104
104
|
# When passed a block, yields TaskInstance records from the API.
|
105
105
|
# This operation lazily loads records as efficiently as possible until the limit
|
106
106
|
# is reached.
|
107
|
-
# @param [String] priority The priority
|
108
|
-
# @param [String] assignment_status The assignment_status
|
109
|
-
# @param [String] workflow_sid The workflow_sid
|
110
|
-
# @param [String] workflow_name The workflow_name
|
111
|
-
# @param [String] task_queue_sid The task_queue_sid
|
112
|
-
# @param [String] task_queue_name The task_queue_name
|
113
|
-
# @param [String] evaluate_task_attributes The evaluate_task_attributes
|
114
|
-
# @param [String] ordering The ordering
|
115
|
-
# @param [Boolean] has_addons The has_addons
|
116
|
-
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
117
|
-
# guarantees to never return more than limit. Default is no limit
|
118
|
-
# @param [Integer] page_size Number of records to fetch per request, when not set will use
|
119
|
-
# the default value of 50 records. If no page_size is defined
|
120
|
-
# but a limit is defined, stream() will attempt to read the
|
121
|
-
# limit with the most efficient page size, i.e. min(limit, 1000)
|
122
107
|
def each
|
123
108
|
limits = @version.read_limits
|
124
109
|
|
@@ -227,7 +212,6 @@ module Twilio
|
|
227
212
|
# @param [Version] version Version that contains the resource
|
228
213
|
# @param [Response] response Response from the API
|
229
214
|
# @param [Hash] solution Path solution for the resource
|
230
|
-
# @param [String] workspace_sid The workspace_sid
|
231
215
|
# @return [TaskPage] TaskPage
|
232
216
|
def initialize(version, response, solution)
|
233
217
|
super(version, response)
|
@@ -336,8 +320,8 @@ module Twilio
|
|
336
320
|
|
337
321
|
##
|
338
322
|
# Access the reservations
|
339
|
-
# @return [ReservationList]
|
340
|
-
# @return [ReservationContext] if
|
323
|
+
# @return [ReservationList]
|
324
|
+
# @return [ReservationContext] if sid was passed.
|
341
325
|
def reservations(sid=:unset)
|
342
326
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
343
327
|
|
@@ -415,7 +399,6 @@ module Twilio
|
|
415
399
|
##
|
416
400
|
# Generate an instance context for the instance, the context is capable of
|
417
401
|
# performing various actions. All instance actions are proxied to the context
|
418
|
-
# @param [Version] version Version that contains the resource
|
419
402
|
# @return [TaskContext] TaskContext for this TaskInstance
|
420
403
|
def context
|
421
404
|
unless @instance_context
|
@@ -428,82 +411,122 @@ module Twilio
|
|
428
411
|
@instance_context
|
429
412
|
end
|
430
413
|
|
414
|
+
##
|
415
|
+
# @return [String] The account_sid
|
431
416
|
def account_sid
|
432
417
|
@properties['account_sid']
|
433
418
|
end
|
434
419
|
|
420
|
+
##
|
421
|
+
# @return [String] The age
|
435
422
|
def age
|
436
423
|
@properties['age']
|
437
424
|
end
|
438
425
|
|
426
|
+
##
|
427
|
+
# @return [reservation.Status] The assignment_status
|
439
428
|
def assignment_status
|
440
429
|
@properties['assignment_status']
|
441
430
|
end
|
442
431
|
|
432
|
+
##
|
433
|
+
# @return [String] The attributes
|
443
434
|
def attributes
|
444
435
|
@properties['attributes']
|
445
436
|
end
|
446
437
|
|
438
|
+
##
|
439
|
+
# @return [String] The addons
|
447
440
|
def addons
|
448
441
|
@properties['addons']
|
449
442
|
end
|
450
443
|
|
444
|
+
##
|
445
|
+
# @return [Time] The date_created
|
451
446
|
def date_created
|
452
447
|
@properties['date_created']
|
453
448
|
end
|
454
449
|
|
450
|
+
##
|
451
|
+
# @return [Time] The date_updated
|
455
452
|
def date_updated
|
456
453
|
@properties['date_updated']
|
457
454
|
end
|
458
455
|
|
456
|
+
##
|
457
|
+
# @return [String] The priority
|
459
458
|
def priority
|
460
459
|
@properties['priority']
|
461
460
|
end
|
462
461
|
|
462
|
+
##
|
463
|
+
# @return [String] The reason
|
463
464
|
def reason
|
464
465
|
@properties['reason']
|
465
466
|
end
|
466
467
|
|
468
|
+
##
|
469
|
+
# @return [String] The sid
|
467
470
|
def sid
|
468
471
|
@properties['sid']
|
469
472
|
end
|
470
473
|
|
474
|
+
##
|
475
|
+
# @return [String] The task_queue_sid
|
471
476
|
def task_queue_sid
|
472
477
|
@properties['task_queue_sid']
|
473
478
|
end
|
474
479
|
|
480
|
+
##
|
481
|
+
# @return [String] The task_queue_friendly_name
|
475
482
|
def task_queue_friendly_name
|
476
483
|
@properties['task_queue_friendly_name']
|
477
484
|
end
|
478
485
|
|
486
|
+
##
|
487
|
+
# @return [String] The task_channel_sid
|
479
488
|
def task_channel_sid
|
480
489
|
@properties['task_channel_sid']
|
481
490
|
end
|
482
491
|
|
492
|
+
##
|
493
|
+
# @return [String] The task_channel_unique_name
|
483
494
|
def task_channel_unique_name
|
484
495
|
@properties['task_channel_unique_name']
|
485
496
|
end
|
486
497
|
|
498
|
+
##
|
499
|
+
# @return [String] The timeout
|
487
500
|
def timeout
|
488
501
|
@properties['timeout']
|
489
502
|
end
|
490
503
|
|
504
|
+
##
|
505
|
+
# @return [String] The workflow_sid
|
491
506
|
def workflow_sid
|
492
507
|
@properties['workflow_sid']
|
493
508
|
end
|
494
509
|
|
510
|
+
##
|
511
|
+
# @return [String] The workflow_friendly_name
|
495
512
|
def workflow_friendly_name
|
496
513
|
@properties['workflow_friendly_name']
|
497
514
|
end
|
498
515
|
|
516
|
+
##
|
517
|
+
# @return [String] The workspace_sid
|
499
518
|
def workspace_sid
|
500
519
|
@properties['workspace_sid']
|
501
520
|
end
|
502
521
|
|
522
|
+
##
|
523
|
+
# @return [String] The url
|
503
524
|
def url
|
504
525
|
@properties['url']
|
505
526
|
end
|
506
527
|
|
528
|
+
##
|
529
|
+
# @return [String] The links
|
507
530
|
def links
|
508
531
|
@properties['links']
|
509
532
|
end
|