whoosh-ruby 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.dockerignore +1 -0
- data/.github/workflows/pr-lint.yml +21 -0
- data/.gitignore +21 -0
- data/.rubocop.yml +58 -0
- data/.rubocop_todo.yml +261 -0
- data/Dockerfile +9 -0
- data/Gemfile +2 -0
- data/Makefile +37 -0
- data/README.md +0 -10
- data/Rakefile +10 -0
- data/conf/cacert.pem +3376 -0
- data/lib/rack/twilio_webhook_authentication.rb +72 -0
- data/lib/twilio-ruby/base/client_base.rb +124 -0
- data/lib/twilio-ruby/framework/request.rb +41 -0
- data/lib/twilio-ruby/framework/response.rb +18 -0
- data/lib/twilio-ruby/framework/rest/domain.rb +36 -0
- data/lib/twilio-ruby/framework/rest/error.rb +39 -0
- data/lib/twilio-ruby/framework/rest/helper.rb +11 -0
- data/lib/twilio-ruby/framework/rest/obsolete_client.rb +12 -0
- data/lib/twilio-ruby/framework/rest/page.rb +103 -0
- data/lib/twilio-ruby/framework/rest/resource.rb +23 -0
- data/lib/twilio-ruby/framework/rest/version.rb +153 -0
- data/lib/twilio-ruby/framework/serialize.rb +81 -0
- data/lib/twilio-ruby/framework/values.rb +9 -0
- data/lib/twilio-ruby/http/http_client.rb +79 -0
- data/lib/twilio-ruby/http.rb +5 -0
- data/lib/twilio-ruby/jwt/access_token.rb +226 -0
- data/lib/twilio-ruby/jwt/client_capability.rb +102 -0
- data/lib/twilio-ruby/jwt/jwt.rb +59 -0
- data/lib/twilio-ruby/jwt/task_router.rb +172 -0
- data/lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb +206 -0
- data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +379 -0
- data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +379 -0
- data/lib/twilio-ruby/rest/accounts/v1/credential.rb +129 -0
- data/lib/twilio-ruby/rest/accounts/v1/secondary_auth_token.rb +222 -0
- data/lib/twilio-ruby/rest/accounts/v1.rb +52 -0
- data/lib/twilio-ruby/rest/accounts.rb +26 -0
- data/lib/twilio-ruby/rest/accounts_base.rb +38 -0
- data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +378 -0
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +562 -0
- data/lib/twilio-ruby/rest/api/v2010/account/application.rb +624 -0
- data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +335 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/local.rb +413 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/machine_to_machine.rb +413 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/mobile.rb +413 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/national.rb +413 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/shared_cost.rb +413 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/toll_free.rb +413 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/voip.rb +413 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +433 -0
- data/lib/twilio-ruby/rest/api/v2010/account/balance.rb +143 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/event.rb +210 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +264 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +328 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +416 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/payment.rb +324 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +509 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/siprec.rb +872 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/stream.rb +872 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message.rb +163 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message_subscription.rb +239 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +970 -0
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +661 -0
- data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +466 -0
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +505 -0
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +434 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +338 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +412 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +548 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +548 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +548 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +853 -0
- data/lib/twilio-ruby/rest/api/v2010/account/key.rb +343 -0
- data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +174 -0
- data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +355 -0
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +625 -0
- data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +164 -0
- data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +164 -0
- data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +412 -0
- data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +378 -0
- data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +352 -0
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +434 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +366 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +382 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +376 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +521 -0
- data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +427 -0
- data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +343 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +395 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +413 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_credential_list_mapping.rb +347 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls/auth_calls_ip_access_control_list_mapping.rb +347 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls.rb +140 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations/auth_registrations_credential_list_mapping.rb +347 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations.rb +126 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb +126 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +357 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +357 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +665 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +424 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +413 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip.rb +148 -0
- data/lib/twilio-ruby/rest/api/v2010/account/token.rb +178 -0
- data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +372 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +331 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +331 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +331 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +331 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +331 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +331 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +331 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +331 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +393 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +500 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage.rb +128 -0
- data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +179 -0
- data/lib/twilio-ruby/rest/api/v2010/account.rb +992 -0
- data/lib/twilio-ruby/rest/api/v2010.rb +132 -0
- data/lib/twilio-ruby/rest/api.rb +238 -0
- data/lib/twilio-ruby/rest/api_base.rb +38 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/defaults.rb +241 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/dialogue.rb +217 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type/field_value.rb +391 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +436 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/model_build.rb +410 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/query.rb +478 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/style_sheet.rb +241 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/field.rb +374 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/sample.rb +438 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/task_actions.rb +253 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/task_statistics.rb +226 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +526 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/webhook.rb +434 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant.rb +684 -0
- data/lib/twilio-ruby/rest/autopilot/v1/restore_assistant.rb +207 -0
- data/lib/twilio-ruby/rest/autopilot/v1.rb +55 -0
- data/lib/twilio-ruby/rest/autopilot.rb +22 -0
- data/lib/twilio-ruby/rest/autopilot_base.rb +38 -0
- data/lib/twilio-ruby/rest/bulkexports/v1/export/day.rb +307 -0
- data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +306 -0
- data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +278 -0
- data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +254 -0
- data/lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb +253 -0
- data/lib/twilio-ruby/rest/bulkexports/v1.rb +64 -0
- data/lib/twilio-ruby/rest/bulkexports.rb +25 -0
- data/lib/twilio-ruby/rest/bulkexports_base.rb +38 -0
- data/lib/twilio-ruby/rest/chat/v1/credential.rb +430 -0
- data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +386 -0
- data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +434 -0
- data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +451 -0
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +542 -0
- data/lib/twilio-ruby/rest/chat/v1/service/role.rb +404 -0
- data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +252 -0
- data/lib/twilio-ruby/rest/chat/v1/service/user.rb +473 -0
- data/lib/twilio-ruby/rest/chat/v1/service.rb +872 -0
- data/lib/twilio-ruby/rest/chat/v1.rb +64 -0
- data/lib/twilio-ruby/rest/chat/v2/credential.rb +430 -0
- data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +379 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +386 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +498 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +526 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +452 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +614 -0
- data/lib/twilio-ruby/rest/chat/v2/service/role.rb +404 -0
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +376 -0
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +418 -0
- data/lib/twilio-ruby/rest/chat/v2/service/user.rb +517 -0
- data/lib/twilio-ruby/rest/chat/v2/service.rb +775 -0
- data/lib/twilio-ruby/rest/chat/v2.rb +64 -0
- data/lib/twilio-ruby/rest/chat/v3/channel.rb +297 -0
- data/lib/twilio-ruby/rest/chat/v3.rb +71 -0
- data/lib/twilio-ruby/rest/chat.rb +35 -0
- data/lib/twilio-ruby/rest/chat_base.rb +48 -0
- data/lib/twilio-ruby/rest/client.rb +346 -0
- data/lib/twilio-ruby/rest/content/v1/content/approval_fetch.rb +208 -0
- data/lib/twilio-ruby/rest/content/v1/content.rb +364 -0
- data/lib/twilio-ruby/rest/content/v1/content_and_approvals.rb +252 -0
- data/lib/twilio-ruby/rest/content/v1/legacy_content.rb +266 -0
- data/lib/twilio-ruby/rest/content/v1.rb +61 -0
- data/lib/twilio-ruby/rest/content.rb +15 -0
- data/lib/twilio-ruby/rest/content_base.rb +38 -0
- data/lib/twilio-ruby/rest/conversations/v1/address_configuration.rb +474 -0
- data/lib/twilio-ruby/rest/conversations/v1/configuration/webhook.rb +281 -0
- data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +287 -0
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +346 -0
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +537 -0
- data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +506 -0
- data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +433 -0
- data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +595 -0
- data/lib/twilio-ruby/rest/conversations/v1/credential.rb +436 -0
- data/lib/twilio-ruby/rest/conversations/v1/participant_conversation.rb +315 -0
- data/lib/twilio-ruby/rest/conversations/v1/role.rb +395 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +372 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration/notification.rb +334 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration/webhook.rb +280 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +314 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message/delivery_receipt.rb +357 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +550 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +519 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +446 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +604 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/participant_conversation.rb +320 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/role.rb +404 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/user/user_conversation.rb +458 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +492 -0
- data/lib/twilio-ruby/rest/conversations/v1/service.rb +487 -0
- data/lib/twilio-ruby/rest/conversations/v1/user/user_conversation.rb +453 -0
- data/lib/twilio-ruby/rest/conversations/v1/user.rb +483 -0
- data/lib/twilio-ruby/rest/conversations/v1.rb +136 -0
- data/lib/twilio-ruby/rest/conversations.rb +79 -0
- data/lib/twilio-ruby/rest/conversations_base.rb +38 -0
- data/lib/twilio-ruby/rest/events/v1/event_type.rb +316 -0
- data/lib/twilio-ruby/rest/events/v1/schema/schema_version.rb +302 -0
- data/lib/twilio-ruby/rest/events/v1/schema.rb +237 -0
- data/lib/twilio-ruby/rest/events/v1/sink/sink_test.rb +129 -0
- data/lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb +136 -0
- data/lib/twilio-ruby/rest/events/v1/sink.rb +449 -0
- data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +375 -0
- data/lib/twilio-ruby/rest/events/v1/subscription.rb +430 -0
- data/lib/twilio-ruby/rest/events/v1.rb +94 -0
- data/lib/twilio-ruby/rest/events.rb +43 -0
- data/lib/twilio-ruby/rest/events_base.rb +38 -0
- data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +457 -0
- data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +376 -0
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +497 -0
- data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +575 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +337 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_conversations.rb +231 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +445 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +360 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +445 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb +364 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_session.rb +217 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb +155 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb +141 -0
- data/lib/twilio-ruby/rest/flex_api/v1/insights_user_roles.rb +196 -0
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.rb +252 -0
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.rb +340 -0
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +407 -0
- data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +257 -0
- data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +389 -0
- data/lib/twilio-ruby/rest/flex_api/v1.rb +202 -0
- data/lib/twilio-ruby/rest/flex_api/v2/web_channels.rb +146 -0
- data/lib/twilio-ruby/rest/flex_api/v2.rb +40 -0
- data/lib/twilio-ruby/rest/flex_api.rb +73 -0
- data/lib/twilio-ruby/rest/flex_api_base.rb +43 -0
- data/lib/twilio-ruby/rest/frontline_api/v1/user.rb +275 -0
- data/lib/twilio-ruby/rest/frontline_api/v1.rb +49 -0
- data/lib/twilio-ruby/rest/frontline_api.rb +15 -0
- data/lib/twilio-ruby/rest/frontline_api_base.rb +38 -0
- data/lib/twilio-ruby/rest/insights/v1/call/annotation.rb +319 -0
- data/lib/twilio-ruby/rest/insights/v1/call/call_summary.rb +350 -0
- data/lib/twilio-ruby/rest/insights/v1/call/event.rb +278 -0
- data/lib/twilio-ruby/rest/insights/v1/call/metric.rb +271 -0
- data/lib/twilio-ruby/rest/insights/v1/call.rb +268 -0
- data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +476 -0
- data/lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb +492 -0
- data/lib/twilio-ruby/rest/insights/v1/conference.rb +516 -0
- data/lib/twilio-ruby/rest/insights/v1/room/participant.rb +386 -0
- data/lib/twilio-ruby/rest/insights/v1/room.rb +504 -0
- data/lib/twilio-ruby/rest/insights/v1/setting.rb +254 -0
- data/lib/twilio-ruby/rest/insights/v1.rb +91 -0
- data/lib/twilio-ruby/rest/insights.rb +46 -0
- data/lib/twilio-ruby/rest/insights_base.rb +38 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +430 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +386 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +434 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +451 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +542 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +404 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +252 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +473 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +872 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1.rb +64 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +430 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +379 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +386 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +498 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +526 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +452 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +614 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +404 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +376 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +409 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +517 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +775 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2.rb +64 -0
- data/lib/twilio-ruby/rest/ip_messaging.rb +23 -0
- data/lib/twilio-ruby/rest/ip_messaging_base.rb +43 -0
- data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +251 -0
- data/lib/twilio-ruby/rest/lookups/v1.rb +49 -0
- data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +350 -0
- data/lib/twilio-ruby/rest/lookups/v2.rb +49 -0
- data/lib/twilio-ruby/rest/lookups.rb +16 -0
- data/lib/twilio-ruby/rest/lookups_base.rb +43 -0
- data/lib/twilio-ruby/rest/media/v1/media_processor.rb +423 -0
- data/lib/twilio-ruby/rest/media/v1/media_recording.rb +409 -0
- data/lib/twilio-ruby/rest/media/v1/player_streamer/playback_grant.rb +252 -0
- data/lib/twilio-ruby/rest/media/v1/player_streamer.rb +435 -0
- data/lib/twilio-ruby/rest/media/v1.rb +79 -0
- data/lib/twilio-ruby/rest/media.rb +35 -0
- data/lib/twilio-ruby/rest/media_base.rb +38 -0
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_registration_otp.rb +136 -0
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb +367 -0
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +498 -0
- data/lib/twilio-ruby/rest/messaging/v1/deactivations.rb +189 -0
- data/lib/twilio-ruby/rest/messaging/v1/domain_certs.rb +280 -0
- data/lib/twilio-ruby/rest/messaging/v1/domain_config.rb +263 -0
- data/lib/twilio-ruby/rest/messaging/v1/domain_config_messaging_service.rb +231 -0
- data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +161 -0
- data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service.rb +214 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +359 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +366 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +366 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +507 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person_usecase.rb +135 -0
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +751 -0
- data/lib/twilio-ruby/rest/messaging/v1/usecase.rb +123 -0
- data/lib/twilio-ruby/rest/messaging/v1.rb +164 -0
- data/lib/twilio-ruby/rest/messaging.rb +74 -0
- data/lib/twilio-ruby/rest/messaging_base.rb +38 -0
- data/lib/twilio-ruby/rest/microvisor/v1/account_config.rb +359 -0
- data/lib/twilio-ruby/rest/microvisor/v1/account_secret.rb +352 -0
- data/lib/twilio-ruby/rest/microvisor/v1/app/app_manifest.rb +208 -0
- data/lib/twilio-ruby/rest/microvisor/v1/app.rb +350 -0
- data/lib/twilio-ruby/rest/microvisor/v1/device/device_config.rb +375 -0
- data/lib/twilio-ruby/rest/microvisor/v1/device/device_secret.rb +368 -0
- data/lib/twilio-ruby/rest/microvisor/v1/device.rb +422 -0
- data/lib/twilio-ruby/rest/microvisor/v1.rb +94 -0
- data/lib/twilio-ruby/rest/microvisor.rb +24 -0
- data/lib/twilio-ruby/rest/microvisor_base.rb +38 -0
- data/lib/twilio-ruby/rest/monitor/v1/alert.rb +412 -0
- data/lib/twilio-ruby/rest/monitor/v1/event.rb +398 -0
- data/lib/twilio-ruby/rest/monitor/v1.rb +64 -0
- data/lib/twilio-ruby/rest/monitor.rb +25 -0
- data/lib/twilio-ruby/rest/monitor_base.rb +38 -0
- data/lib/twilio-ruby/rest/notify/v1/credential.rb +432 -0
- data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +447 -0
- data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +320 -0
- data/lib/twilio-ruby/rest/notify/v1/service.rb +638 -0
- data/lib/twilio-ruby/rest/notify/v1.rb +64 -0
- data/lib/twilio-ruby/rest/notify.rb +25 -0
- data/lib/twilio-ruby/rest/notify_base.rb +38 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.rb +286 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb +336 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb +345 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/replace_items.rb +201 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +620 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb +399 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb +298 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb +333 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +420 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb +298 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb +185 -0
- data/lib/twilio-ruby/rest/numbers/v2.rb +40 -0
- data/lib/twilio-ruby/rest/numbers.rb +12 -0
- data/lib/twilio-ruby/rest/numbers_base.rb +38 -0
- data/lib/twilio-ruby/rest/oauth/v1/device_code.rb +171 -0
- data/lib/twilio-ruby/rest/oauth/v1/oauth.rb +185 -0
- data/lib/twilio-ruby/rest/oauth/v1/openid_discovery.rb +262 -0
- data/lib/twilio-ruby/rest/oauth/v1/token.rb +179 -0
- data/lib/twilio-ruby/rest/oauth/v1/user_info.rb +213 -0
- data/lib/twilio-ruby/rest/oauth/v1.rb +64 -0
- data/lib/twilio-ruby/rest/oauth.rb +33 -0
- data/lib/twilio-ruby/rest/oauth_base.rb +38 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +419 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +402 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +458 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +416 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +505 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices.rb +49 -0
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +383 -0
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +459 -0
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +626 -0
- data/lib/twilio-ruby/rest/preview/hosted_numbers.rb +64 -0
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +309 -0
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +336 -0
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +350 -0
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +440 -0
- data/lib/twilio-ruby/rest/preview/marketplace.rb +64 -0
- data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +390 -0
- data/lib/twilio-ruby/rest/preview/sync/service/document.rb +450 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +449 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +390 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +427 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +452 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +390 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +427 -0
- data/lib/twilio-ruby/rest/preview/sync/service.rb +506 -0
- data/lib/twilio-ruby/rest/preview/sync.rb +49 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/assistant_fallback_actions.rb +241 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/assistant_initiation_actions.rb +241 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/dialogue.rb +217 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/field_type/field_value.rb +391 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +436 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/model_build.rb +410 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/query.rb +467 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/style_sheet.rb +241 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/field.rb +374 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/sample.rb +438 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/task_actions.rb +253 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/task/task_statistics.rb +226 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +526 -0
- data/lib/twilio-ruby/rest/preview/understand/assistant.rb +664 -0
- data/lib/twilio-ruby/rest/preview/understand.rb +49 -0
- data/lib/twilio-ruby/rest/preview/wireless/command.rb +402 -0
- data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +459 -0
- data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +260 -0
- data/lib/twilio-ruby/rest/preview/wireless/sim.rb +590 -0
- data/lib/twilio-ruby/rest/preview/wireless.rb +79 -0
- data/lib/twilio-ruby/rest/preview.rb +102 -0
- data/lib/twilio-ruby/rest/preview_base.rb +63 -0
- data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +305 -0
- data/lib/twilio-ruby/rest/pricing/v1/messaging.rb +115 -0
- data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +298 -0
- data/lib/twilio-ruby/rest/pricing/v1/phone_number.rb +115 -0
- data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +305 -0
- data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +227 -0
- data/lib/twilio-ruby/rest/pricing/v1/voice.rb +129 -0
- data/lib/twilio-ruby/rest/pricing/v1.rb +52 -0
- data/lib/twilio-ruby/rest/pricing/v2/country.rb +300 -0
- data/lib/twilio-ruby/rest/pricing/v2/number.rb +240 -0
- data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +305 -0
- data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +245 -0
- data/lib/twilio-ruby/rest/pricing/v2/voice.rb +129 -0
- data/lib/twilio-ruby/rest/pricing/v2.rb +70 -0
- data/lib/twilio-ruby/rest/pricing.rb +47 -0
- data/lib/twilio-ruby/rest/pricing_base.rb +43 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +427 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +420 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +440 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +435 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +530 -0
- data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +407 -0
- data/lib/twilio-ruby/rest/proxy/v1/service.rb +570 -0
- data/lib/twilio-ruby/rest/proxy/v1.rb +49 -0
- data/lib/twilio-ruby/rest/proxy.rb +15 -0
- data/lib/twilio-ruby/rest/proxy_base.rb +38 -0
- data/lib/twilio-ruby/rest/routes/v2/phone_number.rb +268 -0
- data/lib/twilio-ruby/rest/routes/v2/sip_domain.rb +268 -0
- data/lib/twilio-ruby/rest/routes/v2/trunk.rb +268 -0
- data/lib/twilio-ruby/rest/routes/v2.rb +79 -0
- data/lib/twilio-ruby/rest/routes.rb +32 -0
- data/lib/twilio-ruby/rest/routes_base.rb +38 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +327 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +420 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/build/build_status.rb +219 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +415 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +348 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +376 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +415 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +464 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb +230 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +354 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +420 -0
- data/lib/twilio-ruby/rest/serverless/v1/service.rb +534 -0
- data/lib/twilio-ruby/rest/serverless/v1.rb +49 -0
- data/lib/twilio-ruby/rest/serverless.rb +15 -0
- data/lib/twilio-ruby/rest/serverless_base.rb +38 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +217 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +228 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +373 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +430 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb +217 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb +228 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +373 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +478 -0
- data/lib/twilio-ruby/rest/studio/v1/flow.rb +391 -0
- data/lib/twilio-ruby/rest/studio/v1.rb +49 -0
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_context.rb +217 -0
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb +228 -0
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +373 -0
- data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +471 -0
- data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +349 -0
- data/lib/twilio-ruby/rest/studio/v2/flow/flow_test_user.rb +232 -0
- data/lib/twilio-ruby/rest/studio/v2/flow.rb +530 -0
- data/lib/twilio-ruby/rest/studio/v2/flow_validate.rb +139 -0
- data/lib/twilio-ruby/rest/studio/v2.rb +55 -0
- data/lib/twilio-ruby/rest/studio.rb +22 -0
- data/lib/twilio-ruby/rest/studio_base.rb +43 -0
- data/lib/twilio-ruby/rest/supersim/v1/esim_profile.rb +407 -0
- data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +484 -0
- data/lib/twilio-ruby/rest/supersim/v1/ip_command.rb +413 -0
- data/lib/twilio-ruby/rest/supersim/v1/network.rb +316 -0
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb +345 -0
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +391 -0
- data/lib/twilio-ruby/rest/supersim/v1/settings_update.rb +259 -0
- data/lib/twilio-ruby/rest/supersim/v1/sim/billing_period.rb +250 -0
- data/lib/twilio-ruby/rest/supersim/v1/sim/sim_ip_address.rb +208 -0
- data/lib/twilio-ruby/rest/supersim/v1/sim.rb +474 -0
- data/lib/twilio-ruby/rest/supersim/v1/sms_command.rb +372 -0
- data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +322 -0
- data/lib/twilio-ruby/rest/supersim/v1.rb +151 -0
- data/lib/twilio-ruby/rest/supersim.rb +88 -0
- data/lib/twilio-ruby/rest/supersim_base.rb +38 -0
- data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +388 -0
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +464 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +481 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +388 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +478 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +484 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +388 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +478 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +146 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +427 -0
- data/lib/twilio-ruby/rest/sync/v1/service.rb +586 -0
- data/lib/twilio-ruby/rest/sync/v1.rb +49 -0
- data/lib/twilio-ruby/rest/sync.rb +15 -0
- data/lib/twilio-ruby/rest/sync_base.rb +38 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +415 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +461 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +713 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +623 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +417 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +371 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +291 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +259 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +273 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +578 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +694 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +401 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +246 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +293 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +226 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +262 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +639 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +371 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +256 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +259 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +532 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +360 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +259 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +248 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +732 -0
- data/lib/twilio-ruby/rest/taskrouter/v1.rb +49 -0
- data/lib/twilio-ruby/rest/taskrouter.rb +15 -0
- data/lib/twilio-ruby/rest/taskrouter_base.rb +38 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +350 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +350 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +448 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +483 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/recording.rb +231 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +634 -0
- data/lib/twilio-ruby/rest/trunking/v1.rb +49 -0
- data/lib/twilio-ruby/rest/trunking.rb +15 -0
- data/lib/twilio-ruby/rest/trunking_base.rb +38 -0
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb +367 -0
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb +343 -0
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb +341 -0
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +539 -0
- data/lib/twilio-ruby/rest/trusthub/v1/end_user.rb +394 -0
- data/lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb +293 -0
- data/lib/twilio-ruby/rest/trusthub/v1/policies.rb +286 -0
- data/lib/twilio-ruby/rest/trusthub/v1/supporting_document.rb +408 -0
- data/lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb +293 -0
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.rb +367 -0
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_entity_assignments.rb +343 -0
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_evaluations.rb +341 -0
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +539 -0
- data/lib/twilio-ruby/rest/trusthub/v1.rb +139 -0
- data/lib/twilio-ruby/rest/trusthub.rb +74 -0
- data/lib/twilio-ruby/rest/trusthub_base.rb +38 -0
- data/lib/twilio-ruby/rest/verify/v2/form.rb +203 -0
- data/lib/twilio-ruby/rest/verify/v2/safelist.rb +231 -0
- data/lib/twilio-ruby/rest/verify/v2/service/access_token.rb +279 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge/notification.rb +198 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +512 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +459 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity/new_factor.rb +269 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +430 -0
- data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +387 -0
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +413 -0
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +428 -0
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +381 -0
- data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +225 -0
- data/lib/twilio-ruby/rest/verify/v2/service/webhook.rb +455 -0
- data/lib/twilio-ruby/rest/verify/v2/service.rb +777 -0
- data/lib/twilio-ruby/rest/verify/v2/template.rb +231 -0
- data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +391 -0
- data/lib/twilio-ruby/rest/verify/v2/verification_attempts_summary.rb +247 -0
- data/lib/twilio-ruby/rest/verify/v2.rb +106 -0
- data/lib/twilio-ruby/rest/verify.rb +58 -0
- data/lib/twilio-ruby/rest/verify_base.rb +38 -0
- data/lib/twilio-ruby/rest/video/v1/composition.rb +492 -0
- data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +540 -0
- data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +289 -0
- data/lib/twilio-ruby/rest/video/v1/recording.rb +442 -0
- data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +289 -0
- data/lib/twilio-ruby/rest/video/v1/room/participant/anonymize.rb +259 -0
- data/lib/twilio-ruby/rest/video/v1/room/participant/published_track.rb +332 -0
- data/lib/twilio-ruby/rest/video/v1/room/participant/subscribe_rules.rb +181 -0
- data/lib/twilio-ruby/rest/video/v1/room/participant/subscribed_track.rb +339 -0
- data/lib/twilio-ruby/rest/video/v1/room/participant.rb +503 -0
- data/lib/twilio-ruby/rest/video/v1/room/recording_rules.rb +170 -0
- data/lib/twilio-ruby/rest/video/v1/room/room_recording.rb +428 -0
- data/lib/twilio-ruby/rest/video/v1/room.rb +621 -0
- data/lib/twilio-ruby/rest/video/v1.rb +106 -0
- data/lib/twilio-ruby/rest/video.rb +59 -0
- data/lib/twilio-ruby/rest/video_base.rb +38 -0
- data/lib/twilio-ruby/rest/voice/v1/archived_call.rb +168 -0
- data/lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb +512 -0
- data/lib/twilio-ruby/rest/voice/v1/connection_policy/connection_policy_target.rb +448 -0
- data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +402 -0
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb +142 -0
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.rb +203 -0
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +389 -0
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/settings.rb +224 -0
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions.rb +130 -0
- data/lib/twilio-ruby/rest/voice/v1/ip_record.rb +388 -0
- data/lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb +371 -0
- data/lib/twilio-ruby/rest/voice/v1.rb +137 -0
- data/lib/twilio-ruby/rest/voice.rb +61 -0
- data/lib/twilio-ruby/rest/voice_base.rb +38 -0
- data/lib/twilio-ruby/rest/wireless/v1/command.rb +423 -0
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +474 -0
- data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +306 -0
- data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +250 -0
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +650 -0
- data/lib/twilio-ruby/rest/wireless/v1/usage_record.rb +238 -0
- data/lib/twilio-ruby/rest/wireless/v1.rb +85 -0
- data/lib/twilio-ruby/rest/wireless.rb +42 -0
- data/lib/twilio-ruby/rest/wireless_base.rb +38 -0
- data/lib/twilio-ruby/rest.rb +14 -0
- data/lib/twilio-ruby/security/request_validator.rb +150 -0
- data/lib/twilio-ruby/twiml/fax_response.rb +45 -0
- data/lib/twilio-ruby/twiml/messaging_response.rb +107 -0
- data/lib/twilio-ruby/twiml/twiml.rb +126 -0
- data/lib/twilio-ruby/twiml/voice_response.rb +1948 -0
- data/lib/twilio-ruby/util/configuration.rb +33 -0
- data/lib/twilio-ruby/util.rb +19 -0
- data/lib/twilio-ruby/version.rb +3 -0
- data/lib/twilio-ruby.rb +47 -0
- data/whoosh-ruby.gemspec +39 -0
- metadata +640 -8
@@ -0,0 +1,872 @@
|
|
1
|
+
##
|
2
|
+
# This code was generated by
|
3
|
+
# ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
|
4
|
+
# | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
|
5
|
+
# | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
|
6
|
+
#
|
7
|
+
# Twilio - Api
|
8
|
+
# This is the public Twilio REST API.
|
9
|
+
#
|
10
|
+
# NOTE: This class is auto generated by OpenAPI Generator.
|
11
|
+
# https://openapi-generator.tech
|
12
|
+
# Do not edit the class manually.
|
13
|
+
#
|
14
|
+
|
15
|
+
|
16
|
+
module Twilio
|
17
|
+
module REST
|
18
|
+
class Api < ApiBase
|
19
|
+
class V2010 < Version
|
20
|
+
class AccountContext < InstanceContext
|
21
|
+
class CallContext < InstanceContext
|
22
|
+
|
23
|
+
class SiprecList < ListResource
|
24
|
+
##
|
25
|
+
# Initialize the SiprecList
|
26
|
+
# @param [Version] version Version that contains the resource
|
27
|
+
# @return [SiprecList] SiprecList
|
28
|
+
def initialize(version, account_sid: nil, call_sid: nil)
|
29
|
+
super(version)
|
30
|
+
# Path Solution
|
31
|
+
@solution = { account_sid: account_sid, call_sid: call_sid }
|
32
|
+
@uri = "/Accounts/#{@solution[:account_sid]}/Calls/#{@solution[:call_sid]}/Siprec.json"
|
33
|
+
|
34
|
+
end
|
35
|
+
##
|
36
|
+
# Create the SiprecInstance
|
37
|
+
# @param [String] name The user-specified name of this Siprec, if one was given when the Siprec was created. This may be used to stop the Siprec.
|
38
|
+
# @param [String] connector_name Unique name used when configuring the connector via Marketplace Add-on.
|
39
|
+
# @param [Track] track
|
40
|
+
# @param [String] status_callback Absolute URL of the status callback.
|
41
|
+
# @param [String] status_callback_method The http method for the status_callback (one of GET, POST).
|
42
|
+
# @param [String] parameter1_name Parameter name
|
43
|
+
# @param [String] parameter1_value Parameter value
|
44
|
+
# @param [String] parameter2_name Parameter name
|
45
|
+
# @param [String] parameter2_value Parameter value
|
46
|
+
# @param [String] parameter3_name Parameter name
|
47
|
+
# @param [String] parameter3_value Parameter value
|
48
|
+
# @param [String] parameter4_name Parameter name
|
49
|
+
# @param [String] parameter4_value Parameter value
|
50
|
+
# @param [String] parameter5_name Parameter name
|
51
|
+
# @param [String] parameter5_value Parameter value
|
52
|
+
# @param [String] parameter6_name Parameter name
|
53
|
+
# @param [String] parameter6_value Parameter value
|
54
|
+
# @param [String] parameter7_name Parameter name
|
55
|
+
# @param [String] parameter7_value Parameter value
|
56
|
+
# @param [String] parameter8_name Parameter name
|
57
|
+
# @param [String] parameter8_value Parameter value
|
58
|
+
# @param [String] parameter9_name Parameter name
|
59
|
+
# @param [String] parameter9_value Parameter value
|
60
|
+
# @param [String] parameter10_name Parameter name
|
61
|
+
# @param [String] parameter10_value Parameter value
|
62
|
+
# @param [String] parameter11_name Parameter name
|
63
|
+
# @param [String] parameter11_value Parameter value
|
64
|
+
# @param [String] parameter12_name Parameter name
|
65
|
+
# @param [String] parameter12_value Parameter value
|
66
|
+
# @param [String] parameter13_name Parameter name
|
67
|
+
# @param [String] parameter13_value Parameter value
|
68
|
+
# @param [String] parameter14_name Parameter name
|
69
|
+
# @param [String] parameter14_value Parameter value
|
70
|
+
# @param [String] parameter15_name Parameter name
|
71
|
+
# @param [String] parameter15_value Parameter value
|
72
|
+
# @param [String] parameter16_name Parameter name
|
73
|
+
# @param [String] parameter16_value Parameter value
|
74
|
+
# @param [String] parameter17_name Parameter name
|
75
|
+
# @param [String] parameter17_value Parameter value
|
76
|
+
# @param [String] parameter18_name Parameter name
|
77
|
+
# @param [String] parameter18_value Parameter value
|
78
|
+
# @param [String] parameter19_name Parameter name
|
79
|
+
# @param [String] parameter19_value Parameter value
|
80
|
+
# @param [String] parameter20_name Parameter name
|
81
|
+
# @param [String] parameter20_value Parameter value
|
82
|
+
# @param [String] parameter21_name Parameter name
|
83
|
+
# @param [String] parameter21_value Parameter value
|
84
|
+
# @param [String] parameter22_name Parameter name
|
85
|
+
# @param [String] parameter22_value Parameter value
|
86
|
+
# @param [String] parameter23_name Parameter name
|
87
|
+
# @param [String] parameter23_value Parameter value
|
88
|
+
# @param [String] parameter24_name Parameter name
|
89
|
+
# @param [String] parameter24_value Parameter value
|
90
|
+
# @param [String] parameter25_name Parameter name
|
91
|
+
# @param [String] parameter25_value Parameter value
|
92
|
+
# @param [String] parameter26_name Parameter name
|
93
|
+
# @param [String] parameter26_value Parameter value
|
94
|
+
# @param [String] parameter27_name Parameter name
|
95
|
+
# @param [String] parameter27_value Parameter value
|
96
|
+
# @param [String] parameter28_name Parameter name
|
97
|
+
# @param [String] parameter28_value Parameter value
|
98
|
+
# @param [String] parameter29_name Parameter name
|
99
|
+
# @param [String] parameter29_value Parameter value
|
100
|
+
# @param [String] parameter30_name Parameter name
|
101
|
+
# @param [String] parameter30_value Parameter value
|
102
|
+
# @param [String] parameter31_name Parameter name
|
103
|
+
# @param [String] parameter31_value Parameter value
|
104
|
+
# @param [String] parameter32_name Parameter name
|
105
|
+
# @param [String] parameter32_value Parameter value
|
106
|
+
# @param [String] parameter33_name Parameter name
|
107
|
+
# @param [String] parameter33_value Parameter value
|
108
|
+
# @param [String] parameter34_name Parameter name
|
109
|
+
# @param [String] parameter34_value Parameter value
|
110
|
+
# @param [String] parameter35_name Parameter name
|
111
|
+
# @param [String] parameter35_value Parameter value
|
112
|
+
# @param [String] parameter36_name Parameter name
|
113
|
+
# @param [String] parameter36_value Parameter value
|
114
|
+
# @param [String] parameter37_name Parameter name
|
115
|
+
# @param [String] parameter37_value Parameter value
|
116
|
+
# @param [String] parameter38_name Parameter name
|
117
|
+
# @param [String] parameter38_value Parameter value
|
118
|
+
# @param [String] parameter39_name Parameter name
|
119
|
+
# @param [String] parameter39_value Parameter value
|
120
|
+
# @param [String] parameter40_name Parameter name
|
121
|
+
# @param [String] parameter40_value Parameter value
|
122
|
+
# @param [String] parameter41_name Parameter name
|
123
|
+
# @param [String] parameter41_value Parameter value
|
124
|
+
# @param [String] parameter42_name Parameter name
|
125
|
+
# @param [String] parameter42_value Parameter value
|
126
|
+
# @param [String] parameter43_name Parameter name
|
127
|
+
# @param [String] parameter43_value Parameter value
|
128
|
+
# @param [String] parameter44_name Parameter name
|
129
|
+
# @param [String] parameter44_value Parameter value
|
130
|
+
# @param [String] parameter45_name Parameter name
|
131
|
+
# @param [String] parameter45_value Parameter value
|
132
|
+
# @param [String] parameter46_name Parameter name
|
133
|
+
# @param [String] parameter46_value Parameter value
|
134
|
+
# @param [String] parameter47_name Parameter name
|
135
|
+
# @param [String] parameter47_value Parameter value
|
136
|
+
# @param [String] parameter48_name Parameter name
|
137
|
+
# @param [String] parameter48_value Parameter value
|
138
|
+
# @param [String] parameter49_name Parameter name
|
139
|
+
# @param [String] parameter49_value Parameter value
|
140
|
+
# @param [String] parameter50_name Parameter name
|
141
|
+
# @param [String] parameter50_value Parameter value
|
142
|
+
# @param [String] parameter51_name Parameter name
|
143
|
+
# @param [String] parameter51_value Parameter value
|
144
|
+
# @param [String] parameter52_name Parameter name
|
145
|
+
# @param [String] parameter52_value Parameter value
|
146
|
+
# @param [String] parameter53_name Parameter name
|
147
|
+
# @param [String] parameter53_value Parameter value
|
148
|
+
# @param [String] parameter54_name Parameter name
|
149
|
+
# @param [String] parameter54_value Parameter value
|
150
|
+
# @param [String] parameter55_name Parameter name
|
151
|
+
# @param [String] parameter55_value Parameter value
|
152
|
+
# @param [String] parameter56_name Parameter name
|
153
|
+
# @param [String] parameter56_value Parameter value
|
154
|
+
# @param [String] parameter57_name Parameter name
|
155
|
+
# @param [String] parameter57_value Parameter value
|
156
|
+
# @param [String] parameter58_name Parameter name
|
157
|
+
# @param [String] parameter58_value Parameter value
|
158
|
+
# @param [String] parameter59_name Parameter name
|
159
|
+
# @param [String] parameter59_value Parameter value
|
160
|
+
# @param [String] parameter60_name Parameter name
|
161
|
+
# @param [String] parameter60_value Parameter value
|
162
|
+
# @param [String] parameter61_name Parameter name
|
163
|
+
# @param [String] parameter61_value Parameter value
|
164
|
+
# @param [String] parameter62_name Parameter name
|
165
|
+
# @param [String] parameter62_value Parameter value
|
166
|
+
# @param [String] parameter63_name Parameter name
|
167
|
+
# @param [String] parameter63_value Parameter value
|
168
|
+
# @param [String] parameter64_name Parameter name
|
169
|
+
# @param [String] parameter64_value Parameter value
|
170
|
+
# @param [String] parameter65_name Parameter name
|
171
|
+
# @param [String] parameter65_value Parameter value
|
172
|
+
# @param [String] parameter66_name Parameter name
|
173
|
+
# @param [String] parameter66_value Parameter value
|
174
|
+
# @param [String] parameter67_name Parameter name
|
175
|
+
# @param [String] parameter67_value Parameter value
|
176
|
+
# @param [String] parameter68_name Parameter name
|
177
|
+
# @param [String] parameter68_value Parameter value
|
178
|
+
# @param [String] parameter69_name Parameter name
|
179
|
+
# @param [String] parameter69_value Parameter value
|
180
|
+
# @param [String] parameter70_name Parameter name
|
181
|
+
# @param [String] parameter70_value Parameter value
|
182
|
+
# @param [String] parameter71_name Parameter name
|
183
|
+
# @param [String] parameter71_value Parameter value
|
184
|
+
# @param [String] parameter72_name Parameter name
|
185
|
+
# @param [String] parameter72_value Parameter value
|
186
|
+
# @param [String] parameter73_name Parameter name
|
187
|
+
# @param [String] parameter73_value Parameter value
|
188
|
+
# @param [String] parameter74_name Parameter name
|
189
|
+
# @param [String] parameter74_value Parameter value
|
190
|
+
# @param [String] parameter75_name Parameter name
|
191
|
+
# @param [String] parameter75_value Parameter value
|
192
|
+
# @param [String] parameter76_name Parameter name
|
193
|
+
# @param [String] parameter76_value Parameter value
|
194
|
+
# @param [String] parameter77_name Parameter name
|
195
|
+
# @param [String] parameter77_value Parameter value
|
196
|
+
# @param [String] parameter78_name Parameter name
|
197
|
+
# @param [String] parameter78_value Parameter value
|
198
|
+
# @param [String] parameter79_name Parameter name
|
199
|
+
# @param [String] parameter79_value Parameter value
|
200
|
+
# @param [String] parameter80_name Parameter name
|
201
|
+
# @param [String] parameter80_value Parameter value
|
202
|
+
# @param [String] parameter81_name Parameter name
|
203
|
+
# @param [String] parameter81_value Parameter value
|
204
|
+
# @param [String] parameter82_name Parameter name
|
205
|
+
# @param [String] parameter82_value Parameter value
|
206
|
+
# @param [String] parameter83_name Parameter name
|
207
|
+
# @param [String] parameter83_value Parameter value
|
208
|
+
# @param [String] parameter84_name Parameter name
|
209
|
+
# @param [String] parameter84_value Parameter value
|
210
|
+
# @param [String] parameter85_name Parameter name
|
211
|
+
# @param [String] parameter85_value Parameter value
|
212
|
+
# @param [String] parameter86_name Parameter name
|
213
|
+
# @param [String] parameter86_value Parameter value
|
214
|
+
# @param [String] parameter87_name Parameter name
|
215
|
+
# @param [String] parameter87_value Parameter value
|
216
|
+
# @param [String] parameter88_name Parameter name
|
217
|
+
# @param [String] parameter88_value Parameter value
|
218
|
+
# @param [String] parameter89_name Parameter name
|
219
|
+
# @param [String] parameter89_value Parameter value
|
220
|
+
# @param [String] parameter90_name Parameter name
|
221
|
+
# @param [String] parameter90_value Parameter value
|
222
|
+
# @param [String] parameter91_name Parameter name
|
223
|
+
# @param [String] parameter91_value Parameter value
|
224
|
+
# @param [String] parameter92_name Parameter name
|
225
|
+
# @param [String] parameter92_value Parameter value
|
226
|
+
# @param [String] parameter93_name Parameter name
|
227
|
+
# @param [String] parameter93_value Parameter value
|
228
|
+
# @param [String] parameter94_name Parameter name
|
229
|
+
# @param [String] parameter94_value Parameter value
|
230
|
+
# @param [String] parameter95_name Parameter name
|
231
|
+
# @param [String] parameter95_value Parameter value
|
232
|
+
# @param [String] parameter96_name Parameter name
|
233
|
+
# @param [String] parameter96_value Parameter value
|
234
|
+
# @param [String] parameter97_name Parameter name
|
235
|
+
# @param [String] parameter97_value Parameter value
|
236
|
+
# @param [String] parameter98_name Parameter name
|
237
|
+
# @param [String] parameter98_value Parameter value
|
238
|
+
# @param [String] parameter99_name Parameter name
|
239
|
+
# @param [String] parameter99_value Parameter value
|
240
|
+
# @return [SiprecInstance] Created SiprecInstance
|
241
|
+
def create(
|
242
|
+
name: :unset,
|
243
|
+
connector_name: :unset,
|
244
|
+
track: :unset,
|
245
|
+
status_callback: :unset,
|
246
|
+
status_callback_method: :unset,
|
247
|
+
parameter1_name: :unset,
|
248
|
+
parameter1_value: :unset,
|
249
|
+
parameter2_name: :unset,
|
250
|
+
parameter2_value: :unset,
|
251
|
+
parameter3_name: :unset,
|
252
|
+
parameter3_value: :unset,
|
253
|
+
parameter4_name: :unset,
|
254
|
+
parameter4_value: :unset,
|
255
|
+
parameter5_name: :unset,
|
256
|
+
parameter5_value: :unset,
|
257
|
+
parameter6_name: :unset,
|
258
|
+
parameter6_value: :unset,
|
259
|
+
parameter7_name: :unset,
|
260
|
+
parameter7_value: :unset,
|
261
|
+
parameter8_name: :unset,
|
262
|
+
parameter8_value: :unset,
|
263
|
+
parameter9_name: :unset,
|
264
|
+
parameter9_value: :unset,
|
265
|
+
parameter10_name: :unset,
|
266
|
+
parameter10_value: :unset,
|
267
|
+
parameter11_name: :unset,
|
268
|
+
parameter11_value: :unset,
|
269
|
+
parameter12_name: :unset,
|
270
|
+
parameter12_value: :unset,
|
271
|
+
parameter13_name: :unset,
|
272
|
+
parameter13_value: :unset,
|
273
|
+
parameter14_name: :unset,
|
274
|
+
parameter14_value: :unset,
|
275
|
+
parameter15_name: :unset,
|
276
|
+
parameter15_value: :unset,
|
277
|
+
parameter16_name: :unset,
|
278
|
+
parameter16_value: :unset,
|
279
|
+
parameter17_name: :unset,
|
280
|
+
parameter17_value: :unset,
|
281
|
+
parameter18_name: :unset,
|
282
|
+
parameter18_value: :unset,
|
283
|
+
parameter19_name: :unset,
|
284
|
+
parameter19_value: :unset,
|
285
|
+
parameter20_name: :unset,
|
286
|
+
parameter20_value: :unset,
|
287
|
+
parameter21_name: :unset,
|
288
|
+
parameter21_value: :unset,
|
289
|
+
parameter22_name: :unset,
|
290
|
+
parameter22_value: :unset,
|
291
|
+
parameter23_name: :unset,
|
292
|
+
parameter23_value: :unset,
|
293
|
+
parameter24_name: :unset,
|
294
|
+
parameter24_value: :unset,
|
295
|
+
parameter25_name: :unset,
|
296
|
+
parameter25_value: :unset,
|
297
|
+
parameter26_name: :unset,
|
298
|
+
parameter26_value: :unset,
|
299
|
+
parameter27_name: :unset,
|
300
|
+
parameter27_value: :unset,
|
301
|
+
parameter28_name: :unset,
|
302
|
+
parameter28_value: :unset,
|
303
|
+
parameter29_name: :unset,
|
304
|
+
parameter29_value: :unset,
|
305
|
+
parameter30_name: :unset,
|
306
|
+
parameter30_value: :unset,
|
307
|
+
parameter31_name: :unset,
|
308
|
+
parameter31_value: :unset,
|
309
|
+
parameter32_name: :unset,
|
310
|
+
parameter32_value: :unset,
|
311
|
+
parameter33_name: :unset,
|
312
|
+
parameter33_value: :unset,
|
313
|
+
parameter34_name: :unset,
|
314
|
+
parameter34_value: :unset,
|
315
|
+
parameter35_name: :unset,
|
316
|
+
parameter35_value: :unset,
|
317
|
+
parameter36_name: :unset,
|
318
|
+
parameter36_value: :unset,
|
319
|
+
parameter37_name: :unset,
|
320
|
+
parameter37_value: :unset,
|
321
|
+
parameter38_name: :unset,
|
322
|
+
parameter38_value: :unset,
|
323
|
+
parameter39_name: :unset,
|
324
|
+
parameter39_value: :unset,
|
325
|
+
parameter40_name: :unset,
|
326
|
+
parameter40_value: :unset,
|
327
|
+
parameter41_name: :unset,
|
328
|
+
parameter41_value: :unset,
|
329
|
+
parameter42_name: :unset,
|
330
|
+
parameter42_value: :unset,
|
331
|
+
parameter43_name: :unset,
|
332
|
+
parameter43_value: :unset,
|
333
|
+
parameter44_name: :unset,
|
334
|
+
parameter44_value: :unset,
|
335
|
+
parameter45_name: :unset,
|
336
|
+
parameter45_value: :unset,
|
337
|
+
parameter46_name: :unset,
|
338
|
+
parameter46_value: :unset,
|
339
|
+
parameter47_name: :unset,
|
340
|
+
parameter47_value: :unset,
|
341
|
+
parameter48_name: :unset,
|
342
|
+
parameter48_value: :unset,
|
343
|
+
parameter49_name: :unset,
|
344
|
+
parameter49_value: :unset,
|
345
|
+
parameter50_name: :unset,
|
346
|
+
parameter50_value: :unset,
|
347
|
+
parameter51_name: :unset,
|
348
|
+
parameter51_value: :unset,
|
349
|
+
parameter52_name: :unset,
|
350
|
+
parameter52_value: :unset,
|
351
|
+
parameter53_name: :unset,
|
352
|
+
parameter53_value: :unset,
|
353
|
+
parameter54_name: :unset,
|
354
|
+
parameter54_value: :unset,
|
355
|
+
parameter55_name: :unset,
|
356
|
+
parameter55_value: :unset,
|
357
|
+
parameter56_name: :unset,
|
358
|
+
parameter56_value: :unset,
|
359
|
+
parameter57_name: :unset,
|
360
|
+
parameter57_value: :unset,
|
361
|
+
parameter58_name: :unset,
|
362
|
+
parameter58_value: :unset,
|
363
|
+
parameter59_name: :unset,
|
364
|
+
parameter59_value: :unset,
|
365
|
+
parameter60_name: :unset,
|
366
|
+
parameter60_value: :unset,
|
367
|
+
parameter61_name: :unset,
|
368
|
+
parameter61_value: :unset,
|
369
|
+
parameter62_name: :unset,
|
370
|
+
parameter62_value: :unset,
|
371
|
+
parameter63_name: :unset,
|
372
|
+
parameter63_value: :unset,
|
373
|
+
parameter64_name: :unset,
|
374
|
+
parameter64_value: :unset,
|
375
|
+
parameter65_name: :unset,
|
376
|
+
parameter65_value: :unset,
|
377
|
+
parameter66_name: :unset,
|
378
|
+
parameter66_value: :unset,
|
379
|
+
parameter67_name: :unset,
|
380
|
+
parameter67_value: :unset,
|
381
|
+
parameter68_name: :unset,
|
382
|
+
parameter68_value: :unset,
|
383
|
+
parameter69_name: :unset,
|
384
|
+
parameter69_value: :unset,
|
385
|
+
parameter70_name: :unset,
|
386
|
+
parameter70_value: :unset,
|
387
|
+
parameter71_name: :unset,
|
388
|
+
parameter71_value: :unset,
|
389
|
+
parameter72_name: :unset,
|
390
|
+
parameter72_value: :unset,
|
391
|
+
parameter73_name: :unset,
|
392
|
+
parameter73_value: :unset,
|
393
|
+
parameter74_name: :unset,
|
394
|
+
parameter74_value: :unset,
|
395
|
+
parameter75_name: :unset,
|
396
|
+
parameter75_value: :unset,
|
397
|
+
parameter76_name: :unset,
|
398
|
+
parameter76_value: :unset,
|
399
|
+
parameter77_name: :unset,
|
400
|
+
parameter77_value: :unset,
|
401
|
+
parameter78_name: :unset,
|
402
|
+
parameter78_value: :unset,
|
403
|
+
parameter79_name: :unset,
|
404
|
+
parameter79_value: :unset,
|
405
|
+
parameter80_name: :unset,
|
406
|
+
parameter80_value: :unset,
|
407
|
+
parameter81_name: :unset,
|
408
|
+
parameter81_value: :unset,
|
409
|
+
parameter82_name: :unset,
|
410
|
+
parameter82_value: :unset,
|
411
|
+
parameter83_name: :unset,
|
412
|
+
parameter83_value: :unset,
|
413
|
+
parameter84_name: :unset,
|
414
|
+
parameter84_value: :unset,
|
415
|
+
parameter85_name: :unset,
|
416
|
+
parameter85_value: :unset,
|
417
|
+
parameter86_name: :unset,
|
418
|
+
parameter86_value: :unset,
|
419
|
+
parameter87_name: :unset,
|
420
|
+
parameter87_value: :unset,
|
421
|
+
parameter88_name: :unset,
|
422
|
+
parameter88_value: :unset,
|
423
|
+
parameter89_name: :unset,
|
424
|
+
parameter89_value: :unset,
|
425
|
+
parameter90_name: :unset,
|
426
|
+
parameter90_value: :unset,
|
427
|
+
parameter91_name: :unset,
|
428
|
+
parameter91_value: :unset,
|
429
|
+
parameter92_name: :unset,
|
430
|
+
parameter92_value: :unset,
|
431
|
+
parameter93_name: :unset,
|
432
|
+
parameter93_value: :unset,
|
433
|
+
parameter94_name: :unset,
|
434
|
+
parameter94_value: :unset,
|
435
|
+
parameter95_name: :unset,
|
436
|
+
parameter95_value: :unset,
|
437
|
+
parameter96_name: :unset,
|
438
|
+
parameter96_value: :unset,
|
439
|
+
parameter97_name: :unset,
|
440
|
+
parameter97_value: :unset,
|
441
|
+
parameter98_name: :unset,
|
442
|
+
parameter98_value: :unset,
|
443
|
+
parameter99_name: :unset,
|
444
|
+
parameter99_value: :unset
|
445
|
+
)
|
446
|
+
|
447
|
+
data = Twilio::Values.of({
|
448
|
+
'Name' => name,
|
449
|
+
'ConnectorName' => connector_name,
|
450
|
+
'Track' => track,
|
451
|
+
'StatusCallback' => status_callback,
|
452
|
+
'StatusCallbackMethod' => status_callback_method,
|
453
|
+
'Parameter1.Name' => parameter1_name,
|
454
|
+
'Parameter1.Value' => parameter1_value,
|
455
|
+
'Parameter2.Name' => parameter2_name,
|
456
|
+
'Parameter2.Value' => parameter2_value,
|
457
|
+
'Parameter3.Name' => parameter3_name,
|
458
|
+
'Parameter3.Value' => parameter3_value,
|
459
|
+
'Parameter4.Name' => parameter4_name,
|
460
|
+
'Parameter4.Value' => parameter4_value,
|
461
|
+
'Parameter5.Name' => parameter5_name,
|
462
|
+
'Parameter5.Value' => parameter5_value,
|
463
|
+
'Parameter6.Name' => parameter6_name,
|
464
|
+
'Parameter6.Value' => parameter6_value,
|
465
|
+
'Parameter7.Name' => parameter7_name,
|
466
|
+
'Parameter7.Value' => parameter7_value,
|
467
|
+
'Parameter8.Name' => parameter8_name,
|
468
|
+
'Parameter8.Value' => parameter8_value,
|
469
|
+
'Parameter9.Name' => parameter9_name,
|
470
|
+
'Parameter9.Value' => parameter9_value,
|
471
|
+
'Parameter10.Name' => parameter10_name,
|
472
|
+
'Parameter10.Value' => parameter10_value,
|
473
|
+
'Parameter11.Name' => parameter11_name,
|
474
|
+
'Parameter11.Value' => parameter11_value,
|
475
|
+
'Parameter12.Name' => parameter12_name,
|
476
|
+
'Parameter12.Value' => parameter12_value,
|
477
|
+
'Parameter13.Name' => parameter13_name,
|
478
|
+
'Parameter13.Value' => parameter13_value,
|
479
|
+
'Parameter14.Name' => parameter14_name,
|
480
|
+
'Parameter14.Value' => parameter14_value,
|
481
|
+
'Parameter15.Name' => parameter15_name,
|
482
|
+
'Parameter15.Value' => parameter15_value,
|
483
|
+
'Parameter16.Name' => parameter16_name,
|
484
|
+
'Parameter16.Value' => parameter16_value,
|
485
|
+
'Parameter17.Name' => parameter17_name,
|
486
|
+
'Parameter17.Value' => parameter17_value,
|
487
|
+
'Parameter18.Name' => parameter18_name,
|
488
|
+
'Parameter18.Value' => parameter18_value,
|
489
|
+
'Parameter19.Name' => parameter19_name,
|
490
|
+
'Parameter19.Value' => parameter19_value,
|
491
|
+
'Parameter20.Name' => parameter20_name,
|
492
|
+
'Parameter20.Value' => parameter20_value,
|
493
|
+
'Parameter21.Name' => parameter21_name,
|
494
|
+
'Parameter21.Value' => parameter21_value,
|
495
|
+
'Parameter22.Name' => parameter22_name,
|
496
|
+
'Parameter22.Value' => parameter22_value,
|
497
|
+
'Parameter23.Name' => parameter23_name,
|
498
|
+
'Parameter23.Value' => parameter23_value,
|
499
|
+
'Parameter24.Name' => parameter24_name,
|
500
|
+
'Parameter24.Value' => parameter24_value,
|
501
|
+
'Parameter25.Name' => parameter25_name,
|
502
|
+
'Parameter25.Value' => parameter25_value,
|
503
|
+
'Parameter26.Name' => parameter26_name,
|
504
|
+
'Parameter26.Value' => parameter26_value,
|
505
|
+
'Parameter27.Name' => parameter27_name,
|
506
|
+
'Parameter27.Value' => parameter27_value,
|
507
|
+
'Parameter28.Name' => parameter28_name,
|
508
|
+
'Parameter28.Value' => parameter28_value,
|
509
|
+
'Parameter29.Name' => parameter29_name,
|
510
|
+
'Parameter29.Value' => parameter29_value,
|
511
|
+
'Parameter30.Name' => parameter30_name,
|
512
|
+
'Parameter30.Value' => parameter30_value,
|
513
|
+
'Parameter31.Name' => parameter31_name,
|
514
|
+
'Parameter31.Value' => parameter31_value,
|
515
|
+
'Parameter32.Name' => parameter32_name,
|
516
|
+
'Parameter32.Value' => parameter32_value,
|
517
|
+
'Parameter33.Name' => parameter33_name,
|
518
|
+
'Parameter33.Value' => parameter33_value,
|
519
|
+
'Parameter34.Name' => parameter34_name,
|
520
|
+
'Parameter34.Value' => parameter34_value,
|
521
|
+
'Parameter35.Name' => parameter35_name,
|
522
|
+
'Parameter35.Value' => parameter35_value,
|
523
|
+
'Parameter36.Name' => parameter36_name,
|
524
|
+
'Parameter36.Value' => parameter36_value,
|
525
|
+
'Parameter37.Name' => parameter37_name,
|
526
|
+
'Parameter37.Value' => parameter37_value,
|
527
|
+
'Parameter38.Name' => parameter38_name,
|
528
|
+
'Parameter38.Value' => parameter38_value,
|
529
|
+
'Parameter39.Name' => parameter39_name,
|
530
|
+
'Parameter39.Value' => parameter39_value,
|
531
|
+
'Parameter40.Name' => parameter40_name,
|
532
|
+
'Parameter40.Value' => parameter40_value,
|
533
|
+
'Parameter41.Name' => parameter41_name,
|
534
|
+
'Parameter41.Value' => parameter41_value,
|
535
|
+
'Parameter42.Name' => parameter42_name,
|
536
|
+
'Parameter42.Value' => parameter42_value,
|
537
|
+
'Parameter43.Name' => parameter43_name,
|
538
|
+
'Parameter43.Value' => parameter43_value,
|
539
|
+
'Parameter44.Name' => parameter44_name,
|
540
|
+
'Parameter44.Value' => parameter44_value,
|
541
|
+
'Parameter45.Name' => parameter45_name,
|
542
|
+
'Parameter45.Value' => parameter45_value,
|
543
|
+
'Parameter46.Name' => parameter46_name,
|
544
|
+
'Parameter46.Value' => parameter46_value,
|
545
|
+
'Parameter47.Name' => parameter47_name,
|
546
|
+
'Parameter47.Value' => parameter47_value,
|
547
|
+
'Parameter48.Name' => parameter48_name,
|
548
|
+
'Parameter48.Value' => parameter48_value,
|
549
|
+
'Parameter49.Name' => parameter49_name,
|
550
|
+
'Parameter49.Value' => parameter49_value,
|
551
|
+
'Parameter50.Name' => parameter50_name,
|
552
|
+
'Parameter50.Value' => parameter50_value,
|
553
|
+
'Parameter51.Name' => parameter51_name,
|
554
|
+
'Parameter51.Value' => parameter51_value,
|
555
|
+
'Parameter52.Name' => parameter52_name,
|
556
|
+
'Parameter52.Value' => parameter52_value,
|
557
|
+
'Parameter53.Name' => parameter53_name,
|
558
|
+
'Parameter53.Value' => parameter53_value,
|
559
|
+
'Parameter54.Name' => parameter54_name,
|
560
|
+
'Parameter54.Value' => parameter54_value,
|
561
|
+
'Parameter55.Name' => parameter55_name,
|
562
|
+
'Parameter55.Value' => parameter55_value,
|
563
|
+
'Parameter56.Name' => parameter56_name,
|
564
|
+
'Parameter56.Value' => parameter56_value,
|
565
|
+
'Parameter57.Name' => parameter57_name,
|
566
|
+
'Parameter57.Value' => parameter57_value,
|
567
|
+
'Parameter58.Name' => parameter58_name,
|
568
|
+
'Parameter58.Value' => parameter58_value,
|
569
|
+
'Parameter59.Name' => parameter59_name,
|
570
|
+
'Parameter59.Value' => parameter59_value,
|
571
|
+
'Parameter60.Name' => parameter60_name,
|
572
|
+
'Parameter60.Value' => parameter60_value,
|
573
|
+
'Parameter61.Name' => parameter61_name,
|
574
|
+
'Parameter61.Value' => parameter61_value,
|
575
|
+
'Parameter62.Name' => parameter62_name,
|
576
|
+
'Parameter62.Value' => parameter62_value,
|
577
|
+
'Parameter63.Name' => parameter63_name,
|
578
|
+
'Parameter63.Value' => parameter63_value,
|
579
|
+
'Parameter64.Name' => parameter64_name,
|
580
|
+
'Parameter64.Value' => parameter64_value,
|
581
|
+
'Parameter65.Name' => parameter65_name,
|
582
|
+
'Parameter65.Value' => parameter65_value,
|
583
|
+
'Parameter66.Name' => parameter66_name,
|
584
|
+
'Parameter66.Value' => parameter66_value,
|
585
|
+
'Parameter67.Name' => parameter67_name,
|
586
|
+
'Parameter67.Value' => parameter67_value,
|
587
|
+
'Parameter68.Name' => parameter68_name,
|
588
|
+
'Parameter68.Value' => parameter68_value,
|
589
|
+
'Parameter69.Name' => parameter69_name,
|
590
|
+
'Parameter69.Value' => parameter69_value,
|
591
|
+
'Parameter70.Name' => parameter70_name,
|
592
|
+
'Parameter70.Value' => parameter70_value,
|
593
|
+
'Parameter71.Name' => parameter71_name,
|
594
|
+
'Parameter71.Value' => parameter71_value,
|
595
|
+
'Parameter72.Name' => parameter72_name,
|
596
|
+
'Parameter72.Value' => parameter72_value,
|
597
|
+
'Parameter73.Name' => parameter73_name,
|
598
|
+
'Parameter73.Value' => parameter73_value,
|
599
|
+
'Parameter74.Name' => parameter74_name,
|
600
|
+
'Parameter74.Value' => parameter74_value,
|
601
|
+
'Parameter75.Name' => parameter75_name,
|
602
|
+
'Parameter75.Value' => parameter75_value,
|
603
|
+
'Parameter76.Name' => parameter76_name,
|
604
|
+
'Parameter76.Value' => parameter76_value,
|
605
|
+
'Parameter77.Name' => parameter77_name,
|
606
|
+
'Parameter77.Value' => parameter77_value,
|
607
|
+
'Parameter78.Name' => parameter78_name,
|
608
|
+
'Parameter78.Value' => parameter78_value,
|
609
|
+
'Parameter79.Name' => parameter79_name,
|
610
|
+
'Parameter79.Value' => parameter79_value,
|
611
|
+
'Parameter80.Name' => parameter80_name,
|
612
|
+
'Parameter80.Value' => parameter80_value,
|
613
|
+
'Parameter81.Name' => parameter81_name,
|
614
|
+
'Parameter81.Value' => parameter81_value,
|
615
|
+
'Parameter82.Name' => parameter82_name,
|
616
|
+
'Parameter82.Value' => parameter82_value,
|
617
|
+
'Parameter83.Name' => parameter83_name,
|
618
|
+
'Parameter83.Value' => parameter83_value,
|
619
|
+
'Parameter84.Name' => parameter84_name,
|
620
|
+
'Parameter84.Value' => parameter84_value,
|
621
|
+
'Parameter85.Name' => parameter85_name,
|
622
|
+
'Parameter85.Value' => parameter85_value,
|
623
|
+
'Parameter86.Name' => parameter86_name,
|
624
|
+
'Parameter86.Value' => parameter86_value,
|
625
|
+
'Parameter87.Name' => parameter87_name,
|
626
|
+
'Parameter87.Value' => parameter87_value,
|
627
|
+
'Parameter88.Name' => parameter88_name,
|
628
|
+
'Parameter88.Value' => parameter88_value,
|
629
|
+
'Parameter89.Name' => parameter89_name,
|
630
|
+
'Parameter89.Value' => parameter89_value,
|
631
|
+
'Parameter90.Name' => parameter90_name,
|
632
|
+
'Parameter90.Value' => parameter90_value,
|
633
|
+
'Parameter91.Name' => parameter91_name,
|
634
|
+
'Parameter91.Value' => parameter91_value,
|
635
|
+
'Parameter92.Name' => parameter92_name,
|
636
|
+
'Parameter92.Value' => parameter92_value,
|
637
|
+
'Parameter93.Name' => parameter93_name,
|
638
|
+
'Parameter93.Value' => parameter93_value,
|
639
|
+
'Parameter94.Name' => parameter94_name,
|
640
|
+
'Parameter94.Value' => parameter94_value,
|
641
|
+
'Parameter95.Name' => parameter95_name,
|
642
|
+
'Parameter95.Value' => parameter95_value,
|
643
|
+
'Parameter96.Name' => parameter96_name,
|
644
|
+
'Parameter96.Value' => parameter96_value,
|
645
|
+
'Parameter97.Name' => parameter97_name,
|
646
|
+
'Parameter97.Value' => parameter97_value,
|
647
|
+
'Parameter98.Name' => parameter98_name,
|
648
|
+
'Parameter98.Value' => parameter98_value,
|
649
|
+
'Parameter99.Name' => parameter99_name,
|
650
|
+
'Parameter99.Value' => parameter99_value,
|
651
|
+
})
|
652
|
+
|
653
|
+
payload = @version.create('POST', @uri, data: data)
|
654
|
+
SiprecInstance.new(
|
655
|
+
@version,
|
656
|
+
payload,
|
657
|
+
account_sid: @solution[:account_sid],
|
658
|
+
call_sid: @solution[:call_sid],
|
659
|
+
)
|
660
|
+
end
|
661
|
+
|
662
|
+
|
663
|
+
|
664
|
+
|
665
|
+
# Provide a user friendly representation
|
666
|
+
def to_s
|
667
|
+
'#<Twilio.Api.V2010.SiprecList>'
|
668
|
+
end
|
669
|
+
end
|
670
|
+
|
671
|
+
|
672
|
+
class SiprecContext < InstanceContext
|
673
|
+
##
|
674
|
+
# Initialize the SiprecContext
|
675
|
+
# @param [Version] version Version that contains the resource
|
676
|
+
# @param [String] account_sid The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Siprec resource.
|
677
|
+
# @param [String] call_sid The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Siprec resource is associated with.
|
678
|
+
# @param [String] sid The SID of the Siprec resource, or the `name` used when creating the resource
|
679
|
+
# @return [SiprecContext] SiprecContext
|
680
|
+
def initialize(version, account_sid, call_sid, sid)
|
681
|
+
super(version)
|
682
|
+
|
683
|
+
# Path Solution
|
684
|
+
@solution = { account_sid: account_sid, call_sid: call_sid, sid: sid, }
|
685
|
+
@uri = "/Accounts/#{@solution[:account_sid]}/Calls/#{@solution[:call_sid]}/Siprec/#{@solution[:sid]}.json"
|
686
|
+
|
687
|
+
|
688
|
+
end
|
689
|
+
##
|
690
|
+
# Update the SiprecInstance
|
691
|
+
# @param [UpdateStatus] status
|
692
|
+
# @return [SiprecInstance] Updated SiprecInstance
|
693
|
+
def update(
|
694
|
+
status: nil
|
695
|
+
)
|
696
|
+
|
697
|
+
data = Twilio::Values.of({
|
698
|
+
'Status' => status,
|
699
|
+
})
|
700
|
+
|
701
|
+
payload = @version.update('POST', @uri, data: data)
|
702
|
+
SiprecInstance.new(
|
703
|
+
@version,
|
704
|
+
payload,
|
705
|
+
account_sid: @solution[:account_sid],
|
706
|
+
call_sid: @solution[:call_sid],
|
707
|
+
sid: @solution[:sid],
|
708
|
+
)
|
709
|
+
end
|
710
|
+
|
711
|
+
|
712
|
+
##
|
713
|
+
# Provide a user friendly representation
|
714
|
+
def to_s
|
715
|
+
context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
|
716
|
+
"#<Twilio.Api.V2010.SiprecContext #{context}>"
|
717
|
+
end
|
718
|
+
|
719
|
+
##
|
720
|
+
# Provide a detailed, user friendly representation
|
721
|
+
def inspect
|
722
|
+
context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
|
723
|
+
"#<Twilio.Api.V2010.SiprecContext #{context}>"
|
724
|
+
end
|
725
|
+
end
|
726
|
+
|
727
|
+
class SiprecPage < Page
|
728
|
+
##
|
729
|
+
# Initialize the SiprecPage
|
730
|
+
# @param [Version] version Version that contains the resource
|
731
|
+
# @param [Response] response Response from the API
|
732
|
+
# @param [Hash] solution Path solution for the resource
|
733
|
+
# @return [SiprecPage] SiprecPage
|
734
|
+
def initialize(version, response, solution)
|
735
|
+
super(version, response)
|
736
|
+
|
737
|
+
# Path Solution
|
738
|
+
@solution = solution
|
739
|
+
end
|
740
|
+
|
741
|
+
##
|
742
|
+
# Build an instance of SiprecInstance
|
743
|
+
# @param [Hash] payload Payload response from the API
|
744
|
+
# @return [SiprecInstance] SiprecInstance
|
745
|
+
def get_instance(payload)
|
746
|
+
SiprecInstance.new(@version, payload, account_sid: @solution[:account_sid], call_sid: @solution[:call_sid])
|
747
|
+
end
|
748
|
+
|
749
|
+
##
|
750
|
+
# Provide a user friendly representation
|
751
|
+
def to_s
|
752
|
+
'<Twilio.Api.V2010.SiprecPage>'
|
753
|
+
end
|
754
|
+
end
|
755
|
+
class SiprecInstance < InstanceResource
|
756
|
+
##
|
757
|
+
# Initialize the SiprecInstance
|
758
|
+
# @param [Version] version Version that contains the resource
|
759
|
+
# @param [Hash] payload payload that contains response from Twilio
|
760
|
+
# @param [String] account_sid The SID of the
|
761
|
+
# {Account}[https://www.twilio.com/docs/iam/api/account] that created this Siprec
|
762
|
+
# resource.
|
763
|
+
# @param [String] sid The SID of the Call resource to fetch.
|
764
|
+
# @return [SiprecInstance] SiprecInstance
|
765
|
+
def initialize(version, payload , account_sid: nil, call_sid: nil, sid: nil)
|
766
|
+
super(version)
|
767
|
+
|
768
|
+
# Marshaled Properties
|
769
|
+
@properties = {
|
770
|
+
'sid' => payload['sid'],
|
771
|
+
'account_sid' => payload['account_sid'],
|
772
|
+
'call_sid' => payload['call_sid'],
|
773
|
+
'name' => payload['name'],
|
774
|
+
'status' => payload['status'],
|
775
|
+
'date_updated' => Twilio.deserialize_rfc2822(payload['date_updated']),
|
776
|
+
'uri' => payload['uri'],
|
777
|
+
}
|
778
|
+
|
779
|
+
# Context
|
780
|
+
@instance_context = nil
|
781
|
+
@params = { 'account_sid' => account_sid ,'call_sid' => call_sid || @properties['call_sid'] ,'sid' => sid || @properties['sid'] , }
|
782
|
+
end
|
783
|
+
|
784
|
+
##
|
785
|
+
# Generate an instance context for the instance, the context is capable of
|
786
|
+
# performing various actions. All instance actions are proxied to the context
|
787
|
+
# @return [SiprecContext] CallContext for this CallInstance
|
788
|
+
def context
|
789
|
+
unless @instance_context
|
790
|
+
@instance_context = SiprecContext.new(@version , @params['account_sid'], @params['call_sid'], @params['sid'])
|
791
|
+
end
|
792
|
+
@instance_context
|
793
|
+
end
|
794
|
+
|
795
|
+
##
|
796
|
+
# @return [String] The SID of the Siprec resource.
|
797
|
+
def sid
|
798
|
+
@properties['sid']
|
799
|
+
end
|
800
|
+
|
801
|
+
##
|
802
|
+
# @return [String] The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Siprec resource.
|
803
|
+
def account_sid
|
804
|
+
@properties['account_sid']
|
805
|
+
end
|
806
|
+
|
807
|
+
##
|
808
|
+
# @return [String] The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Siprec resource is associated with.
|
809
|
+
def call_sid
|
810
|
+
@properties['call_sid']
|
811
|
+
end
|
812
|
+
|
813
|
+
##
|
814
|
+
# @return [String] The user-specified name of this Siprec, if one was given when the Siprec was created. This may be used to stop the Siprec.
|
815
|
+
def name
|
816
|
+
@properties['name']
|
817
|
+
end
|
818
|
+
|
819
|
+
##
|
820
|
+
# @return [Status]
|
821
|
+
def status
|
822
|
+
@properties['status']
|
823
|
+
end
|
824
|
+
|
825
|
+
##
|
826
|
+
# @return [Time] The date and time in GMT that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
|
827
|
+
def date_updated
|
828
|
+
@properties['date_updated']
|
829
|
+
end
|
830
|
+
|
831
|
+
##
|
832
|
+
# @return [String] The URI of the resource, relative to `https://api.twilio.com`.
|
833
|
+
def uri
|
834
|
+
@properties['uri']
|
835
|
+
end
|
836
|
+
|
837
|
+
##
|
838
|
+
# Update the SiprecInstance
|
839
|
+
# @param [UpdateStatus] status
|
840
|
+
# @return [SiprecInstance] Updated SiprecInstance
|
841
|
+
def update(
|
842
|
+
status: nil
|
843
|
+
)
|
844
|
+
|
845
|
+
context.update(
|
846
|
+
status: status,
|
847
|
+
)
|
848
|
+
end
|
849
|
+
|
850
|
+
##
|
851
|
+
# Provide a user friendly representation
|
852
|
+
def to_s
|
853
|
+
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
|
854
|
+
"<Twilio.Api.V2010.SiprecInstance #{values}>"
|
855
|
+
end
|
856
|
+
|
857
|
+
##
|
858
|
+
# Provide a detailed, user friendly representation
|
859
|
+
def inspect
|
860
|
+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
|
861
|
+
"<Twilio.Api.V2010.SiprecInstance #{values}>"
|
862
|
+
end
|
863
|
+
end
|
864
|
+
|
865
|
+
end
|
866
|
+
end
|
867
|
+
end
|
868
|
+
end
|
869
|
+
end
|
870
|
+
end
|
871
|
+
|
872
|
+
|