twilio-ruby 7.11.1 → 7.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.md +221 -0
- data/Gemfile.lock +2 -2
- data/README.md +2 -2
- data/lib/rack/twilio_webhook_authentication.rb +45 -2
- data/lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb +0 -59
- data/lib/twilio-ruby/rest/accounts/v1/bulk_consents.rb +0 -59
- data/lib/twilio-ruby/rest/accounts/v1/bulk_contacts.rb +0 -59
- data/lib/twilio-ruby/rest/accounts/v1/credential.rb +0 -59
- data/lib/twilio-ruby/rest/accounts/v1/messaging_geopermissions.rb +0 -59
- data/lib/twilio-ruby/rest/accounts/v1/safelist.rb +0 -59
- data/lib/twilio-ruby/rest/accounts/v1/secondary_auth_token.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/balance.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/call/payment.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/call/siprec.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/call/stream.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/call/transcription.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message_subscription.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload/data.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_calls.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_type_registrations.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/sip.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/token.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/usage.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +0 -59
- data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +0 -59
- data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +0 -59
- data/lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb +0 -59
- data/lib/twilio-ruby/rest/chat/v3/channel.rb +0 -59
- data/lib/twilio-ruby/rest/content/v1/content/approval_create.rb +0 -59
- data/lib/twilio-ruby/rest/content/v1/content/approval_fetch.rb +0 -59
- data/lib/twilio-ruby/rest/conversations/v1/configuration/webhook.rb +0 -59
- data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +0 -59
- data/lib/twilio-ruby/rest/conversations/v1/conversation_with_participants.rb +0 -59
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration/notification.rb +0 -59
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration/webhook.rb +0 -59
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +0 -59
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation_with_participants.rb +0 -59
- data/lib/twilio-ruby/rest/conversations/v2/action.rb +0 -59
- data/lib/twilio-ruby/rest/conversations/v2/configuration.rb +525 -0
- data/lib/twilio-ruby/rest/conversations/v2/operation.rb +0 -59
- data/lib/twilio-ruby/rest/conversations/v2.rb +10 -4
- data/lib/twilio-ruby/rest/events/v1/schema.rb +0 -59
- data/lib/twilio-ruby/rest/events/v1/sink/sink_test.rb +0 -59
- data/lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +12 -14
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +12 -14
- data/lib/twilio-ruby/rest/flex_api/v1/insights_conversations.rb +12 -14
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +12 -14
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +2 -4
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +12 -14
- data/lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb +12 -14
- data/lib/twilio-ruby/rest/flex_api/v1/insights_session.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v1/insights_user_roles.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_transfer.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v1/plugin/plugin_versions.rb +2 -4
- data/lib/twilio-ruby/rest/flex_api/v1/plugin.rb +2 -4
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_archive.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration/configured_plugin.rb +2 -4
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration.rb +2 -4
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration_archive.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_release.rb +2 -4
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_version_archive.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v1/provisioning_status.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v2/flex_user.rb +0 -59
- data/lib/twilio-ruby/rest/flex_api/v2/web_channels.rb +0 -59
- data/lib/twilio-ruby/rest/frontline_api/v1/user.rb +0 -59
- data/lib/twilio-ruby/rest/iam/v1/api_key.rb +0 -59
- data/lib/twilio-ruby/rest/iam/v1/new_api_key.rb +0 -59
- data/lib/twilio-ruby/rest/iam/v1/o_auth_app.rb +0 -59
- data/lib/twilio-ruby/rest/iam/v1/token.rb +0 -59
- data/lib/twilio-ruby/rest/insights/v1/call/annotation.rb +0 -59
- data/lib/twilio-ruby/rest/insights/v1/call/call_summary.rb +0 -59
- data/lib/twilio-ruby/rest/insights/v1/call.rb +0 -59
- data/lib/twilio-ruby/rest/insights/v1/setting.rb +0 -59
- data/lib/twilio-ruby/rest/insights/v2/inbound.rb +2 -261
- data/lib/twilio-ruby/rest/insights/v2/inbound_report.rb +258 -0
- data/lib/twilio-ruby/rest/insights/v2/outbound.rb +18 -299
- data/lib/twilio-ruby/rest/insights/v2/outbound_report.rb +258 -0
- data/lib/twilio-ruby/rest/insights/v2/report.rb +27 -184
- data/lib/twilio-ruby/rest/insights/v2.rb +14 -4
- data/lib/twilio-ruby/rest/insights/v3/metadata.rb +1 -60
- data/lib/twilio-ruby/rest/insights/v3/query.rb +1 -60
- data/lib/twilio-ruby/rest/insights/v3/query_job.rb +654 -0
- data/lib/twilio-ruby/rest/insights/v3/result.rb +195 -0
- data/lib/twilio-ruby/rest/insights/v3.rb +17 -1
- data/lib/twilio-ruby/rest/intelligence/v2/operator_attachment.rb +0 -59
- data/lib/twilio-ruby/rest/intelligence/v2/operator_attachments.rb +0 -59
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_operator_results.rb +0 -59
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_sentences.rb +0 -59
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/media.rb +0 -59
- data/lib/twilio-ruby/rest/intelligence/v3/rule_execution.rb +0 -59
- data/lib/twilio-ruby/rest/knowledge/v1/knowledge/knowledge_status.rb +0 -59
- data/lib/twilio-ruby/rest/knowledge/v2/operation.rb +0 -59
- data/lib/twilio-ruby/rest/knowledge/v2/search.rb +0 -59
- data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +0 -59
- data/lib/twilio-ruby/rest/lookups/v2/bucket.rb +0 -59
- data/lib/twilio-ruby/rest/lookups/v2/lookup_override.rb +0 -59
- data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +0 -59
- data/lib/twilio-ruby/rest/lookups/v2/query.rb +0 -59
- data/lib/twilio-ruby/rest/lookups/v2/rate_limit.rb +0 -59
- data/lib/twilio-ruby/rest/marketplace/v1/installed_add_on/installed_add_on_usage.rb +0 -59
- data/lib/twilio-ruby/rest/marketplace/v1/module_data.rb +0 -59
- data/lib/twilio-ruby/rest/marketplace/v1/module_data_management.rb +0 -59
- data/lib/twilio-ruby/rest/marketplace/v1/referral_conversion.rb +0 -59
- data/lib/twilio-ruby/rest/memory/v1/bulk.rb +0 -59
- data/lib/twilio-ruby/rest/memory/v1/conversation_summary.rb +2 -4
- data/lib/twilio-ruby/rest/memory/v1/identifier.rb +0 -80
- data/lib/twilio-ruby/rest/memory/v1/identity_resolution_setting.rb +0 -59
- data/lib/twilio-ruby/rest/memory/v1/lookup.rb +0 -59
- data/lib/twilio-ruby/rest/memory/v1/observation.rb +2 -4
- data/lib/twilio-ruby/rest/memory/v1/operation.rb +0 -59
- data/lib/twilio-ruby/rest/memory/v1/recall.rb +0 -59
- data/lib/twilio-ruby/rest/memory/v1/revision.rb +2 -4
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_registration_otp.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v1/deactivations.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v1/domain_certs.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v1/domain_config.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v1/domain_config_messaging_service.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v1/domain_validate_dn.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service_domain_association.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v1/request_managed_cert.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +2 -4
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person_usecase.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v1/usecase.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v2/domain_certs.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v2/typing_indicator.rb +0 -59
- data/lib/twilio-ruby/rest/messaging/v3/typing_indicator.rb +0 -59
- data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v1/bulk_eligibility.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v1/eligibility.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v1/embedded_session.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v1/porting_port_in_phone_number.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v1/porting_portability.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v1/sender_id_registration.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v1/sms_verification.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v1/sms_verification_check.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v1/voice_verification.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v1/voice_verification_check.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v1/webhook.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v2/bundle_clone.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/replace_items.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb +0 -59
- data/lib/twilio-ruby/rest/numbers/v2.rb +0 -16
- data/lib/twilio-ruby/rest/numbers/v3/hosted_number_order.rb +0 -59
- data/lib/twilio-ruby/rest/oauth/v1/authorize.rb +0 -59
- data/lib/twilio-ruby/rest/oauth/v1/token.rb +0 -59
- data/lib/twilio-ruby/rest/oauth/v2/authorize.rb +0 -59
- data/lib/twilio-ruby/rest/oauth/v2/oauth_authorization_server.rb +0 -59
- data/lib/twilio-ruby/rest/oauth/v2/token.rb +2 -61
- data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +0 -59
- data/lib/twilio-ruby/rest/preview_iam/v1/authorize.rb +0 -59
- data/lib/twilio-ruby/rest/preview_iam/v1/token.rb +0 -59
- data/lib/twilio-ruby/rest/preview_iam/versionless/organization.rb +0 -59
- data/lib/twilio-ruby/rest/pricing/v1/messaging.rb +0 -59
- data/lib/twilio-ruby/rest/pricing/v1/phone_number.rb +0 -59
- data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +0 -59
- data/lib/twilio-ruby/rest/pricing/v1/voice.rb +0 -59
- data/lib/twilio-ruby/rest/pricing/v2/number.rb +0 -59
- data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +0 -59
- data/lib/twilio-ruby/rest/pricing/v2/voice.rb +0 -59
- data/lib/twilio-ruby/rest/routes/v2/phone_number.rb +0 -59
- data/lib/twilio-ruby/rest/routes/v2/sip_domain.rb +0 -59
- data/lib/twilio-ruby/rest/routes/v2/trunk.rb +0 -59
- data/lib/twilio-ruby/rest/routes/v3/phone_number.rb +0 -59
- data/lib/twilio-ruby/rest/serverless/v1/service/build/build_status.rb +0 -59
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb +0 -59
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/engagement_context.rb +0 -59
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step/step_context.rb +0 -59
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb +0 -59
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb +0 -59
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_context.rb +0 -59
- data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step/execution_step_context.rb +0 -59
- data/lib/twilio-ruby/rest/studio/v2/flow/flow_test_user.rb +0 -59
- data/lib/twilio-ruby/rest/studio/v2/flow_validate.rb +0 -59
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_bulk_real_time_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +0 -59
- data/lib/twilio-ruby/rest/trunking/v1/trunk/recording.rb +0 -59
- data/lib/twilio-ruby/rest/trusthub/v1/a2p_brand_registration.rb +0 -59
- data/lib/twilio-ruby/rest/trusthub/v1/a2p_brand_registration_embedded_session.rb +0 -59
- data/lib/twilio-ruby/rest/trusthub/v1/a2p_campaign_registration.rb +0 -59
- data/lib/twilio-ruby/rest/trusthub/v1/a2p_campaign_registration_embedded_session.rb +0 -59
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_inquiries.rb +0 -59
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_registration_inquiries.rb +0 -59
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb +0 -59
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles_provisional_copy.rb +0 -59
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products_provisional_copy.rb +0 -59
- data/lib/twilio-ruby/rest/verify/v2/form.rb +0 -59
- data/lib/twilio-ruby/rest/verify/v2/safelist.rb +0 -59
- data/lib/twilio-ruby/rest/verify/v2/service/access_token.rb +0 -59
- data/lib/twilio-ruby/rest/verify/v2/service/approve_challenge.rb +0 -59
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge/notification.rb +0 -59
- data/lib/twilio-ruby/rest/verify/v2/service/entity/new_factor.rb +0 -59
- data/lib/twilio-ruby/rest/verify/v2/service/new_challenge.rb +3 -62
- data/lib/twilio-ruby/rest/verify/v2/service/new_factor.rb +0 -59
- data/lib/twilio-ruby/rest/verify/v2/service/new_verify_factor.rb +0 -59
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +8 -61
- data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +0 -59
- data/lib/twilio-ruby/rest/verify/v2/verification_attempts_summary.rb +0 -59
- data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +0 -59
- data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +0 -59
- data/lib/twilio-ruby/rest/video/v1/room/participant/anonymize.rb +0 -59
- data/lib/twilio-ruby/rest/video/v1/room/participant/subscribe_rules.rb +0 -59
- data/lib/twilio-ruby/rest/video/v1/room/recording_rules.rb +0 -59
- data/lib/twilio-ruby/rest/voice/v1/archived_call.rb +0 -59
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb +0 -59
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/settings.rb +0 -59
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions.rb +0 -59
- data/lib/twilio-ruby/rest/voice/v2/account_default_configuration.rb +0 -59
- data/lib/twilio-ruby/rest/voice/v2/configuration/default.rb +0 -59
- data/lib/twilio-ruby/rest/voice/v2/configuration.rb +0 -59
- data/lib/twilio-ruby/rest/voice/v2/recording.rb +0 -59
- data/lib/twilio-ruby/rest/voice/v2/transcription.rb +0 -59
- data/lib/twilio-ruby/rest/voice/v2/type.rb +0 -59
- data/lib/twilio-ruby/rest/voice/v3/transcription.rb +259 -50
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +6 -4
- data/lib/twilio-ruby/rest/memory/v1/event.rb +0 -320
- data/lib/twilio-ruby/rest/numbers/v2/caller_id.rb +0 -515
|
@@ -19,74 +19,6 @@ module Twilio
|
|
|
19
19
|
class V2 < Version
|
|
20
20
|
class InboundList < ListResource
|
|
21
21
|
|
|
22
|
-
class InsightsV2CreatePhoneNumbersReportRequest
|
|
23
|
-
# @param [time_range]: [InboundList.InsightsV2CreatePhoneNumbersReportRequestTimeRange]
|
|
24
|
-
# @param [filters]: [Array<InboundList.PhoneNumberReportFilter>]
|
|
25
|
-
# @param [size]: [String] The number of max available top Phone Numbers to generate.
|
|
26
|
-
attr_accessor :time_range, :filters, :size
|
|
27
|
-
def initialize(payload)
|
|
28
|
-
@time_range = payload["time_range"]
|
|
29
|
-
@filters = payload["filters"]
|
|
30
|
-
@size = payload["size"]
|
|
31
|
-
end
|
|
32
|
-
def to_json(options = {})
|
|
33
|
-
{
|
|
34
|
-
"time_range": @time_range,
|
|
35
|
-
"filters": @filters,
|
|
36
|
-
"size": @size,
|
|
37
|
-
}.to_json(options)
|
|
38
|
-
end
|
|
39
|
-
end
|
|
40
|
-
|
|
41
|
-
class InsightsV2CreatePhoneNumbersReportRequestTimeRange
|
|
42
|
-
# @param [start_datetime]: [Time] Start date time of the report
|
|
43
|
-
# @param [end_datetime]: [Time] End date time of the report
|
|
44
|
-
attr_accessor :start_datetime, :end_datetime
|
|
45
|
-
def initialize(payload)
|
|
46
|
-
@start_datetime = payload["start_datetime"]
|
|
47
|
-
@end_datetime = payload["end_datetime"]
|
|
48
|
-
end
|
|
49
|
-
def to_json(options = {})
|
|
50
|
-
{
|
|
51
|
-
"start_datetime": @start_datetime,
|
|
52
|
-
"end_datetime": @end_datetime,
|
|
53
|
-
}.to_json(options)
|
|
54
|
-
end
|
|
55
|
-
end
|
|
56
|
-
|
|
57
|
-
class PhoneNumberReportFilter
|
|
58
|
-
# @param [key]: [String] The name of the filter
|
|
59
|
-
# @param [values]: [Array<String>] List of supported filter values for the field name
|
|
60
|
-
attr_accessor :key, :values
|
|
61
|
-
def initialize(payload)
|
|
62
|
-
@key = payload["key"]
|
|
63
|
-
@values = payload["values"]
|
|
64
|
-
end
|
|
65
|
-
def to_json(options = {})
|
|
66
|
-
{
|
|
67
|
-
"key": @key,
|
|
68
|
-
"values": @values,
|
|
69
|
-
}.to_json(options)
|
|
70
|
-
end
|
|
71
|
-
end
|
|
72
|
-
|
|
73
|
-
class ReportFilter
|
|
74
|
-
# @param [key]: [String] The name of the filter 'call_state', 'call_direction', 'call_type', 'twilio_regions', 'caller_country_code', 'callee_country_code', 'silent'
|
|
75
|
-
# @param [values]: [Array<String>] List of supported filter values for the field name
|
|
76
|
-
attr_accessor :key, :values
|
|
77
|
-
def initialize(payload)
|
|
78
|
-
@key = payload["key"]
|
|
79
|
-
@values = payload["values"]
|
|
80
|
-
end
|
|
81
|
-
def to_json(options = {})
|
|
82
|
-
{
|
|
83
|
-
"key": @key,
|
|
84
|
-
"values": @values,
|
|
85
|
-
}.to_json(options)
|
|
86
|
-
end
|
|
87
|
-
end
|
|
88
|
-
|
|
89
|
-
|
|
90
22
|
##
|
|
91
23
|
# Initialize the InboundList
|
|
92
24
|
# @param [Version] version Version that contains the resource
|
|
@@ -225,134 +157,6 @@ module Twilio
|
|
|
225
157
|
end
|
|
226
158
|
end
|
|
227
159
|
|
|
228
|
-
|
|
229
|
-
class InboundContext < InstanceContext
|
|
230
|
-
##
|
|
231
|
-
# Initialize the InboundContext
|
|
232
|
-
# @param [Version] version Version that contains the resource
|
|
233
|
-
# @param [String] report_id A unique Report Id.
|
|
234
|
-
# @return [InboundContext] InboundContext
|
|
235
|
-
def initialize(version, report_id)
|
|
236
|
-
super(version)
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
# Path Solution
|
|
240
|
-
@solution = { report_id: report_id, }
|
|
241
|
-
@uri = "/Voice/Reports/PhoneNumbers/Inbound"
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
end
|
|
245
|
-
##
|
|
246
|
-
# Create the InboundInstance
|
|
247
|
-
# @param [InsightsV2CreatePhoneNumbersReportRequest] insights_v2_create_phone_numbers_report_request
|
|
248
|
-
# @return [InboundInstance] Created InboundInstance
|
|
249
|
-
def create(insights_v2_create_phone_numbers_report_request: :unset
|
|
250
|
-
)
|
|
251
|
-
|
|
252
|
-
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
|
253
|
-
headers['Content-Type'] = 'application/json'
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
payload = @version.create('POST', @uri, headers: headers, data: insights_v2_create_phone_numbers_report_request.to_json)
|
|
259
|
-
InboundInstance.new(
|
|
260
|
-
@version,
|
|
261
|
-
payload,
|
|
262
|
-
report_id: @solution[:report_id],
|
|
263
|
-
)
|
|
264
|
-
end
|
|
265
|
-
|
|
266
|
-
##
|
|
267
|
-
# Create the InboundInstanceMetadata
|
|
268
|
-
# @param [InsightsV2CreatePhoneNumbersReportRequest] insights_v2_create_phone_numbers_report_request
|
|
269
|
-
# @return [InboundInstance] Created InboundInstance
|
|
270
|
-
def create_with_metadata(insights_v2_create_phone_numbers_report_request: :unset
|
|
271
|
-
)
|
|
272
|
-
|
|
273
|
-
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
|
274
|
-
headers['Content-Type'] = 'application/json'
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
response = @version.create_with_metadata('POST', @uri, headers: headers, data: insights_v2_create_phone_numbers_report_request.to_json)
|
|
280
|
-
inbound_instance = InboundInstance.new(
|
|
281
|
-
@version,
|
|
282
|
-
response.body,
|
|
283
|
-
report_id: @solution[:report_id],
|
|
284
|
-
)
|
|
285
|
-
InboundInstanceMetadata.new(
|
|
286
|
-
@version,
|
|
287
|
-
inbound_instance,
|
|
288
|
-
response.headers,
|
|
289
|
-
response.status_code
|
|
290
|
-
)
|
|
291
|
-
end
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
##
|
|
295
|
-
# Provide a user friendly representation
|
|
296
|
-
def to_s
|
|
297
|
-
context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
|
|
298
|
-
"#<Twilio.Insights.V2.InboundContext #{context}>"
|
|
299
|
-
end
|
|
300
|
-
|
|
301
|
-
##
|
|
302
|
-
# Provide a detailed, user friendly representation
|
|
303
|
-
def inspect
|
|
304
|
-
context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
|
|
305
|
-
"#<Twilio.Insights.V2.InboundContext #{context}>"
|
|
306
|
-
end
|
|
307
|
-
end
|
|
308
|
-
|
|
309
|
-
class InboundInstanceMetadata < InstanceResourceMetadata
|
|
310
|
-
##
|
|
311
|
-
# Initializes a new InboundInstanceMetadata.
|
|
312
|
-
# @param [Version] version Version that contains the resource
|
|
313
|
-
# @param [}InboundInstance] inbound_instance The instance associated with the metadata.
|
|
314
|
-
# @param [Hash] headers Header object with response headers.
|
|
315
|
-
# @param [Integer] status_code The HTTP status code of the response.
|
|
316
|
-
# @return [InboundInstanceMetadata] The initialized instance with metadata.
|
|
317
|
-
def initialize(version, inbound_instance, headers, status_code)
|
|
318
|
-
super(version, headers, status_code)
|
|
319
|
-
@inbound_instance = inbound_instance
|
|
320
|
-
end
|
|
321
|
-
|
|
322
|
-
def inbound
|
|
323
|
-
@inbound_instance
|
|
324
|
-
end
|
|
325
|
-
|
|
326
|
-
def headers
|
|
327
|
-
@headers
|
|
328
|
-
end
|
|
329
|
-
|
|
330
|
-
def status_code
|
|
331
|
-
@status_code
|
|
332
|
-
end
|
|
333
|
-
|
|
334
|
-
def to_s
|
|
335
|
-
"<Twilio.Api.V2010.InboundInstanceMetadata status=#{@status_code}>"
|
|
336
|
-
end
|
|
337
|
-
end
|
|
338
|
-
|
|
339
|
-
class InboundListResponse < InstanceListResource
|
|
340
|
-
# @param [Array<InboundInstance>] instance
|
|
341
|
-
# @param [Hash{String => Object}] headers
|
|
342
|
-
# @param [Integer] status_code
|
|
343
|
-
def initialize(version, payload, key)
|
|
344
|
-
@inbound_instance = payload.body[key].map do |data|
|
|
345
|
-
InboundInstance.new(version, data)
|
|
346
|
-
end
|
|
347
|
-
@headers = payload.headers
|
|
348
|
-
@status_code = payload.status_code
|
|
349
|
-
end
|
|
350
|
-
|
|
351
|
-
def inbound_instance
|
|
352
|
-
@instance
|
|
353
|
-
end
|
|
354
|
-
end
|
|
355
|
-
|
|
356
160
|
class InboundPage < Page
|
|
357
161
|
##
|
|
358
162
|
# Initialize the InboundPage
|
|
@@ -458,63 +262,14 @@ module Twilio
|
|
|
458
262
|
|
|
459
263
|
# Marshaled Properties
|
|
460
264
|
@properties = {
|
|
461
|
-
'account_sid' => payload['account_sid'],
|
|
462
|
-
'report_id' => payload['report_id'],
|
|
463
|
-
'status' => payload['status'],
|
|
464
|
-
'request_meta' => payload['request_meta'],
|
|
465
|
-
'url' => payload['url'],
|
|
466
265
|
'handle' => payload['handle'],
|
|
467
266
|
'total_calls' => payload['total_calls'] == nil ? payload['total_calls'] : payload['total_calls'].to_i,
|
|
468
267
|
'call_answer_score' => payload['call_answer_score'],
|
|
469
268
|
'call_state_percentage' => payload['call_state_percentage'],
|
|
470
269
|
'silent_calls_percentage' => payload['silent_calls_percentage'],
|
|
471
270
|
}
|
|
472
|
-
|
|
473
|
-
# Context
|
|
474
|
-
@instance_context = nil
|
|
475
|
-
@params = { 'report_id' => report_id || @properties['report_id'] , }
|
|
476
271
|
end
|
|
477
272
|
|
|
478
|
-
##
|
|
479
|
-
# Generate an instance context for the instance, the context is capable of
|
|
480
|
-
# performing various actions. All instance actions are proxied to the context
|
|
481
|
-
# @return [InboundContext] CallContext for this CallInstance
|
|
482
|
-
def context
|
|
483
|
-
unless @instance_context
|
|
484
|
-
@instance_context = InboundContext.new(@version , @params['report_id'])
|
|
485
|
-
end
|
|
486
|
-
@instance_context
|
|
487
|
-
end
|
|
488
|
-
|
|
489
|
-
##
|
|
490
|
-
# @return [String] The unique SID identifier of the Account.
|
|
491
|
-
def account_sid
|
|
492
|
-
@properties['account_sid']
|
|
493
|
-
end
|
|
494
|
-
|
|
495
|
-
##
|
|
496
|
-
# @return [String] The report identifier as Voice Insights Report TTID.
|
|
497
|
-
def report_id
|
|
498
|
-
@properties['report_id']
|
|
499
|
-
end
|
|
500
|
-
|
|
501
|
-
##
|
|
502
|
-
# @return [ReportStatus]
|
|
503
|
-
def status
|
|
504
|
-
@properties['status']
|
|
505
|
-
end
|
|
506
|
-
|
|
507
|
-
##
|
|
508
|
-
# @return [ReportMetadata]
|
|
509
|
-
def request_meta
|
|
510
|
-
@properties['request_meta']
|
|
511
|
-
end
|
|
512
|
-
|
|
513
|
-
##
|
|
514
|
-
# @return [String] The URL of this resource.
|
|
515
|
-
def url
|
|
516
|
-
@properties['url']
|
|
517
|
-
end
|
|
518
273
|
|
|
519
274
|
##
|
|
520
275
|
# @return [String] Inbound phone number handle represented in the report.
|
|
@@ -546,30 +301,16 @@ module Twilio
|
|
|
546
301
|
@properties['silent_calls_percentage']
|
|
547
302
|
end
|
|
548
303
|
|
|
549
|
-
##
|
|
550
|
-
# Create the InboundInstance
|
|
551
|
-
# @param [InsightsV2CreatePhoneNumbersReportRequest] insights_v2_create_phone_numbers_report_request
|
|
552
|
-
# @return [InboundInstance] Created InboundInstance
|
|
553
|
-
def create(insights_v2_create_phone_numbers_report_request: :unset
|
|
554
|
-
)
|
|
555
|
-
|
|
556
|
-
context.create(
|
|
557
|
-
insights_v2_create_phone_numbers_report_request: insights_v2_create_phone_numbers_report_request,
|
|
558
|
-
)
|
|
559
|
-
end
|
|
560
|
-
|
|
561
304
|
##
|
|
562
305
|
# Provide a user friendly representation
|
|
563
306
|
def to_s
|
|
564
|
-
|
|
565
|
-
"<Twilio.Insights.V2.InboundInstance #{values}>"
|
|
307
|
+
"<Twilio.Insights.V2.InboundInstance>"
|
|
566
308
|
end
|
|
567
309
|
|
|
568
310
|
##
|
|
569
311
|
# Provide a detailed, user friendly representation
|
|
570
312
|
def inspect
|
|
571
|
-
|
|
572
|
-
"<Twilio.Insights.V2.InboundInstance #{values}>"
|
|
313
|
+
"<Twilio.Insights.V2.InboundInstance>"
|
|
573
314
|
end
|
|
574
315
|
end
|
|
575
316
|
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
##
|
|
2
|
+
# This code was generated by
|
|
3
|
+
# ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
|
|
4
|
+
# | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
|
|
5
|
+
# | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
|
|
6
|
+
#
|
|
7
|
+
# Sample/reference Twilio API.
|
|
8
|
+
# This is the reference API for the rest-proxy server.
|
|
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 Insights < InsightsBase
|
|
19
|
+
class V2 < Version
|
|
20
|
+
class InboundReportList < ListResource
|
|
21
|
+
|
|
22
|
+
class InsightsV2CreatePhoneNumbersReportRequest
|
|
23
|
+
# @param [time_range]: [InboundReportList.InsightsV2CreatePhoneNumbersReportRequestTimeRange]
|
|
24
|
+
# @param [filters]: [Array<InboundReportList.PhoneNumberReportFilter>]
|
|
25
|
+
# @param [size]: [String] The number of max available top Phone Numbers to generate.
|
|
26
|
+
attr_accessor :time_range, :filters, :size
|
|
27
|
+
def initialize(payload)
|
|
28
|
+
@time_range = payload["time_range"]
|
|
29
|
+
@filters = payload["filters"]
|
|
30
|
+
@size = payload["size"]
|
|
31
|
+
end
|
|
32
|
+
def to_json(options = {})
|
|
33
|
+
{
|
|
34
|
+
"time_range": @time_range,
|
|
35
|
+
"filters": @filters,
|
|
36
|
+
"size": @size,
|
|
37
|
+
}.to_json(options)
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
class InsightsV2CreatePhoneNumbersReportRequestTimeRange
|
|
42
|
+
# @param [start_datetime]: [Time] Start date time of the report
|
|
43
|
+
# @param [end_datetime]: [Time] End date time of the report
|
|
44
|
+
attr_accessor :start_datetime, :end_datetime
|
|
45
|
+
def initialize(payload)
|
|
46
|
+
@start_datetime = payload["start_datetime"]
|
|
47
|
+
@end_datetime = payload["end_datetime"]
|
|
48
|
+
end
|
|
49
|
+
def to_json(options = {})
|
|
50
|
+
{
|
|
51
|
+
"start_datetime": @start_datetime,
|
|
52
|
+
"end_datetime": @end_datetime,
|
|
53
|
+
}.to_json(options)
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
class PhoneNumberReportFilter
|
|
58
|
+
# @param [key]: [String] The name of the filter
|
|
59
|
+
# @param [values]: [Array<String>] List of supported filter values for the field name
|
|
60
|
+
attr_accessor :key, :values
|
|
61
|
+
def initialize(payload)
|
|
62
|
+
@key = payload["key"]
|
|
63
|
+
@values = payload["values"]
|
|
64
|
+
end
|
|
65
|
+
def to_json(options = {})
|
|
66
|
+
{
|
|
67
|
+
"key": @key,
|
|
68
|
+
"values": @values,
|
|
69
|
+
}.to_json(options)
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
class ReportFilter
|
|
74
|
+
# @param [key]: [String] The name of the filter 'call_state', 'call_direction', 'call_type', 'twilio_regions', 'caller_country_code', 'callee_country_code', 'silent'
|
|
75
|
+
# @param [values]: [Array<String>] List of supported filter values for the field name
|
|
76
|
+
attr_accessor :key, :values
|
|
77
|
+
def initialize(payload)
|
|
78
|
+
@key = payload["key"]
|
|
79
|
+
@values = payload["values"]
|
|
80
|
+
end
|
|
81
|
+
def to_json(options = {})
|
|
82
|
+
{
|
|
83
|
+
"key": @key,
|
|
84
|
+
"values": @values,
|
|
85
|
+
}.to_json(options)
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
##
|
|
91
|
+
# Initialize the InboundReportList
|
|
92
|
+
# @param [Version] version Version that contains the resource
|
|
93
|
+
# @return [InboundReportList] InboundReportList
|
|
94
|
+
def initialize(version)
|
|
95
|
+
super(version)
|
|
96
|
+
|
|
97
|
+
# Path Solution
|
|
98
|
+
@solution = { }
|
|
99
|
+
@uri = "/Voice/Reports/PhoneNumbers/Inbound"
|
|
100
|
+
|
|
101
|
+
end
|
|
102
|
+
##
|
|
103
|
+
# Create the InboundReportInstance
|
|
104
|
+
# @param [InsightsV2CreatePhoneNumbersReportRequest] insights_v2_create_phone_numbers_report_request
|
|
105
|
+
# @return [InboundReportInstance] Created InboundReportInstance
|
|
106
|
+
def create(insights_v2_create_phone_numbers_report_request: :unset
|
|
107
|
+
)
|
|
108
|
+
|
|
109
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
|
110
|
+
headers['Content-Type'] = 'application/json'
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
payload = @version.create('POST', @uri, headers: headers, data: insights_v2_create_phone_numbers_report_request.to_json)
|
|
116
|
+
InboundReportInstance.new(
|
|
117
|
+
@version,
|
|
118
|
+
payload,
|
|
119
|
+
)
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
##
|
|
123
|
+
# Create the InboundReportInstanceMetadata
|
|
124
|
+
# @param [InsightsV2CreatePhoneNumbersReportRequest] insights_v2_create_phone_numbers_report_request
|
|
125
|
+
# @return [InboundReportInstance] Created InboundReportInstance
|
|
126
|
+
def create_with_metadata(insights_v2_create_phone_numbers_report_request: :unset
|
|
127
|
+
)
|
|
128
|
+
|
|
129
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
|
130
|
+
headers['Content-Type'] = 'application/json'
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
response = @version.create_with_metadata('POST', @uri, headers: headers, data: insights_v2_create_phone_numbers_report_request.to_json)
|
|
136
|
+
inbound_report_instance = InboundReportInstance.new(
|
|
137
|
+
@version,
|
|
138
|
+
response.body,
|
|
139
|
+
)
|
|
140
|
+
InboundReportInstanceMetadata.new(
|
|
141
|
+
@version,
|
|
142
|
+
inbound_report_instance,
|
|
143
|
+
response.headers,
|
|
144
|
+
response.status_code
|
|
145
|
+
)
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
# Provide a user friendly representation
|
|
152
|
+
def to_s
|
|
153
|
+
'#<Twilio.Insights.V2.InboundReportList>'
|
|
154
|
+
end
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
class InboundReportPage < Page
|
|
158
|
+
##
|
|
159
|
+
# Initialize the InboundReportPage
|
|
160
|
+
# @param [Version] version Version that contains the resource
|
|
161
|
+
# @param [Response] response Response from the API
|
|
162
|
+
# @param [Hash] solution Path solution for the resource
|
|
163
|
+
# @return [InboundReportPage] InboundReportPage
|
|
164
|
+
def initialize(version, response, solution)
|
|
165
|
+
super(version, response)
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
# Path Solution
|
|
169
|
+
@solution = solution
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
##
|
|
173
|
+
# Build an instance of InboundReportInstance
|
|
174
|
+
# @param [Hash] payload Payload response from the API
|
|
175
|
+
# @return [InboundReportInstance] InboundReportInstance
|
|
176
|
+
def get_instance(payload)
|
|
177
|
+
InboundReportInstance.new(@version, payload)
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
##
|
|
181
|
+
# Provide a user friendly representation
|
|
182
|
+
def to_s
|
|
183
|
+
'<Twilio.Insights.V2.InboundReportPage>'
|
|
184
|
+
end
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
class InboundReportInstance < InstanceResource
|
|
188
|
+
##
|
|
189
|
+
# Initialize the InboundReportInstance
|
|
190
|
+
# @param [Version] version Version that contains the resource
|
|
191
|
+
# @param [Hash] payload payload that contains response from Twilio
|
|
192
|
+
# @param [String] account_sid The SID of the
|
|
193
|
+
# {Account}[https://www.twilio.com/docs/iam/api/account] that created this InboundReport
|
|
194
|
+
# resource.
|
|
195
|
+
# @param [String] sid The SID of the Call resource to fetch.
|
|
196
|
+
# @return [InboundReportInstance] InboundReportInstance
|
|
197
|
+
def initialize(version, payload )
|
|
198
|
+
super(version)
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
# Marshaled Properties
|
|
202
|
+
@properties = {
|
|
203
|
+
'account_sid' => payload['account_sid'],
|
|
204
|
+
'report_id' => payload['report_id'],
|
|
205
|
+
'status' => payload['status'],
|
|
206
|
+
'request_meta' => payload['request_meta'],
|
|
207
|
+
'url' => payload['url'],
|
|
208
|
+
}
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
##
|
|
213
|
+
# @return [String] The unique SID identifier of the Account.
|
|
214
|
+
def account_sid
|
|
215
|
+
@properties['account_sid']
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
##
|
|
219
|
+
# @return [String] The report identifier as Voice Insights Report TTID.
|
|
220
|
+
def report_id
|
|
221
|
+
@properties['report_id']
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
##
|
|
225
|
+
# @return [ReportStatus]
|
|
226
|
+
def status
|
|
227
|
+
@properties['status']
|
|
228
|
+
end
|
|
229
|
+
|
|
230
|
+
##
|
|
231
|
+
# @return [ReportMetadata]
|
|
232
|
+
def request_meta
|
|
233
|
+
@properties['request_meta']
|
|
234
|
+
end
|
|
235
|
+
|
|
236
|
+
##
|
|
237
|
+
# @return [String] The URL of this resource.
|
|
238
|
+
def url
|
|
239
|
+
@properties['url']
|
|
240
|
+
end
|
|
241
|
+
|
|
242
|
+
##
|
|
243
|
+
# Provide a user friendly representation
|
|
244
|
+
def to_s
|
|
245
|
+
"<Twilio.Insights.V2.InboundReportInstance>"
|
|
246
|
+
end
|
|
247
|
+
|
|
248
|
+
##
|
|
249
|
+
# Provide a detailed, user friendly representation
|
|
250
|
+
def inspect
|
|
251
|
+
"<Twilio.Insights.V2.InboundReportInstance>"
|
|
252
|
+
end
|
|
253
|
+
end
|
|
254
|
+
|
|
255
|
+
end
|
|
256
|
+
end
|
|
257
|
+
end
|
|
258
|
+
end
|