openapi

package
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2021 License: MIT Imports: 6 Imported by: 209

README

Go API client for openapi

This is the public Twilio REST API.

Overview

This API client was generated by the OpenAPI Generator project from the OpenAPI specs located at twilio/twilio-oai. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1.20.3
  • Package version: 1.0.0
  • Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit https://support.twilio.com

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import "./openapi"

Documentation for API Endpoints

All URIs are relative to https://api.twilio.com

Class Method HTTP request Description
AccountsApi CreateAccount Post /2010-04-01/Accounts.json
AccountsApi FetchAccount Get /2010-04-01/Accounts/{Sid}.json
AccountsApi ListAccount Get /2010-04-01/Accounts.json
AccountsApi UpdateAccount Post /2010-04-01/Accounts/{Sid}.json
AccountsAddressesApi CreateAddress Post /2010-04-01/Accounts/{AccountSid}/Addresses.json
AccountsAddressesApi DeleteAddress Delete /2010-04-01/Accounts/{AccountSid}/Addresses/{Sid}.json
AccountsAddressesApi FetchAddress Get /2010-04-01/Accounts/{AccountSid}/Addresses/{Sid}.json
AccountsAddressesApi ListAddress Get /2010-04-01/Accounts/{AccountSid}/Addresses.json
AccountsAddressesApi UpdateAddress Post /2010-04-01/Accounts/{AccountSid}/Addresses/{Sid}.json
AccountsAddressesDependentPhoneNumbersApi ListDependentPhoneNumber Get /2010-04-01/Accounts/{AccountSid}/Addresses/{AddressSid}/DependentPhoneNumbers.json
AccountsApplicationsApi CreateApplication Post /2010-04-01/Accounts/{AccountSid}/Applications.json
AccountsApplicationsApi DeleteApplication Delete /2010-04-01/Accounts/{AccountSid}/Applications/{Sid}.json
AccountsApplicationsApi FetchApplication Get /2010-04-01/Accounts/{AccountSid}/Applications/{Sid}.json
AccountsApplicationsApi ListApplication Get /2010-04-01/Accounts/{AccountSid}/Applications.json
AccountsApplicationsApi UpdateApplication Post /2010-04-01/Accounts/{AccountSid}/Applications/{Sid}.json
AccountsAuthorizedConnectAppsApi FetchAuthorizedConnectApp Get /2010-04-01/Accounts/{AccountSid}/AuthorizedConnectApps/{ConnectAppSid}.json
AccountsAuthorizedConnectAppsApi ListAuthorizedConnectApp Get /2010-04-01/Accounts/{AccountSid}/AuthorizedConnectApps.json
AccountsAvailablePhoneNumbersApi FetchAvailablePhoneNumberCountry Get /2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}.json
AccountsAvailablePhoneNumbersApi ListAvailablePhoneNumberCountry Get /2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers.json
AccountsAvailablePhoneNumbersLocalApi ListAvailablePhoneNumberLocal Get /2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}/Local.json
AccountsAvailablePhoneNumbersMachineToMachineApi ListAvailablePhoneNumberMachineToMachine Get /2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}/MachineToMachine.json
AccountsAvailablePhoneNumbersMobileApi ListAvailablePhoneNumberMobile Get /2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}/Mobile.json
AccountsAvailablePhoneNumbersNationalApi ListAvailablePhoneNumberNational Get /2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}/National.json
AccountsAvailablePhoneNumbersSharedCostApi ListAvailablePhoneNumberSharedCost Get /2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}/SharedCost.json
AccountsAvailablePhoneNumbersTollFreeApi ListAvailablePhoneNumberTollFree Get /2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}/TollFree.json
AccountsAvailablePhoneNumbersVoipApi ListAvailablePhoneNumberVoip Get /2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}/Voip.json
AccountsBalanceApi FetchBalance Get /2010-04-01/Accounts/{AccountSid}/Balance.json
AccountsCallsApi CreateCall Post /2010-04-01/Accounts/{AccountSid}/Calls.json
AccountsCallsApi DeleteCall Delete /2010-04-01/Accounts/{AccountSid}/Calls/{Sid}.json
AccountsCallsApi FetchCall Get /2010-04-01/Accounts/{AccountSid}/Calls/{Sid}.json
AccountsCallsApi ListCall Get /2010-04-01/Accounts/{AccountSid}/Calls.json
AccountsCallsApi UpdateCall Post /2010-04-01/Accounts/{AccountSid}/Calls/{Sid}.json
AccountsCallsEventsApi ListCallEvent Get /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Events.json
AccountsCallsFeedbackApi FetchCallFeedback Get /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Feedback.json
AccountsCallsFeedbackApi UpdateCallFeedback Post /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Feedback.json
AccountsCallsFeedbackSummaryApi CreateCallFeedbackSummary Post /2010-04-01/Accounts/{AccountSid}/Calls/FeedbackSummary.json
AccountsCallsFeedbackSummaryApi DeleteCallFeedbackSummary Delete /2010-04-01/Accounts/{AccountSid}/Calls/FeedbackSummary/{Sid}.json
AccountsCallsFeedbackSummaryApi FetchCallFeedbackSummary Get /2010-04-01/Accounts/{AccountSid}/Calls/FeedbackSummary/{Sid}.json
AccountsCallsNotificationsApi FetchCallNotification Get /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Notifications/{Sid}.json
AccountsCallsNotificationsApi ListCallNotification Get /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Notifications.json
AccountsCallsPaymentsApi CreatePayments Post /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Payments.json
AccountsCallsPaymentsApi UpdatePayments Post /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Payments/{Sid}.json
AccountsCallsRecordingsApi CreateCallRecording Post /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Recordings.json
AccountsCallsRecordingsApi DeleteCallRecording Delete /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Recordings/{Sid}.json
AccountsCallsRecordingsApi FetchCallRecording Get /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Recordings/{Sid}.json
AccountsCallsRecordingsApi ListCallRecording Get /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Recordings.json
AccountsCallsRecordingsApi UpdateCallRecording Post /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Recordings/{Sid}.json
AccountsConferencesApi FetchConference Get /2010-04-01/Accounts/{AccountSid}/Conferences/{Sid}.json
AccountsConferencesApi ListConference Get /2010-04-01/Accounts/{AccountSid}/Conferences.json
AccountsConferencesApi UpdateConference Post /2010-04-01/Accounts/{AccountSid}/Conferences/{Sid}.json
AccountsConferencesParticipantsApi CreateParticipant Post /2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants.json
AccountsConferencesParticipantsApi DeleteParticipant Delete /2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants/{CallSid}.json
AccountsConferencesParticipantsApi FetchParticipant Get /2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants/{CallSid}.json
AccountsConferencesParticipantsApi ListParticipant Get /2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants.json
AccountsConferencesParticipantsApi UpdateParticipant Post /2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants/{CallSid}.json
AccountsConferencesRecordingsApi DeleteConferenceRecording Delete /2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Recordings/{Sid}.json
AccountsConferencesRecordingsApi FetchConferenceRecording Get /2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Recordings/{Sid}.json
AccountsConferencesRecordingsApi ListConferenceRecording Get /2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Recordings.json
AccountsConferencesRecordingsApi UpdateConferenceRecording Post /2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Recordings/{Sid}.json
AccountsConnectAppsApi DeleteConnectApp Delete /2010-04-01/Accounts/{AccountSid}/ConnectApps/{Sid}.json
AccountsConnectAppsApi FetchConnectApp Get /2010-04-01/Accounts/{AccountSid}/ConnectApps/{Sid}.json
AccountsConnectAppsApi ListConnectApp Get /2010-04-01/Accounts/{AccountSid}/ConnectApps.json
AccountsConnectAppsApi UpdateConnectApp Post /2010-04-01/Accounts/{AccountSid}/ConnectApps/{Sid}.json
AccountsIncomingPhoneNumbersApi CreateIncomingPhoneNumber Post /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers.json
AccountsIncomingPhoneNumbersApi DeleteIncomingPhoneNumber Delete /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{Sid}.json
AccountsIncomingPhoneNumbersApi FetchIncomingPhoneNumber Get /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{Sid}.json
AccountsIncomingPhoneNumbersApi ListIncomingPhoneNumber Get /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers.json
AccountsIncomingPhoneNumbersApi UpdateIncomingPhoneNumber Post /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{Sid}.json
AccountsIncomingPhoneNumbersAssignedAddOnsApi CreateIncomingPhoneNumberAssignedAddOn Post /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns.json
AccountsIncomingPhoneNumbersAssignedAddOnsApi DeleteIncomingPhoneNumberAssignedAddOn Delete /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns/{Sid}.json
AccountsIncomingPhoneNumbersAssignedAddOnsApi FetchIncomingPhoneNumberAssignedAddOn Get /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns/{Sid}.json
AccountsIncomingPhoneNumbersAssignedAddOnsApi ListIncomingPhoneNumberAssignedAddOn Get /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns.json
AccountsIncomingPhoneNumbersAssignedAddOnsExtensionsApi FetchIncomingPhoneNumberAssignedAddOnExtension Get /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns/{AssignedAddOnSid}/Extensions/{Sid}.json
AccountsIncomingPhoneNumbersAssignedAddOnsExtensionsApi ListIncomingPhoneNumberAssignedAddOnExtension Get /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns/{AssignedAddOnSid}/Extensions.json
AccountsIncomingPhoneNumbersLocalApi CreateIncomingPhoneNumberLocal Post /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/Local.json
AccountsIncomingPhoneNumbersLocalApi ListIncomingPhoneNumberLocal Get /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/Local.json
AccountsIncomingPhoneNumbersMobileApi CreateIncomingPhoneNumberMobile Post /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/Mobile.json
AccountsIncomingPhoneNumbersMobileApi ListIncomingPhoneNumberMobile Get /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/Mobile.json
AccountsIncomingPhoneNumbersTollFreeApi CreateIncomingPhoneNumberTollFree Post /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/TollFree.json
AccountsIncomingPhoneNumbersTollFreeApi ListIncomingPhoneNumberTollFree Get /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/TollFree.json
AccountsKeysApi CreateNewKey Post /2010-04-01/Accounts/{AccountSid}/Keys.json
AccountsKeysApi DeleteKey Delete /2010-04-01/Accounts/{AccountSid}/Keys/{Sid}.json
AccountsKeysApi FetchKey Get /2010-04-01/Accounts/{AccountSid}/Keys/{Sid}.json
AccountsKeysApi ListKey Get /2010-04-01/Accounts/{AccountSid}/Keys.json
AccountsKeysApi UpdateKey Post /2010-04-01/Accounts/{AccountSid}/Keys/{Sid}.json
AccountsMessagesApi CreateMessage Post /2010-04-01/Accounts/{AccountSid}/Messages.json
AccountsMessagesApi DeleteMessage Delete /2010-04-01/Accounts/{AccountSid}/Messages/{Sid}.json
AccountsMessagesApi FetchMessage Get /2010-04-01/Accounts/{AccountSid}/Messages/{Sid}.json
AccountsMessagesApi ListMessage Get /2010-04-01/Accounts/{AccountSid}/Messages.json
AccountsMessagesApi UpdateMessage Post /2010-04-01/Accounts/{AccountSid}/Messages/{Sid}.json
AccountsMessagesFeedbackApi CreateMessageFeedback Post /2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Feedback.json
AccountsMessagesMediaApi DeleteMedia Delete /2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Media/{Sid}.json
AccountsMessagesMediaApi FetchMedia Get /2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Media/{Sid}.json
AccountsMessagesMediaApi ListMedia Get /2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Media.json
AccountsNotificationsApi FetchNotification Get /2010-04-01/Accounts/{AccountSid}/Notifications/{Sid}.json
AccountsNotificationsApi ListNotification Get /2010-04-01/Accounts/{AccountSid}/Notifications.json
AccountsOutgoingCallerIdsApi CreateValidationRequest Post /2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds.json
AccountsOutgoingCallerIdsApi DeleteOutgoingCallerId Delete /2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds/{Sid}.json
AccountsOutgoingCallerIdsApi FetchOutgoingCallerId Get /2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds/{Sid}.json
AccountsOutgoingCallerIdsApi ListOutgoingCallerId Get /2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds.json
AccountsOutgoingCallerIdsApi UpdateOutgoingCallerId Post /2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds/{Sid}.json
AccountsQueuesApi CreateQueue Post /2010-04-01/Accounts/{AccountSid}/Queues.json
AccountsQueuesApi DeleteQueue Delete /2010-04-01/Accounts/{AccountSid}/Queues/{Sid}.json
AccountsQueuesApi FetchQueue Get /2010-04-01/Accounts/{AccountSid}/Queues/{Sid}.json
AccountsQueuesApi ListQueue Get /2010-04-01/Accounts/{AccountSid}/Queues.json
AccountsQueuesApi UpdateQueue Post /2010-04-01/Accounts/{AccountSid}/Queues/{Sid}.json
AccountsQueuesMembersApi FetchMember Get /2010-04-01/Accounts/{AccountSid}/Queues/{QueueSid}/Members/{CallSid}.json
AccountsQueuesMembersApi ListMember Get /2010-04-01/Accounts/{AccountSid}/Queues/{QueueSid}/Members.json
AccountsQueuesMembersApi UpdateMember Post /2010-04-01/Accounts/{AccountSid}/Queues/{QueueSid}/Members/{CallSid}.json
AccountsRecordingsApi DeleteRecording Delete /2010-04-01/Accounts/{AccountSid}/Recordings/{Sid}.json
AccountsRecordingsApi FetchRecording Get /2010-04-01/Accounts/{AccountSid}/Recordings/{Sid}.json
AccountsRecordingsApi ListRecording Get /2010-04-01/Accounts/{AccountSid}/Recordings.json
AccountsRecordingsAddOnResultsApi DeleteRecordingAddOnResult Delete /2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults/{Sid}.json
AccountsRecordingsAddOnResultsApi FetchRecordingAddOnResult Get /2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults/{Sid}.json
AccountsRecordingsAddOnResultsApi ListRecordingAddOnResult Get /2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults.json
AccountsRecordingsAddOnResultsPayloadsApi DeleteRecordingAddOnResultPayload Delete /2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults/{AddOnResultSid}/Payloads/{Sid}.json
AccountsRecordingsAddOnResultsPayloadsApi FetchRecordingAddOnResultPayload Get /2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults/{AddOnResultSid}/Payloads/{Sid}.json
AccountsRecordingsAddOnResultsPayloadsApi ListRecordingAddOnResultPayload Get /2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults/{AddOnResultSid}/Payloads.json
AccountsRecordingsTranscriptionsApi DeleteRecordingTranscription Delete /2010-04-01/Accounts/{AccountSid}/Recordings/{RecordingSid}/Transcriptions/{Sid}.json
AccountsRecordingsTranscriptionsApi FetchRecordingTranscription Get /2010-04-01/Accounts/{AccountSid}/Recordings/{RecordingSid}/Transcriptions/{Sid}.json
AccountsRecordingsTranscriptionsApi ListRecordingTranscription Get /2010-04-01/Accounts/{AccountSid}/Recordings/{RecordingSid}/Transcriptions.json
AccountsSIPCredentialListsApi CreateSipCredentialList Post /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists.json
AccountsSIPCredentialListsApi DeleteSipCredentialList Delete /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{Sid}.json
AccountsSIPCredentialListsApi FetchSipCredentialList Get /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{Sid}.json
AccountsSIPCredentialListsApi ListSipCredentialList Get /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists.json
AccountsSIPCredentialListsApi UpdateSipCredentialList Post /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{Sid}.json
AccountsSIPCredentialListsCredentialsApi CreateSipCredential Post /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{CredentialListSid}/Credentials.json
AccountsSIPCredentialListsCredentialsApi DeleteSipCredential Delete /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{CredentialListSid}/Credentials/{Sid}.json
AccountsSIPCredentialListsCredentialsApi FetchSipCredential Get /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{CredentialListSid}/Credentials/{Sid}.json
AccountsSIPCredentialListsCredentialsApi ListSipCredential Get /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{CredentialListSid}/Credentials.json
AccountsSIPCredentialListsCredentialsApi UpdateSipCredential Post /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{CredentialListSid}/Credentials/{Sid}.json
AccountsSIPDomainsApi CreateSipDomain Post /2010-04-01/Accounts/{AccountSid}/SIP/Domains.json
AccountsSIPDomainsApi DeleteSipDomain Delete /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{Sid}.json
AccountsSIPDomainsApi FetchSipDomain Get /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{Sid}.json
AccountsSIPDomainsApi ListSipDomain Get /2010-04-01/Accounts/{AccountSid}/SIP/Domains.json
AccountsSIPDomainsApi UpdateSipDomain Post /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{Sid}.json
AccountsSIPDomainsAuthCallsCredentialListMappingsApi CreateSipAuthCallsCredentialListMapping Post /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/CredentialListMappings.json
AccountsSIPDomainsAuthCallsCredentialListMappingsApi DeleteSipAuthCallsCredentialListMapping Delete /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/CredentialListMappings/{Sid}.json
AccountsSIPDomainsAuthCallsCredentialListMappingsApi FetchSipAuthCallsCredentialListMapping Get /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/CredentialListMappings/{Sid}.json
AccountsSIPDomainsAuthCallsCredentialListMappingsApi ListSipAuthCallsCredentialListMapping Get /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/CredentialListMappings.json
AccountsSIPDomainsAuthCallsIpAccessControlListMappingsApi CreateSipAuthCallsIpAccessControlListMapping Post /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/IpAccessControlListMappings.json
AccountsSIPDomainsAuthCallsIpAccessControlListMappingsApi DeleteSipAuthCallsIpAccessControlListMapping Delete /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/IpAccessControlListMappings/{Sid}.json
AccountsSIPDomainsAuthCallsIpAccessControlListMappingsApi FetchSipAuthCallsIpAccessControlListMapping Get /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/IpAccessControlListMappings/{Sid}.json
AccountsSIPDomainsAuthCallsIpAccessControlListMappingsApi ListSipAuthCallsIpAccessControlListMapping Get /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/IpAccessControlListMappings.json
AccountsSIPDomainsAuthRegistrationsCredentialListMappingsApi CreateSipAuthRegistrationsCredentialListMapping Post /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Registrations/CredentialListMappings.json
AccountsSIPDomainsAuthRegistrationsCredentialListMappingsApi DeleteSipAuthRegistrationsCredentialListMapping Delete /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Registrations/CredentialListMappings/{Sid}.json
AccountsSIPDomainsAuthRegistrationsCredentialListMappingsApi FetchSipAuthRegistrationsCredentialListMapping Get /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Registrations/CredentialListMappings/{Sid}.json
AccountsSIPDomainsAuthRegistrationsCredentialListMappingsApi ListSipAuthRegistrationsCredentialListMapping Get /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Registrations/CredentialListMappings.json
AccountsSIPDomainsCredentialListMappingsApi CreateSipCredentialListMapping Post /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/CredentialListMappings.json
AccountsSIPDomainsCredentialListMappingsApi DeleteSipCredentialListMapping Delete /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/CredentialListMappings/{Sid}.json
AccountsSIPDomainsCredentialListMappingsApi FetchSipCredentialListMapping Get /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/CredentialListMappings/{Sid}.json
AccountsSIPDomainsCredentialListMappingsApi ListSipCredentialListMapping Get /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/CredentialListMappings.json
AccountsSIPDomainsIpAccessControlListMappingsApi CreateSipIpAccessControlListMapping Post /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/IpAccessControlListMappings.json
AccountsSIPDomainsIpAccessControlListMappingsApi DeleteSipIpAccessControlListMapping Delete /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/IpAccessControlListMappings/{Sid}.json
AccountsSIPDomainsIpAccessControlListMappingsApi FetchSipIpAccessControlListMapping Get /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/IpAccessControlListMappings/{Sid}.json
AccountsSIPDomainsIpAccessControlListMappingsApi ListSipIpAccessControlListMapping Get /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/IpAccessControlListMappings.json
AccountsSIPIpAccessControlListsApi CreateSipIpAccessControlList Post /2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists.json
AccountsSIPIpAccessControlListsApi DeleteSipIpAccessControlList Delete /2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{Sid}.json
AccountsSIPIpAccessControlListsApi FetchSipIpAccessControlList Get /2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{Sid}.json
AccountsSIPIpAccessControlListsApi ListSipIpAccessControlList Get /2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists.json
AccountsSIPIpAccessControlListsApi UpdateSipIpAccessControlList Post /2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{Sid}.json
AccountsSIPIpAccessControlListsIpAddressesApi CreateSipIpAddress Post /2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{IpAccessControlListSid}/IpAddresses.json
AccountsSIPIpAccessControlListsIpAddressesApi DeleteSipIpAddress Delete /2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{IpAccessControlListSid}/IpAddresses/{Sid}.json
AccountsSIPIpAccessControlListsIpAddressesApi FetchSipIpAddress Get /2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{IpAccessControlListSid}/IpAddresses/{Sid}.json
AccountsSIPIpAccessControlListsIpAddressesApi ListSipIpAddress Get /2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{IpAccessControlListSid}/IpAddresses.json
AccountsSIPIpAccessControlListsIpAddressesApi UpdateSipIpAddress Post /2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{IpAccessControlListSid}/IpAddresses/{Sid}.json
AccountsSMSShortCodesApi FetchShortCode Get /2010-04-01/Accounts/{AccountSid}/SMS/ShortCodes/{Sid}.json
AccountsSMSShortCodesApi ListShortCode Get /2010-04-01/Accounts/{AccountSid}/SMS/ShortCodes.json
AccountsSMSShortCodesApi UpdateShortCode Post /2010-04-01/Accounts/{AccountSid}/SMS/ShortCodes/{Sid}.json
AccountsSigningKeysApi CreateNewSigningKey Post /2010-04-01/Accounts/{AccountSid}/SigningKeys.json
AccountsSigningKeysApi DeleteSigningKey Delete /2010-04-01/Accounts/{AccountSid}/SigningKeys/{Sid}.json
AccountsSigningKeysApi FetchSigningKey Get /2010-04-01/Accounts/{AccountSid}/SigningKeys/{Sid}.json
AccountsSigningKeysApi ListSigningKey Get /2010-04-01/Accounts/{AccountSid}/SigningKeys.json
AccountsSigningKeysApi UpdateSigningKey Post /2010-04-01/Accounts/{AccountSid}/SigningKeys/{Sid}.json
AccountsTokensApi CreateToken Post /2010-04-01/Accounts/{AccountSid}/Tokens.json
AccountsTranscriptionsApi DeleteTranscription Delete /2010-04-01/Accounts/{AccountSid}/Transcriptions/{Sid}.json
AccountsTranscriptionsApi FetchTranscription Get /2010-04-01/Accounts/{AccountSid}/Transcriptions/{Sid}.json
AccountsTranscriptionsApi ListTranscription Get /2010-04-01/Accounts/{AccountSid}/Transcriptions.json
AccountsUsageRecordsApi ListUsageRecord Get /2010-04-01/Accounts/{AccountSid}/Usage/Records.json
AccountsUsageRecordsAllTimeApi ListUsageRecordAllTime Get /2010-04-01/Accounts/{AccountSid}/Usage/Records/AllTime.json
AccountsUsageRecordsDailyApi ListUsageRecordDaily Get /2010-04-01/Accounts/{AccountSid}/Usage/Records/Daily.json
AccountsUsageRecordsLastMonthApi ListUsageRecordLastMonth Get /2010-04-01/Accounts/{AccountSid}/Usage/Records/LastMonth.json
AccountsUsageRecordsMonthlyApi ListUsageRecordMonthly Get /2010-04-01/Accounts/{AccountSid}/Usage/Records/Monthly.json
AccountsUsageRecordsThisMonthApi ListUsageRecordThisMonth Get /2010-04-01/Accounts/{AccountSid}/Usage/Records/ThisMonth.json
AccountsUsageRecordsTodayApi ListUsageRecordToday Get /2010-04-01/Accounts/{AccountSid}/Usage/Records/Today.json
AccountsUsageRecordsYearlyApi ListUsageRecordYearly Get /2010-04-01/Accounts/{AccountSid}/Usage/Records/Yearly.json
AccountsUsageRecordsYesterdayApi ListUsageRecordYesterday Get /2010-04-01/Accounts/{AccountSid}/Usage/Records/Yesterday.json
AccountsUsageTriggersApi CreateUsageTrigger Post /2010-04-01/Accounts/{AccountSid}/Usage/Triggers.json
AccountsUsageTriggersApi DeleteUsageTrigger Delete /2010-04-01/Accounts/{AccountSid}/Usage/Triggers/{Sid}.json
AccountsUsageTriggersApi FetchUsageTrigger Get /2010-04-01/Accounts/{AccountSid}/Usage/Triggers/{Sid}.json
AccountsUsageTriggersApi ListUsageTrigger Get /2010-04-01/Accounts/{AccountSid}/Usage/Triggers.json
AccountsUsageTriggersApi UpdateUsageTrigger Post /2010-04-01/Accounts/{AccountSid}/Usage/Triggers/{Sid}.json

Documentation For Models

Documentation For Authorization

accountSid_authToken

  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
    UserName: "username",
    Password: "password",
})
r, err := client.Service.Operation(auth, args)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiService added in v0.11.0

type ApiService struct {
	// contains filtered or unexported fields
}

func NewApiService added in v0.11.0

func NewApiService(requestHandler *twilio.RequestHandler) *ApiService

func NewApiServiceWithClient added in v0.11.0

func NewApiServiceWithClient(client twilio.BaseClient) *ApiService

func (*ApiService) CreateAccount added in v0.11.0

func (c *ApiService) CreateAccount(params *CreateAccountParams) (*ApiV2010Account, error)

Create a new Twilio Subaccount from the account making the request

func (*ApiService) CreateAddress added in v0.11.0

func (c *ApiService) CreateAddress(params *CreateAddressParams) (*ApiV2010Address, error)

func (*ApiService) CreateApplication added in v0.11.0

func (c *ApiService) CreateApplication(params *CreateApplicationParams) (*ApiV2010Application, error)

Create a new application within your account

func (*ApiService) CreateCall added in v0.11.0

func (c *ApiService) CreateCall(params *CreateCallParams) (*ApiV2010Call, error)

Create a new outgoing call to phones, SIP-enabled endpoints or Twilio Client connections

func (*ApiService) CreateCallFeedbackSummary added in v0.11.0

func (c *ApiService) CreateCallFeedbackSummary(params *CreateCallFeedbackSummaryParams) (*ApiV2010CallFeedbackSummary, error)

Create a FeedbackSummary resource for a call

func (*ApiService) CreateCallRecording added in v0.11.0

func (c *ApiService) CreateCallRecording(CallSid string, params *CreateCallRecordingParams) (*ApiV2010CallRecording, error)

Create a recording for the call

func (*ApiService) CreateIncomingPhoneNumber added in v0.11.0

func (c *ApiService) CreateIncomingPhoneNumber(params *CreateIncomingPhoneNumberParams) (*ApiV2010IncomingPhoneNumber, error)

Purchase a phone-number for the account.

func (*ApiService) CreateIncomingPhoneNumberAssignedAddOn added in v0.11.0

func (c *ApiService) CreateIncomingPhoneNumberAssignedAddOn(ResourceSid string, params *CreateIncomingPhoneNumberAssignedAddOnParams) (*ApiV2010IncomingPhoneNumberAssignedAddOn, error)

Assign an Add-on installation to the Number specified.

func (*ApiService) CreateIncomingPhoneNumberLocal added in v0.11.0

func (c *ApiService) CreateIncomingPhoneNumberLocal(params *CreateIncomingPhoneNumberLocalParams) (*ApiV2010IncomingPhoneNumberLocal, error)

func (*ApiService) CreateIncomingPhoneNumberMobile added in v0.11.0

func (c *ApiService) CreateIncomingPhoneNumberMobile(params *CreateIncomingPhoneNumberMobileParams) (*ApiV2010IncomingPhoneNumberMobile, error)

func (*ApiService) CreateIncomingPhoneNumberTollFree added in v0.11.0

func (c *ApiService) CreateIncomingPhoneNumberTollFree(params *CreateIncomingPhoneNumberTollFreeParams) (*ApiV2010IncomingPhoneNumberTollFree, error)

func (*ApiService) CreateMessage added in v0.11.0

func (c *ApiService) CreateMessage(params *CreateMessageParams) (*ApiV2010Message, error)

Send a message from the account used to make the request

func (*ApiService) CreateMessageFeedback added in v0.11.0

func (c *ApiService) CreateMessageFeedback(MessageSid string, params *CreateMessageFeedbackParams) (*ApiV2010MessageFeedback, error)

func (*ApiService) CreateNewKey added in v0.11.0

func (c *ApiService) CreateNewKey(params *CreateNewKeyParams) (*ApiV2010NewKey, error)

func (*ApiService) CreateNewSigningKey added in v0.11.0

func (c *ApiService) CreateNewSigningKey(params *CreateNewSigningKeyParams) (*ApiV2010NewSigningKey, error)

Create a new Signing Key for the account making the request.

func (*ApiService) CreateParticipant added in v0.11.0

func (c *ApiService) CreateParticipant(ConferenceSid string, params *CreateParticipantParams) (*ApiV2010Participant, error)

func (*ApiService) CreatePayments added in v0.11.0

func (c *ApiService) CreatePayments(CallSid string, params *CreatePaymentsParams) (*ApiV2010Payments, error)

create an instance of payments. This will start a new payments session

func (*ApiService) CreateQueue added in v0.11.0

func (c *ApiService) CreateQueue(params *CreateQueueParams) (*ApiV2010Queue, error)

Create a queue

func (*ApiService) CreateSipAuthCallsCredentialListMapping added in v0.11.0

func (c *ApiService) CreateSipAuthCallsCredentialListMapping(DomainSid string, params *CreateSipAuthCallsCredentialListMappingParams) (*ApiV2010SipAuthCallsCredentialListMapping, error)

Create a new credential list mapping resource

func (*ApiService) CreateSipAuthCallsIpAccessControlListMapping added in v0.11.0

func (c *ApiService) CreateSipAuthCallsIpAccessControlListMapping(DomainSid string, params *CreateSipAuthCallsIpAccessControlListMappingParams) (*ApiV2010SipAuthCallsIpAccessControlListMapping, error)

Create a new IP Access Control List mapping

func (*ApiService) CreateSipAuthRegistrationsCredentialListMapping added in v0.11.0

func (c *ApiService) CreateSipAuthRegistrationsCredentialListMapping(DomainSid string, params *CreateSipAuthRegistrationsCredentialListMappingParams) (*ApiV2010SipAuthRegistrationsCredentialListMapping, error)

Create a new credential list mapping resource

func (*ApiService) CreateSipCredential added in v0.11.0

func (c *ApiService) CreateSipCredential(CredentialListSid string, params *CreateSipCredentialParams) (*ApiV2010SipCredential, error)

Create a new credential resource.

func (*ApiService) CreateSipCredentialList added in v0.11.0

func (c *ApiService) CreateSipCredentialList(params *CreateSipCredentialListParams) (*ApiV2010SipCredentialList, error)

Create a Credential List

func (*ApiService) CreateSipCredentialListMapping added in v0.11.0

func (c *ApiService) CreateSipCredentialListMapping(DomainSid string, params *CreateSipCredentialListMappingParams) (*ApiV2010SipCredentialListMapping, error)

Create a CredentialListMapping resource for an account.

func (*ApiService) CreateSipDomain added in v0.11.0

func (c *ApiService) CreateSipDomain(params *CreateSipDomainParams) (*ApiV2010SipDomain, error)

Create a new Domain

func (*ApiService) CreateSipIpAccessControlList added in v0.11.0

func (c *ApiService) CreateSipIpAccessControlList(params *CreateSipIpAccessControlListParams) (*ApiV2010SipIpAccessControlList, error)

Create a new IpAccessControlList resource

func (*ApiService) CreateSipIpAccessControlListMapping added in v0.11.0

func (c *ApiService) CreateSipIpAccessControlListMapping(DomainSid string, params *CreateSipIpAccessControlListMappingParams) (*ApiV2010SipIpAccessControlListMapping, error)

Create a new IpAccessControlListMapping resource.

func (*ApiService) CreateSipIpAddress added in v0.11.0

func (c *ApiService) CreateSipIpAddress(IpAccessControlListSid string, params *CreateSipIpAddressParams) (*ApiV2010SipIpAddress, error)

Create a new IpAddress resource.

func (*ApiService) CreateToken added in v0.11.0

func (c *ApiService) CreateToken(params *CreateTokenParams) (*ApiV2010Token, error)

Create a new token for ICE servers

func (*ApiService) CreateUsageTrigger added in v0.11.0

func (c *ApiService) CreateUsageTrigger(params *CreateUsageTriggerParams) (*ApiV2010UsageTrigger, error)

Create a new UsageTrigger

func (*ApiService) CreateValidationRequest added in v0.11.0

func (c *ApiService) CreateValidationRequest(params *CreateValidationRequestParams) (*ApiV2010ValidationRequest, error)

func (*ApiService) DeleteAddress added in v0.11.0

func (c *ApiService) DeleteAddress(Sid string, params *DeleteAddressParams) error

func (*ApiService) DeleteApplication added in v0.11.0

func (c *ApiService) DeleteApplication(Sid string, params *DeleteApplicationParams) error

Delete the application by the specified application sid

func (*ApiService) DeleteCall added in v0.11.0

func (c *ApiService) DeleteCall(Sid string, params *DeleteCallParams) error

Delete a Call record from your account. Once the record is deleted, it will no longer appear in the API and Account Portal logs.

func (*ApiService) DeleteCallFeedbackSummary added in v0.11.0

func (c *ApiService) DeleteCallFeedbackSummary(Sid string, params *DeleteCallFeedbackSummaryParams) error

Delete a FeedbackSummary resource from a call

func (*ApiService) DeleteCallRecording added in v0.11.0

func (c *ApiService) DeleteCallRecording(CallSid string, Sid string, params *DeleteCallRecordingParams) error

Delete a recording from your account

func (*ApiService) DeleteConferenceRecording added in v0.11.0

func (c *ApiService) DeleteConferenceRecording(ConferenceSid string, Sid string, params *DeleteConferenceRecordingParams) error

Delete a recording from your account

func (*ApiService) DeleteConnectApp added in v0.11.0

func (c *ApiService) DeleteConnectApp(Sid string, params *DeleteConnectAppParams) error

Delete an instance of a connect-app

func (*ApiService) DeleteIncomingPhoneNumber added in v0.11.0

func (c *ApiService) DeleteIncomingPhoneNumber(Sid string, params *DeleteIncomingPhoneNumberParams) error

Delete a phone-numbers belonging to the account used to make the request.

func (*ApiService) DeleteIncomingPhoneNumberAssignedAddOn added in v0.11.0

func (c *ApiService) DeleteIncomingPhoneNumberAssignedAddOn(ResourceSid string, Sid string, params *DeleteIncomingPhoneNumberAssignedAddOnParams) error

Remove the assignment of an Add-on installation from the Number specified.

func (*ApiService) DeleteKey added in v0.11.0

func (c *ApiService) DeleteKey(Sid string, params *DeleteKeyParams) error

func (*ApiService) DeleteMedia added in v0.11.0

func (c *ApiService) DeleteMedia(MessageSid string, Sid string, params *DeleteMediaParams) error

Delete media from your account. Once delete, you will no longer be billed

func (*ApiService) DeleteMessage added in v0.11.0

func (c *ApiService) DeleteMessage(Sid string, params *DeleteMessageParams) error

Deletes a message record from your account

func (*ApiService) DeleteOutgoingCallerId added in v0.11.0

func (c *ApiService) DeleteOutgoingCallerId(Sid string, params *DeleteOutgoingCallerIdParams) error

Delete the caller-id specified from the account

func (*ApiService) DeleteParticipant added in v0.11.0

func (c *ApiService) DeleteParticipant(ConferenceSid string, CallSid string, params *DeleteParticipantParams) error

Kick a participant from a given conference

func (*ApiService) DeleteQueue added in v0.11.0

func (c *ApiService) DeleteQueue(Sid string, params *DeleteQueueParams) error

Remove an empty queue

func (*ApiService) DeleteRecording added in v0.11.0

func (c *ApiService) DeleteRecording(Sid string, params *DeleteRecordingParams) error

Delete a recording from your account

func (*ApiService) DeleteRecordingAddOnResult added in v0.11.0

func (c *ApiService) DeleteRecordingAddOnResult(ReferenceSid string, Sid string, params *DeleteRecordingAddOnResultParams) error

Delete a result and purge all associated Payloads

func (*ApiService) DeleteRecordingAddOnResultPayload added in v0.11.0

func (c *ApiService) DeleteRecordingAddOnResultPayload(ReferenceSid string, AddOnResultSid string, Sid string, params *DeleteRecordingAddOnResultPayloadParams) error

Delete a payload from the result along with all associated Data

func (*ApiService) DeleteRecordingTranscription added in v0.11.0

func (c *ApiService) DeleteRecordingTranscription(RecordingSid string, Sid string, params *DeleteRecordingTranscriptionParams) error

func (*ApiService) DeleteSigningKey added in v0.11.0

func (c *ApiService) DeleteSigningKey(Sid string, params *DeleteSigningKeyParams) error

func (*ApiService) DeleteSipAuthCallsCredentialListMapping added in v0.11.0

func (c *ApiService) DeleteSipAuthCallsCredentialListMapping(DomainSid string, Sid string, params *DeleteSipAuthCallsCredentialListMappingParams) error

Delete a credential list mapping from the requested domain

func (*ApiService) DeleteSipAuthCallsIpAccessControlListMapping added in v0.11.0

func (c *ApiService) DeleteSipAuthCallsIpAccessControlListMapping(DomainSid string, Sid string, params *DeleteSipAuthCallsIpAccessControlListMappingParams) error

Delete an IP Access Control List mapping from the requested domain

func (*ApiService) DeleteSipAuthRegistrationsCredentialListMapping added in v0.11.0

func (c *ApiService) DeleteSipAuthRegistrationsCredentialListMapping(DomainSid string, Sid string, params *DeleteSipAuthRegistrationsCredentialListMappingParams) error

Delete a credential list mapping from the requested domain

func (*ApiService) DeleteSipCredential added in v0.11.0

func (c *ApiService) DeleteSipCredential(CredentialListSid string, Sid string, params *DeleteSipCredentialParams) error

Delete a credential resource.

func (*ApiService) DeleteSipCredentialList added in v0.11.0

func (c *ApiService) DeleteSipCredentialList(Sid string, params *DeleteSipCredentialListParams) error

Delete a Credential List

func (*ApiService) DeleteSipCredentialListMapping added in v0.11.0

func (c *ApiService) DeleteSipCredentialListMapping(DomainSid string, Sid string, params *DeleteSipCredentialListMappingParams) error

Delete a CredentialListMapping resource from an account.

func (*ApiService) DeleteSipDomain added in v0.11.0

func (c *ApiService) DeleteSipDomain(Sid string, params *DeleteSipDomainParams) error

Delete an instance of a Domain

func (*ApiService) DeleteSipIpAccessControlList added in v0.11.0

func (c *ApiService) DeleteSipIpAccessControlList(Sid string, params *DeleteSipIpAccessControlListParams) error

Delete an IpAccessControlList from the requested account

func (*ApiService) DeleteSipIpAccessControlListMapping added in v0.11.0

func (c *ApiService) DeleteSipIpAccessControlListMapping(DomainSid string, Sid string, params *DeleteSipIpAccessControlListMappingParams) error

Delete an IpAccessControlListMapping resource.

func (*ApiService) DeleteSipIpAddress added in v0.11.0

func (c *ApiService) DeleteSipIpAddress(IpAccessControlListSid string, Sid string, params *DeleteSipIpAddressParams) error

Delete an IpAddress resource.

func (*ApiService) DeleteTranscription added in v0.11.0

func (c *ApiService) DeleteTranscription(Sid string, params *DeleteTranscriptionParams) error

Delete a transcription from the account used to make the request

func (*ApiService) DeleteUsageTrigger added in v0.11.0

func (c *ApiService) DeleteUsageTrigger(Sid string, params *DeleteUsageTriggerParams) error

func (*ApiService) FetchAccount added in v0.11.0

func (c *ApiService) FetchAccount(Sid string) (*ApiV2010Account, error)

Fetch the account specified by the provided Account Sid

func (*ApiService) FetchAddress added in v0.11.0

func (c *ApiService) FetchAddress(Sid string, params *FetchAddressParams) (*ApiV2010Address, error)

func (*ApiService) FetchApplication added in v0.11.0

func (c *ApiService) FetchApplication(Sid string, params *FetchApplicationParams) (*ApiV2010Application, error)

Fetch the application specified by the provided sid

func (*ApiService) FetchAuthorizedConnectApp added in v0.11.0

func (c *ApiService) FetchAuthorizedConnectApp(ConnectAppSid string, params *FetchAuthorizedConnectAppParams) (*ApiV2010AuthorizedConnectApp, error)

Fetch an instance of an authorized-connect-app

func (*ApiService) FetchAvailablePhoneNumberCountry added in v0.11.0

func (c *ApiService) FetchAvailablePhoneNumberCountry(CountryCode string, params *FetchAvailablePhoneNumberCountryParams) (*ApiV2010AvailablePhoneNumberCountry, error)

func (*ApiService) FetchBalance added in v0.11.0

func (c *ApiService) FetchBalance(params *FetchBalanceParams) (*ApiV2010Balance, error)

Fetch the balance for an Account based on Account Sid. Balance changes may not be reflected immediately. Child accounts do not contain balance information

func (*ApiService) FetchCall added in v0.11.0

func (c *ApiService) FetchCall(Sid string, params *FetchCallParams) (*ApiV2010Call, error)

Fetch the call specified by the provided Call SID

func (*ApiService) FetchCallFeedback added in v0.11.0

func (c *ApiService) FetchCallFeedback(CallSid string, params *FetchCallFeedbackParams) (*ApiV2010CallFeedback, error)

Fetch a Feedback resource from a call

func (*ApiService) FetchCallFeedbackSummary added in v0.11.0

func (c *ApiService) FetchCallFeedbackSummary(Sid string, params *FetchCallFeedbackSummaryParams) (*ApiV2010CallFeedbackSummary, error)

Fetch a FeedbackSummary resource from a call

func (*ApiService) FetchCallNotification added in v0.11.0

func (c *ApiService) FetchCallNotification(CallSid string, Sid string, params *FetchCallNotificationParams) (*ApiV2010CallNotificationInstance, error)

func (*ApiService) FetchCallRecording added in v0.11.0

func (c *ApiService) FetchCallRecording(CallSid string, Sid string, params *FetchCallRecordingParams) (*ApiV2010CallRecording, error)

Fetch an instance of a recording for a call

func (*ApiService) FetchConference added in v0.11.0

func (c *ApiService) FetchConference(Sid string, params *FetchConferenceParams) (*ApiV2010Conference, error)

Fetch an instance of a conference

func (*ApiService) FetchConferenceRecording added in v0.11.0

func (c *ApiService) FetchConferenceRecording(ConferenceSid string, Sid string, params *FetchConferenceRecordingParams) (*ApiV2010ConferenceRecording, error)

Fetch an instance of a recording for a call

func (*ApiService) FetchConnectApp added in v0.11.0

func (c *ApiService) FetchConnectApp(Sid string, params *FetchConnectAppParams) (*ApiV2010ConnectApp, error)

Fetch an instance of a connect-app

func (*ApiService) FetchIncomingPhoneNumber added in v0.11.0

func (c *ApiService) FetchIncomingPhoneNumber(Sid string, params *FetchIncomingPhoneNumberParams) (*ApiV2010IncomingPhoneNumber, error)

Fetch an incoming-phone-number belonging to the account used to make the request.

func (*ApiService) FetchIncomingPhoneNumberAssignedAddOn added in v0.11.0

func (c *ApiService) FetchIncomingPhoneNumberAssignedAddOn(ResourceSid string, Sid string, params *FetchIncomingPhoneNumberAssignedAddOnParams) (*ApiV2010IncomingPhoneNumberAssignedAddOn, error)

Fetch an instance of an Add-on installation currently assigned to this Number.

func (*ApiService) FetchIncomingPhoneNumberAssignedAddOnExtension added in v0.11.0

func (c *ApiService) FetchIncomingPhoneNumberAssignedAddOnExtension(ResourceSid string, AssignedAddOnSid string, Sid string, params *FetchIncomingPhoneNumberAssignedAddOnExtensionParams) (*ApiV2010IncomingPhoneNumberAssignedAddOnExtension, error)

Fetch an instance of an Extension for the Assigned Add-on.

func (*ApiService) FetchKey added in v0.11.0

func (c *ApiService) FetchKey(Sid string, params *FetchKeyParams) (*ApiV2010Key, error)

func (*ApiService) FetchMedia added in v0.11.0

func (c *ApiService) FetchMedia(MessageSid string, Sid string, params *FetchMediaParams) (*ApiV2010Media, error)

Fetch a single media instance belonging to the account used to make the request

func (*ApiService) FetchMember added in v0.11.0

func (c *ApiService) FetchMember(QueueSid string, CallSid string, params *FetchMemberParams) (*ApiV2010Member, error)

Fetch a specific member from the queue

func (*ApiService) FetchMessage added in v0.11.0

func (c *ApiService) FetchMessage(Sid string, params *FetchMessageParams) (*ApiV2010Message, error)

Fetch a message belonging to the account used to make the request

func (*ApiService) FetchNotification added in v0.11.0

func (c *ApiService) FetchNotification(Sid string, params *FetchNotificationParams) (*ApiV2010NotificationInstance, error)

Fetch a notification belonging to the account used to make the request

func (*ApiService) FetchOutgoingCallerId added in v0.11.0

func (c *ApiService) FetchOutgoingCallerId(Sid string, params *FetchOutgoingCallerIdParams) (*ApiV2010OutgoingCallerId, error)

Fetch an outgoing-caller-id belonging to the account used to make the request

func (*ApiService) FetchParticipant added in v0.11.0

func (c *ApiService) FetchParticipant(ConferenceSid string, CallSid string, params *FetchParticipantParams) (*ApiV2010Participant, error)

Fetch an instance of a participant

func (*ApiService) FetchQueue added in v0.11.0

func (c *ApiService) FetchQueue(Sid string, params *FetchQueueParams) (*ApiV2010Queue, error)

Fetch an instance of a queue identified by the QueueSid

func (*ApiService) FetchRecording added in v0.11.0

func (c *ApiService) FetchRecording(Sid string, params *FetchRecordingParams) (*ApiV2010Recording, error)

Fetch an instance of a recording

func (*ApiService) FetchRecordingAddOnResult added in v0.11.0

func (c *ApiService) FetchRecordingAddOnResult(ReferenceSid string, Sid string, params *FetchRecordingAddOnResultParams) (*ApiV2010RecordingAddOnResult, error)

Fetch an instance of an AddOnResult

func (*ApiService) FetchRecordingAddOnResultPayload added in v0.11.0

func (c *ApiService) FetchRecordingAddOnResultPayload(ReferenceSid string, AddOnResultSid string, Sid string, params *FetchRecordingAddOnResultPayloadParams) (*ApiV2010RecordingAddOnResultPayload, error)

Fetch an instance of a result payload

func (*ApiService) FetchRecordingTranscription added in v0.11.0

func (c *ApiService) FetchRecordingTranscription(RecordingSid string, Sid string, params *FetchRecordingTranscriptionParams) (*ApiV2010RecordingTranscription, error)

func (*ApiService) FetchShortCode added in v0.11.0

func (c *ApiService) FetchShortCode(Sid string, params *FetchShortCodeParams) (*ApiV2010ShortCode, error)

Fetch an instance of a short code

func (*ApiService) FetchSigningKey added in v0.11.0

func (c *ApiService) FetchSigningKey(Sid string, params *FetchSigningKeyParams) (*ApiV2010SigningKey, error)

func (*ApiService) FetchSipAuthCallsCredentialListMapping added in v0.11.0

func (c *ApiService) FetchSipAuthCallsCredentialListMapping(DomainSid string, Sid string, params *FetchSipAuthCallsCredentialListMappingParams) (*ApiV2010SipAuthCallsCredentialListMapping, error)

Fetch a specific instance of a credential list mapping

func (*ApiService) FetchSipAuthCallsIpAccessControlListMapping added in v0.11.0

func (c *ApiService) FetchSipAuthCallsIpAccessControlListMapping(DomainSid string, Sid string, params *FetchSipAuthCallsIpAccessControlListMappingParams) (*ApiV2010SipAuthCallsIpAccessControlListMapping, error)

Fetch a specific instance of an IP Access Control List mapping

func (*ApiService) FetchSipAuthRegistrationsCredentialListMapping added in v0.11.0

func (c *ApiService) FetchSipAuthRegistrationsCredentialListMapping(DomainSid string, Sid string, params *FetchSipAuthRegistrationsCredentialListMappingParams) (*ApiV2010SipAuthRegistrationsCredentialListMapping, error)

Fetch a specific instance of a credential list mapping

func (*ApiService) FetchSipCredential added in v0.11.0

func (c *ApiService) FetchSipCredential(CredentialListSid string, Sid string, params *FetchSipCredentialParams) (*ApiV2010SipCredential, error)

Fetch a single credential.

func (*ApiService) FetchSipCredentialList added in v0.11.0

func (c *ApiService) FetchSipCredentialList(Sid string, params *FetchSipCredentialListParams) (*ApiV2010SipCredentialList, error)

Get a Credential List

func (*ApiService) FetchSipCredentialListMapping added in v0.11.0

func (c *ApiService) FetchSipCredentialListMapping(DomainSid string, Sid string, params *FetchSipCredentialListMappingParams) (*ApiV2010SipCredentialListMapping, error)

Fetch a single CredentialListMapping resource from an account.

func (*ApiService) FetchSipDomain added in v0.11.0

func (c *ApiService) FetchSipDomain(Sid string, params *FetchSipDomainParams) (*ApiV2010SipDomain, error)

Fetch an instance of a Domain

func (*ApiService) FetchSipIpAccessControlList added in v0.11.0

func (c *ApiService) FetchSipIpAccessControlList(Sid string, params *FetchSipIpAccessControlListParams) (*ApiV2010SipIpAccessControlList, error)

Fetch a specific instance of an IpAccessControlList

func (*ApiService) FetchSipIpAccessControlListMapping added in v0.11.0

func (c *ApiService) FetchSipIpAccessControlListMapping(DomainSid string, Sid string, params *FetchSipIpAccessControlListMappingParams) (*ApiV2010SipIpAccessControlListMapping, error)

Fetch an IpAccessControlListMapping resource.

func (*ApiService) FetchSipIpAddress added in v0.11.0

func (c *ApiService) FetchSipIpAddress(IpAccessControlListSid string, Sid string, params *FetchSipIpAddressParams) (*ApiV2010SipIpAddress, error)

Read one IpAddress resource.

func (*ApiService) FetchTranscription added in v0.11.0

func (c *ApiService) FetchTranscription(Sid string, params *FetchTranscriptionParams) (*ApiV2010Transcription, error)

Fetch an instance of a Transcription

func (*ApiService) FetchUsageTrigger added in v0.11.0

func (c *ApiService) FetchUsageTrigger(Sid string, params *FetchUsageTriggerParams) (*ApiV2010UsageTrigger, error)

Fetch and instance of a usage-trigger

func (*ApiService) ListAccount added in v0.11.0

func (c *ApiService) ListAccount(params *ListAccountParams) ([]ApiV2010Account, error)

Lists Account records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListAddress added in v0.11.0

func (c *ApiService) ListAddress(params *ListAddressParams) ([]ApiV2010Address, error)

Lists Address records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListApplication added in v0.11.0

func (c *ApiService) ListApplication(params *ListApplicationParams) ([]ApiV2010Application, error)

Lists Application records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListAuthorizedConnectApp added in v0.11.0

func (c *ApiService) ListAuthorizedConnectApp(params *ListAuthorizedConnectAppParams) ([]ApiV2010AuthorizedConnectApp, error)

Lists AuthorizedConnectApp records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListAvailablePhoneNumberCountry added in v0.11.0

func (c *ApiService) ListAvailablePhoneNumberCountry(params *ListAvailablePhoneNumberCountryParams) ([]ApiV2010AvailablePhoneNumberCountry, error)

Lists AvailablePhoneNumberCountry records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListAvailablePhoneNumberLocal added in v0.11.0

func (c *ApiService) ListAvailablePhoneNumberLocal(CountryCode string, params *ListAvailablePhoneNumberLocalParams) ([]ApiV2010AvailablePhoneNumberLocal, error)

Lists AvailablePhoneNumberLocal records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListAvailablePhoneNumberMachineToMachine added in v0.11.0

func (c *ApiService) ListAvailablePhoneNumberMachineToMachine(CountryCode string, params *ListAvailablePhoneNumberMachineToMachineParams) ([]ApiV2010AvailablePhoneNumberMachineToMachine, error)

Lists AvailablePhoneNumberMachineToMachine records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListAvailablePhoneNumberMobile added in v0.11.0

func (c *ApiService) ListAvailablePhoneNumberMobile(CountryCode string, params *ListAvailablePhoneNumberMobileParams) ([]ApiV2010AvailablePhoneNumberMobile, error)

Lists AvailablePhoneNumberMobile records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListAvailablePhoneNumberNational added in v0.11.0

func (c *ApiService) ListAvailablePhoneNumberNational(CountryCode string, params *ListAvailablePhoneNumberNationalParams) ([]ApiV2010AvailablePhoneNumberNational, error)

Lists AvailablePhoneNumberNational records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListAvailablePhoneNumberSharedCost added in v0.11.0

func (c *ApiService) ListAvailablePhoneNumberSharedCost(CountryCode string, params *ListAvailablePhoneNumberSharedCostParams) ([]ApiV2010AvailablePhoneNumberSharedCost, error)

Lists AvailablePhoneNumberSharedCost records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListAvailablePhoneNumberTollFree added in v0.11.0

func (c *ApiService) ListAvailablePhoneNumberTollFree(CountryCode string, params *ListAvailablePhoneNumberTollFreeParams) ([]ApiV2010AvailablePhoneNumberTollFree, error)

Lists AvailablePhoneNumberTollFree records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListAvailablePhoneNumberVoip added in v0.11.0

func (c *ApiService) ListAvailablePhoneNumberVoip(CountryCode string, params *ListAvailablePhoneNumberVoipParams) ([]ApiV2010AvailablePhoneNumberVoip, error)

Lists AvailablePhoneNumberVoip records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListCall added in v0.11.0

func (c *ApiService) ListCall(params *ListCallParams) ([]ApiV2010Call, error)

Lists Call records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListCallEvent added in v0.11.0

func (c *ApiService) ListCallEvent(CallSid string, params *ListCallEventParams) ([]ApiV2010CallEvent, error)

Lists CallEvent records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListCallNotification added in v0.11.0

func (c *ApiService) ListCallNotification(CallSid string, params *ListCallNotificationParams) ([]ApiV2010CallNotification, error)

Lists CallNotification records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListCallRecording added in v0.11.0

func (c *ApiService) ListCallRecording(CallSid string, params *ListCallRecordingParams) ([]ApiV2010CallRecording, error)

Lists CallRecording records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListConference added in v0.11.0

func (c *ApiService) ListConference(params *ListConferenceParams) ([]ApiV2010Conference, error)

Lists Conference records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListConferenceRecording added in v0.11.0

func (c *ApiService) ListConferenceRecording(ConferenceSid string, params *ListConferenceRecordingParams) ([]ApiV2010ConferenceRecording, error)

Lists ConferenceRecording records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListConnectApp added in v0.11.0

func (c *ApiService) ListConnectApp(params *ListConnectAppParams) ([]ApiV2010ConnectApp, error)

Lists ConnectApp records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListDependentPhoneNumber added in v0.11.0

func (c *ApiService) ListDependentPhoneNumber(AddressSid string, params *ListDependentPhoneNumberParams) ([]ApiV2010DependentPhoneNumber, error)

Lists DependentPhoneNumber records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListIncomingPhoneNumber added in v0.11.0

func (c *ApiService) ListIncomingPhoneNumber(params *ListIncomingPhoneNumberParams) ([]ApiV2010IncomingPhoneNumber, error)

Lists IncomingPhoneNumber records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListIncomingPhoneNumberAssignedAddOn added in v0.11.0

func (c *ApiService) ListIncomingPhoneNumberAssignedAddOn(ResourceSid string, params *ListIncomingPhoneNumberAssignedAddOnParams) ([]ApiV2010IncomingPhoneNumberAssignedAddOn, error)

Lists IncomingPhoneNumberAssignedAddOn records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListIncomingPhoneNumberAssignedAddOnExtension added in v0.11.0

func (c *ApiService) ListIncomingPhoneNumberAssignedAddOnExtension(ResourceSid string, AssignedAddOnSid string, params *ListIncomingPhoneNumberAssignedAddOnExtensionParams) ([]ApiV2010IncomingPhoneNumberAssignedAddOnExtension, error)

Lists IncomingPhoneNumberAssignedAddOnExtension records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListIncomingPhoneNumberLocal added in v0.11.0

func (c *ApiService) ListIncomingPhoneNumberLocal(params *ListIncomingPhoneNumberLocalParams) ([]ApiV2010IncomingPhoneNumberLocal, error)

Lists IncomingPhoneNumberLocal records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListIncomingPhoneNumberMobile added in v0.11.0

func (c *ApiService) ListIncomingPhoneNumberMobile(params *ListIncomingPhoneNumberMobileParams) ([]ApiV2010IncomingPhoneNumberMobile, error)

Lists IncomingPhoneNumberMobile records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListIncomingPhoneNumberTollFree added in v0.11.0

func (c *ApiService) ListIncomingPhoneNumberTollFree(params *ListIncomingPhoneNumberTollFreeParams) ([]ApiV2010IncomingPhoneNumberTollFree, error)

Lists IncomingPhoneNumberTollFree records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListKey added in v0.11.0

func (c *ApiService) ListKey(params *ListKeyParams) ([]ApiV2010Key, error)

Lists Key records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListMedia added in v0.11.0

func (c *ApiService) ListMedia(MessageSid string, params *ListMediaParams) ([]ApiV2010Media, error)

Lists Media records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListMember added in v0.11.0

func (c *ApiService) ListMember(QueueSid string, params *ListMemberParams) ([]ApiV2010Member, error)

Lists Member records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListMessage added in v0.11.0

func (c *ApiService) ListMessage(params *ListMessageParams) ([]ApiV2010Message, error)

Lists Message records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListNotification added in v0.11.0

func (c *ApiService) ListNotification(params *ListNotificationParams) ([]ApiV2010Notification, error)

Lists Notification records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListOutgoingCallerId added in v0.11.0

func (c *ApiService) ListOutgoingCallerId(params *ListOutgoingCallerIdParams) ([]ApiV2010OutgoingCallerId, error)

Lists OutgoingCallerId records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListParticipant added in v0.11.0

func (c *ApiService) ListParticipant(ConferenceSid string, params *ListParticipantParams) ([]ApiV2010Participant, error)

Lists Participant records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListQueue added in v0.11.0

func (c *ApiService) ListQueue(params *ListQueueParams) ([]ApiV2010Queue, error)

Lists Queue records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListRecording added in v0.11.0

func (c *ApiService) ListRecording(params *ListRecordingParams) ([]ApiV2010Recording, error)

Lists Recording records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListRecordingAddOnResult added in v0.11.0

func (c *ApiService) ListRecordingAddOnResult(ReferenceSid string, params *ListRecordingAddOnResultParams) ([]ApiV2010RecordingAddOnResult, error)

Lists RecordingAddOnResult records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListRecordingAddOnResultPayload added in v0.11.0

func (c *ApiService) ListRecordingAddOnResultPayload(ReferenceSid string, AddOnResultSid string, params *ListRecordingAddOnResultPayloadParams) ([]ApiV2010RecordingAddOnResultPayload, error)

Lists RecordingAddOnResultPayload records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListRecordingTranscription added in v0.11.0

func (c *ApiService) ListRecordingTranscription(RecordingSid string, params *ListRecordingTranscriptionParams) ([]ApiV2010RecordingTranscription, error)

Lists RecordingTranscription records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListShortCode added in v0.11.0

func (c *ApiService) ListShortCode(params *ListShortCodeParams) ([]ApiV2010ShortCode, error)

Lists ShortCode records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListSigningKey added in v0.11.0

func (c *ApiService) ListSigningKey(params *ListSigningKeyParams) ([]ApiV2010SigningKey, error)

Lists SigningKey records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListSipAuthCallsCredentialListMapping added in v0.11.0

func (c *ApiService) ListSipAuthCallsCredentialListMapping(DomainSid string, params *ListSipAuthCallsCredentialListMappingParams) ([]ApiV2010SipAuthCallsCredentialListMapping, error)

Lists SipAuthCallsCredentialListMapping records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListSipAuthCallsIpAccessControlListMapping added in v0.11.0

func (c *ApiService) ListSipAuthCallsIpAccessControlListMapping(DomainSid string, params *ListSipAuthCallsIpAccessControlListMappingParams) ([]ApiV2010SipAuthCallsIpAccessControlListMapping, error)

Lists SipAuthCallsIpAccessControlListMapping records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListSipAuthRegistrationsCredentialListMapping added in v0.11.0

func (c *ApiService) ListSipAuthRegistrationsCredentialListMapping(DomainSid string, params *ListSipAuthRegistrationsCredentialListMappingParams) ([]ApiV2010SipAuthRegistrationsCredentialListMapping, error)

Lists SipAuthRegistrationsCredentialListMapping records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListSipCredential added in v0.11.0

func (c *ApiService) ListSipCredential(CredentialListSid string, params *ListSipCredentialParams) ([]ApiV2010SipCredential, error)

Lists SipCredential records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListSipCredentialList added in v0.11.0

func (c *ApiService) ListSipCredentialList(params *ListSipCredentialListParams) ([]ApiV2010SipCredentialList, error)

Lists SipCredentialList records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListSipCredentialListMapping added in v0.11.0

func (c *ApiService) ListSipCredentialListMapping(DomainSid string, params *ListSipCredentialListMappingParams) ([]ApiV2010SipCredentialListMapping, error)

Lists SipCredentialListMapping records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListSipDomain added in v0.11.0

func (c *ApiService) ListSipDomain(params *ListSipDomainParams) ([]ApiV2010SipDomain, error)

Lists SipDomain records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListSipIpAccessControlList added in v0.11.0

func (c *ApiService) ListSipIpAccessControlList(params *ListSipIpAccessControlListParams) ([]ApiV2010SipIpAccessControlList, error)

Lists SipIpAccessControlList records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListSipIpAccessControlListMapping added in v0.11.0

func (c *ApiService) ListSipIpAccessControlListMapping(DomainSid string, params *ListSipIpAccessControlListMappingParams) ([]ApiV2010SipIpAccessControlListMapping, error)

Lists SipIpAccessControlListMapping records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListSipIpAddress added in v0.11.0

func (c *ApiService) ListSipIpAddress(IpAccessControlListSid string, params *ListSipIpAddressParams) ([]ApiV2010SipIpAddress, error)

Lists SipIpAddress records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListTranscription added in v0.11.0

func (c *ApiService) ListTranscription(params *ListTranscriptionParams) ([]ApiV2010Transcription, error)

Lists Transcription records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListUsageRecord added in v0.11.0

func (c *ApiService) ListUsageRecord(params *ListUsageRecordParams) ([]ApiV2010UsageRecord, error)

Lists UsageRecord records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListUsageRecordAllTime added in v0.11.0

func (c *ApiService) ListUsageRecordAllTime(params *ListUsageRecordAllTimeParams) ([]ApiV2010UsageRecordAllTime, error)

Lists UsageRecordAllTime records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListUsageRecordDaily added in v0.11.0

func (c *ApiService) ListUsageRecordDaily(params *ListUsageRecordDailyParams) ([]ApiV2010UsageRecordDaily, error)

Lists UsageRecordDaily records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListUsageRecordLastMonth added in v0.11.0

func (c *ApiService) ListUsageRecordLastMonth(params *ListUsageRecordLastMonthParams) ([]ApiV2010UsageRecordLastMonth, error)

Lists UsageRecordLastMonth records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListUsageRecordMonthly added in v0.11.0

func (c *ApiService) ListUsageRecordMonthly(params *ListUsageRecordMonthlyParams) ([]ApiV2010UsageRecordMonthly, error)

Lists UsageRecordMonthly records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListUsageRecordThisMonth added in v0.11.0

func (c *ApiService) ListUsageRecordThisMonth(params *ListUsageRecordThisMonthParams) ([]ApiV2010UsageRecordThisMonth, error)

Lists UsageRecordThisMonth records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListUsageRecordToday added in v0.11.0

func (c *ApiService) ListUsageRecordToday(params *ListUsageRecordTodayParams) ([]ApiV2010UsageRecordToday, error)

Lists UsageRecordToday records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListUsageRecordYearly added in v0.11.0

func (c *ApiService) ListUsageRecordYearly(params *ListUsageRecordYearlyParams) ([]ApiV2010UsageRecordYearly, error)

Lists UsageRecordYearly records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListUsageRecordYesterday added in v0.11.0

func (c *ApiService) ListUsageRecordYesterday(params *ListUsageRecordYesterdayParams) ([]ApiV2010UsageRecordYesterday, error)

Lists UsageRecordYesterday records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListUsageTrigger added in v0.11.0

func (c *ApiService) ListUsageTrigger(params *ListUsageTriggerParams) ([]ApiV2010UsageTrigger, error)

Lists UsageTrigger records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) PageAccount added in v0.13.0

func (c *ApiService) PageAccount(params *ListAccountParams, pageToken, pageNumber string) (*ListAccountResponse, error)

Retrieve a single page of Account records from the API. Request is executed immediately.

func (*ApiService) PageAddress added in v0.13.0

func (c *ApiService) PageAddress(params *ListAddressParams, pageToken, pageNumber string) (*ListAddressResponse, error)

Retrieve a single page of Address records from the API. Request is executed immediately.

func (*ApiService) PageApplication added in v0.13.0

func (c *ApiService) PageApplication(params *ListApplicationParams, pageToken, pageNumber string) (*ListApplicationResponse, error)

Retrieve a single page of Application records from the API. Request is executed immediately.

func (*ApiService) PageAuthorizedConnectApp added in v0.13.0

func (c *ApiService) PageAuthorizedConnectApp(params *ListAuthorizedConnectAppParams, pageToken, pageNumber string) (*ListAuthorizedConnectAppResponse, error)

Retrieve a single page of AuthorizedConnectApp records from the API. Request is executed immediately.

func (*ApiService) PageAvailablePhoneNumberCountry added in v0.13.0

func (c *ApiService) PageAvailablePhoneNumberCountry(params *ListAvailablePhoneNumberCountryParams, pageToken, pageNumber string) (*ListAvailablePhoneNumberCountryResponse, error)

Retrieve a single page of AvailablePhoneNumberCountry records from the API. Request is executed immediately.

func (*ApiService) PageAvailablePhoneNumberLocal added in v0.13.0

func (c *ApiService) PageAvailablePhoneNumberLocal(CountryCode string, params *ListAvailablePhoneNumberLocalParams, pageToken, pageNumber string) (*ListAvailablePhoneNumberLocalResponse, error)

Retrieve a single page of AvailablePhoneNumberLocal records from the API. Request is executed immediately.

func (*ApiService) PageAvailablePhoneNumberMachineToMachine added in v0.13.0

func (c *ApiService) PageAvailablePhoneNumberMachineToMachine(CountryCode string, params *ListAvailablePhoneNumberMachineToMachineParams, pageToken, pageNumber string) (*ListAvailablePhoneNumberMachineToMachineResponse, error)

Retrieve a single page of AvailablePhoneNumberMachineToMachine records from the API. Request is executed immediately.

func (*ApiService) PageAvailablePhoneNumberMobile added in v0.13.0

func (c *ApiService) PageAvailablePhoneNumberMobile(CountryCode string, params *ListAvailablePhoneNumberMobileParams, pageToken, pageNumber string) (*ListAvailablePhoneNumberMobileResponse, error)

Retrieve a single page of AvailablePhoneNumberMobile records from the API. Request is executed immediately.

func (*ApiService) PageAvailablePhoneNumberNational added in v0.13.0

func (c *ApiService) PageAvailablePhoneNumberNational(CountryCode string, params *ListAvailablePhoneNumberNationalParams, pageToken, pageNumber string) (*ListAvailablePhoneNumberNationalResponse, error)

Retrieve a single page of AvailablePhoneNumberNational records from the API. Request is executed immediately.

func (*ApiService) PageAvailablePhoneNumberSharedCost added in v0.13.0

func (c *ApiService) PageAvailablePhoneNumberSharedCost(CountryCode string, params *ListAvailablePhoneNumberSharedCostParams, pageToken, pageNumber string) (*ListAvailablePhoneNumberSharedCostResponse, error)

Retrieve a single page of AvailablePhoneNumberSharedCost records from the API. Request is executed immediately.

func (*ApiService) PageAvailablePhoneNumberTollFree added in v0.13.0

func (c *ApiService) PageAvailablePhoneNumberTollFree(CountryCode string, params *ListAvailablePhoneNumberTollFreeParams, pageToken, pageNumber string) (*ListAvailablePhoneNumberTollFreeResponse, error)

Retrieve a single page of AvailablePhoneNumberTollFree records from the API. Request is executed immediately.

func (*ApiService) PageAvailablePhoneNumberVoip added in v0.13.0

func (c *ApiService) PageAvailablePhoneNumberVoip(CountryCode string, params *ListAvailablePhoneNumberVoipParams, pageToken, pageNumber string) (*ListAvailablePhoneNumberVoipResponse, error)

Retrieve a single page of AvailablePhoneNumberVoip records from the API. Request is executed immediately.

func (*ApiService) PageCall added in v0.13.0

func (c *ApiService) PageCall(params *ListCallParams, pageToken, pageNumber string) (*ListCallResponse, error)

Retrieve a single page of Call records from the API. Request is executed immediately.

func (*ApiService) PageCallEvent added in v0.13.0

func (c *ApiService) PageCallEvent(CallSid string, params *ListCallEventParams, pageToken, pageNumber string) (*ListCallEventResponse, error)

Retrieve a single page of CallEvent records from the API. Request is executed immediately.

func (*ApiService) PageCallNotification added in v0.13.0

func (c *ApiService) PageCallNotification(CallSid string, params *ListCallNotificationParams, pageToken, pageNumber string) (*ListCallNotificationResponse, error)

Retrieve a single page of CallNotification records from the API. Request is executed immediately.

func (*ApiService) PageCallRecording added in v0.13.0

func (c *ApiService) PageCallRecording(CallSid string, params *ListCallRecordingParams, pageToken, pageNumber string) (*ListCallRecordingResponse, error)

Retrieve a single page of CallRecording records from the API. Request is executed immediately.

func (*ApiService) PageConference added in v0.13.0

func (c *ApiService) PageConference(params *ListConferenceParams, pageToken, pageNumber string) (*ListConferenceResponse, error)

Retrieve a single page of Conference records from the API. Request is executed immediately.

func (*ApiService) PageConferenceRecording added in v0.13.0

func (c *ApiService) PageConferenceRecording(ConferenceSid string, params *ListConferenceRecordingParams, pageToken, pageNumber string) (*ListConferenceRecordingResponse, error)

Retrieve a single page of ConferenceRecording records from the API. Request is executed immediately.

func (*ApiService) PageConnectApp added in v0.13.0

func (c *ApiService) PageConnectApp(params *ListConnectAppParams, pageToken, pageNumber string) (*ListConnectAppResponse, error)

Retrieve a single page of ConnectApp records from the API. Request is executed immediately.

func (*ApiService) PageDependentPhoneNumber added in v0.13.0

func (c *ApiService) PageDependentPhoneNumber(AddressSid string, params *ListDependentPhoneNumberParams, pageToken, pageNumber string) (*ListDependentPhoneNumberResponse, error)

Retrieve a single page of DependentPhoneNumber records from the API. Request is executed immediately.

func (*ApiService) PageIncomingPhoneNumber added in v0.13.0

func (c *ApiService) PageIncomingPhoneNumber(params *ListIncomingPhoneNumberParams, pageToken, pageNumber string) (*ListIncomingPhoneNumberResponse, error)

Retrieve a single page of IncomingPhoneNumber records from the API. Request is executed immediately.

func (*ApiService) PageIncomingPhoneNumberAssignedAddOn added in v0.13.0

func (c *ApiService) PageIncomingPhoneNumberAssignedAddOn(ResourceSid string, params *ListIncomingPhoneNumberAssignedAddOnParams, pageToken, pageNumber string) (*ListIncomingPhoneNumberAssignedAddOnResponse, error)

Retrieve a single page of IncomingPhoneNumberAssignedAddOn records from the API. Request is executed immediately.

func (*ApiService) PageIncomingPhoneNumberAssignedAddOnExtension added in v0.13.0

func (c *ApiService) PageIncomingPhoneNumberAssignedAddOnExtension(ResourceSid string, AssignedAddOnSid string, params *ListIncomingPhoneNumberAssignedAddOnExtensionParams, pageToken, pageNumber string) (*ListIncomingPhoneNumberAssignedAddOnExtensionResponse, error)

Retrieve a single page of IncomingPhoneNumberAssignedAddOnExtension records from the API. Request is executed immediately.

func (*ApiService) PageIncomingPhoneNumberLocal added in v0.13.0

func (c *ApiService) PageIncomingPhoneNumberLocal(params *ListIncomingPhoneNumberLocalParams, pageToken, pageNumber string) (*ListIncomingPhoneNumberLocalResponse, error)

Retrieve a single page of IncomingPhoneNumberLocal records from the API. Request is executed immediately.

func (*ApiService) PageIncomingPhoneNumberMobile added in v0.13.0

func (c *ApiService) PageIncomingPhoneNumberMobile(params *ListIncomingPhoneNumberMobileParams, pageToken, pageNumber string) (*ListIncomingPhoneNumberMobileResponse, error)

Retrieve a single page of IncomingPhoneNumberMobile records from the API. Request is executed immediately.

func (*ApiService) PageIncomingPhoneNumberTollFree added in v0.13.0

func (c *ApiService) PageIncomingPhoneNumberTollFree(params *ListIncomingPhoneNumberTollFreeParams, pageToken, pageNumber string) (*ListIncomingPhoneNumberTollFreeResponse, error)

Retrieve a single page of IncomingPhoneNumberTollFree records from the API. Request is executed immediately.

func (*ApiService) PageKey added in v0.13.0

func (c *ApiService) PageKey(params *ListKeyParams, pageToken, pageNumber string) (*ListKeyResponse, error)

Retrieve a single page of Key records from the API. Request is executed immediately.

func (*ApiService) PageMedia added in v0.13.0

func (c *ApiService) PageMedia(MessageSid string, params *ListMediaParams, pageToken, pageNumber string) (*ListMediaResponse, error)

Retrieve a single page of Media records from the API. Request is executed immediately.

func (*ApiService) PageMember added in v0.13.0

func (c *ApiService) PageMember(QueueSid string, params *ListMemberParams, pageToken, pageNumber string) (*ListMemberResponse, error)

Retrieve a single page of Member records from the API. Request is executed immediately.

func (*ApiService) PageMessage added in v0.13.0

func (c *ApiService) PageMessage(params *ListMessageParams, pageToken, pageNumber string) (*ListMessageResponse, error)

Retrieve a single page of Message records from the API. Request is executed immediately.

func (*ApiService) PageNotification added in v0.13.0

func (c *ApiService) PageNotification(params *ListNotificationParams, pageToken, pageNumber string) (*ListNotificationResponse, error)

Retrieve a single page of Notification records from the API. Request is executed immediately.

func (*ApiService) PageOutgoingCallerId added in v0.13.0

func (c *ApiService) PageOutgoingCallerId(params *ListOutgoingCallerIdParams, pageToken, pageNumber string) (*ListOutgoingCallerIdResponse, error)

Retrieve a single page of OutgoingCallerId records from the API. Request is executed immediately.

func (*ApiService) PageParticipant added in v0.13.0

func (c *ApiService) PageParticipant(ConferenceSid string, params *ListParticipantParams, pageToken, pageNumber string) (*ListParticipantResponse, error)

Retrieve a single page of Participant records from the API. Request is executed immediately.

func (*ApiService) PageQueue added in v0.13.0

func (c *ApiService) PageQueue(params *ListQueueParams, pageToken, pageNumber string) (*ListQueueResponse, error)

Retrieve a single page of Queue records from the API. Request is executed immediately.

func (*ApiService) PageRecording added in v0.13.0

func (c *ApiService) PageRecording(params *ListRecordingParams, pageToken, pageNumber string) (*ListRecordingResponse, error)

Retrieve a single page of Recording records from the API. Request is executed immediately.

func (*ApiService) PageRecordingAddOnResult added in v0.13.0

func (c *ApiService) PageRecordingAddOnResult(ReferenceSid string, params *ListRecordingAddOnResultParams, pageToken, pageNumber string) (*ListRecordingAddOnResultResponse, error)

Retrieve a single page of RecordingAddOnResult records from the API. Request is executed immediately.

func (*ApiService) PageRecordingAddOnResultPayload added in v0.13.0

func (c *ApiService) PageRecordingAddOnResultPayload(ReferenceSid string, AddOnResultSid string, params *ListRecordingAddOnResultPayloadParams, pageToken, pageNumber string) (*ListRecordingAddOnResultPayloadResponse, error)

Retrieve a single page of RecordingAddOnResultPayload records from the API. Request is executed immediately.

func (*ApiService) PageRecordingTranscription added in v0.13.0

func (c *ApiService) PageRecordingTranscription(RecordingSid string, params *ListRecordingTranscriptionParams, pageToken, pageNumber string) (*ListRecordingTranscriptionResponse, error)

Retrieve a single page of RecordingTranscription records from the API. Request is executed immediately.

func (*ApiService) PageShortCode added in v0.13.0

func (c *ApiService) PageShortCode(params *ListShortCodeParams, pageToken, pageNumber string) (*ListShortCodeResponse, error)

Retrieve a single page of ShortCode records from the API. Request is executed immediately.

func (*ApiService) PageSigningKey added in v0.13.0

func (c *ApiService) PageSigningKey(params *ListSigningKeyParams, pageToken, pageNumber string) (*ListSigningKeyResponse, error)

Retrieve a single page of SigningKey records from the API. Request is executed immediately.

func (*ApiService) PageSipAuthCallsCredentialListMapping added in v0.13.0

func (c *ApiService) PageSipAuthCallsCredentialListMapping(DomainSid string, params *ListSipAuthCallsCredentialListMappingParams, pageToken, pageNumber string) (*ListSipAuthCallsCredentialListMappingResponse, error)

Retrieve a single page of SipAuthCallsCredentialListMapping records from the API. Request is executed immediately.

func (*ApiService) PageSipAuthCallsIpAccessControlListMapping added in v0.13.0

func (c *ApiService) PageSipAuthCallsIpAccessControlListMapping(DomainSid string, params *ListSipAuthCallsIpAccessControlListMappingParams, pageToken, pageNumber string) (*ListSipAuthCallsIpAccessControlListMappingResponse, error)

Retrieve a single page of SipAuthCallsIpAccessControlListMapping records from the API. Request is executed immediately.

func (*ApiService) PageSipAuthRegistrationsCredentialListMapping added in v0.13.0

func (c *ApiService) PageSipAuthRegistrationsCredentialListMapping(DomainSid string, params *ListSipAuthRegistrationsCredentialListMappingParams, pageToken, pageNumber string) (*ListSipAuthRegistrationsCredentialListMappingResponse, error)

Retrieve a single page of SipAuthRegistrationsCredentialListMapping records from the API. Request is executed immediately.

func (*ApiService) PageSipCredential added in v0.13.0

func (c *ApiService) PageSipCredential(CredentialListSid string, params *ListSipCredentialParams, pageToken, pageNumber string) (*ListSipCredentialResponse, error)

Retrieve a single page of SipCredential records from the API. Request is executed immediately.

func (*ApiService) PageSipCredentialList added in v0.13.0

func (c *ApiService) PageSipCredentialList(params *ListSipCredentialListParams, pageToken, pageNumber string) (*ListSipCredentialListResponse, error)

Retrieve a single page of SipCredentialList records from the API. Request is executed immediately.

func (*ApiService) PageSipCredentialListMapping added in v0.13.0

func (c *ApiService) PageSipCredentialListMapping(DomainSid string, params *ListSipCredentialListMappingParams, pageToken, pageNumber string) (*ListSipCredentialListMappingResponse, error)

Retrieve a single page of SipCredentialListMapping records from the API. Request is executed immediately.

func (*ApiService) PageSipDomain added in v0.13.0

func (c *ApiService) PageSipDomain(params *ListSipDomainParams, pageToken, pageNumber string) (*ListSipDomainResponse, error)

Retrieve a single page of SipDomain records from the API. Request is executed immediately.

func (*ApiService) PageSipIpAccessControlList added in v0.13.0

func (c *ApiService) PageSipIpAccessControlList(params *ListSipIpAccessControlListParams, pageToken, pageNumber string) (*ListSipIpAccessControlListResponse, error)

Retrieve a single page of SipIpAccessControlList records from the API. Request is executed immediately.

func (*ApiService) PageSipIpAccessControlListMapping added in v0.13.0

func (c *ApiService) PageSipIpAccessControlListMapping(DomainSid string, params *ListSipIpAccessControlListMappingParams, pageToken, pageNumber string) (*ListSipIpAccessControlListMappingResponse, error)

Retrieve a single page of SipIpAccessControlListMapping records from the API. Request is executed immediately.

func (*ApiService) PageSipIpAddress added in v0.13.0

func (c *ApiService) PageSipIpAddress(IpAccessControlListSid string, params *ListSipIpAddressParams, pageToken, pageNumber string) (*ListSipIpAddressResponse, error)

Retrieve a single page of SipIpAddress records from the API. Request is executed immediately.

func (*ApiService) PageTranscription added in v0.13.0

func (c *ApiService) PageTranscription(params *ListTranscriptionParams, pageToken, pageNumber string) (*ListTranscriptionResponse, error)

Retrieve a single page of Transcription records from the API. Request is executed immediately.

func (*ApiService) PageUsageRecord added in v0.13.0

func (c *ApiService) PageUsageRecord(params *ListUsageRecordParams, pageToken, pageNumber string) (*ListUsageRecordResponse, error)

Retrieve a single page of UsageRecord records from the API. Request is executed immediately.

func (*ApiService) PageUsageRecordAllTime added in v0.13.0

func (c *ApiService) PageUsageRecordAllTime(params *ListUsageRecordAllTimeParams, pageToken, pageNumber string) (*ListUsageRecordAllTimeResponse, error)

Retrieve a single page of UsageRecordAllTime records from the API. Request is executed immediately.

func (*ApiService) PageUsageRecordDaily added in v0.13.0

func (c *ApiService) PageUsageRecordDaily(params *ListUsageRecordDailyParams, pageToken, pageNumber string) (*ListUsageRecordDailyResponse, error)

Retrieve a single page of UsageRecordDaily records from the API. Request is executed immediately.

func (*ApiService) PageUsageRecordLastMonth added in v0.13.0

func (c *ApiService) PageUsageRecordLastMonth(params *ListUsageRecordLastMonthParams, pageToken, pageNumber string) (*ListUsageRecordLastMonthResponse, error)

Retrieve a single page of UsageRecordLastMonth records from the API. Request is executed immediately.

func (*ApiService) PageUsageRecordMonthly added in v0.13.0

func (c *ApiService) PageUsageRecordMonthly(params *ListUsageRecordMonthlyParams, pageToken, pageNumber string) (*ListUsageRecordMonthlyResponse, error)

Retrieve a single page of UsageRecordMonthly records from the API. Request is executed immediately.

func (*ApiService) PageUsageRecordThisMonth added in v0.13.0

func (c *ApiService) PageUsageRecordThisMonth(params *ListUsageRecordThisMonthParams, pageToken, pageNumber string) (*ListUsageRecordThisMonthResponse, error)

Retrieve a single page of UsageRecordThisMonth records from the API. Request is executed immediately.

func (*ApiService) PageUsageRecordToday added in v0.13.0

func (c *ApiService) PageUsageRecordToday(params *ListUsageRecordTodayParams, pageToken, pageNumber string) (*ListUsageRecordTodayResponse, error)

Retrieve a single page of UsageRecordToday records from the API. Request is executed immediately.

func (*ApiService) PageUsageRecordYearly added in v0.13.0

func (c *ApiService) PageUsageRecordYearly(params *ListUsageRecordYearlyParams, pageToken, pageNumber string) (*ListUsageRecordYearlyResponse, error)

Retrieve a single page of UsageRecordYearly records from the API. Request is executed immediately.

func (*ApiService) PageUsageRecordYesterday added in v0.13.0

func (c *ApiService) PageUsageRecordYesterday(params *ListUsageRecordYesterdayParams, pageToken, pageNumber string) (*ListUsageRecordYesterdayResponse, error)

Retrieve a single page of UsageRecordYesterday records from the API. Request is executed immediately.

func (*ApiService) PageUsageTrigger added in v0.13.0

func (c *ApiService) PageUsageTrigger(params *ListUsageTriggerParams, pageToken, pageNumber string) (*ListUsageTriggerResponse, error)

Retrieve a single page of UsageTrigger records from the API. Request is executed immediately.

func (*ApiService) StreamAccount added in v0.13.0

func (c *ApiService) StreamAccount(params *ListAccountParams) (chan ApiV2010Account, error)

Streams Account records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamAddress added in v0.13.0

func (c *ApiService) StreamAddress(params *ListAddressParams) (chan ApiV2010Address, error)

Streams Address records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamApplication added in v0.13.0

func (c *ApiService) StreamApplication(params *ListApplicationParams) (chan ApiV2010Application, error)

Streams Application records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamAuthorizedConnectApp added in v0.13.0

func (c *ApiService) StreamAuthorizedConnectApp(params *ListAuthorizedConnectAppParams) (chan ApiV2010AuthorizedConnectApp, error)

Streams AuthorizedConnectApp records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamAvailablePhoneNumberCountry added in v0.13.0

func (c *ApiService) StreamAvailablePhoneNumberCountry(params *ListAvailablePhoneNumberCountryParams) (chan ApiV2010AvailablePhoneNumberCountry, error)

Streams AvailablePhoneNumberCountry records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamAvailablePhoneNumberLocal added in v0.13.0

func (c *ApiService) StreamAvailablePhoneNumberLocal(CountryCode string, params *ListAvailablePhoneNumberLocalParams) (chan ApiV2010AvailablePhoneNumberLocal, error)

Streams AvailablePhoneNumberLocal records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamAvailablePhoneNumberMachineToMachine added in v0.13.0

func (c *ApiService) StreamAvailablePhoneNumberMachineToMachine(CountryCode string, params *ListAvailablePhoneNumberMachineToMachineParams) (chan ApiV2010AvailablePhoneNumberMachineToMachine, error)

Streams AvailablePhoneNumberMachineToMachine records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamAvailablePhoneNumberMobile added in v0.13.0

func (c *ApiService) StreamAvailablePhoneNumberMobile(CountryCode string, params *ListAvailablePhoneNumberMobileParams) (chan ApiV2010AvailablePhoneNumberMobile, error)

Streams AvailablePhoneNumberMobile records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamAvailablePhoneNumberNational added in v0.13.0

func (c *ApiService) StreamAvailablePhoneNumberNational(CountryCode string, params *ListAvailablePhoneNumberNationalParams) (chan ApiV2010AvailablePhoneNumberNational, error)

Streams AvailablePhoneNumberNational records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamAvailablePhoneNumberSharedCost added in v0.13.0

func (c *ApiService) StreamAvailablePhoneNumberSharedCost(CountryCode string, params *ListAvailablePhoneNumberSharedCostParams) (chan ApiV2010AvailablePhoneNumberSharedCost, error)

Streams AvailablePhoneNumberSharedCost records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamAvailablePhoneNumberTollFree added in v0.13.0

func (c *ApiService) StreamAvailablePhoneNumberTollFree(CountryCode string, params *ListAvailablePhoneNumberTollFreeParams) (chan ApiV2010AvailablePhoneNumberTollFree, error)

Streams AvailablePhoneNumberTollFree records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamAvailablePhoneNumberVoip added in v0.13.0

func (c *ApiService) StreamAvailablePhoneNumberVoip(CountryCode string, params *ListAvailablePhoneNumberVoipParams) (chan ApiV2010AvailablePhoneNumberVoip, error)

Streams AvailablePhoneNumberVoip records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamCall added in v0.13.0

func (c *ApiService) StreamCall(params *ListCallParams) (chan ApiV2010Call, error)

Streams Call records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamCallEvent added in v0.13.0

func (c *ApiService) StreamCallEvent(CallSid string, params *ListCallEventParams) (chan ApiV2010CallEvent, error)

Streams CallEvent records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamCallNotification added in v0.13.0

func (c *ApiService) StreamCallNotification(CallSid string, params *ListCallNotificationParams) (chan ApiV2010CallNotification, error)

Streams CallNotification records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamCallRecording added in v0.13.0

func (c *ApiService) StreamCallRecording(CallSid string, params *ListCallRecordingParams) (chan ApiV2010CallRecording, error)

Streams CallRecording records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamConference added in v0.13.0

func (c *ApiService) StreamConference(params *ListConferenceParams) (chan ApiV2010Conference, error)

Streams Conference records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamConferenceRecording added in v0.13.0

func (c *ApiService) StreamConferenceRecording(ConferenceSid string, params *ListConferenceRecordingParams) (chan ApiV2010ConferenceRecording, error)

Streams ConferenceRecording records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamConnectApp added in v0.13.0

func (c *ApiService) StreamConnectApp(params *ListConnectAppParams) (chan ApiV2010ConnectApp, error)

Streams ConnectApp records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamDependentPhoneNumber added in v0.13.0

func (c *ApiService) StreamDependentPhoneNumber(AddressSid string, params *ListDependentPhoneNumberParams) (chan ApiV2010DependentPhoneNumber, error)

Streams DependentPhoneNumber records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamIncomingPhoneNumber added in v0.13.0

func (c *ApiService) StreamIncomingPhoneNumber(params *ListIncomingPhoneNumberParams) (chan ApiV2010IncomingPhoneNumber, error)

Streams IncomingPhoneNumber records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamIncomingPhoneNumberAssignedAddOn added in v0.13.0

func (c *ApiService) StreamIncomingPhoneNumberAssignedAddOn(ResourceSid string, params *ListIncomingPhoneNumberAssignedAddOnParams) (chan ApiV2010IncomingPhoneNumberAssignedAddOn, error)

Streams IncomingPhoneNumberAssignedAddOn records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamIncomingPhoneNumberAssignedAddOnExtension added in v0.13.0

func (c *ApiService) StreamIncomingPhoneNumberAssignedAddOnExtension(ResourceSid string, AssignedAddOnSid string, params *ListIncomingPhoneNumberAssignedAddOnExtensionParams) (chan ApiV2010IncomingPhoneNumberAssignedAddOnExtension, error)

Streams IncomingPhoneNumberAssignedAddOnExtension records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamIncomingPhoneNumberLocal added in v0.13.0

func (c *ApiService) StreamIncomingPhoneNumberLocal(params *ListIncomingPhoneNumberLocalParams) (chan ApiV2010IncomingPhoneNumberLocal, error)

Streams IncomingPhoneNumberLocal records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamIncomingPhoneNumberMobile added in v0.13.0

func (c *ApiService) StreamIncomingPhoneNumberMobile(params *ListIncomingPhoneNumberMobileParams) (chan ApiV2010IncomingPhoneNumberMobile, error)

Streams IncomingPhoneNumberMobile records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamIncomingPhoneNumberTollFree added in v0.13.0

func (c *ApiService) StreamIncomingPhoneNumberTollFree(params *ListIncomingPhoneNumberTollFreeParams) (chan ApiV2010IncomingPhoneNumberTollFree, error)

Streams IncomingPhoneNumberTollFree records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamKey added in v0.13.0

func (c *ApiService) StreamKey(params *ListKeyParams) (chan ApiV2010Key, error)

Streams Key records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamMedia added in v0.13.0

func (c *ApiService) StreamMedia(MessageSid string, params *ListMediaParams) (chan ApiV2010Media, error)

Streams Media records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamMember added in v0.13.0

func (c *ApiService) StreamMember(QueueSid string, params *ListMemberParams) (chan ApiV2010Member, error)

Streams Member records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamMessage added in v0.13.0

func (c *ApiService) StreamMessage(params *ListMessageParams) (chan ApiV2010Message, error)

Streams Message records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamNotification added in v0.13.0

func (c *ApiService) StreamNotification(params *ListNotificationParams) (chan ApiV2010Notification, error)

Streams Notification records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamOutgoingCallerId added in v0.13.0

func (c *ApiService) StreamOutgoingCallerId(params *ListOutgoingCallerIdParams) (chan ApiV2010OutgoingCallerId, error)

Streams OutgoingCallerId records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamParticipant added in v0.13.0

func (c *ApiService) StreamParticipant(ConferenceSid string, params *ListParticipantParams) (chan ApiV2010Participant, error)

Streams Participant records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamQueue added in v0.13.0

func (c *ApiService) StreamQueue(params *ListQueueParams) (chan ApiV2010Queue, error)

Streams Queue records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamRecording added in v0.13.0

func (c *ApiService) StreamRecording(params *ListRecordingParams) (chan ApiV2010Recording, error)

Streams Recording records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamRecordingAddOnResult added in v0.13.0

func (c *ApiService) StreamRecordingAddOnResult(ReferenceSid string, params *ListRecordingAddOnResultParams) (chan ApiV2010RecordingAddOnResult, error)

Streams RecordingAddOnResult records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamRecordingAddOnResultPayload added in v0.13.0

func (c *ApiService) StreamRecordingAddOnResultPayload(ReferenceSid string, AddOnResultSid string, params *ListRecordingAddOnResultPayloadParams) (chan ApiV2010RecordingAddOnResultPayload, error)

Streams RecordingAddOnResultPayload records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamRecordingTranscription added in v0.13.0

func (c *ApiService) StreamRecordingTranscription(RecordingSid string, params *ListRecordingTranscriptionParams) (chan ApiV2010RecordingTranscription, error)

Streams RecordingTranscription records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamShortCode added in v0.13.0

func (c *ApiService) StreamShortCode(params *ListShortCodeParams) (chan ApiV2010ShortCode, error)

Streams ShortCode records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamSigningKey added in v0.13.0

func (c *ApiService) StreamSigningKey(params *ListSigningKeyParams) (chan ApiV2010SigningKey, error)

Streams SigningKey records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamSipAuthCallsCredentialListMapping added in v0.13.0

func (c *ApiService) StreamSipAuthCallsCredentialListMapping(DomainSid string, params *ListSipAuthCallsCredentialListMappingParams) (chan ApiV2010SipAuthCallsCredentialListMapping, error)

Streams SipAuthCallsCredentialListMapping records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamSipAuthCallsIpAccessControlListMapping added in v0.13.0

func (c *ApiService) StreamSipAuthCallsIpAccessControlListMapping(DomainSid string, params *ListSipAuthCallsIpAccessControlListMappingParams) (chan ApiV2010SipAuthCallsIpAccessControlListMapping, error)

Streams SipAuthCallsIpAccessControlListMapping records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamSipAuthRegistrationsCredentialListMapping added in v0.13.0

func (c *ApiService) StreamSipAuthRegistrationsCredentialListMapping(DomainSid string, params *ListSipAuthRegistrationsCredentialListMappingParams) (chan ApiV2010SipAuthRegistrationsCredentialListMapping, error)

Streams SipAuthRegistrationsCredentialListMapping records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamSipCredential added in v0.13.0

func (c *ApiService) StreamSipCredential(CredentialListSid string, params *ListSipCredentialParams) (chan ApiV2010SipCredential, error)

Streams SipCredential records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamSipCredentialList added in v0.13.0

func (c *ApiService) StreamSipCredentialList(params *ListSipCredentialListParams) (chan ApiV2010SipCredentialList, error)

Streams SipCredentialList records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamSipCredentialListMapping added in v0.13.0

func (c *ApiService) StreamSipCredentialListMapping(DomainSid string, params *ListSipCredentialListMappingParams) (chan ApiV2010SipCredentialListMapping, error)

Streams SipCredentialListMapping records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamSipDomain added in v0.13.0

func (c *ApiService) StreamSipDomain(params *ListSipDomainParams) (chan ApiV2010SipDomain, error)

Streams SipDomain records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamSipIpAccessControlList added in v0.13.0

func (c *ApiService) StreamSipIpAccessControlList(params *ListSipIpAccessControlListParams) (chan ApiV2010SipIpAccessControlList, error)

Streams SipIpAccessControlList records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamSipIpAccessControlListMapping added in v0.13.0

func (c *ApiService) StreamSipIpAccessControlListMapping(DomainSid string, params *ListSipIpAccessControlListMappingParams) (chan ApiV2010SipIpAccessControlListMapping, error)

Streams SipIpAccessControlListMapping records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamSipIpAddress added in v0.13.0

func (c *ApiService) StreamSipIpAddress(IpAccessControlListSid string, params *ListSipIpAddressParams) (chan ApiV2010SipIpAddress, error)

Streams SipIpAddress records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamTranscription added in v0.13.0

func (c *ApiService) StreamTranscription(params *ListTranscriptionParams) (chan ApiV2010Transcription, error)

Streams Transcription records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamUsageRecord added in v0.13.0

func (c *ApiService) StreamUsageRecord(params *ListUsageRecordParams) (chan ApiV2010UsageRecord, error)

Streams UsageRecord records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamUsageRecordAllTime added in v0.13.0

func (c *ApiService) StreamUsageRecordAllTime(params *ListUsageRecordAllTimeParams) (chan ApiV2010UsageRecordAllTime, error)

Streams UsageRecordAllTime records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamUsageRecordDaily added in v0.13.0

func (c *ApiService) StreamUsageRecordDaily(params *ListUsageRecordDailyParams) (chan ApiV2010UsageRecordDaily, error)

Streams UsageRecordDaily records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamUsageRecordLastMonth added in v0.13.0

func (c *ApiService) StreamUsageRecordLastMonth(params *ListUsageRecordLastMonthParams) (chan ApiV2010UsageRecordLastMonth, error)

Streams UsageRecordLastMonth records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamUsageRecordMonthly added in v0.13.0

func (c *ApiService) StreamUsageRecordMonthly(params *ListUsageRecordMonthlyParams) (chan ApiV2010UsageRecordMonthly, error)

Streams UsageRecordMonthly records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamUsageRecordThisMonth added in v0.13.0

func (c *ApiService) StreamUsageRecordThisMonth(params *ListUsageRecordThisMonthParams) (chan ApiV2010UsageRecordThisMonth, error)

Streams UsageRecordThisMonth records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamUsageRecordToday added in v0.13.0

func (c *ApiService) StreamUsageRecordToday(params *ListUsageRecordTodayParams) (chan ApiV2010UsageRecordToday, error)

Streams UsageRecordToday records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamUsageRecordYearly added in v0.13.0

func (c *ApiService) StreamUsageRecordYearly(params *ListUsageRecordYearlyParams) (chan ApiV2010UsageRecordYearly, error)

Streams UsageRecordYearly records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamUsageRecordYesterday added in v0.13.0

func (c *ApiService) StreamUsageRecordYesterday(params *ListUsageRecordYesterdayParams) (chan ApiV2010UsageRecordYesterday, error)

Streams UsageRecordYesterday records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamUsageTrigger added in v0.13.0

func (c *ApiService) StreamUsageTrigger(params *ListUsageTriggerParams) (chan ApiV2010UsageTrigger, error)

Streams UsageTrigger records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) UpdateAccount added in v0.11.0

func (c *ApiService) UpdateAccount(Sid string, params *UpdateAccountParams) (*ApiV2010Account, error)

Modify the properties of a given Account

func (*ApiService) UpdateAddress added in v0.11.0

func (c *ApiService) UpdateAddress(Sid string, params *UpdateAddressParams) (*ApiV2010Address, error)

func (*ApiService) UpdateApplication added in v0.11.0

func (c *ApiService) UpdateApplication(Sid string, params *UpdateApplicationParams) (*ApiV2010Application, error)

Updates the application's properties

func (*ApiService) UpdateCall added in v0.11.0

func (c *ApiService) UpdateCall(Sid string, params *UpdateCallParams) (*ApiV2010Call, error)

Initiates a call redirect or terminates a call

func (*ApiService) UpdateCallFeedback added in v0.11.0

func (c *ApiService) UpdateCallFeedback(CallSid string, params *UpdateCallFeedbackParams) (*ApiV2010CallFeedback, error)

Update a Feedback resource for a call

func (*ApiService) UpdateCallRecording added in v0.11.0

func (c *ApiService) UpdateCallRecording(CallSid string, Sid string, params *UpdateCallRecordingParams) (*ApiV2010CallRecording, error)

Changes the status of the recording to paused, stopped, or in-progress. Note: Pass `Twilio.CURRENT` instead of recording sid to reference current active recording.

func (*ApiService) UpdateConference added in v0.11.0

func (c *ApiService) UpdateConference(Sid string, params *UpdateConferenceParams) (*ApiV2010Conference, error)

func (*ApiService) UpdateConferenceRecording added in v0.11.0

func (c *ApiService) UpdateConferenceRecording(ConferenceSid string, Sid string, params *UpdateConferenceRecordingParams) (*ApiV2010ConferenceRecording, error)

Changes the status of the recording to paused, stopped, or in-progress. Note: To use `Twilio.CURRENT`, pass it as recording sid.

func (*ApiService) UpdateConnectApp added in v0.11.0

func (c *ApiService) UpdateConnectApp(Sid string, params *UpdateConnectAppParams) (*ApiV2010ConnectApp, error)

Update a connect-app with the specified parameters

func (*ApiService) UpdateIncomingPhoneNumber added in v0.11.0

func (c *ApiService) UpdateIncomingPhoneNumber(Sid string, params *UpdateIncomingPhoneNumberParams) (*ApiV2010IncomingPhoneNumber, error)

Update an incoming-phone-number instance.

func (*ApiService) UpdateKey added in v0.11.0

func (c *ApiService) UpdateKey(Sid string, params *UpdateKeyParams) (*ApiV2010Key, error)

func (*ApiService) UpdateMember added in v0.11.0

func (c *ApiService) UpdateMember(QueueSid string, CallSid string, params *UpdateMemberParams) (*ApiV2010Member, error)

Dequeue a member from a queue and have the member's call begin executing the TwiML document at that URL

func (*ApiService) UpdateMessage added in v0.11.0

func (c *ApiService) UpdateMessage(Sid string, params *UpdateMessageParams) (*ApiV2010Message, error)

To redact a message-body from a post-flight message record, post to the message instance resource with an empty body

func (*ApiService) UpdateOutgoingCallerId added in v0.11.0

func (c *ApiService) UpdateOutgoingCallerId(Sid string, params *UpdateOutgoingCallerIdParams) (*ApiV2010OutgoingCallerId, error)

Updates the caller-id

func (*ApiService) UpdateParticipant added in v0.11.0

func (c *ApiService) UpdateParticipant(ConferenceSid string, CallSid string, params *UpdateParticipantParams) (*ApiV2010Participant, error)

Update the properties of the participant

func (*ApiService) UpdatePayments added in v0.11.0

func (c *ApiService) UpdatePayments(CallSid string, Sid string, params *UpdatePaymentsParams) (*ApiV2010Payments, error)

update an instance of payments with different phases of payment flows.

func (*ApiService) UpdateQueue added in v0.11.0

func (c *ApiService) UpdateQueue(Sid string, params *UpdateQueueParams) (*ApiV2010Queue, error)

Update the queue with the new parameters

func (*ApiService) UpdateShortCode added in v0.11.0

func (c *ApiService) UpdateShortCode(Sid string, params *UpdateShortCodeParams) (*ApiV2010ShortCode, error)

Update a short code with the following parameters

func (*ApiService) UpdateSigningKey added in v0.11.0

func (c *ApiService) UpdateSigningKey(Sid string, params *UpdateSigningKeyParams) (*ApiV2010SigningKey, error)

func (*ApiService) UpdateSipCredential added in v0.11.0

func (c *ApiService) UpdateSipCredential(CredentialListSid string, Sid string, params *UpdateSipCredentialParams) (*ApiV2010SipCredential, error)

Update a credential resource.

func (*ApiService) UpdateSipCredentialList added in v0.11.0

func (c *ApiService) UpdateSipCredentialList(Sid string, params *UpdateSipCredentialListParams) (*ApiV2010SipCredentialList, error)

Update a Credential List

func (*ApiService) UpdateSipDomain added in v0.11.0

func (c *ApiService) UpdateSipDomain(Sid string, params *UpdateSipDomainParams) (*ApiV2010SipDomain, error)

Update the attributes of a domain

func (*ApiService) UpdateSipIpAccessControlList added in v0.11.0

func (c *ApiService) UpdateSipIpAccessControlList(Sid string, params *UpdateSipIpAccessControlListParams) (*ApiV2010SipIpAccessControlList, error)

Rename an IpAccessControlList

func (*ApiService) UpdateSipIpAddress added in v0.11.0

func (c *ApiService) UpdateSipIpAddress(IpAccessControlListSid string, Sid string, params *UpdateSipIpAddressParams) (*ApiV2010SipIpAddress, error)

Update an IpAddress resource.

func (*ApiService) UpdateUsageTrigger added in v0.11.0

func (c *ApiService) UpdateUsageTrigger(Sid string, params *UpdateUsageTriggerParams) (*ApiV2010UsageTrigger, error)

Update an instance of a usage trigger

type ApiV2010Account

type ApiV2010Account struct {
	// The authorization token for this account
	AuthToken *string `json:"auth_token,omitempty"`
	// The date this account was created
	DateCreated *string `json:"date_created,omitempty"`
	// The date this account was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// A human readable description of this account
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The unique 34 character id representing the parent of this account
	OwnerAccountSid *string `json:"owner_account_sid,omitempty"`
	// A 34 character string that uniquely identifies this resource.
	Sid *string `json:"sid,omitempty"`
	// The status of this account
	Status *string `json:"status,omitempty"`
	// Account Instance Subresources
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
	// The type of this account
	Type *string `json:"type,omitempty"`
	// The URI for this resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010Account struct for ApiV2010Account

type ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberLocalCapabilities

type ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberLocalCapabilities struct {
	Fax   bool `json:"fax,omitempty"`
	Mms   bool `json:"mms,omitempty"`
	Sms   bool `json:"sms,omitempty"`
	Voice bool `json:"voice,omitempty"`
}

ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberLocalCapabilities Whether a phone number can receive calls or messages

type ApiV2010AccountIncomingPhoneNumberCapabilities

type ApiV2010AccountIncomingPhoneNumberCapabilities struct {
	Fax   bool `json:"fax,omitempty"`
	Mms   bool `json:"mms,omitempty"`
	Sms   bool `json:"sms,omitempty"`
	Voice bool `json:"voice,omitempty"`
}

ApiV2010AccountIncomingPhoneNumberCapabilities Indicate if a phone can receive calls or messages

type ApiV2010AccountTokenIceServers

type ApiV2010AccountTokenIceServers struct {
	Credential string `json:"credential,omitempty"`
	Url        string `json:"url,omitempty"`
	Urls       string `json:"urls,omitempty"`
	Username   string `json:"username,omitempty"`
}

ApiV2010AccountTokenIceServers struct for ApiV2010AccountTokenIceServers

type ApiV2010Address added in v0.14.0

type ApiV2010Address struct {
	// The SID of the Account that is responsible for the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The city in which the address is located
	City *string `json:"city,omitempty"`
	// The name associated with the address
	CustomerName *string `json:"customer_name,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// Whether emergency calling has been enabled on this number
	EmergencyEnabled *bool `json:"emergency_enabled,omitempty"`
	// The string that you assigned to describe the resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The ISO country code of the address
	IsoCountry *string `json:"iso_country,omitempty"`
	// The postal code of the address
	PostalCode *string `json:"postal_code,omitempty"`
	// The state or region of the address
	Region *string `json:"region,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The number and street address of the address
	Street *string `json:"street,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
	// Whether the address has been validated to comply with local regulation
	Validated *bool `json:"validated,omitempty"`
	// Whether the address has been verified to comply with regulation
	Verified *bool `json:"verified,omitempty"`
}

ApiV2010Address struct for ApiV2010Address

type ApiV2010Application added in v0.14.0

type ApiV2010Application struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to start a new TwiML session
	ApiVersion *string `json:"api_version,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The string that you assigned to describe the resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The URL to send message status information to your application
	MessageStatusCallback *string `json:"message_status_callback,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The HTTP method used with sms_fallback_url
	SmsFallbackMethod *string `json:"sms_fallback_method,omitempty"`
	// The URL that we call when an error occurs while retrieving or executing the TwiML
	SmsFallbackUrl *string `json:"sms_fallback_url,omitempty"`
	// The HTTP method to use with sms_url
	SmsMethod *string `json:"sms_method,omitempty"`
	// The URL to send status information to your application
	SmsStatusCallback *string `json:"sms_status_callback,omitempty"`
	// The URL we call when the phone number receives an incoming SMS message
	SmsUrl *string `json:"sms_url,omitempty"`
	// The URL to send status information to your application
	StatusCallback *string `json:"status_callback,omitempty"`
	// The HTTP method we use to call status_callback
	StatusCallbackMethod *string `json:"status_callback_method,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
	// Whether to lookup the caller's name
	VoiceCallerIdLookup *bool `json:"voice_caller_id_lookup,omitempty"`
	// The HTTP method used with voice_fallback_url
	VoiceFallbackMethod *string `json:"voice_fallback_method,omitempty"`
	// The URL we call when a TwiML error occurs
	VoiceFallbackUrl *string `json:"voice_fallback_url,omitempty"`
	// The HTTP method used with the voice_url
	VoiceMethod *string `json:"voice_method,omitempty"`
	// The URL we call when the phone number receives a call
	VoiceUrl *string `json:"voice_url,omitempty"`
}

ApiV2010Application struct for ApiV2010Application

type ApiV2010AuthorizedConnectApp added in v0.14.0

type ApiV2010AuthorizedConnectApp struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The company name set for the Connect App
	ConnectAppCompanyName *string `json:"connect_app_company_name,omitempty"`
	// A detailed description of the app
	ConnectAppDescription *string `json:"connect_app_description,omitempty"`
	// The name of the Connect App
	ConnectAppFriendlyName *string `json:"connect_app_friendly_name,omitempty"`
	// The public URL for the Connect App
	ConnectAppHomepageUrl *string `json:"connect_app_homepage_url,omitempty"`
	// The SID that we assigned to the Connect App
	ConnectAppSid *string `json:"connect_app_sid,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// Permissions authorized to the app
	Permissions *[]string `json:"permissions,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010AuthorizedConnectApp struct for ApiV2010AuthorizedConnectApp

type ApiV2010AvailablePhoneNumberCountry added in v0.14.0

type ApiV2010AvailablePhoneNumberCountry struct {
	// Whether all phone numbers available in the country are new to the Twilio platform.
	Beta *bool `json:"beta,omitempty"`
	// The name of the country
	Country *string `json:"country,omitempty"`
	// The ISO-3166-1 country code of the country.
	CountryCode *string `json:"country_code,omitempty"`
	// A list of related resources identified by their relative URIs
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
	// The URI of the Country resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010AvailablePhoneNumberCountry struct for ApiV2010AvailablePhoneNumberCountry

type ApiV2010AvailablePhoneNumberLocal added in v0.14.0

type ApiV2010AvailablePhoneNumberLocal struct {
	// The type of Address resource the phone number requires
	AddressRequirements *string `json:"address_requirements,omitempty"`
	// Whether the phone number is new to the Twilio platform
	Beta         *bool                                                                            `json:"beta,omitempty"`
	Capabilities *ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberLocalCapabilities `json:"capabilities,omitempty"`
	// A formatted version of the phone number
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The ISO country code of this phone number
	IsoCountry *string `json:"iso_country,omitempty"`
	// The LATA of this phone number
	Lata *string `json:"lata,omitempty"`
	// The latitude of this phone number's location
	Latitude *float32 `json:"latitude,omitempty"`
	// The locality or city of this phone number's location
	Locality *string `json:"locality,omitempty"`
	// The longitude of this phone number's location
	Longitude *float32 `json:"longitude,omitempty"`
	// The phone number in E.164 format
	PhoneNumber *string `json:"phone_number,omitempty"`
	// The postal or ZIP code of this phone number's location
	PostalCode *string `json:"postal_code,omitempty"`
	// The rate center of this phone number
	RateCenter *string `json:"rate_center,omitempty"`
	// The two-letter state or province abbreviation of this phone number's location
	Region *string `json:"region,omitempty"`
}

ApiV2010AvailablePhoneNumberLocal struct for ApiV2010AvailablePhoneNumberLocal

type ApiV2010AvailablePhoneNumberMachineToMachine added in v0.14.0

type ApiV2010AvailablePhoneNumberMachineToMachine struct {
	// The type of Address resource the phone number requires
	AddressRequirements *string `json:"address_requirements,omitempty"`
	// Whether the phone number is new to the Twilio platform
	Beta         *bool                                                                            `json:"beta,omitempty"`
	Capabilities *ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberLocalCapabilities `json:"capabilities,omitempty"`
	// A formatted version of the phone number
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The ISO country code of this phone number
	IsoCountry *string `json:"iso_country,omitempty"`
	// The LATA of this phone number
	Lata *string `json:"lata,omitempty"`
	// The latitude of this phone number's location
	Latitude *float32 `json:"latitude,omitempty"`
	// The locality or city of this phone number's location
	Locality *string `json:"locality,omitempty"`
	// The longitude of this phone number's location
	Longitude *float32 `json:"longitude,omitempty"`
	// The phone number in E.164 format
	PhoneNumber *string `json:"phone_number,omitempty"`
	// The postal or ZIP code of this phone number's location
	PostalCode *string `json:"postal_code,omitempty"`
	// The rate center of this phone number
	RateCenter *string `json:"rate_center,omitempty"`
	// The two-letter state or province abbreviation of this phone number's location
	Region *string `json:"region,omitempty"`
}

ApiV2010AvailablePhoneNumberMachineToMachine struct for ApiV2010AvailablePhoneNumberMachineToMachine

type ApiV2010AvailablePhoneNumberMobile added in v0.14.0

type ApiV2010AvailablePhoneNumberMobile struct {
	// The type of Address resource the phone number requires
	AddressRequirements *string `json:"address_requirements,omitempty"`
	// Whether the phone number is new to the Twilio platform
	Beta         *bool                                                                            `json:"beta,omitempty"`
	Capabilities *ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberLocalCapabilities `json:"capabilities,omitempty"`
	// A formatted version of the phone number
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The ISO country code of this phone number
	IsoCountry *string `json:"iso_country,omitempty"`
	// The LATA of this phone number
	Lata *string `json:"lata,omitempty"`
	// The latitude of this phone number's location
	Latitude *float32 `json:"latitude,omitempty"`
	// The locality or city of this phone number's location
	Locality *string `json:"locality,omitempty"`
	// The longitude of this phone number's location
	Longitude *float32 `json:"longitude,omitempty"`
	// The phone number in E.164 format
	PhoneNumber *string `json:"phone_number,omitempty"`
	// The postal or ZIP code of this phone number's location
	PostalCode *string `json:"postal_code,omitempty"`
	// The rate center of this phone number
	RateCenter *string `json:"rate_center,omitempty"`
	// The two-letter state or province abbreviation of this phone number's location
	Region *string `json:"region,omitempty"`
}

ApiV2010AvailablePhoneNumberMobile struct for ApiV2010AvailablePhoneNumberMobile

type ApiV2010AvailablePhoneNumberNational added in v0.14.0

type ApiV2010AvailablePhoneNumberNational struct {
	// The type of Address resource the phone number requires
	AddressRequirements *string `json:"address_requirements,omitempty"`
	// Whether the phone number is new to the Twilio platform
	Beta         *bool                                                                            `json:"beta,omitempty"`
	Capabilities *ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberLocalCapabilities `json:"capabilities,omitempty"`
	// A formatted version of the phone number
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The ISO country code of this phone number
	IsoCountry *string `json:"iso_country,omitempty"`
	// The LATA of this phone number
	Lata *string `json:"lata,omitempty"`
	// The latitude of this phone number's location
	Latitude *float32 `json:"latitude,omitempty"`
	// The locality or city of this phone number's location
	Locality *string `json:"locality,omitempty"`
	// The longitude of this phone number's location
	Longitude *float32 `json:"longitude,omitempty"`
	// The phone number in E.164 format
	PhoneNumber *string `json:"phone_number,omitempty"`
	// The postal or ZIP code of this phone number's location
	PostalCode *string `json:"postal_code,omitempty"`
	// The rate center of this phone number
	RateCenter *string `json:"rate_center,omitempty"`
	// The two-letter state or province abbreviation of this phone number's location
	Region *string `json:"region,omitempty"`
}

ApiV2010AvailablePhoneNumberNational struct for ApiV2010AvailablePhoneNumberNational

type ApiV2010AvailablePhoneNumberSharedCost added in v0.14.0

type ApiV2010AvailablePhoneNumberSharedCost struct {
	// The type of Address resource the phone number requires
	AddressRequirements *string `json:"address_requirements,omitempty"`
	// Whether the phone number is new to the Twilio platform
	Beta         *bool                                                                            `json:"beta,omitempty"`
	Capabilities *ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberLocalCapabilities `json:"capabilities,omitempty"`
	// A formatted version of the phone number
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The ISO country code of this phone number
	IsoCountry *string `json:"iso_country,omitempty"`
	// The LATA of this phone number
	Lata *string `json:"lata,omitempty"`
	// The latitude of this phone number's location
	Latitude *float32 `json:"latitude,omitempty"`
	// The locality or city of this phone number's location
	Locality *string `json:"locality,omitempty"`
	// The longitude of this phone number's location
	Longitude *float32 `json:"longitude,omitempty"`
	// The phone number in E.164 format
	PhoneNumber *string `json:"phone_number,omitempty"`
	// The postal or ZIP code of this phone number's location
	PostalCode *string `json:"postal_code,omitempty"`
	// The rate center of this phone number
	RateCenter *string `json:"rate_center,omitempty"`
	// The two-letter state or province abbreviation of this phone number's location
	Region *string `json:"region,omitempty"`
}

ApiV2010AvailablePhoneNumberSharedCost struct for ApiV2010AvailablePhoneNumberSharedCost

type ApiV2010AvailablePhoneNumberTollFree added in v0.14.0

type ApiV2010AvailablePhoneNumberTollFree struct {
	// The type of Address resource the phone number requires
	AddressRequirements *string `json:"address_requirements,omitempty"`
	// Whether the phone number is new to the Twilio platform
	Beta         *bool                                                                            `json:"beta,omitempty"`
	Capabilities *ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberLocalCapabilities `json:"capabilities,omitempty"`
	// A formatted version of the phone number
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The ISO country code of this phone number
	IsoCountry *string `json:"iso_country,omitempty"`
	// The LATA of this phone number
	Lata *string `json:"lata,omitempty"`
	// The latitude of this phone number's location
	Latitude *float32 `json:"latitude,omitempty"`
	// The locality or city of this phone number's location
	Locality *string `json:"locality,omitempty"`
	// The longitude of this phone number's location
	Longitude *float32 `json:"longitude,omitempty"`
	// The phone number in E.164 format
	PhoneNumber *string `json:"phone_number,omitempty"`
	// The postal or ZIP code of this phone number's location
	PostalCode *string `json:"postal_code,omitempty"`
	// The rate center of this phone number
	RateCenter *string `json:"rate_center,omitempty"`
	// The two-letter state or province abbreviation of this phone number's location
	Region *string `json:"region,omitempty"`
}

ApiV2010AvailablePhoneNumberTollFree struct for ApiV2010AvailablePhoneNumberTollFree

type ApiV2010AvailablePhoneNumberVoip added in v0.14.0

type ApiV2010AvailablePhoneNumberVoip struct {
	// The type of Address resource the phone number requires
	AddressRequirements *string `json:"address_requirements,omitempty"`
	// Whether the phone number is new to the Twilio platform
	Beta         *bool                                                                            `json:"beta,omitempty"`
	Capabilities *ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberLocalCapabilities `json:"capabilities,omitempty"`
	// A formatted version of the phone number
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The ISO country code of this phone number
	IsoCountry *string `json:"iso_country,omitempty"`
	// The LATA of this phone number
	Lata *string `json:"lata,omitempty"`
	// The latitude of this phone number's location
	Latitude *float32 `json:"latitude,omitempty"`
	// The locality or city of this phone number's location
	Locality *string `json:"locality,omitempty"`
	// The longitude of this phone number's location
	Longitude *float32 `json:"longitude,omitempty"`
	// The phone number in E.164 format
	PhoneNumber *string `json:"phone_number,omitempty"`
	// The postal or ZIP code of this phone number's location
	PostalCode *string `json:"postal_code,omitempty"`
	// The rate center of this phone number
	RateCenter *string `json:"rate_center,omitempty"`
	// The two-letter state or province abbreviation of this phone number's location
	Region *string `json:"region,omitempty"`
}

ApiV2010AvailablePhoneNumberVoip struct for ApiV2010AvailablePhoneNumberVoip

type ApiV2010Balance added in v0.14.0

type ApiV2010Balance struct {
	// Account Sid.
	AccountSid *string `json:"account_sid,omitempty"`
	// Account balance
	Balance *string `json:"balance,omitempty"`
	// Currency units
	Currency *string `json:"currency,omitempty"`
}

ApiV2010Balance struct for ApiV2010Balance

type ApiV2010Call added in v0.14.0

type ApiV2010Call struct {
	// The SID of the Account that created this resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The annotation provided for the call
	Annotation *string `json:"annotation,omitempty"`
	// Either `human` or `machine` if this call was initiated with answering machine detection. Empty otherwise.
	AnsweredBy *string `json:"answered_by,omitempty"`
	// The API Version used to create the call
	ApiVersion *string `json:"api_version,omitempty"`
	// The caller's name if this call was an incoming call to a phone number with caller ID Lookup enabled. Otherwise, empty.
	CallerName *string `json:"caller_name,omitempty"`
	// The RFC 2822 date and time in GMT that this resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that this resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// A string describing the direction of the call. `inbound` for inbound calls, `outbound-api` for calls initiated via the REST API or `outbound-dial` for calls initiated by a `Dial` verb.
	Direction *string `json:"direction,omitempty"`
	// The length of the call in seconds.
	Duration *string `json:"duration,omitempty"`
	// The end time of the call. Null if the call did not complete successfully.
	EndTime *string `json:"end_time,omitempty"`
	// The forwarding phone number if this call was an incoming call forwarded from another number (depends on carrier supporting forwarding). Otherwise, empty.
	ForwardedFrom *string `json:"forwarded_from,omitempty"`
	// The phone number, SIP address or Client identifier that made this call. Phone numbers are in E.164 format (e.g., +16175551212). SIP addresses are formatted as `name@company.com`. Client identifiers are formatted `client:name`.
	From *string `json:"from,omitempty"`
	// The calling phone number, SIP address, or Client identifier formatted for display.
	FromFormatted *string `json:"from_formatted,omitempty"`
	// The Group SID associated with this call. If no Group is associated with the call, the field is empty.
	GroupSid *string `json:"group_sid,omitempty"`
	// The SID that identifies the call that created this leg.
	ParentCallSid *string `json:"parent_call_sid,omitempty"`
	// If the call was inbound, this is the SID of the IncomingPhoneNumber resource that received the call. If the call was outbound, it is the SID of the OutgoingCallerId resource from which the call was placed.
	PhoneNumberSid *string `json:"phone_number_sid,omitempty"`
	// The charge for this call, in the currency associated with the account. Populated after the call is completed. May not be immediately available.
	Price *string `json:"price,omitempty"`
	// The currency in which `Price` is measured.
	PriceUnit *string `json:"price_unit,omitempty"`
	// The wait time in milliseconds before the call is placed.
	QueueTime *string `json:"queue_time,omitempty"`
	// The unique string that identifies this resource
	Sid *string `json:"sid,omitempty"`
	// The start time of the call. Null if the call has not yet been dialed.
	StartTime *string `json:"start_time,omitempty"`
	// The status of this call.
	Status *string `json:"status,omitempty"`
	// A list of related subresources identified by their relative URIs
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
	// The phone number, SIP address or Client identifier that received this call. Phone numbers are in E.164 format (e.g., +16175551212). SIP addresses are formatted as `name@company.com`. Client identifiers are formatted `client:name`.
	To *string `json:"to,omitempty"`
	// The phone number, SIP address or Client identifier that received this call. Formatted for display.
	ToFormatted *string `json:"to_formatted,omitempty"`
	// The (optional) unique identifier of the trunk resource that was used for this call.
	TrunkSid *string `json:"trunk_sid,omitempty"`
	// The URI of this resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010Call struct for ApiV2010Call

type ApiV2010CallEvent added in v0.14.0

type ApiV2010CallEvent struct {
	// Call Request.
	Request *map[string]interface{} `json:"request,omitempty"`
	// Call Response with Events.
	Response *map[string]interface{} `json:"response,omitempty"`
}

ApiV2010CallEvent struct for ApiV2010CallEvent

type ApiV2010CallFeedback added in v0.14.0

type ApiV2010CallFeedback struct {
	// The unique sid that identifies this account
	AccountSid *string `json:"account_sid,omitempty"`
	// The date this resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The date this resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// Issues experienced during the call
	Issues *[]string `json:"issues,omitempty"`
	// 1 to 5 quality score
	QualityScore *int `json:"quality_score,omitempty"`
	// A string that uniquely identifies this feedback resource
	Sid *string `json:"sid,omitempty"`
}

ApiV2010CallFeedback struct for ApiV2010CallFeedback

type ApiV2010CallFeedbackSummary added in v0.14.0

type ApiV2010CallFeedbackSummary struct {
	// The unique sid that identifies this account
	AccountSid *string `json:"account_sid,omitempty"`
	// The total number of calls
	CallCount *int `json:"call_count,omitempty"`
	// The total number of calls with a feedback entry
	CallFeedbackCount *int `json:"call_feedback_count,omitempty"`
	// The date this resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The date this resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The latest feedback entry date in the summary
	EndDate *string `json:"end_date,omitempty"`
	// Whether the feedback summary includes subaccounts
	IncludeSubaccounts *bool `json:"include_subaccounts,omitempty"`
	// Issues experienced during the call
	Issues *[]map[string]interface{} `json:"issues,omitempty"`
	// The average QualityScore of the feedback entries
	QualityScoreAverage *float32 `json:"quality_score_average,omitempty"`
	// The median QualityScore of the feedback entries
	QualityScoreMedian *float32 `json:"quality_score_median,omitempty"`
	// The standard deviation of the quality scores
	QualityScoreStandardDeviation *float32 `json:"quality_score_standard_deviation,omitempty"`
	// A string that uniquely identifies this feedback entry
	Sid *string `json:"sid,omitempty"`
	// The earliest feedback entry date in the summary
	StartDate *string `json:"start_date,omitempty"`
	// The status of the feedback summary
	Status *string `json:"status,omitempty"`
}

ApiV2010CallFeedbackSummary struct for ApiV2010CallFeedbackSummary

type ApiV2010CallNotification added in v0.14.0

type ApiV2010CallNotification struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to create the Call Notification resource
	ApiVersion *string `json:"api_version,omitempty"`
	// The SID of the Call the resource is associated with
	CallSid *string `json:"call_sid,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// A unique error code corresponding to the notification
	ErrorCode *string `json:"error_code,omitempty"`
	// An integer log level
	Log *string `json:"log,omitempty"`
	// The date the notification was generated
	MessageDate *string `json:"message_date,omitempty"`
	// The text of the notification
	MessageText *string `json:"message_text,omitempty"`
	// A URL for more information about the error code
	MoreInfo *string `json:"more_info,omitempty"`
	// HTTP method used with the request url
	RequestMethod *string `json:"request_method,omitempty"`
	// URL of the resource that generated the notification
	RequestUrl *string `json:"request_url,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010CallNotification struct for ApiV2010CallNotification

type ApiV2010CallNotificationInstance added in v0.14.0

type ApiV2010CallNotificationInstance struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to create the Call Notification resource
	ApiVersion *string `json:"api_version,omitempty"`
	// The SID of the Call the resource is associated with
	CallSid *string `json:"call_sid,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// A unique error code corresponding to the notification
	ErrorCode *string `json:"error_code,omitempty"`
	// An integer log level
	Log *string `json:"log,omitempty"`
	// The date the notification was generated
	MessageDate *string `json:"message_date,omitempty"`
	// The text of the notification
	MessageText *string `json:"message_text,omitempty"`
	// A URL for more information about the error code
	MoreInfo *string `json:"more_info,omitempty"`
	// HTTP method used with the request url
	RequestMethod *string `json:"request_method,omitempty"`
	// URL of the resource that generated the notification
	RequestUrl *string `json:"request_url,omitempty"`
	// Twilio-generated HTTP variables sent to the server
	RequestVariables *string `json:"request_variables,omitempty"`
	// The HTTP body returned by your server
	ResponseBody *string `json:"response_body,omitempty"`
	// The HTTP headers returned by your server
	ResponseHeaders *string `json:"response_headers,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010CallNotificationInstance struct for ApiV2010CallNotificationInstance

type ApiV2010CallRecording added in v0.14.0

type ApiV2010CallRecording struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to make the recording
	ApiVersion *string `json:"api_version,omitempty"`
	// The SID of the Call the resource is associated with
	CallSid *string `json:"call_sid,omitempty"`
	// The number of channels in the final recording file
	Channels *int `json:"channels,omitempty"`
	// The Conference SID that identifies the conference associated with the recording
	ConferenceSid *string `json:"conference_sid,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The length of the recording in seconds
	Duration *string `json:"duration,omitempty"`
	// How to decrypt the recording.
	EncryptionDetails *map[string]interface{} `json:"encryption_details,omitempty"`
	// More information about why the recording is missing, if status is `absent`.
	ErrorCode *int `json:"error_code,omitempty"`
	// The one-time cost of creating the recording.
	Price *float32 `json:"price,omitempty"`
	// The currency used in the price property.
	PriceUnit *string `json:"price_unit,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// How the recording was created
	Source *string `json:"source,omitempty"`
	// The start time of the recording, given in RFC 2822 format
	StartTime *string `json:"start_time,omitempty"`
	// The status of the recording
	Status *string `json:"status,omitempty"`
	// The recorded track. Can be: `inbound`, `outbound`, or `both`.
	Track *string `json:"track,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010CallRecording struct for ApiV2010CallRecording

type ApiV2010Conference added in v0.14.0

type ApiV2010Conference struct {
	// The SID of the Account that created this resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to create this conference
	ApiVersion *string `json:"api_version,omitempty"`
	// The call SID that caused the conference to end
	CallSidEndingConference *string `json:"call_sid_ending_conference,omitempty"`
	// The RFC 2822 date and time in GMT that this resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that this resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// A string that you assigned to describe this conference room
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The reason why a conference ended.
	ReasonConferenceEnded *string `json:"reason_conference_ended,omitempty"`
	// A string that represents the Twilio Region where the conference was mixed
	Region *string `json:"region,omitempty"`
	// The unique string that identifies this resource
	Sid *string `json:"sid,omitempty"`
	// The status of this conference
	Status *string `json:"status,omitempty"`
	// A list of related resources identified by their relative URIs
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
	// The URI of this resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010Conference struct for ApiV2010Conference

type ApiV2010ConferenceRecording added in v0.14.0

type ApiV2010ConferenceRecording struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to create the recording
	ApiVersion *string `json:"api_version,omitempty"`
	// The SID of the Call the resource is associated with
	CallSid *string `json:"call_sid,omitempty"`
	// The number of channels in the final recording file as an integer
	Channels *int `json:"channels,omitempty"`
	// The Conference SID that identifies the conference associated with the recording
	ConferenceSid *string `json:"conference_sid,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The length of the recording in seconds
	Duration *string `json:"duration,omitempty"`
	// How to decrypt the recording.
	EncryptionDetails *map[string]interface{} `json:"encryption_details,omitempty"`
	// More information about why the recording is missing, if status is `absent`.
	ErrorCode *int `json:"error_code,omitempty"`
	// The one-time cost of creating the recording.
	Price *string `json:"price,omitempty"`
	// The currency used in the price property.
	PriceUnit *string `json:"price_unit,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// How the recording was created
	Source *string `json:"source,omitempty"`
	// The start time of the recording, given in RFC 2822 format
	StartTime *string `json:"start_time,omitempty"`
	// The status of the recording
	Status *string `json:"status,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010ConferenceRecording struct for ApiV2010ConferenceRecording

type ApiV2010ConnectApp added in v0.14.0

type ApiV2010ConnectApp struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The URL to redirect the user to after authorization
	AuthorizeRedirectUrl *string `json:"authorize_redirect_url,omitempty"`
	// The company name set for the Connect App
	CompanyName *string `json:"company_name,omitempty"`
	// The HTTP method we use to call deauthorize_callback_url
	DeauthorizeCallbackMethod *string `json:"deauthorize_callback_method,omitempty"`
	// The URL we call to de-authorize the Connect App
	DeauthorizeCallbackUrl *string `json:"deauthorize_callback_url,omitempty"`
	// The description of the Connect App
	Description *string `json:"description,omitempty"`
	// The string that you assigned to describe the resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The URL users can obtain more information
	HomepageUrl *string `json:"homepage_url,omitempty"`
	// The set of permissions that your ConnectApp requests
	Permissions *[]string `json:"permissions,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010ConnectApp struct for ApiV2010ConnectApp

type ApiV2010DependentPhoneNumber added in v0.14.0

type ApiV2010DependentPhoneNumber struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// Whether the phone number requires an Address registered with Twilio
	AddressRequirements *string `json:"address_requirements,omitempty"`
	// The API version used to start a new TwiML session
	ApiVersion *string `json:"api_version,omitempty"`
	// Indicate if a phone can receive calls or messages
	Capabilities *map[string]interface{} `json:"capabilities,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The emergency address configuration to use for emergency calling
	EmergencyAddressSid *string `json:"emergency_address_sid,omitempty"`
	// Whether the phone number is enabled for emergency calling
	EmergencyStatus *string `json:"emergency_status,omitempty"`
	// The string that you assigned to describe the resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The phone number in E.164 format
	PhoneNumber *string `json:"phone_number,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The SID of the application that handles SMS messages sent to the phone number
	SmsApplicationSid *string `json:"sms_application_sid,omitempty"`
	// The HTTP method used with sms_fallback_url
	SmsFallbackMethod *string `json:"sms_fallback_method,omitempty"`
	// The URL that we call when an error occurs while retrieving or executing the TwiML
	SmsFallbackUrl *string `json:"sms_fallback_url,omitempty"`
	// The HTTP method to use with sms_url
	SmsMethod *string `json:"sms_method,omitempty"`
	// The URL we call when the phone number receives an incoming SMS message
	SmsUrl *string `json:"sms_url,omitempty"`
	// The URL to send status information to your application
	StatusCallback *string `json:"status_callback,omitempty"`
	// The HTTP method we use to call status_callback
	StatusCallbackMethod *string `json:"status_callback_method,omitempty"`
	// The SID of the Trunk that handles calls to the phone number
	TrunkSid *string `json:"trunk_sid,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
	// The SID of the application that handles calls to the phone number
	VoiceApplicationSid *string `json:"voice_application_sid,omitempty"`
	// Whether to lookup the caller's name
	VoiceCallerIdLookup *bool `json:"voice_caller_id_lookup,omitempty"`
	// The HTTP method used with voice_fallback_url
	VoiceFallbackMethod *string `json:"voice_fallback_method,omitempty"`
	// The URL we call when an error occurs in TwiML
	VoiceFallbackUrl *string `json:"voice_fallback_url,omitempty"`
	// The HTTP method used with the voice_url
	VoiceMethod *string `json:"voice_method,omitempty"`
	// The URL we call when the phone number receives a call
	VoiceUrl *string `json:"voice_url,omitempty"`
}

ApiV2010DependentPhoneNumber struct for ApiV2010DependentPhoneNumber

type ApiV2010IncomingPhoneNumber added in v0.14.0

type ApiV2010IncomingPhoneNumber struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// Whether the phone number requires an Address registered with Twilio.
	AddressRequirements *string `json:"address_requirements,omitempty"`
	// The SID of the Address resource associated with the phone number
	AddressSid *string `json:"address_sid,omitempty"`
	// The API version used to start a new TwiML session
	ApiVersion *string `json:"api_version,omitempty"`
	// Whether the phone number is new to the Twilio platform
	Beta *bool `json:"beta,omitempty"`
	// The SID of the Bundle resource associated with number
	BundleSid    *string                                         `json:"bundle_sid,omitempty"`
	Capabilities *ApiV2010AccountIncomingPhoneNumberCapabilities `json:"capabilities,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The emergency address configuration to use for emergency calling
	EmergencyAddressSid *string `json:"emergency_address_sid,omitempty"`
	// Whether the phone number is enabled for emergency calling
	EmergencyStatus *string `json:"emergency_status,omitempty"`
	// The string that you assigned to describe the resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The SID of the Identity resource associated with number
	IdentitySid *string `json:"identity_sid,omitempty"`
	// The phone number's origin. Can be twilio or hosted.
	Origin *string `json:"origin,omitempty"`
	// The phone number in E.164 format
	PhoneNumber *string `json:"phone_number,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The SID of the application that handles SMS messages sent to the phone number
	SmsApplicationSid *string `json:"sms_application_sid,omitempty"`
	// The HTTP method used with sms_fallback_url
	SmsFallbackMethod *string `json:"sms_fallback_method,omitempty"`
	// The URL that we call when an error occurs while retrieving or executing the TwiML
	SmsFallbackUrl *string `json:"sms_fallback_url,omitempty"`
	// The HTTP method to use with sms_url
	SmsMethod *string `json:"sms_method,omitempty"`
	// The URL we call when the phone number receives an incoming SMS message
	SmsUrl *string `json:"sms_url,omitempty"`
	Status *string `json:"status,omitempty"`
	// The URL to send status information to your application
	StatusCallback *string `json:"status_callback,omitempty"`
	// The HTTP method we use to call status_callback
	StatusCallbackMethod *string `json:"status_callback_method,omitempty"`
	// The SID of the Trunk that handles calls to the phone number
	TrunkSid *string `json:"trunk_sid,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
	// The SID of the application that handles calls to the phone number
	VoiceApplicationSid *string `json:"voice_application_sid,omitempty"`
	// Whether to lookup the caller's name
	VoiceCallerIdLookup *bool `json:"voice_caller_id_lookup,omitempty"`
	// The HTTP method used with voice_fallback_url
	VoiceFallbackMethod *string `json:"voice_fallback_method,omitempty"`
	// The URL we call when an error occurs in TwiML
	VoiceFallbackUrl *string `json:"voice_fallback_url,omitempty"`
	// The HTTP method used with the voice_url
	VoiceMethod      *string `json:"voice_method,omitempty"`
	VoiceReceiveMode *string `json:"voice_receive_mode,omitempty"`
	// The URL we call when the phone number receives a call
	VoiceUrl *string `json:"voice_url,omitempty"`
}

ApiV2010IncomingPhoneNumber struct for ApiV2010IncomingPhoneNumber

type ApiV2010IncomingPhoneNumberAssignedAddOn added in v0.14.0

type ApiV2010IncomingPhoneNumberAssignedAddOn struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// A JSON string that represents the current configuration
	Configuration *map[string]interface{} `json:"configuration,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// A short description of the Add-on functionality
	Description *string `json:"description,omitempty"`
	// The string that you assigned to describe the resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The SID of the Phone Number that installed this Add-on
	ResourceSid *string `json:"resource_sid,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// A list of related resources identified by their relative URIs
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
	// An application-defined string that uniquely identifies the resource
	UniqueName *string `json:"unique_name,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010IncomingPhoneNumberAssignedAddOn struct for ApiV2010IncomingPhoneNumberAssignedAddOn

type ApiV2010IncomingPhoneNumberAssignedAddOnExtension added in v0.14.0

type ApiV2010IncomingPhoneNumberAssignedAddOnExtension struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The SID that uniquely identifies the assigned Add-on installation
	AssignedAddOnSid *string `json:"assigned_add_on_sid,omitempty"`
	// Whether the Extension will be invoked
	Enabled *bool `json:"enabled,omitempty"`
	// The string that you assigned to describe the resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// A string that you assigned to describe the Product this Extension is used within
	ProductName *string `json:"product_name,omitempty"`
	// The SID of the Phone Number to which the Add-on is assigned
	ResourceSid *string `json:"resource_sid,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// An application-defined string that uniquely identifies the resource
	UniqueName *string `json:"unique_name,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010IncomingPhoneNumberAssignedAddOnExtension struct for ApiV2010IncomingPhoneNumberAssignedAddOnExtension

type ApiV2010IncomingPhoneNumberLocal added in v0.14.0

type ApiV2010IncomingPhoneNumberLocal struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// Whether the phone number requires an Address registered with Twilio.
	AddressRequirements *string `json:"address_requirements,omitempty"`
	// The SID of the Address resource associated with the phone number
	AddressSid *string `json:"address_sid,omitempty"`
	// The API version used to start a new TwiML session
	ApiVersion *string `json:"api_version,omitempty"`
	// Whether the phone number is new to the Twilio platform
	Beta *bool `json:"beta,omitempty"`
	// The SID of the Bundle resource associated with number
	BundleSid    *string                                         `json:"bundle_sid,omitempty"`
	Capabilities *ApiV2010AccountIncomingPhoneNumberCapabilities `json:"capabilities,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The emergency address configuration to use for emergency calling
	EmergencyAddressSid *string `json:"emergency_address_sid,omitempty"`
	// Whether the phone number is enabled for emergency calling
	EmergencyStatus *string `json:"emergency_status,omitempty"`
	// The string that you assigned to describe the resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The SID of the Identity resource associated with number
	IdentitySid *string `json:"identity_sid,omitempty"`
	// The phone number's origin. Can be twilio or hosted.
	Origin *string `json:"origin,omitempty"`
	// The phone number in E.164 format
	PhoneNumber *string `json:"phone_number,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The SID of the Application resource to handle SMS messages
	SmsApplicationSid *string `json:"sms_application_sid,omitempty"`
	// The HTTP method used with sms_fallback_url
	SmsFallbackMethod *string `json:"sms_fallback_method,omitempty"`
	// The URL that we call when an error occurs while retrieving or executing the TwiML
	SmsFallbackUrl *string `json:"sms_fallback_url,omitempty"`
	// The HTTP method to use with sms_url
	SmsMethod *string `json:"sms_method,omitempty"`
	// The URL we call when the phone number receives an incoming SMS message
	SmsUrl *string `json:"sms_url,omitempty"`
	Status *string `json:"status,omitempty"`
	// The URL to send status information to your application
	StatusCallback *string `json:"status_callback,omitempty"`
	// The HTTP method we use to call status_callback
	StatusCallbackMethod *string `json:"status_callback_method,omitempty"`
	// The SID of the Trunk that handles calls to the phone number
	TrunkSid *string `json:"trunk_sid,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
	// The SID of the application that handles calls to the phone number
	VoiceApplicationSid *string `json:"voice_application_sid,omitempty"`
	// Whether to lookup the caller's name
	VoiceCallerIdLookup *bool `json:"voice_caller_id_lookup,omitempty"`
	// The HTTP method used with voice_fallback_url
	VoiceFallbackMethod *string `json:"voice_fallback_method,omitempty"`
	// The URL we call when an error occurs in TwiML
	VoiceFallbackUrl *string `json:"voice_fallback_url,omitempty"`
	// The HTTP method used with the voice_url
	VoiceMethod      *string `json:"voice_method,omitempty"`
	VoiceReceiveMode *string `json:"voice_receive_mode,omitempty"`
	// The URL we call when this phone number receives a call
	VoiceUrl *string `json:"voice_url,omitempty"`
}

ApiV2010IncomingPhoneNumberLocal struct for ApiV2010IncomingPhoneNumberLocal

type ApiV2010IncomingPhoneNumberMobile added in v0.14.0

type ApiV2010IncomingPhoneNumberMobile struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// Whether the phone number requires an Address registered with Twilio.
	AddressRequirements *string `json:"address_requirements,omitempty"`
	// The SID of the Address resource associated with the phone number
	AddressSid *string `json:"address_sid,omitempty"`
	// The API version used to start a new TwiML session
	ApiVersion *string `json:"api_version,omitempty"`
	// Whether the phone number is new to the Twilio platform
	Beta *bool `json:"beta,omitempty"`
	// The SID of the Bundle resource associated with number
	BundleSid    *string                                         `json:"bundle_sid,omitempty"`
	Capabilities *ApiV2010AccountIncomingPhoneNumberCapabilities `json:"capabilities,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The emergency address configuration to use for emergency calling
	EmergencyAddressSid *string `json:"emergency_address_sid,omitempty"`
	// Whether the phone number is enabled for emergency calling
	EmergencyStatus *string `json:"emergency_status,omitempty"`
	// The string that you assigned to describe the resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The SID of the Identity resource associated with number
	IdentitySid *string `json:"identity_sid,omitempty"`
	// The phone number's origin. Can be twilio or hosted.
	Origin *string `json:"origin,omitempty"`
	// The phone number in E.164 format
	PhoneNumber *string `json:"phone_number,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The SID of the application that handles SMS messages sent to the phone number
	SmsApplicationSid *string `json:"sms_application_sid,omitempty"`
	// The HTTP method used with sms_fallback_url
	SmsFallbackMethod *string `json:"sms_fallback_method,omitempty"`
	// The URL that we call when an error occurs while retrieving or executing the TwiML
	SmsFallbackUrl *string `json:"sms_fallback_url,omitempty"`
	// The HTTP method to use with sms_url
	SmsMethod *string `json:"sms_method,omitempty"`
	// The URL we call when the phone number receives an incoming SMS message
	SmsUrl *string `json:"sms_url,omitempty"`
	Status *string `json:"status,omitempty"`
	// The URL to send status information to your application
	StatusCallback *string `json:"status_callback,omitempty"`
	// The HTTP method we use to call status_callback
	StatusCallbackMethod *string `json:"status_callback_method,omitempty"`
	// The SID of the Trunk that handles calls to the phone number
	TrunkSid *string `json:"trunk_sid,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
	// The SID of the application that handles calls to the phone number
	VoiceApplicationSid *string `json:"voice_application_sid,omitempty"`
	// Whether to lookup the caller's name
	VoiceCallerIdLookup *bool `json:"voice_caller_id_lookup,omitempty"`
	// The HTTP method used with voice_fallback_url
	VoiceFallbackMethod *string `json:"voice_fallback_method,omitempty"`
	// The URL we call when an error occurs in TwiML
	VoiceFallbackUrl *string `json:"voice_fallback_url,omitempty"`
	// The HTTP method used with the voice_url
	VoiceMethod      *string `json:"voice_method,omitempty"`
	VoiceReceiveMode *string `json:"voice_receive_mode,omitempty"`
	// The URL we call when the phone number receives a call
	VoiceUrl *string `json:"voice_url,omitempty"`
}

ApiV2010IncomingPhoneNumberMobile struct for ApiV2010IncomingPhoneNumberMobile

type ApiV2010IncomingPhoneNumberTollFree added in v0.14.0

type ApiV2010IncomingPhoneNumberTollFree struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// Whether the phone number requires an Address registered with Twilio.
	AddressRequirements *string `json:"address_requirements,omitempty"`
	// The SID of the Address resource associated with the phone number
	AddressSid *string `json:"address_sid,omitempty"`
	// The API version used to start a new TwiML session
	ApiVersion *string `json:"api_version,omitempty"`
	// Whether the phone number is new to the Twilio platform
	Beta *bool `json:"beta,omitempty"`
	// The SID of the Bundle resource associated with number
	BundleSid    *string                                         `json:"bundle_sid,omitempty"`
	Capabilities *ApiV2010AccountIncomingPhoneNumberCapabilities `json:"capabilities,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The emergency address configuration to use for emergency calling
	EmergencyAddressSid *string `json:"emergency_address_sid,omitempty"`
	// Whether the phone number is enabled for emergency calling
	EmergencyStatus *string `json:"emergency_status,omitempty"`
	// The string that you assigned to describe the resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The SID of the Identity resource associated with number
	IdentitySid *string `json:"identity_sid,omitempty"`
	// The phone number's origin. Can be twilio or hosted.
	Origin *string `json:"origin,omitempty"`
	// The phone number in E.164 format
	PhoneNumber *string `json:"phone_number,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The SID of the application that handles SMS messages sent to the phone number
	SmsApplicationSid *string `json:"sms_application_sid,omitempty"`
	// The HTTP method used with sms_fallback_url
	SmsFallbackMethod *string `json:"sms_fallback_method,omitempty"`
	// The URL that we call when an error occurs while retrieving or executing the TwiML
	SmsFallbackUrl *string `json:"sms_fallback_url,omitempty"`
	// The HTTP method to use with sms_url
	SmsMethod *string `json:"sms_method,omitempty"`
	// The URL we call when the phone number receives an incoming SMS message
	SmsUrl *string `json:"sms_url,omitempty"`
	Status *string `json:"status,omitempty"`
	// The URL to send status information to your application
	StatusCallback *string `json:"status_callback,omitempty"`
	// The HTTP method we use to call status_callback
	StatusCallbackMethod *string `json:"status_callback_method,omitempty"`
	// The SID of the Trunk that handles calls to the phone number
	TrunkSid *string `json:"trunk_sid,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
	// The SID of the application that handles calls to the phone number
	VoiceApplicationSid *string `json:"voice_application_sid,omitempty"`
	// Whether to lookup the caller's name
	VoiceCallerIdLookup *bool `json:"voice_caller_id_lookup,omitempty"`
	// The HTTP method used with voice_fallback_url
	VoiceFallbackMethod *string `json:"voice_fallback_method,omitempty"`
	// The URL we call when an error occurs in TwiML
	VoiceFallbackUrl *string `json:"voice_fallback_url,omitempty"`
	// The HTTP method used with the voice_url
	VoiceMethod      *string `json:"voice_method,omitempty"`
	VoiceReceiveMode *string `json:"voice_receive_mode,omitempty"`
	// The URL we call when the phone number receives a call
	VoiceUrl *string `json:"voice_url,omitempty"`
}

ApiV2010IncomingPhoneNumberTollFree struct for ApiV2010IncomingPhoneNumberTollFree

type ApiV2010Key added in v0.14.0

type ApiV2010Key struct {
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The string that you assigned to describe the resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
}

ApiV2010Key struct for ApiV2010Key

type ApiV2010Media added in v0.14.0

type ApiV2010Media struct {
	// The SID of the Account that created this resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The default mime-type of the media
	ContentType *string `json:"content_type,omitempty"`
	// The RFC 2822 date and time in GMT that this resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that this resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The SID of the resource that created the media
	ParentSid *string `json:"parent_sid,omitempty"`
	// The unique string that identifies this resource
	Sid *string `json:"sid,omitempty"`
	// The URI of this resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010Media struct for ApiV2010Media

type ApiV2010Member added in v0.14.0

type ApiV2010Member struct {
	// The SID of the Call the resource is associated with
	CallSid *string `json:"call_sid,omitempty"`
	// The date the member was enqueued
	DateEnqueued *string `json:"date_enqueued,omitempty"`
	// This member's current position in the queue.
	Position *int `json:"position,omitempty"`
	// The SID of the Queue the member is in
	QueueSid *string `json:"queue_sid,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
	// The number of seconds the member has been in the queue.
	WaitTime *int `json:"wait_time,omitempty"`
}

ApiV2010Member struct for ApiV2010Member

type ApiV2010Message added in v0.14.0

type ApiV2010Message struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to process the message
	ApiVersion *string `json:"api_version,omitempty"`
	// The message text
	Body *string `json:"body,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT when the message was sent
	DateSent *string `json:"date_sent,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The direction of the message
	Direction *string `json:"direction,omitempty"`
	// The error code associated with the message
	ErrorCode *int `json:"error_code,omitempty"`
	// The description of the error_code
	ErrorMessage *string `json:"error_message,omitempty"`
	// The phone number that initiated the message
	From *string `json:"from,omitempty"`
	// The SID of the Messaging Service used with the message.
	MessagingServiceSid *string `json:"messaging_service_sid,omitempty"`
	// The number of media files associated with the message
	NumMedia *string `json:"num_media,omitempty"`
	// The number of messages used to deliver the message body
	NumSegments *string `json:"num_segments,omitempty"`
	// The amount billed for the message
	Price *string `json:"price,omitempty"`
	// The currency in which price is measured
	PriceUnit *string `json:"price_unit,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The status of the message
	Status *string `json:"status,omitempty"`
	// A list of related resources identified by their relative URIs
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
	// The phone number that received the message
	To *string `json:"to,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010Message struct for ApiV2010Message

type ApiV2010MessageFeedback added in v0.14.0

type ApiV2010MessageFeedback struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The SID of the Message resource for which the feedback was provided
	MessageSid *string `json:"message_sid,omitempty"`
	// Whether the feedback has arrived
	Outcome *string `json:"outcome,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010MessageFeedback struct for ApiV2010MessageFeedback

type ApiV2010NewKey added in v0.14.0

type ApiV2010NewKey struct {
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The string that you assigned to describe the resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The secret your application uses to sign Access Tokens and to authenticate to the REST API.
	Secret *string `json:"secret,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
}

ApiV2010NewKey struct for ApiV2010NewKey

type ApiV2010NewSigningKey added in v0.14.0

type ApiV2010NewSigningKey struct {
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The string that you assigned to describe the resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The secret your application uses to sign Access Tokens and to authenticate to the REST API.
	Secret *string `json:"secret,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
}

ApiV2010NewSigningKey struct for ApiV2010NewSigningKey

type ApiV2010Notification added in v0.14.0

type ApiV2010Notification struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to generate the notification
	ApiVersion *string `json:"api_version,omitempty"`
	// The SID of the Call the resource is associated with
	CallSid *string `json:"call_sid,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// A unique error code corresponding to the notification
	ErrorCode *string `json:"error_code,omitempty"`
	// An integer log level
	Log *string `json:"log,omitempty"`
	// The date the notification was generated
	MessageDate *string `json:"message_date,omitempty"`
	// The text of the notification
	MessageText *string `json:"message_text,omitempty"`
	// A URL for more information about the error code
	MoreInfo *string `json:"more_info,omitempty"`
	// HTTP method used with the request url
	RequestMethod *string `json:"request_method,omitempty"`
	// URL of the resource that generated the notification
	RequestUrl *string `json:"request_url,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010Notification struct for ApiV2010Notification

type ApiV2010NotificationInstance added in v0.14.0

type ApiV2010NotificationInstance struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to generate the notification
	ApiVersion *string `json:"api_version,omitempty"`
	// The SID of the Call the resource is associated with
	CallSid *string `json:"call_sid,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// A unique error code corresponding to the notification
	ErrorCode *string `json:"error_code,omitempty"`
	// An integer log level
	Log *string `json:"log,omitempty"`
	// The date the notification was generated
	MessageDate *string `json:"message_date,omitempty"`
	// The text of the notification
	MessageText *string `json:"message_text,omitempty"`
	// A URL for more information about the error code
	MoreInfo *string `json:"more_info,omitempty"`
	// HTTP method used with the request url
	RequestMethod *string `json:"request_method,omitempty"`
	// URL of the resource that generated the notification
	RequestUrl *string `json:"request_url,omitempty"`
	// Twilio-generated HTTP variables sent to the server
	RequestVariables *string `json:"request_variables,omitempty"`
	// The HTTP body returned by your server
	ResponseBody *string `json:"response_body,omitempty"`
	// The HTTP headers returned by your server
	ResponseHeaders *string `json:"response_headers,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010NotificationInstance struct for ApiV2010NotificationInstance

type ApiV2010OutgoingCallerId added in v0.14.0

type ApiV2010OutgoingCallerId struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The string that you assigned to describe the resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The phone number in E.164 format
	PhoneNumber *string `json:"phone_number,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010OutgoingCallerId struct for ApiV2010OutgoingCallerId

type ApiV2010Participant added in v0.14.0

type ApiV2010Participant struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The SID of the Call the resource is associated with
	CallSid *string `json:"call_sid,omitempty"`
	// The SID of the participant who is being `coached`
	CallSidToCoach *string `json:"call_sid_to_coach,omitempty"`
	// Indicates if the participant changed to coach
	Coaching *bool `json:"coaching,omitempty"`
	// The SID of the conference the participant is in
	ConferenceSid *string `json:"conference_sid,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// Whether the conference ends when the participant leaves
	EndConferenceOnExit *bool `json:"end_conference_on_exit,omitempty"`
	// Whether the participant is on hold
	Hold *bool `json:"hold,omitempty"`
	// The label of this participant
	Label *string `json:"label,omitempty"`
	// Whether the participant is muted
	Muted *bool `json:"muted,omitempty"`
	// Whether the conference starts when the participant joins the conference
	StartConferenceOnEnter *bool `json:"start_conference_on_enter,omitempty"`
	// The status of the participant's call in a session
	Status *string `json:"status,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010Participant struct for ApiV2010Participant

type ApiV2010Payments added in v0.14.0

type ApiV2010Payments struct {
	// The SID of the Account that created the Payments resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The SID of the Call the resource is associated with.
	CallSid *string `json:"call_sid,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The SID of the Payments resource.
	Sid *string `json:"sid,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010Payments struct for ApiV2010Payments

type ApiV2010Queue added in v0.14.0

type ApiV2010Queue struct {
	// The SID of the Account that created this resource
	AccountSid *string `json:"account_sid,omitempty"`
	// Average wait time of members in the queue
	AverageWaitTime *int `json:"average_wait_time,omitempty"`
	// The number of calls currently in the queue.
	CurrentSize *int `json:"current_size,omitempty"`
	// The RFC 2822 date and time in GMT that this resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that this resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// A string that you assigned to describe this resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The max number of calls allowed in the queue
	MaxSize *int `json:"max_size,omitempty"`
	// The unique string that identifies this resource
	Sid *string `json:"sid,omitempty"`
	// The URI of this resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010Queue struct for ApiV2010Queue

type ApiV2010Recording added in v0.14.0

type ApiV2010Recording struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used during the recording.
	ApiVersion *string `json:"api_version,omitempty"`
	// The SID of the Call the resource is associated with
	CallSid *string `json:"call_sid,omitempty"`
	// The number of channels in the final recording file as an integer.
	Channels *int `json:"channels,omitempty"`
	// The unique ID for the conference associated with the recording.
	ConferenceSid *string `json:"conference_sid,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The length of the recording in seconds.
	Duration *string `json:"duration,omitempty"`
	// How to decrypt the recording.
	EncryptionDetails *map[string]interface{} `json:"encryption_details,omitempty"`
	// More information about why the recording is missing, if status is `absent`.
	ErrorCode *int `json:"error_code,omitempty"`
	// The one-time cost of creating the recording.
	Price *string `json:"price,omitempty"`
	// The currency used in the price property.
	PriceUnit *string `json:"price_unit,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// How the recording was created
	Source *string `json:"source,omitempty"`
	// The start time of the recording, given in RFC 2822 format
	StartTime *string `json:"start_time,omitempty"`
	// The status of the recording.
	Status *string `json:"status,omitempty"`
	// A list of related resources identified by their relative URIs
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010Recording struct for ApiV2010Recording

type ApiV2010RecordingAddOnResult added in v0.14.0

type ApiV2010RecordingAddOnResult struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The SID of the Add-on configuration
	AddOnConfigurationSid *string `json:"add_on_configuration_sid,omitempty"`
	// The SID of the Add-on to which the result belongs
	AddOnSid *string `json:"add_on_sid,omitempty"`
	// The date and time in GMT that the result was completed
	DateCompleted *string `json:"date_completed,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The SID of the recording to which the AddOnResult resource belongs
	ReferenceSid *string `json:"reference_sid,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The status of the result
	Status *string `json:"status,omitempty"`
	// A list of related resources identified by their relative URIs
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
}

ApiV2010RecordingAddOnResult struct for ApiV2010RecordingAddOnResult

type ApiV2010RecordingAddOnResultPayload added in v0.14.0

type ApiV2010RecordingAddOnResultPayload struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The SID of the Add-on configuration
	AddOnConfigurationSid *string `json:"add_on_configuration_sid,omitempty"`
	// The SID of the AddOnResult to which the payload belongs
	AddOnResultSid *string `json:"add_on_result_sid,omitempty"`
	// The SID of the Add-on to which the result belongs
	AddOnSid *string `json:"add_on_sid,omitempty"`
	// The MIME type of the payload
	ContentType *string `json:"content_type,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The string that describes the payload
	Label *string `json:"label,omitempty"`
	// The SID of the recording to which the AddOnResult resource that contains the payload belongs
	ReferenceSid *string `json:"reference_sid,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// A list of related resources identified by their relative URIs
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
}

ApiV2010RecordingAddOnResultPayload struct for ApiV2010RecordingAddOnResultPayload

type ApiV2010RecordingTranscription added in v0.14.0

type ApiV2010RecordingTranscription struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to create the transcription
	ApiVersion *string `json:"api_version,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The duration of the transcribed audio in seconds.
	Duration *string `json:"duration,omitempty"`
	// The charge for the transcription
	Price *float32 `json:"price,omitempty"`
	// The currency in which price is measured
	PriceUnit *string `json:"price_unit,omitempty"`
	// The SID that identifies the transcription's recording
	RecordingSid *string `json:"recording_sid,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The status of the transcription
	Status *string `json:"status,omitempty"`
	// The text content of the transcription.
	TranscriptionText *string `json:"transcription_text,omitempty"`
	// The transcription type
	Type *string `json:"type,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010RecordingTranscription struct for ApiV2010RecordingTranscription

type ApiV2010ShortCode added in v0.14.0

type ApiV2010ShortCode struct {
	// The SID of the Account that created this resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to start a new TwiML session
	ApiVersion *string `json:"api_version,omitempty"`
	// The RFC 2822 date and time in GMT that this resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that this resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// A string that you assigned to describe this resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The short code. e.g., 894546.
	ShortCode *string `json:"short_code,omitempty"`
	// The unique string that identifies this resource
	Sid *string `json:"sid,omitempty"`
	// HTTP method we use to call the sms_fallback_url
	SmsFallbackMethod *string `json:"sms_fallback_method,omitempty"`
	// URL Twilio will request if an error occurs in executing TwiML
	SmsFallbackUrl *string `json:"sms_fallback_url,omitempty"`
	// HTTP method to use when requesting the sms url
	SmsMethod *string `json:"sms_method,omitempty"`
	// URL we call when receiving an incoming SMS message to this short code
	SmsUrl *string `json:"sms_url,omitempty"`
	// The URI of this resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010ShortCode struct for ApiV2010ShortCode

type ApiV2010SigningKey added in v0.14.0

type ApiV2010SigningKey struct {
	DateCreated  *string `json:"date_created,omitempty"`
	DateUpdated  *string `json:"date_updated,omitempty"`
	FriendlyName *string `json:"friendly_name,omitempty"`
	Sid          *string `json:"sid,omitempty"`
}

ApiV2010SigningKey struct for ApiV2010SigningKey

type ApiV2010SipAuthCallsCredentialListMapping added in v0.14.0

type ApiV2010SipAuthCallsCredentialListMapping struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The string that you assigned to describe the resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
}

ApiV2010SipAuthCallsCredentialListMapping struct for ApiV2010SipAuthCallsCredentialListMapping

type ApiV2010SipAuthCallsIpAccessControlListMapping added in v0.14.0

type ApiV2010SipAuthCallsIpAccessControlListMapping struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The string that you assigned to describe the resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
}

ApiV2010SipAuthCallsIpAccessControlListMapping struct for ApiV2010SipAuthCallsIpAccessControlListMapping

type ApiV2010SipAuthRegistrationsCredentialListMapping added in v0.14.0

type ApiV2010SipAuthRegistrationsCredentialListMapping struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The string that you assigned to describe the resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
}

ApiV2010SipAuthRegistrationsCredentialListMapping struct for ApiV2010SipAuthRegistrationsCredentialListMapping

type ApiV2010SipCredential added in v0.14.0

type ApiV2010SipCredential struct {
	// The unique id of the Account that is responsible for this resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The unique id that identifies the credential list that includes this credential
	CredentialListSid *string `json:"credential_list_sid,omitempty"`
	// The date that this resource was created, given as GMT in RFC 2822 format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date that this resource was last updated, given as GMT in RFC 2822 format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// A 34 character string that uniquely identifies this resource.
	Sid *string `json:"sid,omitempty"`
	// The URI for this resource, relative to https://api.twilio.com
	Uri *string `json:"uri,omitempty"`
	// The username for this credential.
	Username *string `json:"username,omitempty"`
}

ApiV2010SipCredential struct for ApiV2010SipCredential

type ApiV2010SipCredentialList added in v0.14.0

type ApiV2010SipCredentialList struct {
	// The unique sid that identifies this account
	AccountSid *string `json:"account_sid,omitempty"`
	// The date this resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The date this resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// Human readable descriptive text
	FriendlyName *string `json:"friendly_name,omitempty"`
	// A string that uniquely identifies this credential
	Sid *string `json:"sid,omitempty"`
	// The list of credentials associated with this credential list.
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
	// The URI for this resource
	Uri *string `json:"uri,omitempty"`
}

ApiV2010SipCredentialList struct for ApiV2010SipCredentialList

type ApiV2010SipCredentialListMapping added in v0.14.0

type ApiV2010SipCredentialListMapping struct {
	// The unique id of the Account that is responsible for this resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The date that this resource was created, given as GMT in RFC 2822 format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date that this resource was last updated, given as GMT in RFC 2822 format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The unique string that identifies the SipDomain resource.
	DomainSid *string `json:"domain_sid,omitempty"`
	// A human readable descriptive text for this resource, up to 64 characters long.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// A 34 character string that uniquely identifies this resource.
	Sid *string `json:"sid,omitempty"`
	// The URI for this resource, relative to https://api.twilio.com
	Uri *string `json:"uri,omitempty"`
}

ApiV2010SipCredentialListMapping struct for ApiV2010SipCredentialListMapping

type ApiV2010SipDomain added in v0.14.0

type ApiV2010SipDomain struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to process the call
	ApiVersion *string `json:"api_version,omitempty"`
	// The types of authentication mapped to the domain
	AuthType *string `json:"auth_type,omitempty"`
	// The SID of the BYOC Trunk resource.
	ByocTrunkSid *string `json:"byoc_trunk_sid,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The unique address on Twilio to route SIP traffic
	DomainName *string `json:"domain_name,omitempty"`
	// Whether an emergency caller sid is configured for the domain.
	EmergencyCallerSid *string `json:"emergency_caller_sid,omitempty"`
	// Whether emergency calling is enabled for the domain.
	EmergencyCallingEnabled *bool `json:"emergency_calling_enabled,omitempty"`
	// The string that you assigned to describe the resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// Whether secure SIP is enabled for the domain
	Secure *bool `json:"secure,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// Whether SIP registration is allowed
	SipRegistration *bool `json:"sip_registration,omitempty"`
	// A list mapping resources associated with the SIP Domain resource
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
	// The HTTP method used with voice_fallback_url
	VoiceFallbackMethod *string `json:"voice_fallback_method,omitempty"`
	// The URL we call when an error occurs while executing TwiML
	VoiceFallbackUrl *string `json:"voice_fallback_url,omitempty"`
	// The HTTP method to use with voice_url
	VoiceMethod *string `json:"voice_method,omitempty"`
	// The HTTP method we use to call voice_status_callback_url
	VoiceStatusCallbackMethod *string `json:"voice_status_callback_method,omitempty"`
	// The URL that we call with status updates
	VoiceStatusCallbackUrl *string `json:"voice_status_callback_url,omitempty"`
	// The URL we call when receiving a call
	VoiceUrl *string `json:"voice_url,omitempty"`
}

ApiV2010SipDomain struct for ApiV2010SipDomain

type ApiV2010SipIpAccessControlList added in v0.14.0

type ApiV2010SipIpAccessControlList struct {
	// The unique sid that identifies this account
	AccountSid *string `json:"account_sid,omitempty"`
	// The date this resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The date this resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// A human readable description of this resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// A string that uniquely identifies this resource
	Sid *string `json:"sid,omitempty"`
	// The IP addresses associated with this resource.
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
	// The URI for this resource
	Uri *string `json:"uri,omitempty"`
}

ApiV2010SipIpAccessControlList struct for ApiV2010SipIpAccessControlList

type ApiV2010SipIpAccessControlListMapping added in v0.14.0

type ApiV2010SipIpAccessControlListMapping struct {
	// The unique id of the Account that is responsible for this resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The date that this resource was created, given as GMT in RFC 2822 format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date that this resource was last updated, given as GMT in RFC 2822 format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The unique string that identifies the SipDomain resource.
	DomainSid *string `json:"domain_sid,omitempty"`
	// A human readable descriptive text for this resource, up to 64 characters long.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// A 34 character string that uniquely identifies this resource.
	Sid *string `json:"sid,omitempty"`
	// The URI for this resource, relative to https://api.twilio.com
	Uri *string `json:"uri,omitempty"`
}

ApiV2010SipIpAccessControlListMapping struct for ApiV2010SipIpAccessControlListMapping

type ApiV2010SipIpAddress added in v0.14.0

type ApiV2010SipIpAddress struct {
	// The unique id of the Account that is responsible for this resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// An integer representing the length of the CIDR prefix to use with this IP address when accepting traffic. By default the entire IP address is used.
	CidrPrefixLength *int `json:"cidr_prefix_length,omitempty"`
	// The date that this resource was created, given as GMT in RFC 2822 format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date that this resource was last updated, given as GMT in RFC 2822 format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// A human readable descriptive text for this resource, up to 64 characters long.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The unique id of the IpAccessControlList resource that includes this resource.
	IpAccessControlListSid *string `json:"ip_access_control_list_sid,omitempty"`
	// An IP address in dotted decimal notation from which you want to accept traffic. Any SIP requests from this IP address will be allowed by Twilio. IPv4 only supported today.
	IpAddress *string `json:"ip_address,omitempty"`
	// A 34 character string that uniquely identifies this resource.
	Sid *string `json:"sid,omitempty"`
	// The URI for this resource, relative to https://api.twilio.com
	Uri *string `json:"uri,omitempty"`
}

ApiV2010SipIpAddress struct for ApiV2010SipIpAddress

type ApiV2010Token added in v0.14.0

type ApiV2010Token struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// An array representing the ephemeral credentials
	IceServers *[]ApiV2010AccountTokenIceServers `json:"ice_servers,omitempty"`
	// The temporary password used for authenticating
	Password *string `json:"password,omitempty"`
	// The duration in seconds the credentials are valid
	Ttl *string `json:"ttl,omitempty"`
	// The temporary username that uniquely identifies a Token
	Username *string `json:"username,omitempty"`
}

ApiV2010Token struct for ApiV2010Token

type ApiV2010Transcription added in v0.14.0

type ApiV2010Transcription struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to create the transcription
	ApiVersion *string `json:"api_version,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The duration of the transcribed audio in seconds.
	Duration *string `json:"duration,omitempty"`
	// The charge for the transcription
	Price *float32 `json:"price,omitempty"`
	// The currency in which price is measured
	PriceUnit *string `json:"price_unit,omitempty"`
	// The SID that identifies the transcription's recording
	RecordingSid *string `json:"recording_sid,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The status of the transcription
	Status *string `json:"status,omitempty"`
	// The text content of the transcription.
	TranscriptionText *string `json:"transcription_text,omitempty"`
	// The transcription type
	Type *string `json:"type,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010Transcription struct for ApiV2010Transcription

type ApiV2010UsageRecord added in v0.14.0

type ApiV2010UsageRecord struct {
	// The SID of the Account accrued the usage
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to create the resource
	ApiVersion *string `json:"api_version,omitempty"`
	// Usage records up to date as of this timestamp
	AsOf *string `json:"as_of,omitempty"`
	// The category of usage
	Category *string `json:"category,omitempty"`
	// The number of usage events
	Count *string `json:"count,omitempty"`
	// The units in which count is measured
	CountUnit *string `json:"count_unit,omitempty"`
	// A plain-language description of the usage category
	Description *string `json:"description,omitempty"`
	// The last date for which usage is included in the UsageRecord
	EndDate *string `json:"end_date,omitempty"`
	// The total price of the usage
	Price *float32 `json:"price,omitempty"`
	// The currency in which `price` is measured
	PriceUnit *string `json:"price_unit,omitempty"`
	// The first date for which usage is included in this UsageRecord
	StartDate *string `json:"start_date,omitempty"`
	// A list of related resources identified by their relative URIs
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
	// The amount of usage
	Usage *string `json:"usage,omitempty"`
	// The units in which usage is measured
	UsageUnit *string `json:"usage_unit,omitempty"`
}

ApiV2010UsageRecord struct for ApiV2010UsageRecord

type ApiV2010UsageRecordAllTime added in v0.14.0

type ApiV2010UsageRecordAllTime struct {
	// The SID of the Account accrued the usage
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to create the resource
	ApiVersion *string `json:"api_version,omitempty"`
	// Usage records up to date as of this timestamp
	AsOf *string `json:"as_of,omitempty"`
	// The category of usage
	Category *string `json:"category,omitempty"`
	// The number of usage events
	Count *string `json:"count,omitempty"`
	// The units in which count is measured
	CountUnit *string `json:"count_unit,omitempty"`
	// A plain-language description of the usage category
	Description *string `json:"description,omitempty"`
	// The last date for which usage is included in the UsageRecord
	EndDate *string `json:"end_date,omitempty"`
	// The total price of the usage
	Price *float32 `json:"price,omitempty"`
	// The currency in which `price` is measured
	PriceUnit *string `json:"price_unit,omitempty"`
	// The first date for which usage is included in this UsageRecord
	StartDate *string `json:"start_date,omitempty"`
	// A list of related resources identified by their relative URIs
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
	// The amount of usage
	Usage *string `json:"usage,omitempty"`
	// The units in which usage is measured
	UsageUnit *string `json:"usage_unit,omitempty"`
}

ApiV2010UsageRecordAllTime struct for ApiV2010UsageRecordAllTime

type ApiV2010UsageRecordDaily added in v0.14.0

type ApiV2010UsageRecordDaily struct {
	// The SID of the Account accrued the usage
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to create the resource
	ApiVersion *string `json:"api_version,omitempty"`
	// Usage records up to date as of this timestamp
	AsOf *string `json:"as_of,omitempty"`
	// The category of usage
	Category *string `json:"category,omitempty"`
	// The number of usage events
	Count *string `json:"count,omitempty"`
	// The units in which count is measured
	CountUnit *string `json:"count_unit,omitempty"`
	// A plain-language description of the usage category
	Description *string `json:"description,omitempty"`
	// The last date for which usage is included in the UsageRecord
	EndDate *string `json:"end_date,omitempty"`
	// The total price of the usage
	Price *float32 `json:"price,omitempty"`
	// The currency in which `price` is measured
	PriceUnit *string `json:"price_unit,omitempty"`
	// The first date for which usage is included in this UsageRecord
	StartDate *string `json:"start_date,omitempty"`
	// A list of related resources identified by their relative URIs
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
	// The amount of usage
	Usage *string `json:"usage,omitempty"`
	// The units in which usage is measured
	UsageUnit *string `json:"usage_unit,omitempty"`
}

ApiV2010UsageRecordDaily struct for ApiV2010UsageRecordDaily

type ApiV2010UsageRecordLastMonth added in v0.14.0

type ApiV2010UsageRecordLastMonth struct {
	// The SID of the Account accrued the usage
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to create the resource
	ApiVersion *string `json:"api_version,omitempty"`
	// Usage records up to date as of this timestamp
	AsOf *string `json:"as_of,omitempty"`
	// The category of usage
	Category *string `json:"category,omitempty"`
	// The number of usage events
	Count *string `json:"count,omitempty"`
	// The units in which count is measured
	CountUnit *string `json:"count_unit,omitempty"`
	// A plain-language description of the usage category
	Description *string `json:"description,omitempty"`
	// The last date for which usage is included in the UsageRecord
	EndDate *string `json:"end_date,omitempty"`
	// The total price of the usage
	Price *float32 `json:"price,omitempty"`
	// The currency in which `price` is measured
	PriceUnit *string `json:"price_unit,omitempty"`
	// The first date for which usage is included in this UsageRecord
	StartDate *string `json:"start_date,omitempty"`
	// A list of related resources identified by their relative URIs
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
	// The amount of usage
	Usage *string `json:"usage,omitempty"`
	// The units in which usage is measured
	UsageUnit *string `json:"usage_unit,omitempty"`
}

ApiV2010UsageRecordLastMonth struct for ApiV2010UsageRecordLastMonth

type ApiV2010UsageRecordMonthly added in v0.14.0

type ApiV2010UsageRecordMonthly struct {
	// The SID of the Account accrued the usage
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to create the resource
	ApiVersion *string `json:"api_version,omitempty"`
	// Usage records up to date as of this timestamp
	AsOf *string `json:"as_of,omitempty"`
	// The category of usage
	Category *string `json:"category,omitempty"`
	// The number of usage events
	Count *string `json:"count,omitempty"`
	// The units in which count is measured
	CountUnit *string `json:"count_unit,omitempty"`
	// A plain-language description of the usage category
	Description *string `json:"description,omitempty"`
	// The last date for which usage is included in the UsageRecord
	EndDate *string `json:"end_date,omitempty"`
	// The total price of the usage
	Price *float32 `json:"price,omitempty"`
	// The currency in which `price` is measured
	PriceUnit *string `json:"price_unit,omitempty"`
	// The first date for which usage is included in this UsageRecord
	StartDate *string `json:"start_date,omitempty"`
	// A list of related resources identified by their relative URIs
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
	// The amount of usage
	Usage *string `json:"usage,omitempty"`
	// The units in which usage is measured
	UsageUnit *string `json:"usage_unit,omitempty"`
}

ApiV2010UsageRecordMonthly struct for ApiV2010UsageRecordMonthly

type ApiV2010UsageRecordThisMonth added in v0.14.0

type ApiV2010UsageRecordThisMonth struct {
	// The SID of the Account accrued the usage
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to create the resource
	ApiVersion *string `json:"api_version,omitempty"`
	// Usage records up to date as of this timestamp
	AsOf *string `json:"as_of,omitempty"`
	// The category of usage
	Category *string `json:"category,omitempty"`
	// The number of usage events
	Count *string `json:"count,omitempty"`
	// The units in which count is measured
	CountUnit *string `json:"count_unit,omitempty"`
	// A plain-language description of the usage category
	Description *string `json:"description,omitempty"`
	// The last date for which usage is included in the UsageRecord
	EndDate *string `json:"end_date,omitempty"`
	// The total price of the usage
	Price *float32 `json:"price,omitempty"`
	// The currency in which `price` is measured
	PriceUnit *string `json:"price_unit,omitempty"`
	// The first date for which usage is included in this UsageRecord
	StartDate *string `json:"start_date,omitempty"`
	// A list of related resources identified by their relative URIs
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
	// The amount of usage
	Usage *string `json:"usage,omitempty"`
	// The units in which usage is measured
	UsageUnit *string `json:"usage_unit,omitempty"`
}

ApiV2010UsageRecordThisMonth struct for ApiV2010UsageRecordThisMonth

type ApiV2010UsageRecordToday added in v0.14.0

type ApiV2010UsageRecordToday struct {
	// The SID of the Account accrued the usage
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to create the resource
	ApiVersion *string `json:"api_version,omitempty"`
	// Usage records up to date as of this timestamp
	AsOf *string `json:"as_of,omitempty"`
	// The category of usage
	Category *string `json:"category,omitempty"`
	// The number of usage events
	Count *string `json:"count,omitempty"`
	// The units in which count is measured
	CountUnit *string `json:"count_unit,omitempty"`
	// A plain-language description of the usage category
	Description *string `json:"description,omitempty"`
	// The last date for which usage is included in the UsageRecord
	EndDate *string `json:"end_date,omitempty"`
	// The total price of the usage
	Price *float32 `json:"price,omitempty"`
	// The currency in which `price` is measured
	PriceUnit *string `json:"price_unit,omitempty"`
	// The first date for which usage is included in this UsageRecord
	StartDate *string `json:"start_date,omitempty"`
	// A list of related resources identified by their relative URIs
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
	// The amount of usage
	Usage *string `json:"usage,omitempty"`
	// The units in which usage is measured
	UsageUnit *string `json:"usage_unit,omitempty"`
}

ApiV2010UsageRecordToday struct for ApiV2010UsageRecordToday

type ApiV2010UsageRecordYearly added in v0.14.0

type ApiV2010UsageRecordYearly struct {
	// The SID of the Account accrued the usage
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to create the resource
	ApiVersion *string `json:"api_version,omitempty"`
	// Usage records up to date as of this timestamp
	AsOf *string `json:"as_of,omitempty"`
	// The category of usage
	Category *string `json:"category,omitempty"`
	// The number of usage events
	Count *string `json:"count,omitempty"`
	// The units in which count is measured
	CountUnit *string `json:"count_unit,omitempty"`
	// A plain-language description of the usage category
	Description *string `json:"description,omitempty"`
	// The last date for which usage is included in the UsageRecord
	EndDate *string `json:"end_date,omitempty"`
	// The total price of the usage
	Price *float32 `json:"price,omitempty"`
	// The currency in which `price` is measured
	PriceUnit *string `json:"price_unit,omitempty"`
	// The first date for which usage is included in this UsageRecord
	StartDate *string `json:"start_date,omitempty"`
	// A list of related resources identified by their relative URIs
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
	// The amount of usage
	Usage *string `json:"usage,omitempty"`
	// The units in which usage is measured
	UsageUnit *string `json:"usage_unit,omitempty"`
}

ApiV2010UsageRecordYearly struct for ApiV2010UsageRecordYearly

type ApiV2010UsageRecordYesterday added in v0.14.0

type ApiV2010UsageRecordYesterday struct {
	// The SID of the Account accrued the usage
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to create the resource
	ApiVersion *string `json:"api_version,omitempty"`
	// Usage records up to date as of this timestamp
	AsOf *string `json:"as_of,omitempty"`
	// The category of usage
	Category *string `json:"category,omitempty"`
	// The number of usage events
	Count *string `json:"count,omitempty"`
	// The units in which count is measured
	CountUnit *string `json:"count_unit,omitempty"`
	// A plain-language description of the usage category
	Description *string `json:"description,omitempty"`
	// The last date for which usage is included in the UsageRecord
	EndDate *string `json:"end_date,omitempty"`
	// The total price of the usage
	Price *float32 `json:"price,omitempty"`
	// The currency in which `price` is measured
	PriceUnit *string `json:"price_unit,omitempty"`
	// The first date for which usage is included in this UsageRecord
	StartDate *string `json:"start_date,omitempty"`
	// A list of related resources identified by their relative URIs
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
	// The amount of usage
	Usage *string `json:"usage,omitempty"`
	// The units in which usage is measured
	UsageUnit *string `json:"usage_unit,omitempty"`
}

ApiV2010UsageRecordYesterday struct for ApiV2010UsageRecordYesterday

type ApiV2010UsageTrigger added in v0.14.0

type ApiV2010UsageTrigger struct {
	// The SID of the Account that this trigger monitors
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to create the resource
	ApiVersion *string `json:"api_version,omitempty"`
	// The HTTP method we use to call callback_url
	CallbackMethod *string `json:"callback_method,omitempty"`
	// he URL we call when the trigger fires
	CallbackUrl *string `json:"callback_url,omitempty"`
	// The current value of the field the trigger is watching
	CurrentValue *string `json:"current_value,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was created
	DateCreated *string `json:"date_created,omitempty"`
	// The RFC 2822 date and time in GMT that the trigger was last fired
	DateFired *string `json:"date_fired,omitempty"`
	// The RFC 2822 date and time in GMT that the resource was last updated
	DateUpdated *string `json:"date_updated,omitempty"`
	// The string that you assigned to describe the trigger
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The frequency of a recurring UsageTrigger
	Recurring *string `json:"recurring,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The field in the UsageRecord resource that fires the trigger
	TriggerBy *string `json:"trigger_by,omitempty"`
	// The value at which the trigger will fire
	TriggerValue *string `json:"trigger_value,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
	// The usage category the trigger watches
	UsageCategory *string `json:"usage_category,omitempty"`
	// The URI of the UsageRecord resource this trigger watches
	UsageRecordUri *string `json:"usage_record_uri,omitempty"`
}

ApiV2010UsageTrigger struct for ApiV2010UsageTrigger

type ApiV2010ValidationRequest added in v0.14.0

type ApiV2010ValidationRequest struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The SID of the Call the resource is associated with
	CallSid *string `json:"call_sid,omitempty"`
	// The string that you assigned to describe the resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The phone number to verify in E.164 format
	PhoneNumber *string `json:"phone_number,omitempty"`
	// The 6 digit validation code that someone must enter to validate the Caller ID  when `phone_number` is called
	ValidationCode *string `json:"validation_code,omitempty"`
}

ApiV2010ValidationRequest struct for ApiV2010ValidationRequest

type CreateAccountParams

type CreateAccountParams struct {
	// A human readable description of the account to create, defaults to `SubAccount Created at {YYYY-MM-DD HH:MM meridian}`
	FriendlyName *string `json:"FriendlyName,omitempty"`
}

Optional parameters for the method 'CreateAccount'

func (*CreateAccountParams) SetFriendlyName

func (params *CreateAccountParams) SetFriendlyName(FriendlyName string) *CreateAccountParams

type CreateAddressParams

type CreateAddressParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will be responsible for the new Address resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// Whether we should automatically correct the address. Can be: `true` or `false` and the default is `true`. If empty or `true`, we will correct the address you provide if necessary. If `false`, we won't alter the address you provide.
	AutoCorrectAddress *bool `json:"AutoCorrectAddress,omitempty"`
	// The city of the new address.
	City *string `json:"City,omitempty"`
	// The name to associate with the new address.
	CustomerName *string `json:"CustomerName,omitempty"`
	// Whether to enable emergency calling on the new address. Can be: `true` or `false`.
	EmergencyEnabled *bool `json:"EmergencyEnabled,omitempty"`
	// A descriptive string that you create to describe the new address. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The ISO country code of the new address.
	IsoCountry *string `json:"IsoCountry,omitempty"`
	// The postal code of the new address.
	PostalCode *string `json:"PostalCode,omitempty"`
	// The state or region of the new address.
	Region *string `json:"Region,omitempty"`
	// The number and street address of the new address.
	Street *string `json:"Street,omitempty"`
}

Optional parameters for the method 'CreateAddress'

func (*CreateAddressParams) SetAutoCorrectAddress

func (params *CreateAddressParams) SetAutoCorrectAddress(AutoCorrectAddress bool) *CreateAddressParams

func (*CreateAddressParams) SetCity

func (params *CreateAddressParams) SetCity(City string) *CreateAddressParams

func (*CreateAddressParams) SetCustomerName

func (params *CreateAddressParams) SetCustomerName(CustomerName string) *CreateAddressParams

func (*CreateAddressParams) SetEmergencyEnabled

func (params *CreateAddressParams) SetEmergencyEnabled(EmergencyEnabled bool) *CreateAddressParams

func (*CreateAddressParams) SetFriendlyName

func (params *CreateAddressParams) SetFriendlyName(FriendlyName string) *CreateAddressParams

func (*CreateAddressParams) SetIsoCountry

func (params *CreateAddressParams) SetIsoCountry(IsoCountry string) *CreateAddressParams

func (*CreateAddressParams) SetPathAccountSid

func (params *CreateAddressParams) SetPathAccountSid(PathAccountSid string) *CreateAddressParams

func (*CreateAddressParams) SetPostalCode

func (params *CreateAddressParams) SetPostalCode(PostalCode string) *CreateAddressParams

func (*CreateAddressParams) SetRegion

func (params *CreateAddressParams) SetRegion(Region string) *CreateAddressParams

func (*CreateAddressParams) SetStreet

func (params *CreateAddressParams) SetStreet(Street string) *CreateAddressParams

type CreateApplicationParams

type CreateApplicationParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The API version to use to start a new TwiML session. Can be: `2010-04-01` or `2008-08-01`. The default value is the account's default API version.
	ApiVersion *string `json:"ApiVersion,omitempty"`
	// A descriptive string that you create to describe the new application. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The URL we should call using a POST method to send message status information to your application.
	MessageStatusCallback *string `json:"MessageStatusCallback,omitempty"`
	// The HTTP method we should use to call `sms_fallback_url`. Can be: `GET` or `POST`.
	SmsFallbackMethod *string `json:"SmsFallbackMethod,omitempty"`
	// The URL that we should call when an error occurs while retrieving or executing the TwiML from `sms_url`.
	SmsFallbackUrl *string `json:"SmsFallbackUrl,omitempty"`
	// The HTTP method we should use to call `sms_url`. Can be: `GET` or `POST`.
	SmsMethod *string `json:"SmsMethod,omitempty"`
	// The URL we should call using a POST method to send status information about SMS messages sent by the application.
	SmsStatusCallback *string `json:"SmsStatusCallback,omitempty"`
	// The URL we should call when the phone number receives an incoming SMS message.
	SmsUrl *string `json:"SmsUrl,omitempty"`
	// The URL we should call using the `status_callback_method` to send status information to your application.
	StatusCallback *string `json:"StatusCallback,omitempty"`
	// The HTTP method we should use to call `status_callback`. Can be: `GET` or `POST`.
	StatusCallbackMethod *string `json:"StatusCallbackMethod,omitempty"`
	// Whether we should look up the caller's caller-ID name from the CNAM database (additional charges apply). Can be: `true` or `false`.
	VoiceCallerIdLookup *bool `json:"VoiceCallerIdLookup,omitempty"`
	// The HTTP method we should use to call `voice_fallback_url`. Can be: `GET` or `POST`.
	VoiceFallbackMethod *string `json:"VoiceFallbackMethod,omitempty"`
	// The URL that we should call when an error occurs retrieving or executing the TwiML requested by `url`.
	VoiceFallbackUrl *string `json:"VoiceFallbackUrl,omitempty"`
	// The HTTP method we should use to call `voice_url`. Can be: `GET` or `POST`.
	VoiceMethod *string `json:"VoiceMethod,omitempty"`
	// The URL we should call when the phone number assigned to this application receives a call.
	VoiceUrl *string `json:"VoiceUrl,omitempty"`
}

Optional parameters for the method 'CreateApplication'

func (*CreateApplicationParams) SetApiVersion

func (params *CreateApplicationParams) SetApiVersion(ApiVersion string) *CreateApplicationParams

func (*CreateApplicationParams) SetFriendlyName

func (params *CreateApplicationParams) SetFriendlyName(FriendlyName string) *CreateApplicationParams

func (*CreateApplicationParams) SetMessageStatusCallback

func (params *CreateApplicationParams) SetMessageStatusCallback(MessageStatusCallback string) *CreateApplicationParams

func (*CreateApplicationParams) SetPathAccountSid

func (params *CreateApplicationParams) SetPathAccountSid(PathAccountSid string) *CreateApplicationParams

func (*CreateApplicationParams) SetSmsFallbackMethod

func (params *CreateApplicationParams) SetSmsFallbackMethod(SmsFallbackMethod string) *CreateApplicationParams

func (*CreateApplicationParams) SetSmsFallbackUrl

func (params *CreateApplicationParams) SetSmsFallbackUrl(SmsFallbackUrl string) *CreateApplicationParams

func (*CreateApplicationParams) SetSmsMethod

func (params *CreateApplicationParams) SetSmsMethod(SmsMethod string) *CreateApplicationParams

func (*CreateApplicationParams) SetSmsStatusCallback

func (params *CreateApplicationParams) SetSmsStatusCallback(SmsStatusCallback string) *CreateApplicationParams

func (*CreateApplicationParams) SetSmsUrl

func (params *CreateApplicationParams) SetSmsUrl(SmsUrl string) *CreateApplicationParams

func (*CreateApplicationParams) SetStatusCallback

func (params *CreateApplicationParams) SetStatusCallback(StatusCallback string) *CreateApplicationParams

func (*CreateApplicationParams) SetStatusCallbackMethod

func (params *CreateApplicationParams) SetStatusCallbackMethod(StatusCallbackMethod string) *CreateApplicationParams

func (*CreateApplicationParams) SetVoiceCallerIdLookup

func (params *CreateApplicationParams) SetVoiceCallerIdLookup(VoiceCallerIdLookup bool) *CreateApplicationParams

func (*CreateApplicationParams) SetVoiceFallbackMethod

func (params *CreateApplicationParams) SetVoiceFallbackMethod(VoiceFallbackMethod string) *CreateApplicationParams

func (*CreateApplicationParams) SetVoiceFallbackUrl

func (params *CreateApplicationParams) SetVoiceFallbackUrl(VoiceFallbackUrl string) *CreateApplicationParams

func (*CreateApplicationParams) SetVoiceMethod

func (params *CreateApplicationParams) SetVoiceMethod(VoiceMethod string) *CreateApplicationParams

func (*CreateApplicationParams) SetVoiceUrl

func (params *CreateApplicationParams) SetVoiceUrl(VoiceUrl string) *CreateApplicationParams

type CreateCallFeedbackSummaryParams

type CreateCallFeedbackSummaryParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// Only include feedback given on or before this date. Format is `YYYY-MM-DD` and specified in UTC.
	EndDate *string `json:"EndDate,omitempty"`
	// Whether to also include Feedback resources from all subaccounts. `true` includes feedback from all subaccounts and `false`, the default, includes feedback from only the specified account.
	IncludeSubaccounts *bool `json:"IncludeSubaccounts,omitempty"`
	// Only include feedback given on or after this date. Format is `YYYY-MM-DD` and specified in UTC.
	StartDate *string `json:"StartDate,omitempty"`
	// The URL that we will request when the feedback summary is complete.
	StatusCallback *string `json:"StatusCallback,omitempty"`
	// The HTTP method (`GET` or `POST`) we use to make the request to the `StatusCallback` URL.
	StatusCallbackMethod *string `json:"StatusCallbackMethod,omitempty"`
}

Optional parameters for the method 'CreateCallFeedbackSummary'

func (*CreateCallFeedbackSummaryParams) SetEndDate

func (*CreateCallFeedbackSummaryParams) SetIncludeSubaccounts

func (params *CreateCallFeedbackSummaryParams) SetIncludeSubaccounts(IncludeSubaccounts bool) *CreateCallFeedbackSummaryParams

func (*CreateCallFeedbackSummaryParams) SetPathAccountSid

func (params *CreateCallFeedbackSummaryParams) SetPathAccountSid(PathAccountSid string) *CreateCallFeedbackSummaryParams

func (*CreateCallFeedbackSummaryParams) SetStartDate

func (*CreateCallFeedbackSummaryParams) SetStatusCallback

func (params *CreateCallFeedbackSummaryParams) SetStatusCallback(StatusCallback string) *CreateCallFeedbackSummaryParams

func (*CreateCallFeedbackSummaryParams) SetStatusCallbackMethod

func (params *CreateCallFeedbackSummaryParams) SetStatusCallbackMethod(StatusCallbackMethod string) *CreateCallFeedbackSummaryParams

type CreateCallParams

type CreateCallParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The SID of the Application resource that will handle the call, if the call will be handled by an application.
	ApplicationSid *string `json:"ApplicationSid,omitempty"`
	// Select whether to perform answering machine detection in the background. Default, blocks the execution of the call until Answering Machine Detection is completed. Can be: `true` or `false`.
	AsyncAmd *string `json:"AsyncAmd,omitempty"`
	// The URL that we should call using the `async_amd_status_callback_method` to notify customer application whether the call was answered by human, machine or fax.
	AsyncAmdStatusCallback *string `json:"AsyncAmdStatusCallback,omitempty"`
	// The HTTP method we should use when calling the `async_amd_status_callback` URL. Can be: `GET` or `POST` and the default is `POST`.
	AsyncAmdStatusCallbackMethod *string `json:"AsyncAmdStatusCallbackMethod,omitempty"`
	// The SID of a BYOC (Bring Your Own Carrier) trunk to route this call with. Note that `byoc` is only meaningful when `to` is a phone number; it will otherwise be ignored. (Beta)
	Byoc *string `json:"Byoc,omitempty"`
	// The Reason for the outgoing call. Use it to specify the purpose of the call that is presented on the called party's phone. (Branded Calls Beta)
	CallReason *string `json:"CallReason,omitempty"`
	// A token string needed to invoke a forwarded call. A call_token is generated when an incoming call is received on a Twilio number. this field should be populated by the incoming call's call_token to make this outgoing call as a forwarded call of incoming call. A forwarded call should bear the same caller-id of incoming call.
	CallToken *string `json:"CallToken,omitempty"`
	// The phone number, SIP address, or Client identifier that made this call. Phone numbers are in [E.164 format](https://wwnw.twilio.com/docs/glossary/what-e164) (e.g., +16175551212). SIP addresses are formatted as `name@company.com`.
	CallerId *string `json:"CallerId,omitempty"`
	// The HTTP method that we should use to request the `fallback_url`. Can be: `GET` or `POST` and the default is `POST`. If an `application_sid` parameter is present, this parameter is ignored.
	FallbackMethod *string `json:"FallbackMethod,omitempty"`
	// The URL that we call using the `fallback_method` if an error occurs when requesting or executing the TwiML at `url`. If an `application_sid` parameter is present, this parameter is ignored.
	FallbackUrl *string `json:"FallbackUrl,omitempty"`
	// The phone number or client identifier to use as the caller id. If using a phone number, it must be a Twilio number or a Verified [outgoing caller id](https://www.twilio.com/docs/voice/api/outgoing-caller-ids) for your account. If the `to` parameter is a phone number, `From` must also be a phone number.
	From *string `json:"From,omitempty"`
	// Whether to detect if a human, answering machine, or fax has picked up the call. Can be: `Enable` or `DetectMessageEnd`. Use `Enable` if you would like us to return `AnsweredBy` as soon as the called party is identified. Use `DetectMessageEnd`, if you would like to leave a message on an answering machine. If `send_digits` is provided, this parameter is ignored. For more information, see [Answering Machine Detection](https://www.twilio.com/docs/voice/answering-machine-detection).
	MachineDetection *string `json:"MachineDetection,omitempty"`
	// The number of milliseconds of initial silence after which an `unknown` AnsweredBy result will be returned. Possible Values: 2000-10000. Default: 5000.
	MachineDetectionSilenceTimeout *int `json:"MachineDetectionSilenceTimeout,omitempty"`
	// The number of milliseconds of silence after speech activity at which point the speech activity is considered complete. Possible Values: 500-5000. Default: 1200.
	MachineDetectionSpeechEndThreshold *int `json:"MachineDetectionSpeechEndThreshold,omitempty"`
	// The number of milliseconds that is used as the measuring stick for the length of the speech activity, where durations lower than this value will be interpreted as a human and longer than this value as a machine. Possible Values: 1000-6000. Default: 2400.
	MachineDetectionSpeechThreshold *int `json:"MachineDetectionSpeechThreshold,omitempty"`
	// The number of seconds that we should attempt to detect an answering machine before timing out and sending a voice request with `AnsweredBy` of `unknown`. The default timeout is 30 seconds.
	MachineDetectionTimeout *int `json:"MachineDetectionTimeout,omitempty"`
	// The HTTP method we should use when calling the `url` parameter's value. Can be: `GET` or `POST` and the default is `POST`. If an `application_sid` parameter is present, this parameter is ignored.
	Method *string `json:"Method,omitempty"`
	// Whether to record the call. Can be `true` to record the phone call, or `false` to not. The default is `false`. The `recording_url` is sent to the `status_callback` URL.
	Record *bool `json:"Record,omitempty"`
	// The number of channels in the final recording. Can be: `mono` or `dual`. The default is `mono`. `mono` records both legs of the call in a single channel of the recording file. `dual` records each leg to a separate channel of the recording file. The first channel of a dual-channel recording contains the parent call and the second channel contains the child call.
	RecordingChannels *string `json:"RecordingChannels,omitempty"`
	// The URL that we call when the recording is available to be accessed.
	RecordingStatusCallback *string `json:"RecordingStatusCallback,omitempty"`
	// The recording status events that will trigger calls to the URL specified in `recording_status_callback`. Can be: `in-progress`, `completed` and `absent`. Defaults to `completed`. Separate  multiple values with a space.
	RecordingStatusCallbackEvent *[]string `json:"RecordingStatusCallbackEvent,omitempty"`
	// The HTTP method we should use when calling the `recording_status_callback` URL. Can be: `GET` or `POST` and the default is `POST`.
	RecordingStatusCallbackMethod *string `json:"RecordingStatusCallbackMethod,omitempty"`
	// The audio track to record for the call. Can be: `inbound`, `outbound` or `both`. The default is `both`. `inbound` records the audio that is received by Twilio. `outbound` records the audio that is generated from Twilio. `both` records the audio that is received and generated by Twilio.
	RecordingTrack *string `json:"RecordingTrack,omitempty"`
	// A string of keys to dial after connecting to the number, maximum of 32 digits. Valid digits in the string include: any digit (`0`-`9`), '`#`', '`*`' and '`w`', to insert a half second pause. For example, if you connected to a company phone number and wanted to pause for one second, and then dial extension 1234 followed by the pound key, the value of this parameter would be `ww1234#`. Remember to URL-encode this string, since the '`#`' character has special meaning in a URL. If both `SendDigits` and `MachineDetection` parameters are provided, then `MachineDetection` will be ignored.
	SendDigits *string `json:"SendDigits,omitempty"`
	// The password required to authenticate the user account specified in `sip_auth_username`.
	SipAuthPassword *string `json:"SipAuthPassword,omitempty"`
	// The username used to authenticate the caller making a SIP call.
	SipAuthUsername *string `json:"SipAuthUsername,omitempty"`
	// The URL we should call using the `status_callback_method` to send status information to your application. If no `status_callback_event` is specified, we will send the `completed` status. If an `application_sid` parameter is present, this parameter is ignored. URLs must contain a valid hostname (underscores are not permitted).
	StatusCallback *string `json:"StatusCallback,omitempty"`
	// The call progress events that we will send to the `status_callback` URL. Can be: `initiated`, `ringing`, `answered`, and `completed`. If no event is specified, we send the `completed` status. If you want to receive multiple events, specify each one in a separate `status_callback_event` parameter. See the code sample for [monitoring call progress](https://www.twilio.com/docs/voice/api/call-resource?code-sample=code-create-a-call-resource-and-specify-a-statuscallbackevent&code-sdk-version=json). If an `application_sid` is present, this parameter is ignored.
	StatusCallbackEvent *[]string `json:"StatusCallbackEvent,omitempty"`
	// The HTTP method we should use when calling the `status_callback` URL. Can be: `GET` or `POST` and the default is `POST`. If an `application_sid` parameter is present, this parameter is ignored.
	StatusCallbackMethod *string `json:"StatusCallbackMethod,omitempty"`
	// The maximum duration of the call in seconds. Constraints depend on account and configuration.
	TimeLimit *int `json:"TimeLimit,omitempty"`
	// The integer number of seconds that we should allow the phone to ring before assuming there is no answer. The default is `60` seconds and the maximum is `600` seconds. For some call flows, we will add a 5-second buffer to the timeout value you provide. For this reason, a timeout value of 10 seconds could result in an actual timeout closer to 15 seconds. You can set this to a short time, such as `15` seconds, to hang up before reaching an answering machine or voicemail.
	Timeout *int `json:"Timeout,omitempty"`
	// The phone number, SIP address, or client identifier to call.
	To *string `json:"To,omitempty"`
	// Whether to trim any leading and trailing silence from the recording. Can be: `trim-silence` or `do-not-trim` and the default is `trim-silence`.
	Trim *string `json:"Trim,omitempty"`
	// TwiML instructions for the call Twilio will use without fetching Twiml from url parameter. If both `twiml` and `url` are provided then `twiml` parameter will be ignored.
	Twiml *string `json:"Twiml,omitempty"`
	// The absolute URL that returns the TwiML instructions for the call. We will call this URL using the `method` when the call connects. For more information, see the [Url Parameter](https://www.twilio.com/docs/voice/make-calls#specify-a-url-parameter) section in [Making Calls](https://www.twilio.com/docs/voice/make-calls).
	Url *string `json:"Url,omitempty"`
}

Optional parameters for the method 'CreateCall'

func (*CreateCallParams) SetApplicationSid

func (params *CreateCallParams) SetApplicationSid(ApplicationSid string) *CreateCallParams

func (*CreateCallParams) SetAsyncAmd

func (params *CreateCallParams) SetAsyncAmd(AsyncAmd string) *CreateCallParams

func (*CreateCallParams) SetAsyncAmdStatusCallback

func (params *CreateCallParams) SetAsyncAmdStatusCallback(AsyncAmdStatusCallback string) *CreateCallParams

func (*CreateCallParams) SetAsyncAmdStatusCallbackMethod

func (params *CreateCallParams) SetAsyncAmdStatusCallbackMethod(AsyncAmdStatusCallbackMethod string) *CreateCallParams

func (*CreateCallParams) SetByoc

func (params *CreateCallParams) SetByoc(Byoc string) *CreateCallParams

func (*CreateCallParams) SetCallReason

func (params *CreateCallParams) SetCallReason(CallReason string) *CreateCallParams

func (*CreateCallParams) SetCallToken

func (params *CreateCallParams) SetCallToken(CallToken string) *CreateCallParams

func (*CreateCallParams) SetCallerId

func (params *CreateCallParams) SetCallerId(CallerId string) *CreateCallParams

func (*CreateCallParams) SetFallbackMethod

func (params *CreateCallParams) SetFallbackMethod(FallbackMethod string) *CreateCallParams

func (*CreateCallParams) SetFallbackUrl

func (params *CreateCallParams) SetFallbackUrl(FallbackUrl string) *CreateCallParams

func (*CreateCallParams) SetFrom

func (params *CreateCallParams) SetFrom(From string) *CreateCallParams

func (*CreateCallParams) SetMachineDetection

func (params *CreateCallParams) SetMachineDetection(MachineDetection string) *CreateCallParams

func (*CreateCallParams) SetMachineDetectionSilenceTimeout

func (params *CreateCallParams) SetMachineDetectionSilenceTimeout(MachineDetectionSilenceTimeout int) *CreateCallParams

func (*CreateCallParams) SetMachineDetectionSpeechEndThreshold

func (params *CreateCallParams) SetMachineDetectionSpeechEndThreshold(MachineDetectionSpeechEndThreshold int) *CreateCallParams

func (*CreateCallParams) SetMachineDetectionSpeechThreshold

func (params *CreateCallParams) SetMachineDetectionSpeechThreshold(MachineDetectionSpeechThreshold int) *CreateCallParams

func (*CreateCallParams) SetMachineDetectionTimeout

func (params *CreateCallParams) SetMachineDetectionTimeout(MachineDetectionTimeout int) *CreateCallParams

func (*CreateCallParams) SetMethod

func (params *CreateCallParams) SetMethod(Method string) *CreateCallParams

func (*CreateCallParams) SetPathAccountSid

func (params *CreateCallParams) SetPathAccountSid(PathAccountSid string) *CreateCallParams

func (*CreateCallParams) SetRecord

func (params *CreateCallParams) SetRecord(Record bool) *CreateCallParams

func (*CreateCallParams) SetRecordingChannels

func (params *CreateCallParams) SetRecordingChannels(RecordingChannels string) *CreateCallParams

func (*CreateCallParams) SetRecordingStatusCallback

func (params *CreateCallParams) SetRecordingStatusCallback(RecordingStatusCallback string) *CreateCallParams

func (*CreateCallParams) SetRecordingStatusCallbackEvent

func (params *CreateCallParams) SetRecordingStatusCallbackEvent(RecordingStatusCallbackEvent []string) *CreateCallParams

func (*CreateCallParams) SetRecordingStatusCallbackMethod

func (params *CreateCallParams) SetRecordingStatusCallbackMethod(RecordingStatusCallbackMethod string) *CreateCallParams

func (*CreateCallParams) SetRecordingTrack

func (params *CreateCallParams) SetRecordingTrack(RecordingTrack string) *CreateCallParams

func (*CreateCallParams) SetSendDigits

func (params *CreateCallParams) SetSendDigits(SendDigits string) *CreateCallParams

func (*CreateCallParams) SetSipAuthPassword

func (params *CreateCallParams) SetSipAuthPassword(SipAuthPassword string) *CreateCallParams

func (*CreateCallParams) SetSipAuthUsername

func (params *CreateCallParams) SetSipAuthUsername(SipAuthUsername string) *CreateCallParams

func (*CreateCallParams) SetStatusCallback

func (params *CreateCallParams) SetStatusCallback(StatusCallback string) *CreateCallParams

func (*CreateCallParams) SetStatusCallbackEvent

func (params *CreateCallParams) SetStatusCallbackEvent(StatusCallbackEvent []string) *CreateCallParams

func (*CreateCallParams) SetStatusCallbackMethod

func (params *CreateCallParams) SetStatusCallbackMethod(StatusCallbackMethod string) *CreateCallParams

func (*CreateCallParams) SetTimeLimit added in v0.14.0

func (params *CreateCallParams) SetTimeLimit(TimeLimit int) *CreateCallParams

func (*CreateCallParams) SetTimeout

func (params *CreateCallParams) SetTimeout(Timeout int) *CreateCallParams

func (*CreateCallParams) SetTo

func (params *CreateCallParams) SetTo(To string) *CreateCallParams

func (*CreateCallParams) SetTrim

func (params *CreateCallParams) SetTrim(Trim string) *CreateCallParams

func (*CreateCallParams) SetTwiml

func (params *CreateCallParams) SetTwiml(Twiml string) *CreateCallParams

func (*CreateCallParams) SetUrl

func (params *CreateCallParams) SetUrl(Url string) *CreateCallParams

type CreateCallRecordingParams

type CreateCallRecordingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The number of channels used in the recording. Can be: `mono` or `dual` and the default is `mono`. `mono` records all parties of the call into one channel. `dual` records each party of a 2-party call into separate channels.
	RecordingChannels *string `json:"RecordingChannels,omitempty"`
	// The URL we should call using the `recording_status_callback_method` on each recording event specified in  `recording_status_callback_event`. For more information, see [RecordingStatusCallback parameters](https://www.twilio.com/docs/voice/api/recording#recordingstatuscallback).
	RecordingStatusCallback *string `json:"RecordingStatusCallback,omitempty"`
	// The recording status events on which we should call the `recording_status_callback` URL. Can be: `in-progress`, `completed` and `absent` and the default is `completed`. Separate multiple event values with a space.
	RecordingStatusCallbackEvent *[]string `json:"RecordingStatusCallbackEvent,omitempty"`
	// The HTTP method we should use to call `recording_status_callback`. Can be: `GET` or `POST` and the default is `POST`.
	RecordingStatusCallbackMethod *string `json:"RecordingStatusCallbackMethod,omitempty"`
	// The audio track to record for the call. Can be: `inbound`, `outbound` or `both`. The default is `both`. `inbound` records the audio that is received by Twilio. `outbound` records the audio that is generated from Twilio. `both` records the audio that is received and generated by Twilio.
	RecordingTrack *string `json:"RecordingTrack,omitempty"`
	// Whether to trim any leading and trailing silence in the recording. Can be: `trim-silence` or `do-not-trim` and the default is `do-not-trim`. `trim-silence` trims the silence from the beginning and end of the recording and `do-not-trim` does not.
	Trim *string `json:"Trim,omitempty"`
}

Optional parameters for the method 'CreateCallRecording'

func (*CreateCallRecordingParams) SetPathAccountSid

func (params *CreateCallRecordingParams) SetPathAccountSid(PathAccountSid string) *CreateCallRecordingParams

func (*CreateCallRecordingParams) SetRecordingChannels

func (params *CreateCallRecordingParams) SetRecordingChannels(RecordingChannels string) *CreateCallRecordingParams

func (*CreateCallRecordingParams) SetRecordingStatusCallback

func (params *CreateCallRecordingParams) SetRecordingStatusCallback(RecordingStatusCallback string) *CreateCallRecordingParams

func (*CreateCallRecordingParams) SetRecordingStatusCallbackEvent

func (params *CreateCallRecordingParams) SetRecordingStatusCallbackEvent(RecordingStatusCallbackEvent []string) *CreateCallRecordingParams

func (*CreateCallRecordingParams) SetRecordingStatusCallbackMethod

func (params *CreateCallRecordingParams) SetRecordingStatusCallbackMethod(RecordingStatusCallbackMethod string) *CreateCallRecordingParams

func (*CreateCallRecordingParams) SetRecordingTrack

func (params *CreateCallRecordingParams) SetRecordingTrack(RecordingTrack string) *CreateCallRecordingParams

func (*CreateCallRecordingParams) SetTrim

type CreateIncomingPhoneNumberAssignedAddOnParams

type CreateIncomingPhoneNumberAssignedAddOnParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The SID that identifies the Add-on installation.
	InstalledAddOnSid *string `json:"InstalledAddOnSid,omitempty"`
}

Optional parameters for the method 'CreateIncomingPhoneNumberAssignedAddOn'

func (*CreateIncomingPhoneNumberAssignedAddOnParams) SetInstalledAddOnSid

func (*CreateIncomingPhoneNumberAssignedAddOnParams) SetPathAccountSid

type CreateIncomingPhoneNumberLocalParams

type CreateIncomingPhoneNumberLocalParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The SID of the Address resource we should associate with the new phone number. Some regions require addresses to meet local regulations.
	AddressSid *string `json:"AddressSid,omitempty"`
	// The API version to use for incoming calls made to the new phone number. The default is `2010-04-01`.
	ApiVersion *string `json:"ApiVersion,omitempty"`
	// The SID of the Bundle resource that you associate with the phone number. Some regions require a Bundle to meet local Regulations.
	BundleSid *string `json:"BundleSid,omitempty"`
	// The SID of the emergency address configuration to use for emergency calling from the new phone number.
	EmergencyAddressSid *string `json:"EmergencyAddressSid,omitempty"`
	// The configuration status parameter that determines whether the new phone number is enabled for emergency calling.
	EmergencyStatus *string `json:"EmergencyStatus,omitempty"`
	// A descriptive string that you created to describe the new phone number. It can be up to 64 characters long. By default, this is a formatted version of the phone number.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The SID of the Identity resource that we should associate with the new phone number. Some regions require an identity to meet local regulations.
	IdentitySid *string `json:"IdentitySid,omitempty"`
	// The phone number to purchase specified in [E.164](https://www.twilio.com/docs/glossary/what-e164) format.  E.164 phone numbers consist of a + followed by the country code and subscriber number without punctuation characters. For example, +14155551234.
	PhoneNumber *string `json:"PhoneNumber,omitempty"`
	// The SID of the application that should handle SMS messages sent to the new phone number. If an `sms_application_sid` is present, we ignore all of the `sms_*_url` urls and use those set on the application.
	SmsApplicationSid *string `json:"SmsApplicationSid,omitempty"`
	// The HTTP method that we should use to call `sms_fallback_url`. Can be: `GET` or `POST` and defaults to `POST`.
	SmsFallbackMethod *string `json:"SmsFallbackMethod,omitempty"`
	// The URL that we should call when an error occurs while requesting or executing the TwiML defined by `sms_url`.
	SmsFallbackUrl *string `json:"SmsFallbackUrl,omitempty"`
	// The HTTP method that we should use to call `sms_url`. Can be: `GET` or `POST` and defaults to `POST`.
	SmsMethod *string `json:"SmsMethod,omitempty"`
	// The URL we should call when the new phone number receives an incoming SMS message.
	SmsUrl *string `json:"SmsUrl,omitempty"`
	// The URL we should call using the `status_callback_method` to send status information to your application.
	StatusCallback *string `json:"StatusCallback,omitempty"`
	// The HTTP method we should use to call `status_callback`. Can be: `GET` or `POST` and defaults to `POST`.
	StatusCallbackMethod *string `json:"StatusCallbackMethod,omitempty"`
	// The SID of the Trunk we should use to handle calls to the new phone number. If a `trunk_sid` is present, we ignore all of the voice urls and voice applications and use only those set on the Trunk. Setting a `trunk_sid` will automatically delete your `voice_application_sid` and vice versa.
	TrunkSid *string `json:"TrunkSid,omitempty"`
	// The SID of the application we should use to handle calls to the new phone number. If a `voice_application_sid` is present, we ignore all of the voice urls and use only those set on the application. Setting a `voice_application_sid` will automatically delete your `trunk_sid` and vice versa.
	VoiceApplicationSid *string `json:"VoiceApplicationSid,omitempty"`
	// Whether to lookup the caller's name from the CNAM database and post it to your app. Can be: `true` or `false` and defaults to `false`.
	VoiceCallerIdLookup *bool `json:"VoiceCallerIdLookup,omitempty"`
	// The HTTP method that we should use to call `voice_fallback_url`. Can be: `GET` or `POST` and defaults to `POST`.
	VoiceFallbackMethod *string `json:"VoiceFallbackMethod,omitempty"`
	// The URL that we should call when an error occurs retrieving or executing the TwiML requested by `url`.
	VoiceFallbackUrl *string `json:"VoiceFallbackUrl,omitempty"`
	// The HTTP method that we should use to call `voice_url`. Can be: `GET` or `POST` and defaults to `POST`.
	VoiceMethod *string `json:"VoiceMethod,omitempty"`
	// The configuration parameter for the new phone number to receive incoming voice calls or faxes. Can be: `fax` or `voice` and defaults to `voice`.
	VoiceReceiveMode *string `json:"VoiceReceiveMode,omitempty"`
	// The URL that we should call to answer a call to the new phone number. The `voice_url` will not be called if a `voice_application_sid` or a `trunk_sid` is set.
	VoiceUrl *string `json:"VoiceUrl,omitempty"`
}

Optional parameters for the method 'CreateIncomingPhoneNumberLocal'

func (*CreateIncomingPhoneNumberLocalParams) SetAddressSid

func (*CreateIncomingPhoneNumberLocalParams) SetApiVersion

func (*CreateIncomingPhoneNumberLocalParams) SetBundleSid

func (*CreateIncomingPhoneNumberLocalParams) SetEmergencyAddressSid

func (params *CreateIncomingPhoneNumberLocalParams) SetEmergencyAddressSid(EmergencyAddressSid string) *CreateIncomingPhoneNumberLocalParams

func (*CreateIncomingPhoneNumberLocalParams) SetEmergencyStatus

func (params *CreateIncomingPhoneNumberLocalParams) SetEmergencyStatus(EmergencyStatus string) *CreateIncomingPhoneNumberLocalParams

func (*CreateIncomingPhoneNumberLocalParams) SetFriendlyName

func (*CreateIncomingPhoneNumberLocalParams) SetIdentitySid

func (*CreateIncomingPhoneNumberLocalParams) SetPathAccountSid

func (params *CreateIncomingPhoneNumberLocalParams) SetPathAccountSid(PathAccountSid string) *CreateIncomingPhoneNumberLocalParams

func (*CreateIncomingPhoneNumberLocalParams) SetPhoneNumber

func (*CreateIncomingPhoneNumberLocalParams) SetSmsApplicationSid

func (params *CreateIncomingPhoneNumberLocalParams) SetSmsApplicationSid(SmsApplicationSid string) *CreateIncomingPhoneNumberLocalParams

func (*CreateIncomingPhoneNumberLocalParams) SetSmsFallbackMethod

func (params *CreateIncomingPhoneNumberLocalParams) SetSmsFallbackMethod(SmsFallbackMethod string) *CreateIncomingPhoneNumberLocalParams

func (*CreateIncomingPhoneNumberLocalParams) SetSmsFallbackUrl

func (params *CreateIncomingPhoneNumberLocalParams) SetSmsFallbackUrl(SmsFallbackUrl string) *CreateIncomingPhoneNumberLocalParams

func (*CreateIncomingPhoneNumberLocalParams) SetSmsMethod

func (*CreateIncomingPhoneNumberLocalParams) SetSmsUrl

func (*CreateIncomingPhoneNumberLocalParams) SetStatusCallback

func (params *CreateIncomingPhoneNumberLocalParams) SetStatusCallback(StatusCallback string) *CreateIncomingPhoneNumberLocalParams

func (*CreateIncomingPhoneNumberLocalParams) SetStatusCallbackMethod

func (params *CreateIncomingPhoneNumberLocalParams) SetStatusCallbackMethod(StatusCallbackMethod string) *CreateIncomingPhoneNumberLocalParams

func (*CreateIncomingPhoneNumberLocalParams) SetTrunkSid

func (*CreateIncomingPhoneNumberLocalParams) SetVoiceApplicationSid

func (params *CreateIncomingPhoneNumberLocalParams) SetVoiceApplicationSid(VoiceApplicationSid string) *CreateIncomingPhoneNumberLocalParams

func (*CreateIncomingPhoneNumberLocalParams) SetVoiceCallerIdLookup

func (params *CreateIncomingPhoneNumberLocalParams) SetVoiceCallerIdLookup(VoiceCallerIdLookup bool) *CreateIncomingPhoneNumberLocalParams

func (*CreateIncomingPhoneNumberLocalParams) SetVoiceFallbackMethod

func (params *CreateIncomingPhoneNumberLocalParams) SetVoiceFallbackMethod(VoiceFallbackMethod string) *CreateIncomingPhoneNumberLocalParams

func (*CreateIncomingPhoneNumberLocalParams) SetVoiceFallbackUrl

func (params *CreateIncomingPhoneNumberLocalParams) SetVoiceFallbackUrl(VoiceFallbackUrl string) *CreateIncomingPhoneNumberLocalParams

func (*CreateIncomingPhoneNumberLocalParams) SetVoiceMethod

func (*CreateIncomingPhoneNumberLocalParams) SetVoiceReceiveMode

func (params *CreateIncomingPhoneNumberLocalParams) SetVoiceReceiveMode(VoiceReceiveMode string) *CreateIncomingPhoneNumberLocalParams

func (*CreateIncomingPhoneNumberLocalParams) SetVoiceUrl

type CreateIncomingPhoneNumberMobileParams

type CreateIncomingPhoneNumberMobileParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The SID of the Address resource we should associate with the new phone number. Some regions require addresses to meet local regulations.
	AddressSid *string `json:"AddressSid,omitempty"`
	// The API version to use for incoming calls made to the new phone number. The default is `2010-04-01`.
	ApiVersion *string `json:"ApiVersion,omitempty"`
	// The SID of the Bundle resource that you associate with the phone number. Some regions require a Bundle to meet local Regulations.
	BundleSid *string `json:"BundleSid,omitempty"`
	// The SID of the emergency address configuration to use for emergency calling from the new phone number.
	EmergencyAddressSid *string `json:"EmergencyAddressSid,omitempty"`
	// The configuration status parameter that determines whether the new phone number is enabled for emergency calling.
	EmergencyStatus *string `json:"EmergencyStatus,omitempty"`
	// A descriptive string that you created to describe the new phone number. It can be up to 64 characters long. By default, the is a formatted version of the phone number.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The SID of the Identity resource that we should associate with the new phone number. Some regions require an identity to meet local regulations.
	IdentitySid *string `json:"IdentitySid,omitempty"`
	// The phone number to purchase specified in [E.164](https://www.twilio.com/docs/glossary/what-e164) format.  E.164 phone numbers consist of a + followed by the country code and subscriber number without punctuation characters. For example, +14155551234.
	PhoneNumber *string `json:"PhoneNumber,omitempty"`
	// The SID of the application that should handle SMS messages sent to the new phone number. If an `sms_application_sid` is present, we ignore all of the `sms_*_url` urls and use those of the application.
	SmsApplicationSid *string `json:"SmsApplicationSid,omitempty"`
	// The HTTP method that we should use to call `sms_fallback_url`. Can be: `GET` or `POST` and defaults to `POST`.
	SmsFallbackMethod *string `json:"SmsFallbackMethod,omitempty"`
	// The URL that we should call when an error occurs while requesting or executing the TwiML defined by `sms_url`.
	SmsFallbackUrl *string `json:"SmsFallbackUrl,omitempty"`
	// The HTTP method that we should use to call `sms_url`. Can be: `GET` or `POST` and defaults to `POST`.
	SmsMethod *string `json:"SmsMethod,omitempty"`
	// The URL we should call when the new phone number receives an incoming SMS message.
	SmsUrl *string `json:"SmsUrl,omitempty"`
	// The URL we should call using the `status_callback_method` to send status information to your application.
	StatusCallback *string `json:"StatusCallback,omitempty"`
	// The HTTP method we should use to call `status_callback`. Can be: `GET` or `POST` and defaults to `POST`.
	StatusCallbackMethod *string `json:"StatusCallbackMethod,omitempty"`
	// The SID of the Trunk we should use to handle calls to the new phone number. If a `trunk_sid` is present, we ignore all of the voice urls and voice applications and use only those set on the Trunk. Setting a `trunk_sid` will automatically delete your `voice_application_sid` and vice versa.
	TrunkSid *string `json:"TrunkSid,omitempty"`
	// The SID of the application we should use to handle calls to the new phone number. If a `voice_application_sid` is present, we ignore all of the voice urls and use only those set on the application. Setting a `voice_application_sid` will automatically delete your `trunk_sid` and vice versa.
	VoiceApplicationSid *string `json:"VoiceApplicationSid,omitempty"`
	// Whether to lookup the caller's name from the CNAM database and post it to your app. Can be: `true` or `false` and defaults to `false`.
	VoiceCallerIdLookup *bool `json:"VoiceCallerIdLookup,omitempty"`
	// The HTTP method that we should use to call `voice_fallback_url`. Can be: `GET` or `POST` and defaults to `POST`.
	VoiceFallbackMethod *string `json:"VoiceFallbackMethod,omitempty"`
	// The URL that we should call when an error occurs retrieving or executing the TwiML requested by `url`.
	VoiceFallbackUrl *string `json:"VoiceFallbackUrl,omitempty"`
	// The HTTP method that we should use to call `voice_url`. Can be: `GET` or `POST` and defaults to `POST`.
	VoiceMethod *string `json:"VoiceMethod,omitempty"`
	// The configuration parameter for the new phone number to receive incoming voice calls or faxes. Can be: `fax` or `voice` and defaults to `voice`.
	VoiceReceiveMode *string `json:"VoiceReceiveMode,omitempty"`
	// The URL that we should call to answer a call to the new phone number. The `voice_url` will not be called if a `voice_application_sid` or a `trunk_sid` is set.
	VoiceUrl *string `json:"VoiceUrl,omitempty"`
}

Optional parameters for the method 'CreateIncomingPhoneNumberMobile'

func (*CreateIncomingPhoneNumberMobileParams) SetAddressSid

func (*CreateIncomingPhoneNumberMobileParams) SetApiVersion

func (*CreateIncomingPhoneNumberMobileParams) SetBundleSid

func (*CreateIncomingPhoneNumberMobileParams) SetEmergencyAddressSid

func (params *CreateIncomingPhoneNumberMobileParams) SetEmergencyAddressSid(EmergencyAddressSid string) *CreateIncomingPhoneNumberMobileParams

func (*CreateIncomingPhoneNumberMobileParams) SetEmergencyStatus

func (params *CreateIncomingPhoneNumberMobileParams) SetEmergencyStatus(EmergencyStatus string) *CreateIncomingPhoneNumberMobileParams

func (*CreateIncomingPhoneNumberMobileParams) SetFriendlyName

func (*CreateIncomingPhoneNumberMobileParams) SetIdentitySid

func (*CreateIncomingPhoneNumberMobileParams) SetPathAccountSid

func (params *CreateIncomingPhoneNumberMobileParams) SetPathAccountSid(PathAccountSid string) *CreateIncomingPhoneNumberMobileParams

func (*CreateIncomingPhoneNumberMobileParams) SetPhoneNumber

func (*CreateIncomingPhoneNumberMobileParams) SetSmsApplicationSid

func (params *CreateIncomingPhoneNumberMobileParams) SetSmsApplicationSid(SmsApplicationSid string) *CreateIncomingPhoneNumberMobileParams

func (*CreateIncomingPhoneNumberMobileParams) SetSmsFallbackMethod

func (params *CreateIncomingPhoneNumberMobileParams) SetSmsFallbackMethod(SmsFallbackMethod string) *CreateIncomingPhoneNumberMobileParams

func (*CreateIncomingPhoneNumberMobileParams) SetSmsFallbackUrl

func (params *CreateIncomingPhoneNumberMobileParams) SetSmsFallbackUrl(SmsFallbackUrl string) *CreateIncomingPhoneNumberMobileParams

func (*CreateIncomingPhoneNumberMobileParams) SetSmsMethod

func (*CreateIncomingPhoneNumberMobileParams) SetSmsUrl

func (*CreateIncomingPhoneNumberMobileParams) SetStatusCallback

func (params *CreateIncomingPhoneNumberMobileParams) SetStatusCallback(StatusCallback string) *CreateIncomingPhoneNumberMobileParams

func (*CreateIncomingPhoneNumberMobileParams) SetStatusCallbackMethod

func (params *CreateIncomingPhoneNumberMobileParams) SetStatusCallbackMethod(StatusCallbackMethod string) *CreateIncomingPhoneNumberMobileParams

func (*CreateIncomingPhoneNumberMobileParams) SetTrunkSid

func (*CreateIncomingPhoneNumberMobileParams) SetVoiceApplicationSid

func (params *CreateIncomingPhoneNumberMobileParams) SetVoiceApplicationSid(VoiceApplicationSid string) *CreateIncomingPhoneNumberMobileParams

func (*CreateIncomingPhoneNumberMobileParams) SetVoiceCallerIdLookup

func (params *CreateIncomingPhoneNumberMobileParams) SetVoiceCallerIdLookup(VoiceCallerIdLookup bool) *CreateIncomingPhoneNumberMobileParams

func (*CreateIncomingPhoneNumberMobileParams) SetVoiceFallbackMethod

func (params *CreateIncomingPhoneNumberMobileParams) SetVoiceFallbackMethod(VoiceFallbackMethod string) *CreateIncomingPhoneNumberMobileParams

func (*CreateIncomingPhoneNumberMobileParams) SetVoiceFallbackUrl

func (params *CreateIncomingPhoneNumberMobileParams) SetVoiceFallbackUrl(VoiceFallbackUrl string) *CreateIncomingPhoneNumberMobileParams

func (*CreateIncomingPhoneNumberMobileParams) SetVoiceMethod

func (*CreateIncomingPhoneNumberMobileParams) SetVoiceReceiveMode

func (params *CreateIncomingPhoneNumberMobileParams) SetVoiceReceiveMode(VoiceReceiveMode string) *CreateIncomingPhoneNumberMobileParams

func (*CreateIncomingPhoneNumberMobileParams) SetVoiceUrl

type CreateIncomingPhoneNumberParams

type CreateIncomingPhoneNumberParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The SID of the Address resource we should associate with the new phone number. Some regions require addresses to meet local regulations.
	AddressSid *string `json:"AddressSid,omitempty"`
	// The API version to use for incoming calls made to the new phone number. The default is `2010-04-01`.
	ApiVersion *string `json:"ApiVersion,omitempty"`
	// The desired area code for your new incoming phone number. Can be any three-digit, US or Canada area code. We will provision an available phone number within this area code for you. **You must provide an `area_code` or a `phone_number`.** (US and Canada only).
	AreaCode *string `json:"AreaCode,omitempty"`
	// The SID of the Bundle resource that you associate with the phone number. Some regions require a Bundle to meet local Regulations.
	BundleSid *string `json:"BundleSid,omitempty"`
	// The SID of the emergency address configuration to use for emergency calling from the new phone number.
	EmergencyAddressSid *string `json:"EmergencyAddressSid,omitempty"`
	// The configuration status parameter that determines whether the new phone number is enabled for emergency calling.
	EmergencyStatus *string `json:"EmergencyStatus,omitempty"`
	// A descriptive string that you created to describe the new phone number. It can be up to 64 characters long. By default, this is a formatted version of the new phone number.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The SID of the Identity resource that we should associate with the new phone number. Some regions require an identity to meet local regulations.
	IdentitySid *string `json:"IdentitySid,omitempty"`
	// The phone number to purchase specified in [E.164](https://www.twilio.com/docs/glossary/what-e164) format.  E.164 phone numbers consist of a + followed by the country code and subscriber number without punctuation characters. For example, +14155551234.
	PhoneNumber *string `json:"PhoneNumber,omitempty"`
	// The SID of the application that should handle SMS messages sent to the new phone number. If an `sms_application_sid` is present, we ignore all of the `sms_*_url` urls and use those set on the application.
	SmsApplicationSid *string `json:"SmsApplicationSid,omitempty"`
	// The HTTP method that we should use to call `sms_fallback_url`. Can be: `GET` or `POST` and defaults to `POST`.
	SmsFallbackMethod *string `json:"SmsFallbackMethod,omitempty"`
	// The URL that we should call when an error occurs while requesting or executing the TwiML defined by `sms_url`.
	SmsFallbackUrl *string `json:"SmsFallbackUrl,omitempty"`
	// The HTTP method that we should use to call `sms_url`. Can be: `GET` or `POST` and defaults to `POST`.
	SmsMethod *string `json:"SmsMethod,omitempty"`
	// The URL we should call when the new phone number receives an incoming SMS message.
	SmsUrl *string `json:"SmsUrl,omitempty"`
	// The URL we should call using the `status_callback_method` to send status information to your application.
	StatusCallback *string `json:"StatusCallback,omitempty"`
	// The HTTP method we should use to call `status_callback`. Can be: `GET` or `POST` and defaults to `POST`.
	StatusCallbackMethod *string `json:"StatusCallbackMethod,omitempty"`
	// The SID of the Trunk we should use to handle calls to the new phone number. If a `trunk_sid` is present, we ignore all of the voice urls and voice applications and use only those set on the Trunk. Setting a `trunk_sid` will automatically delete your `voice_application_sid` and vice versa.
	TrunkSid *string `json:"TrunkSid,omitempty"`
	// The SID of the application we should use to handle calls to the new phone number. If a `voice_application_sid` is present, we ignore all of the voice urls and use only those set on the application. Setting a `voice_application_sid` will automatically delete your `trunk_sid` and vice versa.
	VoiceApplicationSid *string `json:"VoiceApplicationSid,omitempty"`
	// Whether to lookup the caller's name from the CNAM database and post it to your app. Can be: `true` or `false` and defaults to `false`.
	VoiceCallerIdLookup *bool `json:"VoiceCallerIdLookup,omitempty"`
	// The HTTP method that we should use to call `voice_fallback_url`. Can be: `GET` or `POST` and defaults to `POST`.
	VoiceFallbackMethod *string `json:"VoiceFallbackMethod,omitempty"`
	// The URL that we should call when an error occurs retrieving or executing the TwiML requested by `url`.
	VoiceFallbackUrl *string `json:"VoiceFallbackUrl,omitempty"`
	// The HTTP method that we should use to call `voice_url`. Can be: `GET` or `POST` and defaults to `POST`.
	VoiceMethod *string `json:"VoiceMethod,omitempty"`
	// The configuration parameter for the new phone number to receive incoming voice calls or faxes. Can be: `fax` or `voice` and defaults to `voice`.
	VoiceReceiveMode *string `json:"VoiceReceiveMode,omitempty"`
	// The URL that we should call to answer a call to the new phone number. The `voice_url` will not be called if a `voice_application_sid` or a `trunk_sid` is set.
	VoiceUrl *string `json:"VoiceUrl,omitempty"`
}

Optional parameters for the method 'CreateIncomingPhoneNumber'

func (*CreateIncomingPhoneNumberParams) SetAddressSid

func (params *CreateIncomingPhoneNumberParams) SetAddressSid(AddressSid string) *CreateIncomingPhoneNumberParams

func (*CreateIncomingPhoneNumberParams) SetApiVersion

func (params *CreateIncomingPhoneNumberParams) SetApiVersion(ApiVersion string) *CreateIncomingPhoneNumberParams

func (*CreateIncomingPhoneNumberParams) SetAreaCode

func (*CreateIncomingPhoneNumberParams) SetBundleSid

func (*CreateIncomingPhoneNumberParams) SetEmergencyAddressSid

func (params *CreateIncomingPhoneNumberParams) SetEmergencyAddressSid(EmergencyAddressSid string) *CreateIncomingPhoneNumberParams

func (*CreateIncomingPhoneNumberParams) SetEmergencyStatus

func (params *CreateIncomingPhoneNumberParams) SetEmergencyStatus(EmergencyStatus string) *CreateIncomingPhoneNumberParams

func (*CreateIncomingPhoneNumberParams) SetFriendlyName

func (params *CreateIncomingPhoneNumberParams) SetFriendlyName(FriendlyName string) *CreateIncomingPhoneNumberParams

func (*CreateIncomingPhoneNumberParams) SetIdentitySid

func (params *CreateIncomingPhoneNumberParams) SetIdentitySid(IdentitySid string) *CreateIncomingPhoneNumberParams

func (*CreateIncomingPhoneNumberParams) SetPathAccountSid

func (params *CreateIncomingPhoneNumberParams) SetPathAccountSid(PathAccountSid string) *CreateIncomingPhoneNumberParams

func (*CreateIncomingPhoneNumberParams) SetPhoneNumber

func (params *CreateIncomingPhoneNumberParams) SetPhoneNumber(PhoneNumber string) *CreateIncomingPhoneNumberParams

func (*CreateIncomingPhoneNumberParams) SetSmsApplicationSid

func (params *CreateIncomingPhoneNumberParams) SetSmsApplicationSid(SmsApplicationSid string) *CreateIncomingPhoneNumberParams

func (*CreateIncomingPhoneNumberParams) SetSmsFallbackMethod

func (params *CreateIncomingPhoneNumberParams) SetSmsFallbackMethod(SmsFallbackMethod string) *CreateIncomingPhoneNumberParams

func (*CreateIncomingPhoneNumberParams) SetSmsFallbackUrl

func (params *CreateIncomingPhoneNumberParams) SetSmsFallbackUrl(SmsFallbackUrl string) *CreateIncomingPhoneNumberParams

func (*CreateIncomingPhoneNumberParams) SetSmsMethod

func (*CreateIncomingPhoneNumberParams) SetSmsUrl

func (*CreateIncomingPhoneNumberParams) SetStatusCallback

func (params *CreateIncomingPhoneNumberParams) SetStatusCallback(StatusCallback string) *CreateIncomingPhoneNumberParams

func (*CreateIncomingPhoneNumberParams) SetStatusCallbackMethod

func (params *CreateIncomingPhoneNumberParams) SetStatusCallbackMethod(StatusCallbackMethod string) *CreateIncomingPhoneNumberParams

func (*CreateIncomingPhoneNumberParams) SetTrunkSid

func (*CreateIncomingPhoneNumberParams) SetVoiceApplicationSid

func (params *CreateIncomingPhoneNumberParams) SetVoiceApplicationSid(VoiceApplicationSid string) *CreateIncomingPhoneNumberParams

func (*CreateIncomingPhoneNumberParams) SetVoiceCallerIdLookup

func (params *CreateIncomingPhoneNumberParams) SetVoiceCallerIdLookup(VoiceCallerIdLookup bool) *CreateIncomingPhoneNumberParams

func (*CreateIncomingPhoneNumberParams) SetVoiceFallbackMethod

func (params *CreateIncomingPhoneNumberParams) SetVoiceFallbackMethod(VoiceFallbackMethod string) *CreateIncomingPhoneNumberParams

func (*CreateIncomingPhoneNumberParams) SetVoiceFallbackUrl

func (params *CreateIncomingPhoneNumberParams) SetVoiceFallbackUrl(VoiceFallbackUrl string) *CreateIncomingPhoneNumberParams

func (*CreateIncomingPhoneNumberParams) SetVoiceMethod

func (params *CreateIncomingPhoneNumberParams) SetVoiceMethod(VoiceMethod string) *CreateIncomingPhoneNumberParams

func (*CreateIncomingPhoneNumberParams) SetVoiceReceiveMode

func (params *CreateIncomingPhoneNumberParams) SetVoiceReceiveMode(VoiceReceiveMode string) *CreateIncomingPhoneNumberParams

func (*CreateIncomingPhoneNumberParams) SetVoiceUrl

type CreateIncomingPhoneNumberTollFreeParams

type CreateIncomingPhoneNumberTollFreeParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The SID of the Address resource we should associate with the new phone number. Some regions require addresses to meet local regulations.
	AddressSid *string `json:"AddressSid,omitempty"`
	// The API version to use for incoming calls made to the new phone number. The default is `2010-04-01`.
	ApiVersion *string `json:"ApiVersion,omitempty"`
	// The SID of the Bundle resource that you associate with the phone number. Some regions require a Bundle to meet local Regulations.
	BundleSid *string `json:"BundleSid,omitempty"`
	// The SID of the emergency address configuration to use for emergency calling from the new phone number.
	EmergencyAddressSid *string `json:"EmergencyAddressSid,omitempty"`
	// The configuration status parameter that determines whether the new phone number is enabled for emergency calling.
	EmergencyStatus *string `json:"EmergencyStatus,omitempty"`
	// A descriptive string that you created to describe the new phone number. It can be up to 64 characters long. By default, this is a formatted version of the phone number.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The SID of the Identity resource that we should associate with the new phone number. Some regions require an Identity to meet local regulations.
	IdentitySid *string `json:"IdentitySid,omitempty"`
	// The phone number to purchase specified in [E.164](https://www.twilio.com/docs/glossary/what-e164) format.  E.164 phone numbers consist of a + followed by the country code and subscriber number without punctuation characters. For example, +14155551234.
	PhoneNumber *string `json:"PhoneNumber,omitempty"`
	// The SID of the application that should handle SMS messages sent to the new phone number. If an `sms_application_sid` is present, we ignore all `sms_*_url` values and use those of the application.
	SmsApplicationSid *string `json:"SmsApplicationSid,omitempty"`
	// The HTTP method that we should use to call `sms_fallback_url`. Can be: `GET` or `POST` and defaults to `POST`.
	SmsFallbackMethod *string `json:"SmsFallbackMethod,omitempty"`
	// The URL that we should call when an error occurs while requesting or executing the TwiML defined by `sms_url`.
	SmsFallbackUrl *string `json:"SmsFallbackUrl,omitempty"`
	// The HTTP method that we should use to call `sms_url`. Can be: `GET` or `POST` and defaults to `POST`.
	SmsMethod *string `json:"SmsMethod,omitempty"`
	// The URL we should call when the new phone number receives an incoming SMS message.
	SmsUrl *string `json:"SmsUrl,omitempty"`
	// The URL we should call using the `status_callback_method` to send status information to your application.
	StatusCallback *string `json:"StatusCallback,omitempty"`
	// The HTTP method we should use to call `status_callback`. Can be: `GET` or `POST` and defaults to `POST`.
	StatusCallbackMethod *string `json:"StatusCallbackMethod,omitempty"`
	// The SID of the Trunk we should use to handle calls to the new phone number. If a `trunk_sid` is present, we ignore all of the voice urls and voice applications and use only those set on the Trunk. Setting a `trunk_sid` will automatically delete your `voice_application_sid` and vice versa.
	TrunkSid *string `json:"TrunkSid,omitempty"`
	// The SID of the application we should use to handle calls to the new phone number. If a `voice_application_sid` is present, we ignore all of the voice urls and use those set on the application. Setting a `voice_application_sid` will automatically delete your `trunk_sid` and vice versa.
	VoiceApplicationSid *string `json:"VoiceApplicationSid,omitempty"`
	// Whether to lookup the caller's name from the CNAM database and post it to your app. Can be: `true` or `false` and defaults to `false`.
	VoiceCallerIdLookup *bool `json:"VoiceCallerIdLookup,omitempty"`
	// The HTTP method that we should use to call `voice_fallback_url`. Can be: `GET` or `POST` and defaults to `POST`.
	VoiceFallbackMethod *string `json:"VoiceFallbackMethod,omitempty"`
	// The URL that we should call when an error occurs retrieving or executing the TwiML requested by `url`.
	VoiceFallbackUrl *string `json:"VoiceFallbackUrl,omitempty"`
	// The HTTP method that we should use to call `voice_url`. Can be: `GET` or `POST` and defaults to `POST`.
	VoiceMethod *string `json:"VoiceMethod,omitempty"`
	// The configuration parameter for the new phone number to receive incoming voice calls or faxes. Can be: `fax` or `voice` and defaults to `voice`.
	VoiceReceiveMode *string `json:"VoiceReceiveMode,omitempty"`
	// The URL that we should call to answer a call to the new phone number. The `voice_url` will not be called if a `voice_application_sid` or a `trunk_sid` is set.
	VoiceUrl *string `json:"VoiceUrl,omitempty"`
}

Optional parameters for the method 'CreateIncomingPhoneNumberTollFree'

func (*CreateIncomingPhoneNumberTollFreeParams) SetAddressSid

func (*CreateIncomingPhoneNumberTollFreeParams) SetApiVersion

func (*CreateIncomingPhoneNumberTollFreeParams) SetBundleSid

func (*CreateIncomingPhoneNumberTollFreeParams) SetEmergencyAddressSid

func (params *CreateIncomingPhoneNumberTollFreeParams) SetEmergencyAddressSid(EmergencyAddressSid string) *CreateIncomingPhoneNumberTollFreeParams

func (*CreateIncomingPhoneNumberTollFreeParams) SetEmergencyStatus

func (params *CreateIncomingPhoneNumberTollFreeParams) SetEmergencyStatus(EmergencyStatus string) *CreateIncomingPhoneNumberTollFreeParams

func (*CreateIncomingPhoneNumberTollFreeParams) SetFriendlyName

func (*CreateIncomingPhoneNumberTollFreeParams) SetIdentitySid

func (*CreateIncomingPhoneNumberTollFreeParams) SetPathAccountSid

func (*CreateIncomingPhoneNumberTollFreeParams) SetPhoneNumber

func (*CreateIncomingPhoneNumberTollFreeParams) SetSmsApplicationSid

func (params *CreateIncomingPhoneNumberTollFreeParams) SetSmsApplicationSid(SmsApplicationSid string) *CreateIncomingPhoneNumberTollFreeParams

func (*CreateIncomingPhoneNumberTollFreeParams) SetSmsFallbackMethod

func (params *CreateIncomingPhoneNumberTollFreeParams) SetSmsFallbackMethod(SmsFallbackMethod string) *CreateIncomingPhoneNumberTollFreeParams

func (*CreateIncomingPhoneNumberTollFreeParams) SetSmsFallbackUrl

func (*CreateIncomingPhoneNumberTollFreeParams) SetSmsMethod

func (*CreateIncomingPhoneNumberTollFreeParams) SetSmsUrl

func (*CreateIncomingPhoneNumberTollFreeParams) SetStatusCallback

func (*CreateIncomingPhoneNumberTollFreeParams) SetStatusCallbackMethod

func (params *CreateIncomingPhoneNumberTollFreeParams) SetStatusCallbackMethod(StatusCallbackMethod string) *CreateIncomingPhoneNumberTollFreeParams

func (*CreateIncomingPhoneNumberTollFreeParams) SetTrunkSid

func (*CreateIncomingPhoneNumberTollFreeParams) SetVoiceApplicationSid

func (params *CreateIncomingPhoneNumberTollFreeParams) SetVoiceApplicationSid(VoiceApplicationSid string) *CreateIncomingPhoneNumberTollFreeParams

func (*CreateIncomingPhoneNumberTollFreeParams) SetVoiceCallerIdLookup

func (params *CreateIncomingPhoneNumberTollFreeParams) SetVoiceCallerIdLookup(VoiceCallerIdLookup bool) *CreateIncomingPhoneNumberTollFreeParams

func (*CreateIncomingPhoneNumberTollFreeParams) SetVoiceFallbackMethod

func (params *CreateIncomingPhoneNumberTollFreeParams) SetVoiceFallbackMethod(VoiceFallbackMethod string) *CreateIncomingPhoneNumberTollFreeParams

func (*CreateIncomingPhoneNumberTollFreeParams) SetVoiceFallbackUrl

func (params *CreateIncomingPhoneNumberTollFreeParams) SetVoiceFallbackUrl(VoiceFallbackUrl string) *CreateIncomingPhoneNumberTollFreeParams

func (*CreateIncomingPhoneNumberTollFreeParams) SetVoiceMethod

func (*CreateIncomingPhoneNumberTollFreeParams) SetVoiceReceiveMode

func (params *CreateIncomingPhoneNumberTollFreeParams) SetVoiceReceiveMode(VoiceReceiveMode string) *CreateIncomingPhoneNumberTollFreeParams

func (*CreateIncomingPhoneNumberTollFreeParams) SetVoiceUrl

type CreateMessageFeedbackParams

type CreateMessageFeedbackParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// Whether the feedback has arrived. Can be: `unconfirmed` or `confirmed`. If `provide_feedback`=`true` in [the initial HTTP POST](https://www.twilio.com/docs/sms/api/message-resource#create-a-message-resource), the initial value of this property is `unconfirmed`. After the message arrives, update the value to `confirmed`.
	Outcome *string `json:"Outcome,omitempty"`
}

Optional parameters for the method 'CreateMessageFeedback'

func (*CreateMessageFeedbackParams) SetOutcome

func (params *CreateMessageFeedbackParams) SetOutcome(Outcome string) *CreateMessageFeedbackParams

func (*CreateMessageFeedbackParams) SetPathAccountSid

func (params *CreateMessageFeedbackParams) SetPathAccountSid(PathAccountSid string) *CreateMessageFeedbackParams

type CreateMessageParams

type CreateMessageParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// Determines if the address can be stored or obfuscated based on privacy settings
	AddressRetention *string `json:"AddressRetention,omitempty"`
	// The SID of the application that should receive message status. We POST a `message_sid` parameter and a `message_status` parameter with a value of `sent` or `failed` to the [application](https://www.twilio.com/docs/usage/api/applications)'s `message_status_callback`. If a `status_callback` parameter is also passed, it will be ignored and the application's `message_status_callback` parameter will be used.
	ApplicationSid *string `json:"ApplicationSid,omitempty"`
	// Total number of attempts made ( including this ) to send out the message regardless of the provider used
	Attempt *int `json:"Attempt,omitempty"`
	// The text of the message you want to send. Can be up to 1,600 characters in length.
	Body *string `json:"Body,omitempty"`
	// Determines if the message content can be stored or redacted based on privacy settings
	ContentRetention *string `json:"ContentRetention,omitempty"`
	// Reserved
	ForceDelivery *bool `json:"ForceDelivery,omitempty"`
	// A Twilio phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, an [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), or a [Channel Endpoint address](https://www.twilio.com/docs/sms/channels#channel-addresses) that is enabled for the type of message you want to send. Phone numbers or [short codes](https://www.twilio.com/docs/sms/api/short-code) purchased from Twilio also work here. You cannot, for example, spoof messages from a private cell phone number. If you are using `messaging_service_sid`, this parameter must be empty.
	From *string `json:"From,omitempty"`
	// The maximum total price in US dollars that you will pay for the message to be delivered. Can be a decimal value that has up to 4 decimal places. All messages are queued for delivery and the message cost is checked before the message is sent. If the cost exceeds `max_price`, the message will fail and a status of `Failed` is sent to the status callback. If `MaxPrice` is not set, the message cost is not checked.
	MaxPrice *float32 `json:"MaxPrice,omitempty"`
	// The URL of the media to send with the message. The media can be of type `gif`, `png`, and `jpeg` and will be formatted correctly on the recipient's device. The media size limit is 5MB for supported file types (JPEG, PNG, GIF) and 500KB for [other types](https://www.twilio.com/docs/sms/accepted-mime-types) of accepted media. To send more than one image in the message body, provide multiple `media_url` parameters in the POST request. You can include up to 10 `media_url` parameters per message. You can send images in an SMS message in only the US and Canada.
	MediaUrl *[]string `json:"MediaUrl,omitempty"`
	// The SID of the [Messaging Service](https://www.twilio.com/docs/sms/services#send-a-message-with-copilot) you want to associate with the Message. Set this parameter to use the [Messaging Service Settings and Copilot Features](https://www.twilio.com/console/sms/services) you have configured and leave the `from` parameter empty. When only this parameter is set, Twilio will use your enabled Copilot Features to select the `from` phone number for delivery.
	MessagingServiceSid *string `json:"MessagingServiceSid,omitempty"`
	// Rich actions for Channels Messages.
	PersistentAction *[]string `json:"PersistentAction,omitempty"`
	// Whether to confirm delivery of the message. Set this value to `true` if you are sending messages that have a trackable user action and you intend to confirm delivery of the message using the [Message Feedback API](https://www.twilio.com/docs/sms/api/message-feedback-resource). This parameter is `false` by default.
	ProvideFeedback *bool `json:"ProvideFeedback,omitempty"`
	// Whether to detect Unicode characters that have a similar GSM-7 character and replace them. Can be: `true` or `false`.
	SmartEncoded *bool `json:"SmartEncoded,omitempty"`
	// The URL we should call using the `status_callback_method` to send status information to your application. If specified, we POST these message status changes to the URL: `queued`, `failed`, `sent`, `delivered`, or `undelivered`. Twilio will POST its [standard request parameters](https://www.twilio.com/docs/sms/twiml#request-parameters) as well as some additional parameters including `MessageSid`, `MessageStatus`, and `ErrorCode`. If you include this parameter with the `messaging_service_sid`, we use this URL instead of the Status Callback URL of the [Messaging Service](https://www.twilio.com/docs/sms/services/api). URLs must contain a valid hostname and underscores are not allowed.
	StatusCallback *string `json:"StatusCallback,omitempty"`
	// The destination phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format for SMS/MMS or [Channel user address](https://www.twilio.com/docs/sms/channels#channel-addresses) for other 3rd-party channels.
	To *string `json:"To,omitempty"`
	// How long in seconds the message can remain in our outgoing message queue. After this period elapses, the message fails and we call your status callback. Can be between 1 and the default value of 14,400 seconds. After a message has been accepted by a carrier, however, we cannot guarantee that the message will not be queued after this period. We recommend that this value be at least 5 seconds.
	ValidityPeriod *int `json:"ValidityPeriod,omitempty"`
}

Optional parameters for the method 'CreateMessage'

func (*CreateMessageParams) SetAddressRetention

func (params *CreateMessageParams) SetAddressRetention(AddressRetention string) *CreateMessageParams

func (*CreateMessageParams) SetApplicationSid

func (params *CreateMessageParams) SetApplicationSid(ApplicationSid string) *CreateMessageParams

func (*CreateMessageParams) SetAttempt

func (params *CreateMessageParams) SetAttempt(Attempt int) *CreateMessageParams

func (*CreateMessageParams) SetBody

func (params *CreateMessageParams) SetBody(Body string) *CreateMessageParams

func (*CreateMessageParams) SetContentRetention

func (params *CreateMessageParams) SetContentRetention(ContentRetention string) *CreateMessageParams

func (*CreateMessageParams) SetForceDelivery

func (params *CreateMessageParams) SetForceDelivery(ForceDelivery bool) *CreateMessageParams

func (*CreateMessageParams) SetFrom

func (params *CreateMessageParams) SetFrom(From string) *CreateMessageParams

func (*CreateMessageParams) SetMaxPrice

func (params *CreateMessageParams) SetMaxPrice(MaxPrice float32) *CreateMessageParams

func (*CreateMessageParams) SetMediaUrl

func (params *CreateMessageParams) SetMediaUrl(MediaUrl []string) *CreateMessageParams

func (*CreateMessageParams) SetMessagingServiceSid

func (params *CreateMessageParams) SetMessagingServiceSid(MessagingServiceSid string) *CreateMessageParams

func (*CreateMessageParams) SetPathAccountSid

func (params *CreateMessageParams) SetPathAccountSid(PathAccountSid string) *CreateMessageParams

func (*CreateMessageParams) SetPersistentAction

func (params *CreateMessageParams) SetPersistentAction(PersistentAction []string) *CreateMessageParams

func (*CreateMessageParams) SetProvideFeedback

func (params *CreateMessageParams) SetProvideFeedback(ProvideFeedback bool) *CreateMessageParams

func (*CreateMessageParams) SetSmartEncoded

func (params *CreateMessageParams) SetSmartEncoded(SmartEncoded bool) *CreateMessageParams

func (*CreateMessageParams) SetStatusCallback

func (params *CreateMessageParams) SetStatusCallback(StatusCallback string) *CreateMessageParams

func (*CreateMessageParams) SetTo

func (params *CreateMessageParams) SetTo(To string) *CreateMessageParams

func (*CreateMessageParams) SetValidityPeriod

func (params *CreateMessageParams) SetValidityPeriod(ValidityPeriod int) *CreateMessageParams

type CreateNewKeyParams

type CreateNewKeyParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will be responsible for the new Key resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// A descriptive string that you create to describe the resource. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
}

Optional parameters for the method 'CreateNewKey'

func (*CreateNewKeyParams) SetFriendlyName

func (params *CreateNewKeyParams) SetFriendlyName(FriendlyName string) *CreateNewKeyParams

func (*CreateNewKeyParams) SetPathAccountSid

func (params *CreateNewKeyParams) SetPathAccountSid(PathAccountSid string) *CreateNewKeyParams

type CreateNewSigningKeyParams

type CreateNewSigningKeyParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will be responsible for the new Key resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// A descriptive string that you create to describe the resource. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
}

Optional parameters for the method 'CreateNewSigningKey'

func (*CreateNewSigningKeyParams) SetFriendlyName

func (params *CreateNewSigningKeyParams) SetFriendlyName(FriendlyName string) *CreateNewSigningKeyParams

func (*CreateNewSigningKeyParams) SetPathAccountSid

func (params *CreateNewSigningKeyParams) SetPathAccountSid(PathAccountSid string) *CreateNewSigningKeyParams

type CreateParticipantParams

type CreateParticipantParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// Whether to play a notification beep to the conference when the participant joins. Can be: `true`, `false`, `onEnter`, or `onExit`. The default value is `true`.
	Beep *string `json:"Beep,omitempty"`
	// The SID of a BYOC (Bring Your Own Carrier) trunk to route this call with. Note that `byoc` is only meaningful when `to` is a phone number; it will otherwise be ignored. (Beta)
	Byoc *string `json:"Byoc,omitempty"`
	// The Reason for the outgoing call. Use it to specify the purpose of the call that is presented on the called party's phone. (Branded Calls Beta)
	CallReason *string `json:"CallReason,omitempty"`
	// The SID of the participant who is being `coached`. The participant being coached is the only participant who can hear the participant who is `coaching`.
	CallSidToCoach *string `json:"CallSidToCoach,omitempty"`
	// The phone number, Client identifier, or username portion of SIP address that made this call. Phone numbers are in [E.164](https://www.twilio.com/docs/glossary/what-e164) format (e.g., +16175551212). Client identifiers are formatted `client:name`. If using a phone number, it must be a Twilio number or a Verified [outgoing caller id](https://www.twilio.com/docs/voice/api/outgoing-caller-ids) for your account. If the `to` parameter is a phone number, `callerId` must also be a phone number. If `to` is sip address, this value of `callerId` should be a username portion to be used to populate the From header that is passed to the SIP endpoint.
	CallerId *string `json:"CallerId,omitempty"`
	// Whether the participant is coaching another call. Can be: `true` or `false`. If not present, defaults to `false` unless `call_sid_to_coach` is defined. If `true`, `call_sid_to_coach` must be defined.
	Coaching *bool `json:"Coaching,omitempty"`
	// Whether to record the conference the participant is joining. Can be: `true`, `false`, `record-from-start`, and `do-not-record`. The default value is `false`.
	ConferenceRecord *string `json:"ConferenceRecord,omitempty"`
	// The URL we should call using the `conference_recording_status_callback_method` when the conference recording is available.
	ConferenceRecordingStatusCallback *string `json:"ConferenceRecordingStatusCallback,omitempty"`
	// The conference recording state changes that generate a call to `conference_recording_status_callback`. Can be: `in-progress`, `completed`, `failed`, and `absent`. Separate multiple values with a space, ex: `'in-progress completed failed'`
	ConferenceRecordingStatusCallbackEvent *[]string `json:"ConferenceRecordingStatusCallbackEvent,omitempty"`
	// The HTTP method we should use to call `conference_recording_status_callback`. Can be: `GET` or `POST` and defaults to `POST`.
	ConferenceRecordingStatusCallbackMethod *string `json:"ConferenceRecordingStatusCallbackMethod,omitempty"`
	// The URL we should call using the `conference_status_callback_method` when the conference events in `conference_status_callback_event` occur. Only the value set by the first participant to join the conference is used. Subsequent `conference_status_callback` values are ignored.
	ConferenceStatusCallback *string `json:"ConferenceStatusCallback,omitempty"`
	// The conference state changes that should generate a call to `conference_status_callback`. Can be: `start`, `end`, `join`, `leave`, `mute`, `hold`, `modify`, `speaker`, and `announcement`. Separate multiple values with a space. Defaults to `start end`.
	ConferenceStatusCallbackEvent *[]string `json:"ConferenceStatusCallbackEvent,omitempty"`
	// The HTTP method we should use to call `conference_status_callback`. Can be: `GET` or `POST` and defaults to `POST`.
	ConferenceStatusCallbackMethod *string `json:"ConferenceStatusCallbackMethod,omitempty"`
	// Whether to trim leading and trailing silence from your recorded conference audio files. Can be: `trim-silence` or `do-not-trim` and defaults to `trim-silence`.
	ConferenceTrim *string `json:"ConferenceTrim,omitempty"`
	// Whether to allow an agent to hear the state of the outbound call, including ringing or disconnect messages. Can be: `true` or `false` and defaults to `true`.
	EarlyMedia *bool `json:"EarlyMedia,omitempty"`
	// Whether to end the conference when the participant leaves. Can be: `true` or `false` and defaults to `false`.
	EndConferenceOnExit *bool `json:"EndConferenceOnExit,omitempty"`
	// The phone number, Client identifier, or username portion of SIP address that made this call. Phone numbers are in [E.164](https://www.twilio.com/docs/glossary/what-e164) format (e.g., +16175551212). Client identifiers are formatted `client:name`. If using a phone number, it must be a Twilio number or a Verified [outgoing caller id](https://www.twilio.com/docs/voice/api/outgoing-caller-ids) for your account. If the `to` parameter is a phone number, `from` must also be a phone number. If `to` is sip address, this value of `from` should be a username portion to be used to populate the P-Asserted-Identity header that is passed to the SIP endpoint.
	From *string `json:"From,omitempty"`
	// Jitter buffer size for the connecting participant. Twilio will use this setting to apply Jitter Buffer before participant's audio is mixed into the conference. Can be: `off`, `small`, `medium`, and `large`. Default to `large`.
	JitterBufferSize *string `json:"JitterBufferSize,omitempty"`
	// A label for this participant. If one is supplied, it may subsequently be used to fetch, update or delete the participant.
	Label *string `json:"Label,omitempty"`
	// The maximum number of participants in the conference. Can be a positive integer from `2` to `250`. The default value is `250`.
	MaxParticipants *int `json:"MaxParticipants,omitempty"`
	// Whether the agent is muted in the conference. Can be `true` or `false` and the default is `false`.
	Muted *bool `json:"Muted,omitempty"`
	// Whether to record the participant and their conferences, including the time between conferences. Can be `true` or `false` and the default is `false`.
	Record *bool `json:"Record,omitempty"`
	// The recording channels for the final recording. Can be: `mono` or `dual` and the default is `mono`.
	RecordingChannels *string `json:"RecordingChannels,omitempty"`
	// The URL that we should call using the `recording_status_callback_method` when the recording status changes.
	RecordingStatusCallback *string `json:"RecordingStatusCallback,omitempty"`
	// The recording state changes that should generate a call to `recording_status_callback`. Can be: `started`, `in-progress`, `paused`, `resumed`, `stopped`, `completed`, `failed`, and `absent`. Separate multiple values with a space, ex: `'in-progress completed failed'`.
	RecordingStatusCallbackEvent *[]string `json:"RecordingStatusCallbackEvent,omitempty"`
	// The HTTP method we should use when we call `recording_status_callback`. Can be: `GET` or `POST` and defaults to `POST`.
	RecordingStatusCallbackMethod *string `json:"RecordingStatusCallbackMethod,omitempty"`
	// The audio track to record for the call. Can be: `inbound`, `outbound` or `both`. The default is `both`. `inbound` records the audio that is received by Twilio. `outbound` records the audio that is sent from Twilio. `both` records the audio that is received and sent by Twilio.
	RecordingTrack *string `json:"RecordingTrack,omitempty"`
	// The [region](https://support.twilio.com/hc/en-us/articles/223132167-How-global-low-latency-routing-and-region-selection-work-for-conferences-and-Client-calls) where we should mix the recorded audio. Can be:`us1`, `ie1`, `de1`, `sg1`, `br1`, `au1`, or `jp1`.
	Region *string `json:"Region,omitempty"`
	// The SIP password for authentication.
	SipAuthPassword *string `json:"SipAuthPassword,omitempty"`
	// The SIP username used for authentication.
	SipAuthUsername *string `json:"SipAuthUsername,omitempty"`
	// Whether to start the conference when the participant joins, if it has not already started. Can be: `true` or `false` and the default is `true`. If `false` and the conference has not started, the participant is muted and hears background music until another participant starts the conference.
	StartConferenceOnEnter *bool `json:"StartConferenceOnEnter,omitempty"`
	// The URL we should call using the `status_callback_method` to send status information to your application.
	StatusCallback *string `json:"StatusCallback,omitempty"`
	// The conference state changes that should generate a call to `status_callback`. Can be: `initiated`, `ringing`, `answered`, and `completed`. Separate multiple values with a space. The default value is `completed`.
	StatusCallbackEvent *[]string `json:"StatusCallbackEvent,omitempty"`
	// The HTTP method we should use to call `status_callback`. Can be: `GET` and `POST` and defaults to `POST`.
	StatusCallbackMethod *string `json:"StatusCallbackMethod,omitempty"`
	// The maximum duration of the call in seconds. Constraints depend on account and configuration.
	TimeLimit *int `json:"TimeLimit,omitempty"`
	// The number of seconds that we should allow the phone to ring before assuming there is no answer. Can be an integer between `5` and `600`, inclusive. The default value is `60`. We always add a 5-second timeout buffer to outgoing calls, so  value of 10 would result in an actual timeout that was closer to 15 seconds.
	Timeout *int `json:"Timeout,omitempty"`
	// The phone number, SIP address, or Client identifier that received this call. Phone numbers are in [E.164](https://www.twilio.com/docs/glossary/what-e164) format (e.g., +16175551212). SIP addresses are formatted as `sip:name@company.com`. Client identifiers are formatted `client:name`. [Custom parameters](https://www.twilio.com/docs/voice/api/conference-participant-resource#custom-parameters) may also be specified.
	To *string `json:"To,omitempty"`
	// The HTTP method we should use to call `wait_url`. Can be `GET` or `POST` and the default is `POST`. When using a static audio file, this should be `GET` so that we can cache the file.
	WaitMethod *string `json:"WaitMethod,omitempty"`
	// The URL we should call using the `wait_method` for the music to play while participants are waiting for the conference to start. The default value is the URL of our standard hold music. [Learn more about hold music](https://www.twilio.com/labs/twimlets/holdmusic).
	WaitUrl *string `json:"WaitUrl,omitempty"`
}

Optional parameters for the method 'CreateParticipant'

func (*CreateParticipantParams) SetBeep

func (*CreateParticipantParams) SetByoc

func (*CreateParticipantParams) SetCallReason

func (params *CreateParticipantParams) SetCallReason(CallReason string) *CreateParticipantParams

func (*CreateParticipantParams) SetCallSidToCoach

func (params *CreateParticipantParams) SetCallSidToCoach(CallSidToCoach string) *CreateParticipantParams

func (*CreateParticipantParams) SetCallerId

func (params *CreateParticipantParams) SetCallerId(CallerId string) *CreateParticipantParams

func (*CreateParticipantParams) SetCoaching

func (params *CreateParticipantParams) SetCoaching(Coaching bool) *CreateParticipantParams

func (*CreateParticipantParams) SetConferenceRecord

func (params *CreateParticipantParams) SetConferenceRecord(ConferenceRecord string) *CreateParticipantParams

func (*CreateParticipantParams) SetConferenceRecordingStatusCallback

func (params *CreateParticipantParams) SetConferenceRecordingStatusCallback(ConferenceRecordingStatusCallback string) *CreateParticipantParams

func (*CreateParticipantParams) SetConferenceRecordingStatusCallbackEvent

func (params *CreateParticipantParams) SetConferenceRecordingStatusCallbackEvent(ConferenceRecordingStatusCallbackEvent []string) *CreateParticipantParams

func (*CreateParticipantParams) SetConferenceRecordingStatusCallbackMethod

func (params *CreateParticipantParams) SetConferenceRecordingStatusCallbackMethod(ConferenceRecordingStatusCallbackMethod string) *CreateParticipantParams

func (*CreateParticipantParams) SetConferenceStatusCallback

func (params *CreateParticipantParams) SetConferenceStatusCallback(ConferenceStatusCallback string) *CreateParticipantParams

func (*CreateParticipantParams) SetConferenceStatusCallbackEvent

func (params *CreateParticipantParams) SetConferenceStatusCallbackEvent(ConferenceStatusCallbackEvent []string) *CreateParticipantParams

func (*CreateParticipantParams) SetConferenceStatusCallbackMethod

func (params *CreateParticipantParams) SetConferenceStatusCallbackMethod(ConferenceStatusCallbackMethod string) *CreateParticipantParams

func (*CreateParticipantParams) SetConferenceTrim

func (params *CreateParticipantParams) SetConferenceTrim(ConferenceTrim string) *CreateParticipantParams

func (*CreateParticipantParams) SetEarlyMedia

func (params *CreateParticipantParams) SetEarlyMedia(EarlyMedia bool) *CreateParticipantParams

func (*CreateParticipantParams) SetEndConferenceOnExit

func (params *CreateParticipantParams) SetEndConferenceOnExit(EndConferenceOnExit bool) *CreateParticipantParams

func (*CreateParticipantParams) SetFrom

func (*CreateParticipantParams) SetJitterBufferSize

func (params *CreateParticipantParams) SetJitterBufferSize(JitterBufferSize string) *CreateParticipantParams

func (*CreateParticipantParams) SetLabel

func (params *CreateParticipantParams) SetLabel(Label string) *CreateParticipantParams

func (*CreateParticipantParams) SetMaxParticipants

func (params *CreateParticipantParams) SetMaxParticipants(MaxParticipants int) *CreateParticipantParams

func (*CreateParticipantParams) SetMuted

func (params *CreateParticipantParams) SetMuted(Muted bool) *CreateParticipantParams

func (*CreateParticipantParams) SetPathAccountSid

func (params *CreateParticipantParams) SetPathAccountSid(PathAccountSid string) *CreateParticipantParams

func (*CreateParticipantParams) SetRecord

func (params *CreateParticipantParams) SetRecord(Record bool) *CreateParticipantParams

func (*CreateParticipantParams) SetRecordingChannels

func (params *CreateParticipantParams) SetRecordingChannels(RecordingChannels string) *CreateParticipantParams

func (*CreateParticipantParams) SetRecordingStatusCallback

func (params *CreateParticipantParams) SetRecordingStatusCallback(RecordingStatusCallback string) *CreateParticipantParams

func (*CreateParticipantParams) SetRecordingStatusCallbackEvent

func (params *CreateParticipantParams) SetRecordingStatusCallbackEvent(RecordingStatusCallbackEvent []string) *CreateParticipantParams

func (*CreateParticipantParams) SetRecordingStatusCallbackMethod

func (params *CreateParticipantParams) SetRecordingStatusCallbackMethod(RecordingStatusCallbackMethod string) *CreateParticipantParams

func (*CreateParticipantParams) SetRecordingTrack

func (params *CreateParticipantParams) SetRecordingTrack(RecordingTrack string) *CreateParticipantParams

func (*CreateParticipantParams) SetRegion

func (params *CreateParticipantParams) SetRegion(Region string) *CreateParticipantParams

func (*CreateParticipantParams) SetSipAuthPassword

func (params *CreateParticipantParams) SetSipAuthPassword(SipAuthPassword string) *CreateParticipantParams

func (*CreateParticipantParams) SetSipAuthUsername

func (params *CreateParticipantParams) SetSipAuthUsername(SipAuthUsername string) *CreateParticipantParams

func (*CreateParticipantParams) SetStartConferenceOnEnter

func (params *CreateParticipantParams) SetStartConferenceOnEnter(StartConferenceOnEnter bool) *CreateParticipantParams

func (*CreateParticipantParams) SetStatusCallback

func (params *CreateParticipantParams) SetStatusCallback(StatusCallback string) *CreateParticipantParams

func (*CreateParticipantParams) SetStatusCallbackEvent

func (params *CreateParticipantParams) SetStatusCallbackEvent(StatusCallbackEvent []string) *CreateParticipantParams

func (*CreateParticipantParams) SetStatusCallbackMethod

func (params *CreateParticipantParams) SetStatusCallbackMethod(StatusCallbackMethod string) *CreateParticipantParams

func (*CreateParticipantParams) SetTimeLimit added in v0.14.0

func (params *CreateParticipantParams) SetTimeLimit(TimeLimit int) *CreateParticipantParams

func (*CreateParticipantParams) SetTimeout

func (params *CreateParticipantParams) SetTimeout(Timeout int) *CreateParticipantParams

func (*CreateParticipantParams) SetTo

func (*CreateParticipantParams) SetWaitMethod

func (params *CreateParticipantParams) SetWaitMethod(WaitMethod string) *CreateParticipantParams

func (*CreateParticipantParams) SetWaitUrl

func (params *CreateParticipantParams) SetWaitUrl(WaitUrl string) *CreateParticipantParams

type CreatePaymentsParams

type CreatePaymentsParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// Type of bank account if payment source is ACH. One of `consumer-checking`, `consumer-savings`, or `commercial-checking`. The default value is `consumer-checking`.
	BankAccountType *string `json:"BankAccountType,omitempty"`
	// A positive decimal value less than 1,000,000 to charge against the credit card or bank account. Default currency can be overwritten with `currency` field. Leave blank or set to 0 to tokenize.
	ChargeAmount *float32 `json:"ChargeAmount,omitempty"`
	// The currency of the `charge_amount`, formatted as [ISO 4127](http://www.iso.org/iso/home/standards/currency_codes.htm) format. The default value is `USD` and all values allowed from the <Pay> Connector are accepted.
	Currency *string `json:"Currency,omitempty"`
	// The description can be used to provide more details regarding the transaction. This information is submitted along with the payment details to the Payment Connector which are then posted on the transactions.
	Description *string `json:"Description,omitempty"`
	// A unique token that will be used to ensure that multiple API calls with the same information do not result in multiple transactions. This should be a unique string value per API call and can be a randomly generated.
	IdempotencyKey *string `json:"IdempotencyKey,omitempty"`
	// A list of inputs that should be accepted. Currently only `dtmf` is supported. All digits captured during a pay session are redacted from the logs.
	Input *string `json:"Input,omitempty"`
	// A positive integer that is used to validate the length of the `PostalCode` inputted by the user. User must enter this many digits.
	MinPostalCodeLength *int `json:"MinPostalCodeLength,omitempty"`
	// A single level JSON string that is required when accepting certain information specific only to ACH payments. The information that has to be included here depends on the <Pay> Connector. [Read more](https://www.twilio.com/console/voice/pay-connectors).
	Parameter *map[string]interface{} `json:"Parameter,omitempty"`
	// This is the unique name corresponding to the Payment Gateway Connector installed in the Twilio Add-ons. Learn more about [<Pay> Connectors](https://www.twilio.com/console/voice/pay-connectors). The default value is `Default`.
	PaymentConnector *string `json:"PaymentConnector,omitempty"`
	// Type of payment being captured. One of `credit-card` or `ach-debit`. The default value is `credit-card`.
	PaymentMethod *string `json:"PaymentMethod,omitempty"`
	// Indicates whether the credit card postal code (zip code) is a required piece of payment information that must be provided by the caller. The default is `true`.
	PostalCode *bool `json:"PostalCode,omitempty"`
	// Indicates whether the credit card security code is a required piece of payment information that must be provided by the caller. The default is `true`.
	SecurityCode *bool `json:"SecurityCode,omitempty"`
	// Provide an absolute or relative URL to receive status updates regarding your Pay session. Read more about the [expected StatusCallback values](https://www.twilio.com/docs/voice/api/payment-resource#statuscallback)
	StatusCallback *string `json:"StatusCallback,omitempty"`
	// The number of seconds that <Pay> should wait for the caller to press a digit between each subsequent digit, after the first one, before moving on to validate the digits captured. The default is `5`, maximum is `600`.
	Timeout *int `json:"Timeout,omitempty"`
	// Indicates whether the payment method should be tokenized as a `one-time` or `reusable` token. The default value is `reusable`. Do not enter a charge amount when tokenizing. If a charge amount is entered, the payment method will be charged and not tokenized.
	TokenType *string `json:"TokenType,omitempty"`
	// Credit card types separated by space that Pay should accept. The default value is `visa mastercard amex`
	ValidCardTypes *string `json:"ValidCardTypes,omitempty"`
}

Optional parameters for the method 'CreatePayments'

func (*CreatePaymentsParams) SetBankAccountType

func (params *CreatePaymentsParams) SetBankAccountType(BankAccountType string) *CreatePaymentsParams

func (*CreatePaymentsParams) SetChargeAmount

func (params *CreatePaymentsParams) SetChargeAmount(ChargeAmount float32) *CreatePaymentsParams

func (*CreatePaymentsParams) SetCurrency

func (params *CreatePaymentsParams) SetCurrency(Currency string) *CreatePaymentsParams

func (*CreatePaymentsParams) SetDescription

func (params *CreatePaymentsParams) SetDescription(Description string) *CreatePaymentsParams

func (*CreatePaymentsParams) SetIdempotencyKey

func (params *CreatePaymentsParams) SetIdempotencyKey(IdempotencyKey string) *CreatePaymentsParams

func (*CreatePaymentsParams) SetInput

func (params *CreatePaymentsParams) SetInput(Input string) *CreatePaymentsParams

func (*CreatePaymentsParams) SetMinPostalCodeLength

func (params *CreatePaymentsParams) SetMinPostalCodeLength(MinPostalCodeLength int) *CreatePaymentsParams

func (*CreatePaymentsParams) SetParameter

func (params *CreatePaymentsParams) SetParameter(Parameter map[string]interface{}) *CreatePaymentsParams

func (*CreatePaymentsParams) SetPathAccountSid

func (params *CreatePaymentsParams) SetPathAccountSid(PathAccountSid string) *CreatePaymentsParams

func (*CreatePaymentsParams) SetPaymentConnector

func (params *CreatePaymentsParams) SetPaymentConnector(PaymentConnector string) *CreatePaymentsParams

func (*CreatePaymentsParams) SetPaymentMethod

func (params *CreatePaymentsParams) SetPaymentMethod(PaymentMethod string) *CreatePaymentsParams

func (*CreatePaymentsParams) SetPostalCode

func (params *CreatePaymentsParams) SetPostalCode(PostalCode bool) *CreatePaymentsParams

func (*CreatePaymentsParams) SetSecurityCode

func (params *CreatePaymentsParams) SetSecurityCode(SecurityCode bool) *CreatePaymentsParams

func (*CreatePaymentsParams) SetStatusCallback

func (params *CreatePaymentsParams) SetStatusCallback(StatusCallback string) *CreatePaymentsParams

func (*CreatePaymentsParams) SetTimeout

func (params *CreatePaymentsParams) SetTimeout(Timeout int) *CreatePaymentsParams

func (*CreatePaymentsParams) SetTokenType

func (params *CreatePaymentsParams) SetTokenType(TokenType string) *CreatePaymentsParams

func (*CreatePaymentsParams) SetValidCardTypes

func (params *CreatePaymentsParams) SetValidCardTypes(ValidCardTypes string) *CreatePaymentsParams

type CreateQueueParams

type CreateQueueParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// A descriptive string that you created to describe this resource. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The maximum number of calls allowed to be in the queue. The default is 100. The maximum is 5000.
	MaxSize *int `json:"MaxSize,omitempty"`
}

Optional parameters for the method 'CreateQueue'

func (*CreateQueueParams) SetFriendlyName

func (params *CreateQueueParams) SetFriendlyName(FriendlyName string) *CreateQueueParams

func (*CreateQueueParams) SetMaxSize

func (params *CreateQueueParams) SetMaxSize(MaxSize int) *CreateQueueParams

func (*CreateQueueParams) SetPathAccountSid

func (params *CreateQueueParams) SetPathAccountSid(PathAccountSid string) *CreateQueueParams

type CreateSipAuthCallsCredentialListMappingParams

type CreateSipAuthCallsCredentialListMappingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The SID of the CredentialList resource to map to the SIP domain.
	CredentialListSid *string `json:"CredentialListSid,omitempty"`
}

Optional parameters for the method 'CreateSipAuthCallsCredentialListMapping'

func (*CreateSipAuthCallsCredentialListMappingParams) SetCredentialListSid

func (*CreateSipAuthCallsCredentialListMappingParams) SetPathAccountSid

type CreateSipAuthCallsIpAccessControlListMappingParams

type CreateSipAuthCallsIpAccessControlListMappingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The SID of the IpAccessControlList resource to map to the SIP domain.
	IpAccessControlListSid *string `json:"IpAccessControlListSid,omitempty"`
}

Optional parameters for the method 'CreateSipAuthCallsIpAccessControlListMapping'

func (*CreateSipAuthCallsIpAccessControlListMappingParams) SetIpAccessControlListSid

func (*CreateSipAuthCallsIpAccessControlListMappingParams) SetPathAccountSid

type CreateSipAuthRegistrationsCredentialListMappingParams

type CreateSipAuthRegistrationsCredentialListMappingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The SID of the CredentialList resource to map to the SIP domain.
	CredentialListSid *string `json:"CredentialListSid,omitempty"`
}

Optional parameters for the method 'CreateSipAuthRegistrationsCredentialListMapping'

func (*CreateSipAuthRegistrationsCredentialListMappingParams) SetCredentialListSid

func (*CreateSipAuthRegistrationsCredentialListMappingParams) SetPathAccountSid

type CreateSipCredentialListMappingParams

type CreateSipCredentialListMappingParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// A 34 character string that uniquely identifies the CredentialList resource to map to the SIP domain.
	CredentialListSid *string `json:"CredentialListSid,omitempty"`
}

Optional parameters for the method 'CreateSipCredentialListMapping'

func (*CreateSipCredentialListMappingParams) SetCredentialListSid

func (params *CreateSipCredentialListMappingParams) SetCredentialListSid(CredentialListSid string) *CreateSipCredentialListMappingParams

func (*CreateSipCredentialListMappingParams) SetPathAccountSid

func (params *CreateSipCredentialListMappingParams) SetPathAccountSid(PathAccountSid string) *CreateSipCredentialListMappingParams

type CreateSipCredentialListParams

type CreateSipCredentialListParams struct {
	// The unique id of the Account that is responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// A human readable descriptive text that describes the CredentialList, up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
}

Optional parameters for the method 'CreateSipCredentialList'

func (*CreateSipCredentialListParams) SetFriendlyName

func (params *CreateSipCredentialListParams) SetFriendlyName(FriendlyName string) *CreateSipCredentialListParams

func (*CreateSipCredentialListParams) SetPathAccountSid

func (params *CreateSipCredentialListParams) SetPathAccountSid(PathAccountSid string) *CreateSipCredentialListParams

type CreateSipCredentialParams

type CreateSipCredentialParams struct {
	// The unique id of the Account that is responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The password that the username will use when authenticating SIP requests. The password must be a minimum of 12 characters, contain at least 1 digit, and have mixed case. (eg `IWasAtSignal2018`)
	Password *string `json:"Password,omitempty"`
	// The username that will be passed when authenticating SIP requests. The username should be sent in response to Twilio's challenge of the initial INVITE. It can be up to 32 characters long.
	Username *string `json:"Username,omitempty"`
}

Optional parameters for the method 'CreateSipCredential'

func (*CreateSipCredentialParams) SetPassword

func (params *CreateSipCredentialParams) SetPassword(Password string) *CreateSipCredentialParams

func (*CreateSipCredentialParams) SetPathAccountSid

func (params *CreateSipCredentialParams) SetPathAccountSid(PathAccountSid string) *CreateSipCredentialParams

func (*CreateSipCredentialParams) SetUsername

func (params *CreateSipCredentialParams) SetUsername(Username string) *CreateSipCredentialParams

type CreateSipDomainParams

type CreateSipDomainParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The SID of the BYOC Trunk(Bring Your Own Carrier) resource that the Sip Domain will be associated with.
	ByocTrunkSid *string `json:"ByocTrunkSid,omitempty"`
	// The unique address you reserve on Twilio to which you route your SIP traffic. Domain names can contain letters, digits, and \\\"-\\\" and must end with `sip.twilio.com`.
	DomainName *string `json:"DomainName,omitempty"`
	// Whether an emergency caller sid is configured for the domain. If present, this phone number will be used as the callback for the emergency call.
	EmergencyCallerSid *string `json:"EmergencyCallerSid,omitempty"`
	// Whether emergency calling is enabled for the domain. If enabled, allows emergency calls on the domain from phone numbers with validated addresses.
	EmergencyCallingEnabled *bool `json:"EmergencyCallingEnabled,omitempty"`
	// A descriptive string that you created to describe the resource. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// Whether secure SIP is enabled for the domain. If enabled, TLS will be enforced and SRTP will be negotiated on all incoming calls to this sip domain.
	Secure *bool `json:"Secure,omitempty"`
	// Whether to allow SIP Endpoints to register with the domain to receive calls. Can be `true` or `false`. `true` allows SIP Endpoints to register with the domain to receive calls, `false` does not.
	SipRegistration *bool `json:"SipRegistration,omitempty"`
	// The HTTP method we should use to call `voice_fallback_url`. Can be: `GET` or `POST`.
	VoiceFallbackMethod *string `json:"VoiceFallbackMethod,omitempty"`
	// The URL that we should call when an error occurs while retrieving or executing the TwiML from `voice_url`.
	VoiceFallbackUrl *string `json:"VoiceFallbackUrl,omitempty"`
	// The HTTP method we should use to call `voice_url`. Can be: `GET` or `POST`.
	VoiceMethod *string `json:"VoiceMethod,omitempty"`
	// The HTTP method we should use to call `voice_status_callback_url`. Can be: `GET` or `POST`.
	VoiceStatusCallbackMethod *string `json:"VoiceStatusCallbackMethod,omitempty"`
	// The URL that we should call to pass status parameters (such as call ended) to your application.
	VoiceStatusCallbackUrl *string `json:"VoiceStatusCallbackUrl,omitempty"`
	// The URL we should when the domain receives a call.
	VoiceUrl *string `json:"VoiceUrl,omitempty"`
}

Optional parameters for the method 'CreateSipDomain'

func (*CreateSipDomainParams) SetByocTrunkSid

func (params *CreateSipDomainParams) SetByocTrunkSid(ByocTrunkSid string) *CreateSipDomainParams

func (*CreateSipDomainParams) SetDomainName

func (params *CreateSipDomainParams) SetDomainName(DomainName string) *CreateSipDomainParams

func (*CreateSipDomainParams) SetEmergencyCallerSid

func (params *CreateSipDomainParams) SetEmergencyCallerSid(EmergencyCallerSid string) *CreateSipDomainParams

func (*CreateSipDomainParams) SetEmergencyCallingEnabled

func (params *CreateSipDomainParams) SetEmergencyCallingEnabled(EmergencyCallingEnabled bool) *CreateSipDomainParams

func (*CreateSipDomainParams) SetFriendlyName

func (params *CreateSipDomainParams) SetFriendlyName(FriendlyName string) *CreateSipDomainParams

func (*CreateSipDomainParams) SetPathAccountSid

func (params *CreateSipDomainParams) SetPathAccountSid(PathAccountSid string) *CreateSipDomainParams

func (*CreateSipDomainParams) SetSecure

func (params *CreateSipDomainParams) SetSecure(Secure bool) *CreateSipDomainParams

func (*CreateSipDomainParams) SetSipRegistration

func (params *CreateSipDomainParams) SetSipRegistration(SipRegistration bool) *CreateSipDomainParams

func (*CreateSipDomainParams) SetVoiceFallbackMethod

func (params *CreateSipDomainParams) SetVoiceFallbackMethod(VoiceFallbackMethod string) *CreateSipDomainParams

func (*CreateSipDomainParams) SetVoiceFallbackUrl

func (params *CreateSipDomainParams) SetVoiceFallbackUrl(VoiceFallbackUrl string) *CreateSipDomainParams

func (*CreateSipDomainParams) SetVoiceMethod

func (params *CreateSipDomainParams) SetVoiceMethod(VoiceMethod string) *CreateSipDomainParams

func (*CreateSipDomainParams) SetVoiceStatusCallbackMethod

func (params *CreateSipDomainParams) SetVoiceStatusCallbackMethod(VoiceStatusCallbackMethod string) *CreateSipDomainParams

func (*CreateSipDomainParams) SetVoiceStatusCallbackUrl

func (params *CreateSipDomainParams) SetVoiceStatusCallbackUrl(VoiceStatusCallbackUrl string) *CreateSipDomainParams

func (*CreateSipDomainParams) SetVoiceUrl

func (params *CreateSipDomainParams) SetVoiceUrl(VoiceUrl string) *CreateSipDomainParams

type CreateSipIpAccessControlListMappingParams

type CreateSipIpAccessControlListMappingParams struct {
	// The unique id of the Account that is responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The unique id of the IP access control list to map to the SIP domain.
	IpAccessControlListSid *string `json:"IpAccessControlListSid,omitempty"`
}

Optional parameters for the method 'CreateSipIpAccessControlListMapping'

func (*CreateSipIpAccessControlListMappingParams) SetIpAccessControlListSid

func (params *CreateSipIpAccessControlListMappingParams) SetIpAccessControlListSid(IpAccessControlListSid string) *CreateSipIpAccessControlListMappingParams

func (*CreateSipIpAccessControlListMappingParams) SetPathAccountSid

type CreateSipIpAccessControlListParams

type CreateSipIpAccessControlListParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// A human readable descriptive text that describes the IpAccessControlList, up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
}

Optional parameters for the method 'CreateSipIpAccessControlList'

func (*CreateSipIpAccessControlListParams) SetFriendlyName

func (params *CreateSipIpAccessControlListParams) SetFriendlyName(FriendlyName string) *CreateSipIpAccessControlListParams

func (*CreateSipIpAccessControlListParams) SetPathAccountSid

func (params *CreateSipIpAccessControlListParams) SetPathAccountSid(PathAccountSid string) *CreateSipIpAccessControlListParams

type CreateSipIpAddressParams

type CreateSipIpAddressParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// An integer representing the length of the CIDR prefix to use with this IP address when accepting traffic. By default the entire IP address is used.
	CidrPrefixLength *int `json:"CidrPrefixLength,omitempty"`
	// A human readable descriptive text for this resource, up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// An IP address in dotted decimal notation from which you want to accept traffic. Any SIP requests from this IP address will be allowed by Twilio. IPv4 only supported today.
	IpAddress *string `json:"IpAddress,omitempty"`
}

Optional parameters for the method 'CreateSipIpAddress'

func (*CreateSipIpAddressParams) SetCidrPrefixLength

func (params *CreateSipIpAddressParams) SetCidrPrefixLength(CidrPrefixLength int) *CreateSipIpAddressParams

func (*CreateSipIpAddressParams) SetFriendlyName

func (params *CreateSipIpAddressParams) SetFriendlyName(FriendlyName string) *CreateSipIpAddressParams

func (*CreateSipIpAddressParams) SetIpAddress

func (params *CreateSipIpAddressParams) SetIpAddress(IpAddress string) *CreateSipIpAddressParams

func (*CreateSipIpAddressParams) SetPathAccountSid

func (params *CreateSipIpAddressParams) SetPathAccountSid(PathAccountSid string) *CreateSipIpAddressParams

type CreateTokenParams

type CreateTokenParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The duration in seconds for which the generated credentials are valid. The default value is 86400 (24 hours).
	Ttl *int `json:"Ttl,omitempty"`
}

Optional parameters for the method 'CreateToken'

func (*CreateTokenParams) SetPathAccountSid

func (params *CreateTokenParams) SetPathAccountSid(PathAccountSid string) *CreateTokenParams

func (*CreateTokenParams) SetTtl

func (params *CreateTokenParams) SetTtl(Ttl int) *CreateTokenParams

type CreateUsageTriggerParams

type CreateUsageTriggerParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The HTTP method we should use to call `callback_url`. Can be: `GET` or `POST` and the default is `POST`.
	CallbackMethod *string `json:"CallbackMethod,omitempty"`
	// The URL we should call using `callback_method` when the trigger fires.
	CallbackUrl *string `json:"CallbackUrl,omitempty"`
	// A descriptive string that you create to describe the resource. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The frequency of a recurring UsageTrigger.  Can be: `daily`, `monthly`, or `yearly` for recurring triggers or empty for non-recurring triggers. A trigger will only fire once during each period. Recurring times are in GMT.
	Recurring *string `json:"Recurring,omitempty"`
	// The field in the [UsageRecord](https://www.twilio.com/docs/usage/api/usage-record) resource that should fire the trigger.  Can be: `count`, `usage`, or `price` as described in the [UsageRecords documentation](https://www.twilio.com/docs/usage/api/usage-record#usage-count-price).  The default is `usage`.
	TriggerBy *string `json:"TriggerBy,omitempty"`
	// The usage value at which the trigger should fire.  For convenience, you can use an offset value such as `+30` to specify a trigger_value that is 30 units more than the current usage value. Be sure to urlencode a `+` as `%2B`.
	TriggerValue *string `json:"TriggerValue,omitempty"`
	// The usage category that the trigger should watch.  Use one of the supported [usage categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) for this value.
	UsageCategory *string `json:"UsageCategory,omitempty"`
}

Optional parameters for the method 'CreateUsageTrigger'

func (*CreateUsageTriggerParams) SetCallbackMethod

func (params *CreateUsageTriggerParams) SetCallbackMethod(CallbackMethod string) *CreateUsageTriggerParams

func (*CreateUsageTriggerParams) SetCallbackUrl

func (params *CreateUsageTriggerParams) SetCallbackUrl(CallbackUrl string) *CreateUsageTriggerParams

func (*CreateUsageTriggerParams) SetFriendlyName

func (params *CreateUsageTriggerParams) SetFriendlyName(FriendlyName string) *CreateUsageTriggerParams

func (*CreateUsageTriggerParams) SetPathAccountSid

func (params *CreateUsageTriggerParams) SetPathAccountSid(PathAccountSid string) *CreateUsageTriggerParams

func (*CreateUsageTriggerParams) SetRecurring

func (params *CreateUsageTriggerParams) SetRecurring(Recurring string) *CreateUsageTriggerParams

func (*CreateUsageTriggerParams) SetTriggerBy

func (params *CreateUsageTriggerParams) SetTriggerBy(TriggerBy string) *CreateUsageTriggerParams

func (*CreateUsageTriggerParams) SetTriggerValue

func (params *CreateUsageTriggerParams) SetTriggerValue(TriggerValue string) *CreateUsageTriggerParams

func (*CreateUsageTriggerParams) SetUsageCategory

func (params *CreateUsageTriggerParams) SetUsageCategory(UsageCategory string) *CreateUsageTriggerParams

type CreateValidationRequestParams

type CreateValidationRequestParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for the new caller ID resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The number of seconds to delay before initiating the verification call. Can be an integer between `0` and `60`, inclusive. The default is `0`.
	CallDelay *int `json:"CallDelay,omitempty"`
	// The digits to dial after connecting the verification call.
	Extension *string `json:"Extension,omitempty"`
	// A descriptive string that you create to describe the new caller ID resource. It can be up to 64 characters long. The default value is a formatted version of the phone number.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The phone number to verify in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, which consists of a + followed by the country code and subscriber number.
	PhoneNumber *string `json:"PhoneNumber,omitempty"`
	// The URL we should call using the `status_callback_method` to send status information about the verification process to your application.
	StatusCallback *string `json:"StatusCallback,omitempty"`
	// The HTTP method we should use to call `status_callback`. Can be: `GET` or `POST`, and the default is `POST`.
	StatusCallbackMethod *string `json:"StatusCallbackMethod,omitempty"`
}

Optional parameters for the method 'CreateValidationRequest'

func (*CreateValidationRequestParams) SetCallDelay

func (params *CreateValidationRequestParams) SetCallDelay(CallDelay int) *CreateValidationRequestParams

func (*CreateValidationRequestParams) SetExtension

func (params *CreateValidationRequestParams) SetExtension(Extension string) *CreateValidationRequestParams

func (*CreateValidationRequestParams) SetFriendlyName

func (params *CreateValidationRequestParams) SetFriendlyName(FriendlyName string) *CreateValidationRequestParams

func (*CreateValidationRequestParams) SetPathAccountSid

func (params *CreateValidationRequestParams) SetPathAccountSid(PathAccountSid string) *CreateValidationRequestParams

func (*CreateValidationRequestParams) SetPhoneNumber

func (params *CreateValidationRequestParams) SetPhoneNumber(PhoneNumber string) *CreateValidationRequestParams

func (*CreateValidationRequestParams) SetStatusCallback

func (params *CreateValidationRequestParams) SetStatusCallback(StatusCallback string) *CreateValidationRequestParams

func (*CreateValidationRequestParams) SetStatusCallbackMethod

func (params *CreateValidationRequestParams) SetStatusCallbackMethod(StatusCallbackMethod string) *CreateValidationRequestParams

type DeleteAddressParams

type DeleteAddressParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that is responsible for the Address resource to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteAddress'

func (*DeleteAddressParams) SetPathAccountSid

func (params *DeleteAddressParams) SetPathAccountSid(PathAccountSid string) *DeleteAddressParams

type DeleteApplicationParams

type DeleteApplicationParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Application resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteApplication'

func (*DeleteApplicationParams) SetPathAccountSid

func (params *DeleteApplicationParams) SetPathAccountSid(PathAccountSid string) *DeleteApplicationParams

type DeleteCallFeedbackSummaryParams

type DeleteCallFeedbackSummaryParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteCallFeedbackSummary'

func (*DeleteCallFeedbackSummaryParams) SetPathAccountSid

func (params *DeleteCallFeedbackSummaryParams) SetPathAccountSid(PathAccountSid string) *DeleteCallFeedbackSummaryParams

type DeleteCallParams

type DeleteCallParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Call resource(s) to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteCall'

func (*DeleteCallParams) SetPathAccountSid

func (params *DeleteCallParams) SetPathAccountSid(PathAccountSid string) *DeleteCallParams

type DeleteCallRecordingParams

type DeleteCallRecordingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteCallRecording'

func (*DeleteCallRecordingParams) SetPathAccountSid

func (params *DeleteCallRecordingParams) SetPathAccountSid(PathAccountSid string) *DeleteCallRecordingParams

type DeleteConferenceRecordingParams

type DeleteConferenceRecordingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Conference Recording resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteConferenceRecording'

func (*DeleteConferenceRecordingParams) SetPathAccountSid

func (params *DeleteConferenceRecordingParams) SetPathAccountSid(PathAccountSid string) *DeleteConferenceRecordingParams

type DeleteConnectAppParams

type DeleteConnectAppParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ConnectApp resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteConnectApp'

func (*DeleteConnectAppParams) SetPathAccountSid

func (params *DeleteConnectAppParams) SetPathAccountSid(PathAccountSid string) *DeleteConnectAppParams

type DeleteIncomingPhoneNumberAssignedAddOnParams

type DeleteIncomingPhoneNumberAssignedAddOnParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteIncomingPhoneNumberAssignedAddOn'

func (*DeleteIncomingPhoneNumberAssignedAddOnParams) SetPathAccountSid

type DeleteIncomingPhoneNumberParams

type DeleteIncomingPhoneNumberParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the IncomingPhoneNumber resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteIncomingPhoneNumber'

func (*DeleteIncomingPhoneNumberParams) SetPathAccountSid

func (params *DeleteIncomingPhoneNumberParams) SetPathAccountSid(PathAccountSid string) *DeleteIncomingPhoneNumberParams

type DeleteKeyParams

type DeleteKeyParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Key resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteKey'

func (*DeleteKeyParams) SetPathAccountSid

func (params *DeleteKeyParams) SetPathAccountSid(PathAccountSid string) *DeleteKeyParams

type DeleteMediaParams

type DeleteMediaParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Media resource(s) to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteMedia'

func (*DeleteMediaParams) SetPathAccountSid

func (params *DeleteMediaParams) SetPathAccountSid(PathAccountSid string) *DeleteMediaParams

type DeleteMessageParams

type DeleteMessageParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Message resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteMessage'

func (*DeleteMessageParams) SetPathAccountSid

func (params *DeleteMessageParams) SetPathAccountSid(PathAccountSid string) *DeleteMessageParams

type DeleteOutgoingCallerIdParams

type DeleteOutgoingCallerIdParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the OutgoingCallerId resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteOutgoingCallerId'

func (*DeleteOutgoingCallerIdParams) SetPathAccountSid

func (params *DeleteOutgoingCallerIdParams) SetPathAccountSid(PathAccountSid string) *DeleteOutgoingCallerIdParams

type DeleteParticipantParams

type DeleteParticipantParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Participant resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteParticipant'

func (*DeleteParticipantParams) SetPathAccountSid

func (params *DeleteParticipantParams) SetPathAccountSid(PathAccountSid string) *DeleteParticipantParams

type DeleteQueueParams

type DeleteQueueParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Queue resource to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteQueue'

func (*DeleteQueueParams) SetPathAccountSid

func (params *DeleteQueueParams) SetPathAccountSid(PathAccountSid string) *DeleteQueueParams

type DeleteRecordingAddOnResultParams

type DeleteRecordingAddOnResultParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording AddOnResult resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteRecordingAddOnResult'

func (*DeleteRecordingAddOnResultParams) SetPathAccountSid

func (params *DeleteRecordingAddOnResultParams) SetPathAccountSid(PathAccountSid string) *DeleteRecordingAddOnResultParams

type DeleteRecordingAddOnResultPayloadParams

type DeleteRecordingAddOnResultPayloadParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording AddOnResult Payload resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteRecordingAddOnResultPayload'

func (*DeleteRecordingAddOnResultPayloadParams) SetPathAccountSid

type DeleteRecordingParams

type DeleteRecordingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteRecording'

func (*DeleteRecordingParams) SetPathAccountSid

func (params *DeleteRecordingParams) SetPathAccountSid(PathAccountSid string) *DeleteRecordingParams

type DeleteRecordingTranscriptionParams

type DeleteRecordingTranscriptionParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Transcription resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteRecordingTranscription'

func (*DeleteRecordingTranscriptionParams) SetPathAccountSid

func (params *DeleteRecordingTranscriptionParams) SetPathAccountSid(PathAccountSid string) *DeleteRecordingTranscriptionParams

type DeleteSigningKeyParams

type DeleteSigningKeyParams struct {
	//
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteSigningKey'

func (*DeleteSigningKeyParams) SetPathAccountSid

func (params *DeleteSigningKeyParams) SetPathAccountSid(PathAccountSid string) *DeleteSigningKeyParams

type DeleteSipAuthCallsCredentialListMappingParams

type DeleteSipAuthCallsCredentialListMappingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the CredentialListMapping resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteSipAuthCallsCredentialListMapping'

func (*DeleteSipAuthCallsCredentialListMappingParams) SetPathAccountSid

type DeleteSipAuthCallsIpAccessControlListMappingParams

type DeleteSipAuthCallsIpAccessControlListMappingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the IpAccessControlListMapping resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteSipAuthCallsIpAccessControlListMapping'

func (*DeleteSipAuthCallsIpAccessControlListMappingParams) SetPathAccountSid

type DeleteSipAuthRegistrationsCredentialListMappingParams

type DeleteSipAuthRegistrationsCredentialListMappingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the CredentialListMapping resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteSipAuthRegistrationsCredentialListMapping'

func (*DeleteSipAuthRegistrationsCredentialListMappingParams) SetPathAccountSid

type DeleteSipCredentialListMappingParams

type DeleteSipCredentialListMappingParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteSipCredentialListMapping'

func (*DeleteSipCredentialListMappingParams) SetPathAccountSid

func (params *DeleteSipCredentialListMappingParams) SetPathAccountSid(PathAccountSid string) *DeleteSipCredentialListMappingParams

type DeleteSipCredentialListParams

type DeleteSipCredentialListParams struct {
	// The unique id of the Account that is responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteSipCredentialList'

func (*DeleteSipCredentialListParams) SetPathAccountSid

func (params *DeleteSipCredentialListParams) SetPathAccountSid(PathAccountSid string) *DeleteSipCredentialListParams

type DeleteSipCredentialParams

type DeleteSipCredentialParams struct {
	// The unique id of the Account that is responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteSipCredential'

func (*DeleteSipCredentialParams) SetPathAccountSid

func (params *DeleteSipCredentialParams) SetPathAccountSid(PathAccountSid string) *DeleteSipCredentialParams

type DeleteSipDomainParams

type DeleteSipDomainParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the SipDomain resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteSipDomain'

func (*DeleteSipDomainParams) SetPathAccountSid

func (params *DeleteSipDomainParams) SetPathAccountSid(PathAccountSid string) *DeleteSipDomainParams

type DeleteSipIpAccessControlListMappingParams

type DeleteSipIpAccessControlListMappingParams struct {
	// The unique id of the Account that is responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteSipIpAccessControlListMapping'

func (*DeleteSipIpAccessControlListMappingParams) SetPathAccountSid

type DeleteSipIpAccessControlListParams

type DeleteSipIpAccessControlListParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteSipIpAccessControlList'

func (*DeleteSipIpAccessControlListParams) SetPathAccountSid

func (params *DeleteSipIpAccessControlListParams) SetPathAccountSid(PathAccountSid string) *DeleteSipIpAccessControlListParams

type DeleteSipIpAddressParams

type DeleteSipIpAddressParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteSipIpAddress'

func (*DeleteSipIpAddressParams) SetPathAccountSid

func (params *DeleteSipIpAddressParams) SetPathAccountSid(PathAccountSid string) *DeleteSipIpAddressParams

type DeleteTranscriptionParams

type DeleteTranscriptionParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Transcription resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteTranscription'

func (*DeleteTranscriptionParams) SetPathAccountSid

func (params *DeleteTranscriptionParams) SetPathAccountSid(PathAccountSid string) *DeleteTranscriptionParams

type DeleteUsageTriggerParams

type DeleteUsageTriggerParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageTrigger resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteUsageTrigger'

func (*DeleteUsageTriggerParams) SetPathAccountSid

func (params *DeleteUsageTriggerParams) SetPathAccountSid(PathAccountSid string) *DeleteUsageTriggerParams

type FetchAddressParams

type FetchAddressParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that is responsible for the Address resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchAddress'

func (*FetchAddressParams) SetPathAccountSid

func (params *FetchAddressParams) SetPathAccountSid(PathAccountSid string) *FetchAddressParams

type FetchApplicationParams

type FetchApplicationParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Application resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchApplication'

func (*FetchApplicationParams) SetPathAccountSid

func (params *FetchApplicationParams) SetPathAccountSid(PathAccountSid string) *FetchApplicationParams

type FetchAuthorizedConnectAppParams

type FetchAuthorizedConnectAppParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the AuthorizedConnectApp resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchAuthorizedConnectApp'

func (*FetchAuthorizedConnectAppParams) SetPathAccountSid

func (params *FetchAuthorizedConnectAppParams) SetPathAccountSid(PathAccountSid string) *FetchAuthorizedConnectAppParams

type FetchAvailablePhoneNumberCountryParams

type FetchAvailablePhoneNumberCountryParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) requesting the available phone number Country resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchAvailablePhoneNumberCountry'

func (*FetchAvailablePhoneNumberCountryParams) SetPathAccountSid

type FetchBalanceParams

type FetchBalanceParams struct {
	// The unique SID identifier of the Account.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchBalance'

func (*FetchBalanceParams) SetPathAccountSid

func (params *FetchBalanceParams) SetPathAccountSid(PathAccountSid string) *FetchBalanceParams

type FetchCallFeedbackParams

type FetchCallFeedbackParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchCallFeedback'

func (*FetchCallFeedbackParams) SetPathAccountSid

func (params *FetchCallFeedbackParams) SetPathAccountSid(PathAccountSid string) *FetchCallFeedbackParams

type FetchCallFeedbackSummaryParams

type FetchCallFeedbackSummaryParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchCallFeedbackSummary'

func (*FetchCallFeedbackSummaryParams) SetPathAccountSid

func (params *FetchCallFeedbackSummaryParams) SetPathAccountSid(PathAccountSid string) *FetchCallFeedbackSummaryParams

type FetchCallNotificationParams

type FetchCallNotificationParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Call Notification resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchCallNotification'

func (*FetchCallNotificationParams) SetPathAccountSid

func (params *FetchCallNotificationParams) SetPathAccountSid(PathAccountSid string) *FetchCallNotificationParams

type FetchCallParams

type FetchCallParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Call resource(s) to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchCall'

func (*FetchCallParams) SetPathAccountSid

func (params *FetchCallParams) SetPathAccountSid(PathAccountSid string) *FetchCallParams

type FetchCallRecordingParams

type FetchCallRecordingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchCallRecording'

func (*FetchCallRecordingParams) SetPathAccountSid

func (params *FetchCallRecordingParams) SetPathAccountSid(PathAccountSid string) *FetchCallRecordingParams

type FetchConferenceParams

type FetchConferenceParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Conference resource(s) to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchConference'

func (*FetchConferenceParams) SetPathAccountSid

func (params *FetchConferenceParams) SetPathAccountSid(PathAccountSid string) *FetchConferenceParams

type FetchConferenceRecordingParams

type FetchConferenceRecordingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Conference Recording resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchConferenceRecording'

func (*FetchConferenceRecordingParams) SetPathAccountSid

func (params *FetchConferenceRecordingParams) SetPathAccountSid(PathAccountSid string) *FetchConferenceRecordingParams

type FetchConnectAppParams

type FetchConnectAppParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ConnectApp resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchConnectApp'

func (*FetchConnectAppParams) SetPathAccountSid

func (params *FetchConnectAppParams) SetPathAccountSid(PathAccountSid string) *FetchConnectAppParams

type FetchIncomingPhoneNumberAssignedAddOnExtensionParams

type FetchIncomingPhoneNumberAssignedAddOnExtensionParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchIncomingPhoneNumberAssignedAddOnExtension'

func (*FetchIncomingPhoneNumberAssignedAddOnExtensionParams) SetPathAccountSid

type FetchIncomingPhoneNumberAssignedAddOnParams

type FetchIncomingPhoneNumberAssignedAddOnParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchIncomingPhoneNumberAssignedAddOn'

func (*FetchIncomingPhoneNumberAssignedAddOnParams) SetPathAccountSid

type FetchIncomingPhoneNumberParams

type FetchIncomingPhoneNumberParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the IncomingPhoneNumber resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchIncomingPhoneNumber'

func (*FetchIncomingPhoneNumberParams) SetPathAccountSid

func (params *FetchIncomingPhoneNumberParams) SetPathAccountSid(PathAccountSid string) *FetchIncomingPhoneNumberParams

type FetchKeyParams

type FetchKeyParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Key resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchKey'

func (*FetchKeyParams) SetPathAccountSid

func (params *FetchKeyParams) SetPathAccountSid(PathAccountSid string) *FetchKeyParams

type FetchMediaParams

type FetchMediaParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Media resource(s) to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchMedia'

func (*FetchMediaParams) SetPathAccountSid

func (params *FetchMediaParams) SetPathAccountSid(PathAccountSid string) *FetchMediaParams

type FetchMemberParams

type FetchMemberParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Member resource(s) to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchMember'

func (*FetchMemberParams) SetPathAccountSid

func (params *FetchMemberParams) SetPathAccountSid(PathAccountSid string) *FetchMemberParams

type FetchMessageParams

type FetchMessageParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Message resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchMessage'

func (*FetchMessageParams) SetPathAccountSid

func (params *FetchMessageParams) SetPathAccountSid(PathAccountSid string) *FetchMessageParams

type FetchNotificationParams

type FetchNotificationParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Notification resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchNotification'

func (*FetchNotificationParams) SetPathAccountSid

func (params *FetchNotificationParams) SetPathAccountSid(PathAccountSid string) *FetchNotificationParams

type FetchOutgoingCallerIdParams

type FetchOutgoingCallerIdParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the OutgoingCallerId resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchOutgoingCallerId'

func (*FetchOutgoingCallerIdParams) SetPathAccountSid

func (params *FetchOutgoingCallerIdParams) SetPathAccountSid(PathAccountSid string) *FetchOutgoingCallerIdParams

type FetchParticipantParams

type FetchParticipantParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Participant resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchParticipant'

func (*FetchParticipantParams) SetPathAccountSid

func (params *FetchParticipantParams) SetPathAccountSid(PathAccountSid string) *FetchParticipantParams

type FetchQueueParams

type FetchQueueParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Queue resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchQueue'

func (*FetchQueueParams) SetPathAccountSid

func (params *FetchQueueParams) SetPathAccountSid(PathAccountSid string) *FetchQueueParams

type FetchRecordingAddOnResultParams

type FetchRecordingAddOnResultParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording AddOnResult resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchRecordingAddOnResult'

func (*FetchRecordingAddOnResultParams) SetPathAccountSid

func (params *FetchRecordingAddOnResultParams) SetPathAccountSid(PathAccountSid string) *FetchRecordingAddOnResultParams

type FetchRecordingAddOnResultPayloadParams

type FetchRecordingAddOnResultPayloadParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording AddOnResult Payload resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchRecordingAddOnResultPayload'

func (*FetchRecordingAddOnResultPayloadParams) SetPathAccountSid

type FetchRecordingParams

type FetchRecordingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchRecording'

func (*FetchRecordingParams) SetPathAccountSid

func (params *FetchRecordingParams) SetPathAccountSid(PathAccountSid string) *FetchRecordingParams

type FetchRecordingTranscriptionParams

type FetchRecordingTranscriptionParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Transcription resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchRecordingTranscription'

func (*FetchRecordingTranscriptionParams) SetPathAccountSid

func (params *FetchRecordingTranscriptionParams) SetPathAccountSid(PathAccountSid string) *FetchRecordingTranscriptionParams

type FetchShortCodeParams

type FetchShortCodeParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ShortCode resource(s) to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchShortCode'

func (*FetchShortCodeParams) SetPathAccountSid

func (params *FetchShortCodeParams) SetPathAccountSid(PathAccountSid string) *FetchShortCodeParams

type FetchSigningKeyParams

type FetchSigningKeyParams struct {
	//
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchSigningKey'

func (*FetchSigningKeyParams) SetPathAccountSid

func (params *FetchSigningKeyParams) SetPathAccountSid(PathAccountSid string) *FetchSigningKeyParams

type FetchSipAuthCallsCredentialListMappingParams

type FetchSipAuthCallsCredentialListMappingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the CredentialListMapping resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchSipAuthCallsCredentialListMapping'

func (*FetchSipAuthCallsCredentialListMappingParams) SetPathAccountSid

type FetchSipAuthCallsIpAccessControlListMappingParams

type FetchSipAuthCallsIpAccessControlListMappingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the IpAccessControlListMapping resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchSipAuthCallsIpAccessControlListMapping'

func (*FetchSipAuthCallsIpAccessControlListMappingParams) SetPathAccountSid

type FetchSipAuthRegistrationsCredentialListMappingParams

type FetchSipAuthRegistrationsCredentialListMappingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the CredentialListMapping resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchSipAuthRegistrationsCredentialListMapping'

func (*FetchSipAuthRegistrationsCredentialListMappingParams) SetPathAccountSid

type FetchSipCredentialListMappingParams

type FetchSipCredentialListMappingParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchSipCredentialListMapping'

func (*FetchSipCredentialListMappingParams) SetPathAccountSid

func (params *FetchSipCredentialListMappingParams) SetPathAccountSid(PathAccountSid string) *FetchSipCredentialListMappingParams

type FetchSipCredentialListParams

type FetchSipCredentialListParams struct {
	// The unique id of the Account that is responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchSipCredentialList'

func (*FetchSipCredentialListParams) SetPathAccountSid

func (params *FetchSipCredentialListParams) SetPathAccountSid(PathAccountSid string) *FetchSipCredentialListParams

type FetchSipCredentialParams

type FetchSipCredentialParams struct {
	// The unique id of the Account that is responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchSipCredential'

func (*FetchSipCredentialParams) SetPathAccountSid

func (params *FetchSipCredentialParams) SetPathAccountSid(PathAccountSid string) *FetchSipCredentialParams

type FetchSipDomainParams

type FetchSipDomainParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the SipDomain resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchSipDomain'

func (*FetchSipDomainParams) SetPathAccountSid

func (params *FetchSipDomainParams) SetPathAccountSid(PathAccountSid string) *FetchSipDomainParams

type FetchSipIpAccessControlListMappingParams

type FetchSipIpAccessControlListMappingParams struct {
	// The unique id of the Account that is responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchSipIpAccessControlListMapping'

func (*FetchSipIpAccessControlListMappingParams) SetPathAccountSid

type FetchSipIpAccessControlListParams

type FetchSipIpAccessControlListParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchSipIpAccessControlList'

func (*FetchSipIpAccessControlListParams) SetPathAccountSid

func (params *FetchSipIpAccessControlListParams) SetPathAccountSid(PathAccountSid string) *FetchSipIpAccessControlListParams

type FetchSipIpAddressParams

type FetchSipIpAddressParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchSipIpAddress'

func (*FetchSipIpAddressParams) SetPathAccountSid

func (params *FetchSipIpAddressParams) SetPathAccountSid(PathAccountSid string) *FetchSipIpAddressParams

type FetchTranscriptionParams

type FetchTranscriptionParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Transcription resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchTranscription'

func (*FetchTranscriptionParams) SetPathAccountSid

func (params *FetchTranscriptionParams) SetPathAccountSid(PathAccountSid string) *FetchTranscriptionParams

type FetchUsageTriggerParams

type FetchUsageTriggerParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageTrigger resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchUsageTrigger'

func (*FetchUsageTriggerParams) SetPathAccountSid

func (params *FetchUsageTriggerParams) SetPathAccountSid(PathAccountSid string) *FetchUsageTriggerParams

type ListAccountParams

type ListAccountParams struct {
	// Only return the Account resources with friendly names that exactly match this name.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// Only return Account resources with the given status. Can be `closed`, `suspended` or `active`.
	Status *string `json:"Status,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListAccount'

func (*ListAccountParams) SetFriendlyName

func (params *ListAccountParams) SetFriendlyName(FriendlyName string) *ListAccountParams

func (*ListAccountParams) SetLimit added in v0.13.0

func (params *ListAccountParams) SetLimit(Limit int) *ListAccountParams

func (*ListAccountParams) SetPageSize

func (params *ListAccountParams) SetPageSize(PageSize int) *ListAccountParams

func (*ListAccountParams) SetStatus

func (params *ListAccountParams) SetStatus(Status string) *ListAccountParams

type ListAccountResponse

type ListAccountResponse struct {
	Accounts        []ApiV2010Account `json:"accounts,omitempty"`
	End             int               `json:"end,omitempty"`
	FirstPageUri    string            `json:"first_page_uri,omitempty"`
	NextPageUri     string            `json:"next_page_uri,omitempty"`
	Page            int               `json:"page,omitempty"`
	PageSize        int               `json:"page_size,omitempty"`
	PreviousPageUri string            `json:"previous_page_uri,omitempty"`
	Start           int               `json:"start,omitempty"`
	Uri             string            `json:"uri,omitempty"`
}

ListAccountResponse struct for ListAccountResponse

type ListAddressParams

type ListAddressParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that is responsible for the Address resource to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The `customer_name` of the Address resources to read.
	CustomerName *string `json:"CustomerName,omitempty"`
	// The string that identifies the Address resources to read.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The ISO country code of the Address resources to read.
	IsoCountry *string `json:"IsoCountry,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListAddress'

func (*ListAddressParams) SetCustomerName

func (params *ListAddressParams) SetCustomerName(CustomerName string) *ListAddressParams

func (*ListAddressParams) SetFriendlyName

func (params *ListAddressParams) SetFriendlyName(FriendlyName string) *ListAddressParams

func (*ListAddressParams) SetIsoCountry

func (params *ListAddressParams) SetIsoCountry(IsoCountry string) *ListAddressParams

func (*ListAddressParams) SetLimit added in v0.13.0

func (params *ListAddressParams) SetLimit(Limit int) *ListAddressParams

func (*ListAddressParams) SetPageSize

func (params *ListAddressParams) SetPageSize(PageSize int) *ListAddressParams

func (*ListAddressParams) SetPathAccountSid

func (params *ListAddressParams) SetPathAccountSid(PathAccountSid string) *ListAddressParams

type ListAddressResponse

type ListAddressResponse struct {
	Addresses       []ApiV2010Address `json:"addresses,omitempty"`
	End             int               `json:"end,omitempty"`
	FirstPageUri    string            `json:"first_page_uri,omitempty"`
	NextPageUri     string            `json:"next_page_uri,omitempty"`
	Page            int               `json:"page,omitempty"`
	PageSize        int               `json:"page_size,omitempty"`
	PreviousPageUri string            `json:"previous_page_uri,omitempty"`
	Start           int               `json:"start,omitempty"`
	Uri             string            `json:"uri,omitempty"`
}

ListAddressResponse struct for ListAddressResponse

type ListApplicationParams

type ListApplicationParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Application resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The string that identifies the Application resources to read.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListApplication'

func (*ListApplicationParams) SetFriendlyName

func (params *ListApplicationParams) SetFriendlyName(FriendlyName string) *ListApplicationParams

func (*ListApplicationParams) SetLimit added in v0.13.0

func (params *ListApplicationParams) SetLimit(Limit int) *ListApplicationParams

func (*ListApplicationParams) SetPageSize

func (params *ListApplicationParams) SetPageSize(PageSize int) *ListApplicationParams

func (*ListApplicationParams) SetPathAccountSid

func (params *ListApplicationParams) SetPathAccountSid(PathAccountSid string) *ListApplicationParams

type ListApplicationResponse

type ListApplicationResponse struct {
	Applications    []ApiV2010Application `json:"applications,omitempty"`
	End             int                   `json:"end,omitempty"`
	FirstPageUri    string                `json:"first_page_uri,omitempty"`
	NextPageUri     string                `json:"next_page_uri,omitempty"`
	Page            int                   `json:"page,omitempty"`
	PageSize        int                   `json:"page_size,omitempty"`
	PreviousPageUri string                `json:"previous_page_uri,omitempty"`
	Start           int                   `json:"start,omitempty"`
	Uri             string                `json:"uri,omitempty"`
}

ListApplicationResponse struct for ListApplicationResponse

type ListAuthorizedConnectAppParams

type ListAuthorizedConnectAppParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the AuthorizedConnectApp resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListAuthorizedConnectApp'

func (*ListAuthorizedConnectAppParams) SetLimit added in v0.13.0

func (*ListAuthorizedConnectAppParams) SetPageSize

func (params *ListAuthorizedConnectAppParams) SetPageSize(PageSize int) *ListAuthorizedConnectAppParams

func (*ListAuthorizedConnectAppParams) SetPathAccountSid

func (params *ListAuthorizedConnectAppParams) SetPathAccountSid(PathAccountSid string) *ListAuthorizedConnectAppParams

type ListAuthorizedConnectAppResponse

type ListAuthorizedConnectAppResponse struct {
	AuthorizedConnectApps []ApiV2010AuthorizedConnectApp `json:"authorized_connect_apps,omitempty"`
	End                   int                            `json:"end,omitempty"`
	FirstPageUri          string                         `json:"first_page_uri,omitempty"`
	NextPageUri           string                         `json:"next_page_uri,omitempty"`
	Page                  int                            `json:"page,omitempty"`
	PageSize              int                            `json:"page_size,omitempty"`
	PreviousPageUri       string                         `json:"previous_page_uri,omitempty"`
	Start                 int                            `json:"start,omitempty"`
	Uri                   string                         `json:"uri,omitempty"`
}

ListAuthorizedConnectAppResponse struct for ListAuthorizedConnectAppResponse

type ListAvailablePhoneNumberCountryParams

type ListAvailablePhoneNumberCountryParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) requesting the available phone number Country resources.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListAvailablePhoneNumberCountry'

func (*ListAvailablePhoneNumberCountryParams) SetLimit added in v0.13.0

func (*ListAvailablePhoneNumberCountryParams) SetPageSize

func (*ListAvailablePhoneNumberCountryParams) SetPathAccountSid

func (params *ListAvailablePhoneNumberCountryParams) SetPathAccountSid(PathAccountSid string) *ListAvailablePhoneNumberCountryParams

type ListAvailablePhoneNumberCountryResponse

type ListAvailablePhoneNumberCountryResponse struct {
	Countries       []ApiV2010AvailablePhoneNumberCountry `json:"countries,omitempty"`
	End             int                                   `json:"end,omitempty"`
	FirstPageUri    string                                `json:"first_page_uri,omitempty"`
	NextPageUri     string                                `json:"next_page_uri,omitempty"`
	Page            int                                   `json:"page,omitempty"`
	PageSize        int                                   `json:"page_size,omitempty"`
	PreviousPageUri string                                `json:"previous_page_uri,omitempty"`
	Start           int                                   `json:"start,omitempty"`
	Uri             string                                `json:"uri,omitempty"`
}

ListAvailablePhoneNumberCountryResponse struct for ListAvailablePhoneNumberCountryResponse

type ListAvailablePhoneNumberLocalParams

type ListAvailablePhoneNumberLocalParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) requesting the AvailablePhoneNumber resources.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
	AreaCode *int `json:"AreaCode,omitempty"`
	// The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-number-pattern) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-character-pattern). If specified, this value must have at least two characters.
	Contains *string `json:"Contains,omitempty"`
	// Whether the phone numbers can receive text messages. Can be: `true` or `false`.
	SmsEnabled *bool `json:"SmsEnabled,omitempty"`
	// Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
	MmsEnabled *bool `json:"MmsEnabled,omitempty"`
	// Whether the phone numbers can receive calls. Can be: `true` or `false`.
	VoiceEnabled *bool `json:"VoiceEnabled,omitempty"`
	// Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
	ExcludeAllAddressRequired *bool `json:"ExcludeAllAddressRequired,omitempty"`
	// Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
	ExcludeLocalAddressRequired *bool `json:"ExcludeLocalAddressRequired,omitempty"`
	// Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
	ExcludeForeignAddressRequired *bool `json:"ExcludeForeignAddressRequired,omitempty"`
	// Whether to read phone numbers that are new to the Twilio platform. Can be: `true` or `false` and the default is `true`.
	Beta *bool `json:"Beta,omitempty"`
	// Given a phone number, find a geographically close number within `distance` miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
	NearNumber *string `json:"NearNumber,omitempty"`
	// Given a latitude/longitude pair `lat,long` find geographically close numbers within `distance` miles. Applies to only phone numbers in the US and Canada.
	NearLatLong *string `json:"NearLatLong,omitempty"`
	// The search radius, in miles, for a `near_` query.  Can be up to `500` and the default is `25`. Applies to only phone numbers in the US and Canada.
	Distance *int `json:"Distance,omitempty"`
	// Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
	InPostalCode *string `json:"InPostalCode,omitempty"`
	// Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
	InRegion *string `json:"InRegion,omitempty"`
	// Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires `in_lata` to be set as well. Applies to only phone numbers in the US and Canada.
	InRateCenter *string `json:"InRateCenter,omitempty"`
	// Limit results to a specific local access and transport area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada.
	InLata *string `json:"InLata,omitempty"`
	// Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
	InLocality *string `json:"InLocality,omitempty"`
	// Whether the phone numbers can receive faxes. Can be: `true` or `false`.
	FaxEnabled *bool `json:"FaxEnabled,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListAvailablePhoneNumberLocal'

func (*ListAvailablePhoneNumberLocalParams) SetAreaCode

func (*ListAvailablePhoneNumberLocalParams) SetBeta

func (*ListAvailablePhoneNumberLocalParams) SetContains

func (*ListAvailablePhoneNumberLocalParams) SetDistance

func (*ListAvailablePhoneNumberLocalParams) SetExcludeAllAddressRequired

func (params *ListAvailablePhoneNumberLocalParams) SetExcludeAllAddressRequired(ExcludeAllAddressRequired bool) *ListAvailablePhoneNumberLocalParams

func (*ListAvailablePhoneNumberLocalParams) SetExcludeForeignAddressRequired

func (params *ListAvailablePhoneNumberLocalParams) SetExcludeForeignAddressRequired(ExcludeForeignAddressRequired bool) *ListAvailablePhoneNumberLocalParams

func (*ListAvailablePhoneNumberLocalParams) SetExcludeLocalAddressRequired

func (params *ListAvailablePhoneNumberLocalParams) SetExcludeLocalAddressRequired(ExcludeLocalAddressRequired bool) *ListAvailablePhoneNumberLocalParams

func (*ListAvailablePhoneNumberLocalParams) SetFaxEnabled

func (*ListAvailablePhoneNumberLocalParams) SetInLata

func (*ListAvailablePhoneNumberLocalParams) SetInLocality

func (*ListAvailablePhoneNumberLocalParams) SetInPostalCode

func (*ListAvailablePhoneNumberLocalParams) SetInRateCenter

func (*ListAvailablePhoneNumberLocalParams) SetInRegion

func (*ListAvailablePhoneNumberLocalParams) SetLimit added in v0.13.0

func (*ListAvailablePhoneNumberLocalParams) SetMmsEnabled

func (*ListAvailablePhoneNumberLocalParams) SetNearLatLong

func (*ListAvailablePhoneNumberLocalParams) SetNearNumber

func (*ListAvailablePhoneNumberLocalParams) SetPageSize

func (*ListAvailablePhoneNumberLocalParams) SetPathAccountSid

func (params *ListAvailablePhoneNumberLocalParams) SetPathAccountSid(PathAccountSid string) *ListAvailablePhoneNumberLocalParams

func (*ListAvailablePhoneNumberLocalParams) SetSmsEnabled

func (*ListAvailablePhoneNumberLocalParams) SetVoiceEnabled

func (params *ListAvailablePhoneNumberLocalParams) SetVoiceEnabled(VoiceEnabled bool) *ListAvailablePhoneNumberLocalParams

type ListAvailablePhoneNumberLocalResponse

type ListAvailablePhoneNumberLocalResponse struct {
	AvailablePhoneNumbers []ApiV2010AvailablePhoneNumberLocal `json:"available_phone_numbers,omitempty"`
	End                   int                                 `json:"end,omitempty"`
	FirstPageUri          string                              `json:"first_page_uri,omitempty"`
	NextPageUri           string                              `json:"next_page_uri,omitempty"`
	Page                  int                                 `json:"page,omitempty"`
	PageSize              int                                 `json:"page_size,omitempty"`
	PreviousPageUri       string                              `json:"previous_page_uri,omitempty"`
	Start                 int                                 `json:"start,omitempty"`
	Uri                   string                              `json:"uri,omitempty"`
}

ListAvailablePhoneNumberLocalResponse struct for ListAvailablePhoneNumberLocalResponse

type ListAvailablePhoneNumberMachineToMachineParams

type ListAvailablePhoneNumberMachineToMachineParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) requesting the AvailablePhoneNumber resources.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
	AreaCode *int `json:"AreaCode,omitempty"`
	// The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters.
	Contains *string `json:"Contains,omitempty"`
	// Whether the phone numbers can receive text messages. Can be: `true` or `false`.
	SmsEnabled *bool `json:"SmsEnabled,omitempty"`
	// Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
	MmsEnabled *bool `json:"MmsEnabled,omitempty"`
	// Whether the phone numbers can receive calls. Can be: `true` or `false`.
	VoiceEnabled *bool `json:"VoiceEnabled,omitempty"`
	// Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
	ExcludeAllAddressRequired *bool `json:"ExcludeAllAddressRequired,omitempty"`
	// Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
	ExcludeLocalAddressRequired *bool `json:"ExcludeLocalAddressRequired,omitempty"`
	// Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
	ExcludeForeignAddressRequired *bool `json:"ExcludeForeignAddressRequired,omitempty"`
	// Whether to read phone numbers that are new to the Twilio platform. Can be: `true` or `false` and the default is `true`.
	Beta *bool `json:"Beta,omitempty"`
	// Given a phone number, find a geographically close number within `distance` miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
	NearNumber *string `json:"NearNumber,omitempty"`
	// Given a latitude/longitude pair `lat,long` find geographically close numbers within `distance` miles. Applies to only phone numbers in the US and Canada.
	NearLatLong *string `json:"NearLatLong,omitempty"`
	// The search radius, in miles, for a `near_` query.  Can be up to `500` and the default is `25`. Applies to only phone numbers in the US and Canada.
	Distance *int `json:"Distance,omitempty"`
	// Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
	InPostalCode *string `json:"InPostalCode,omitempty"`
	// Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
	InRegion *string `json:"InRegion,omitempty"`
	// Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires `in_lata` to be set as well. Applies to only phone numbers in the US and Canada.
	InRateCenter *string `json:"InRateCenter,omitempty"`
	// Limit results to a specific local access and transport area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada.
	InLata *string `json:"InLata,omitempty"`
	// Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
	InLocality *string `json:"InLocality,omitempty"`
	// Whether the phone numbers can receive faxes. Can be: `true` or `false`.
	FaxEnabled *bool `json:"FaxEnabled,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListAvailablePhoneNumberMachineToMachine'

func (*ListAvailablePhoneNumberMachineToMachineParams) SetAreaCode

func (*ListAvailablePhoneNumberMachineToMachineParams) SetBeta

func (*ListAvailablePhoneNumberMachineToMachineParams) SetContains

func (*ListAvailablePhoneNumberMachineToMachineParams) SetDistance

func (*ListAvailablePhoneNumberMachineToMachineParams) SetExcludeAllAddressRequired

func (params *ListAvailablePhoneNumberMachineToMachineParams) SetExcludeAllAddressRequired(ExcludeAllAddressRequired bool) *ListAvailablePhoneNumberMachineToMachineParams

func (*ListAvailablePhoneNumberMachineToMachineParams) SetExcludeForeignAddressRequired

func (params *ListAvailablePhoneNumberMachineToMachineParams) SetExcludeForeignAddressRequired(ExcludeForeignAddressRequired bool) *ListAvailablePhoneNumberMachineToMachineParams

func (*ListAvailablePhoneNumberMachineToMachineParams) SetExcludeLocalAddressRequired

func (params *ListAvailablePhoneNumberMachineToMachineParams) SetExcludeLocalAddressRequired(ExcludeLocalAddressRequired bool) *ListAvailablePhoneNumberMachineToMachineParams

func (*ListAvailablePhoneNumberMachineToMachineParams) SetFaxEnabled

func (*ListAvailablePhoneNumberMachineToMachineParams) SetInLata

func (*ListAvailablePhoneNumberMachineToMachineParams) SetInLocality

func (*ListAvailablePhoneNumberMachineToMachineParams) SetInPostalCode

func (*ListAvailablePhoneNumberMachineToMachineParams) SetInRateCenter

func (*ListAvailablePhoneNumberMachineToMachineParams) SetInRegion

func (*ListAvailablePhoneNumberMachineToMachineParams) SetLimit added in v0.13.0

func (*ListAvailablePhoneNumberMachineToMachineParams) SetMmsEnabled

func (*ListAvailablePhoneNumberMachineToMachineParams) SetNearLatLong

func (*ListAvailablePhoneNumberMachineToMachineParams) SetNearNumber

func (*ListAvailablePhoneNumberMachineToMachineParams) SetPageSize

func (*ListAvailablePhoneNumberMachineToMachineParams) SetPathAccountSid

func (*ListAvailablePhoneNumberMachineToMachineParams) SetSmsEnabled

func (*ListAvailablePhoneNumberMachineToMachineParams) SetVoiceEnabled

type ListAvailablePhoneNumberMachineToMachineResponse

type ListAvailablePhoneNumberMachineToMachineResponse struct {
	AvailablePhoneNumbers []ApiV2010AvailablePhoneNumberMachineToMachine `json:"available_phone_numbers,omitempty"`
	End                   int                                            `json:"end,omitempty"`
	FirstPageUri          string                                         `json:"first_page_uri,omitempty"`
	NextPageUri           string                                         `json:"next_page_uri,omitempty"`
	Page                  int                                            `json:"page,omitempty"`
	PageSize              int                                            `json:"page_size,omitempty"`
	PreviousPageUri       string                                         `json:"previous_page_uri,omitempty"`
	Start                 int                                            `json:"start,omitempty"`
	Uri                   string                                         `json:"uri,omitempty"`
}

ListAvailablePhoneNumberMachineToMachineResponse struct for ListAvailablePhoneNumberMachineToMachineResponse

type ListAvailablePhoneNumberMobileParams

type ListAvailablePhoneNumberMobileParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) requesting the AvailablePhoneNumber resources.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
	AreaCode *int `json:"AreaCode,omitempty"`
	// The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters.
	Contains *string `json:"Contains,omitempty"`
	// Whether the phone numbers can receive text messages. Can be: `true` or `false`.
	SmsEnabled *bool `json:"SmsEnabled,omitempty"`
	// Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
	MmsEnabled *bool `json:"MmsEnabled,omitempty"`
	// Whether the phone numbers can receive calls. Can be: `true` or `false`.
	VoiceEnabled *bool `json:"VoiceEnabled,omitempty"`
	// Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
	ExcludeAllAddressRequired *bool `json:"ExcludeAllAddressRequired,omitempty"`
	// Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
	ExcludeLocalAddressRequired *bool `json:"ExcludeLocalAddressRequired,omitempty"`
	// Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
	ExcludeForeignAddressRequired *bool `json:"ExcludeForeignAddressRequired,omitempty"`
	// Whether to read phone numbers that are new to the Twilio platform. Can be: `true` or `false` and the default is `true`.
	Beta *bool `json:"Beta,omitempty"`
	// Given a phone number, find a geographically close number within `distance` miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
	NearNumber *string `json:"NearNumber,omitempty"`
	// Given a latitude/longitude pair `lat,long` find geographically close numbers within `distance` miles. Applies to only phone numbers in the US and Canada.
	NearLatLong *string `json:"NearLatLong,omitempty"`
	// The search radius, in miles, for a `near_` query.  Can be up to `500` and the default is `25`. Applies to only phone numbers in the US and Canada.
	Distance *int `json:"Distance,omitempty"`
	// Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
	InPostalCode *string `json:"InPostalCode,omitempty"`
	// Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
	InRegion *string `json:"InRegion,omitempty"`
	// Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires `in_lata` to be set as well. Applies to only phone numbers in the US and Canada.
	InRateCenter *string `json:"InRateCenter,omitempty"`
	// Limit results to a specific local access and transport area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada.
	InLata *string `json:"InLata,omitempty"`
	// Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
	InLocality *string `json:"InLocality,omitempty"`
	// Whether the phone numbers can receive faxes. Can be: `true` or `false`.
	FaxEnabled *bool `json:"FaxEnabled,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListAvailablePhoneNumberMobile'

func (*ListAvailablePhoneNumberMobileParams) SetAreaCode

func (*ListAvailablePhoneNumberMobileParams) SetBeta

func (*ListAvailablePhoneNumberMobileParams) SetContains

func (*ListAvailablePhoneNumberMobileParams) SetDistance

func (*ListAvailablePhoneNumberMobileParams) SetExcludeAllAddressRequired

func (params *ListAvailablePhoneNumberMobileParams) SetExcludeAllAddressRequired(ExcludeAllAddressRequired bool) *ListAvailablePhoneNumberMobileParams

func (*ListAvailablePhoneNumberMobileParams) SetExcludeForeignAddressRequired

func (params *ListAvailablePhoneNumberMobileParams) SetExcludeForeignAddressRequired(ExcludeForeignAddressRequired bool) *ListAvailablePhoneNumberMobileParams

func (*ListAvailablePhoneNumberMobileParams) SetExcludeLocalAddressRequired

func (params *ListAvailablePhoneNumberMobileParams) SetExcludeLocalAddressRequired(ExcludeLocalAddressRequired bool) *ListAvailablePhoneNumberMobileParams

func (*ListAvailablePhoneNumberMobileParams) SetFaxEnabled

func (*ListAvailablePhoneNumberMobileParams) SetInLata

func (*ListAvailablePhoneNumberMobileParams) SetInLocality

func (*ListAvailablePhoneNumberMobileParams) SetInPostalCode

func (*ListAvailablePhoneNumberMobileParams) SetInRateCenter

func (*ListAvailablePhoneNumberMobileParams) SetInRegion

func (*ListAvailablePhoneNumberMobileParams) SetLimit added in v0.13.0

func (*ListAvailablePhoneNumberMobileParams) SetMmsEnabled

func (*ListAvailablePhoneNumberMobileParams) SetNearLatLong

func (*ListAvailablePhoneNumberMobileParams) SetNearNumber

func (*ListAvailablePhoneNumberMobileParams) SetPageSize

func (*ListAvailablePhoneNumberMobileParams) SetPathAccountSid

func (params *ListAvailablePhoneNumberMobileParams) SetPathAccountSid(PathAccountSid string) *ListAvailablePhoneNumberMobileParams

func (*ListAvailablePhoneNumberMobileParams) SetSmsEnabled

func (*ListAvailablePhoneNumberMobileParams) SetVoiceEnabled

type ListAvailablePhoneNumberMobileResponse

type ListAvailablePhoneNumberMobileResponse struct {
	AvailablePhoneNumbers []ApiV2010AvailablePhoneNumberMobile `json:"available_phone_numbers,omitempty"`
	End                   int                                  `json:"end,omitempty"`
	FirstPageUri          string                               `json:"first_page_uri,omitempty"`
	NextPageUri           string                               `json:"next_page_uri,omitempty"`
	Page                  int                                  `json:"page,omitempty"`
	PageSize              int                                  `json:"page_size,omitempty"`
	PreviousPageUri       string                               `json:"previous_page_uri,omitempty"`
	Start                 int                                  `json:"start,omitempty"`
	Uri                   string                               `json:"uri,omitempty"`
}

ListAvailablePhoneNumberMobileResponse struct for ListAvailablePhoneNumberMobileResponse

type ListAvailablePhoneNumberNationalParams

type ListAvailablePhoneNumberNationalParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) requesting the AvailablePhoneNumber resources.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
	AreaCode *int `json:"AreaCode,omitempty"`
	// The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters.
	Contains *string `json:"Contains,omitempty"`
	// Whether the phone numbers can receive text messages. Can be: `true` or `false`.
	SmsEnabled *bool `json:"SmsEnabled,omitempty"`
	// Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
	MmsEnabled *bool `json:"MmsEnabled,omitempty"`
	// Whether the phone numbers can receive calls. Can be: `true` or `false`.
	VoiceEnabled *bool `json:"VoiceEnabled,omitempty"`
	// Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
	ExcludeAllAddressRequired *bool `json:"ExcludeAllAddressRequired,omitempty"`
	// Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
	ExcludeLocalAddressRequired *bool `json:"ExcludeLocalAddressRequired,omitempty"`
	// Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
	ExcludeForeignAddressRequired *bool `json:"ExcludeForeignAddressRequired,omitempty"`
	// Whether to read phone numbers that are new to the Twilio platform. Can be: `true` or `false` and the default is `true`.
	Beta *bool `json:"Beta,omitempty"`
	// Given a phone number, find a geographically close number within `distance` miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
	NearNumber *string `json:"NearNumber,omitempty"`
	// Given a latitude/longitude pair `lat,long` find geographically close numbers within `distance` miles. Applies to only phone numbers in the US and Canada.
	NearLatLong *string `json:"NearLatLong,omitempty"`
	// The search radius, in miles, for a `near_` query.  Can be up to `500` and the default is `25`. Applies to only phone numbers in the US and Canada.
	Distance *int `json:"Distance,omitempty"`
	// Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
	InPostalCode *string `json:"InPostalCode,omitempty"`
	// Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
	InRegion *string `json:"InRegion,omitempty"`
	// Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires `in_lata` to be set as well. Applies to only phone numbers in the US and Canada.
	InRateCenter *string `json:"InRateCenter,omitempty"`
	// Limit results to a specific local access and transport area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada.
	InLata *string `json:"InLata,omitempty"`
	// Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
	InLocality *string `json:"InLocality,omitempty"`
	// Whether the phone numbers can receive faxes. Can be: `true` or `false`.
	FaxEnabled *bool `json:"FaxEnabled,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListAvailablePhoneNumberNational'

func (*ListAvailablePhoneNumberNationalParams) SetAreaCode

func (*ListAvailablePhoneNumberNationalParams) SetBeta

func (*ListAvailablePhoneNumberNationalParams) SetContains

func (*ListAvailablePhoneNumberNationalParams) SetDistance

func (*ListAvailablePhoneNumberNationalParams) SetExcludeAllAddressRequired

func (params *ListAvailablePhoneNumberNationalParams) SetExcludeAllAddressRequired(ExcludeAllAddressRequired bool) *ListAvailablePhoneNumberNationalParams

func (*ListAvailablePhoneNumberNationalParams) SetExcludeForeignAddressRequired

func (params *ListAvailablePhoneNumberNationalParams) SetExcludeForeignAddressRequired(ExcludeForeignAddressRequired bool) *ListAvailablePhoneNumberNationalParams

func (*ListAvailablePhoneNumberNationalParams) SetExcludeLocalAddressRequired

func (params *ListAvailablePhoneNumberNationalParams) SetExcludeLocalAddressRequired(ExcludeLocalAddressRequired bool) *ListAvailablePhoneNumberNationalParams

func (*ListAvailablePhoneNumberNationalParams) SetFaxEnabled

func (*ListAvailablePhoneNumberNationalParams) SetInLata

func (*ListAvailablePhoneNumberNationalParams) SetInLocality

func (*ListAvailablePhoneNumberNationalParams) SetInPostalCode

func (*ListAvailablePhoneNumberNationalParams) SetInRateCenter

func (*ListAvailablePhoneNumberNationalParams) SetInRegion

func (*ListAvailablePhoneNumberNationalParams) SetLimit added in v0.13.0

func (*ListAvailablePhoneNumberNationalParams) SetMmsEnabled

func (*ListAvailablePhoneNumberNationalParams) SetNearLatLong

func (*ListAvailablePhoneNumberNationalParams) SetNearNumber

func (*ListAvailablePhoneNumberNationalParams) SetPageSize

func (*ListAvailablePhoneNumberNationalParams) SetPathAccountSid

func (*ListAvailablePhoneNumberNationalParams) SetSmsEnabled

func (*ListAvailablePhoneNumberNationalParams) SetVoiceEnabled

type ListAvailablePhoneNumberNationalResponse

type ListAvailablePhoneNumberNationalResponse struct {
	AvailablePhoneNumbers []ApiV2010AvailablePhoneNumberNational `json:"available_phone_numbers,omitempty"`
	End                   int                                    `json:"end,omitempty"`
	FirstPageUri          string                                 `json:"first_page_uri,omitempty"`
	NextPageUri           string                                 `json:"next_page_uri,omitempty"`
	Page                  int                                    `json:"page,omitempty"`
	PageSize              int                                    `json:"page_size,omitempty"`
	PreviousPageUri       string                                 `json:"previous_page_uri,omitempty"`
	Start                 int                                    `json:"start,omitempty"`
	Uri                   string                                 `json:"uri,omitempty"`
}

ListAvailablePhoneNumberNationalResponse struct for ListAvailablePhoneNumberNationalResponse

type ListAvailablePhoneNumberSharedCostParams

type ListAvailablePhoneNumberSharedCostParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) requesting the AvailablePhoneNumber resources.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
	AreaCode *int `json:"AreaCode,omitempty"`
	// The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters.
	Contains *string `json:"Contains,omitempty"`
	// Whether the phone numbers can receive text messages. Can be: `true` or `false`.
	SmsEnabled *bool `json:"SmsEnabled,omitempty"`
	// Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
	MmsEnabled *bool `json:"MmsEnabled,omitempty"`
	// Whether the phone numbers can receive calls. Can be: `true` or `false`.
	VoiceEnabled *bool `json:"VoiceEnabled,omitempty"`
	// Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
	ExcludeAllAddressRequired *bool `json:"ExcludeAllAddressRequired,omitempty"`
	// Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
	ExcludeLocalAddressRequired *bool `json:"ExcludeLocalAddressRequired,omitempty"`
	// Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
	ExcludeForeignAddressRequired *bool `json:"ExcludeForeignAddressRequired,omitempty"`
	// Whether to read phone numbers that are new to the Twilio platform. Can be: `true` or `false` and the default is `true`.
	Beta *bool `json:"Beta,omitempty"`
	// Given a phone number, find a geographically close number within `distance` miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
	NearNumber *string `json:"NearNumber,omitempty"`
	// Given a latitude/longitude pair `lat,long` find geographically close numbers within `distance` miles. Applies to only phone numbers in the US and Canada.
	NearLatLong *string `json:"NearLatLong,omitempty"`
	// The search radius, in miles, for a `near_` query.  Can be up to `500` and the default is `25`. Applies to only phone numbers in the US and Canada.
	Distance *int `json:"Distance,omitempty"`
	// Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
	InPostalCode *string `json:"InPostalCode,omitempty"`
	// Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
	InRegion *string `json:"InRegion,omitempty"`
	// Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires `in_lata` to be set as well. Applies to only phone numbers in the US and Canada.
	InRateCenter *string `json:"InRateCenter,omitempty"`
	// Limit results to a specific local access and transport area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada.
	InLata *string `json:"InLata,omitempty"`
	// Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
	InLocality *string `json:"InLocality,omitempty"`
	// Whether the phone numbers can receive faxes. Can be: `true` or `false`.
	FaxEnabled *bool `json:"FaxEnabled,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListAvailablePhoneNumberSharedCost'

func (*ListAvailablePhoneNumberSharedCostParams) SetAreaCode

func (*ListAvailablePhoneNumberSharedCostParams) SetBeta

func (*ListAvailablePhoneNumberSharedCostParams) SetContains

func (*ListAvailablePhoneNumberSharedCostParams) SetDistance

func (*ListAvailablePhoneNumberSharedCostParams) SetExcludeAllAddressRequired

func (params *ListAvailablePhoneNumberSharedCostParams) SetExcludeAllAddressRequired(ExcludeAllAddressRequired bool) *ListAvailablePhoneNumberSharedCostParams

func (*ListAvailablePhoneNumberSharedCostParams) SetExcludeForeignAddressRequired

func (params *ListAvailablePhoneNumberSharedCostParams) SetExcludeForeignAddressRequired(ExcludeForeignAddressRequired bool) *ListAvailablePhoneNumberSharedCostParams

func (*ListAvailablePhoneNumberSharedCostParams) SetExcludeLocalAddressRequired

func (params *ListAvailablePhoneNumberSharedCostParams) SetExcludeLocalAddressRequired(ExcludeLocalAddressRequired bool) *ListAvailablePhoneNumberSharedCostParams

func (*ListAvailablePhoneNumberSharedCostParams) SetFaxEnabled

func (*ListAvailablePhoneNumberSharedCostParams) SetInLata

func (*ListAvailablePhoneNumberSharedCostParams) SetInLocality

func (*ListAvailablePhoneNumberSharedCostParams) SetInPostalCode

func (*ListAvailablePhoneNumberSharedCostParams) SetInRateCenter

func (*ListAvailablePhoneNumberSharedCostParams) SetInRegion

func (*ListAvailablePhoneNumberSharedCostParams) SetLimit added in v0.13.0

func (*ListAvailablePhoneNumberSharedCostParams) SetMmsEnabled

func (*ListAvailablePhoneNumberSharedCostParams) SetNearLatLong

func (*ListAvailablePhoneNumberSharedCostParams) SetNearNumber

func (*ListAvailablePhoneNumberSharedCostParams) SetPageSize

func (*ListAvailablePhoneNumberSharedCostParams) SetPathAccountSid

func (*ListAvailablePhoneNumberSharedCostParams) SetSmsEnabled

func (*ListAvailablePhoneNumberSharedCostParams) SetVoiceEnabled

type ListAvailablePhoneNumberSharedCostResponse

type ListAvailablePhoneNumberSharedCostResponse struct {
	AvailablePhoneNumbers []ApiV2010AvailablePhoneNumberSharedCost `json:"available_phone_numbers,omitempty"`
	End                   int                                      `json:"end,omitempty"`
	FirstPageUri          string                                   `json:"first_page_uri,omitempty"`
	NextPageUri           string                                   `json:"next_page_uri,omitempty"`
	Page                  int                                      `json:"page,omitempty"`
	PageSize              int                                      `json:"page_size,omitempty"`
	PreviousPageUri       string                                   `json:"previous_page_uri,omitempty"`
	Start                 int                                      `json:"start,omitempty"`
	Uri                   string                                   `json:"uri,omitempty"`
}

ListAvailablePhoneNumberSharedCostResponse struct for ListAvailablePhoneNumberSharedCostResponse

type ListAvailablePhoneNumberTollFreeParams

type ListAvailablePhoneNumberTollFreeParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) requesting the AvailablePhoneNumber resources.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
	AreaCode *int `json:"AreaCode,omitempty"`
	// The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters.
	Contains *string `json:"Contains,omitempty"`
	// Whether the phone numbers can receive text messages. Can be: `true` or `false`.
	SmsEnabled *bool `json:"SmsEnabled,omitempty"`
	// Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
	MmsEnabled *bool `json:"MmsEnabled,omitempty"`
	// Whether the phone numbers can receive calls. Can be: `true` or `false`.
	VoiceEnabled *bool `json:"VoiceEnabled,omitempty"`
	// Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
	ExcludeAllAddressRequired *bool `json:"ExcludeAllAddressRequired,omitempty"`
	// Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
	ExcludeLocalAddressRequired *bool `json:"ExcludeLocalAddressRequired,omitempty"`
	// Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
	ExcludeForeignAddressRequired *bool `json:"ExcludeForeignAddressRequired,omitempty"`
	// Whether to read phone numbers that are new to the Twilio platform. Can be: `true` or `false` and the default is `true`.
	Beta *bool `json:"Beta,omitempty"`
	// Given a phone number, find a geographically close number within `distance` miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
	NearNumber *string `json:"NearNumber,omitempty"`
	// Given a latitude/longitude pair `lat,long` find geographically close numbers within `distance` miles. Applies to only phone numbers in the US and Canada.
	NearLatLong *string `json:"NearLatLong,omitempty"`
	// The search radius, in miles, for a `near_` query.  Can be up to `500` and the default is `25`. Applies to only phone numbers in the US and Canada.
	Distance *int `json:"Distance,omitempty"`
	// Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
	InPostalCode *string `json:"InPostalCode,omitempty"`
	// Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
	InRegion *string `json:"InRegion,omitempty"`
	// Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires `in_lata` to be set as well. Applies to only phone numbers in the US and Canada.
	InRateCenter *string `json:"InRateCenter,omitempty"`
	// Limit results to a specific local access and transport area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada.
	InLata *string `json:"InLata,omitempty"`
	// Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
	InLocality *string `json:"InLocality,omitempty"`
	// Whether the phone numbers can receive faxes. Can be: `true` or `false`.
	FaxEnabled *bool `json:"FaxEnabled,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListAvailablePhoneNumberTollFree'

func (*ListAvailablePhoneNumberTollFreeParams) SetAreaCode

func (*ListAvailablePhoneNumberTollFreeParams) SetBeta

func (*ListAvailablePhoneNumberTollFreeParams) SetContains

func (*ListAvailablePhoneNumberTollFreeParams) SetDistance

func (*ListAvailablePhoneNumberTollFreeParams) SetExcludeAllAddressRequired

func (params *ListAvailablePhoneNumberTollFreeParams) SetExcludeAllAddressRequired(ExcludeAllAddressRequired bool) *ListAvailablePhoneNumberTollFreeParams

func (*ListAvailablePhoneNumberTollFreeParams) SetExcludeForeignAddressRequired

func (params *ListAvailablePhoneNumberTollFreeParams) SetExcludeForeignAddressRequired(ExcludeForeignAddressRequired bool) *ListAvailablePhoneNumberTollFreeParams

func (*ListAvailablePhoneNumberTollFreeParams) SetExcludeLocalAddressRequired

func (params *ListAvailablePhoneNumberTollFreeParams) SetExcludeLocalAddressRequired(ExcludeLocalAddressRequired bool) *ListAvailablePhoneNumberTollFreeParams

func (*ListAvailablePhoneNumberTollFreeParams) SetFaxEnabled

func (*ListAvailablePhoneNumberTollFreeParams) SetInLata

func (*ListAvailablePhoneNumberTollFreeParams) SetInLocality

func (*ListAvailablePhoneNumberTollFreeParams) SetInPostalCode

func (*ListAvailablePhoneNumberTollFreeParams) SetInRateCenter

func (*ListAvailablePhoneNumberTollFreeParams) SetInRegion

func (*ListAvailablePhoneNumberTollFreeParams) SetLimit added in v0.13.0

func (*ListAvailablePhoneNumberTollFreeParams) SetMmsEnabled

func (*ListAvailablePhoneNumberTollFreeParams) SetNearLatLong

func (*ListAvailablePhoneNumberTollFreeParams) SetNearNumber

func (*ListAvailablePhoneNumberTollFreeParams) SetPageSize

func (*ListAvailablePhoneNumberTollFreeParams) SetPathAccountSid

func (*ListAvailablePhoneNumberTollFreeParams) SetSmsEnabled

func (*ListAvailablePhoneNumberTollFreeParams) SetVoiceEnabled

type ListAvailablePhoneNumberTollFreeResponse

type ListAvailablePhoneNumberTollFreeResponse struct {
	AvailablePhoneNumbers []ApiV2010AvailablePhoneNumberTollFree `json:"available_phone_numbers,omitempty"`
	End                   int                                    `json:"end,omitempty"`
	FirstPageUri          string                                 `json:"first_page_uri,omitempty"`
	NextPageUri           string                                 `json:"next_page_uri,omitempty"`
	Page                  int                                    `json:"page,omitempty"`
	PageSize              int                                    `json:"page_size,omitempty"`
	PreviousPageUri       string                                 `json:"previous_page_uri,omitempty"`
	Start                 int                                    `json:"start,omitempty"`
	Uri                   string                                 `json:"uri,omitempty"`
}

ListAvailablePhoneNumberTollFreeResponse struct for ListAvailablePhoneNumberTollFreeResponse

type ListAvailablePhoneNumberVoipParams

type ListAvailablePhoneNumberVoipParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) requesting the AvailablePhoneNumber resources.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
	AreaCode *int `json:"AreaCode,omitempty"`
	// The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters.
	Contains *string `json:"Contains,omitempty"`
	// Whether the phone numbers can receive text messages. Can be: `true` or `false`.
	SmsEnabled *bool `json:"SmsEnabled,omitempty"`
	// Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
	MmsEnabled *bool `json:"MmsEnabled,omitempty"`
	// Whether the phone numbers can receive calls. Can be: `true` or `false`.
	VoiceEnabled *bool `json:"VoiceEnabled,omitempty"`
	// Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
	ExcludeAllAddressRequired *bool `json:"ExcludeAllAddressRequired,omitempty"`
	// Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
	ExcludeLocalAddressRequired *bool `json:"ExcludeLocalAddressRequired,omitempty"`
	// Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`.
	ExcludeForeignAddressRequired *bool `json:"ExcludeForeignAddressRequired,omitempty"`
	// Whether to read phone numbers that are new to the Twilio platform. Can be: `true` or `false` and the default is `true`.
	Beta *bool `json:"Beta,omitempty"`
	// Given a phone number, find a geographically close number within `distance` miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
	NearNumber *string `json:"NearNumber,omitempty"`
	// Given a latitude/longitude pair `lat,long` find geographically close numbers within `distance` miles. Applies to only phone numbers in the US and Canada.
	NearLatLong *string `json:"NearLatLong,omitempty"`
	// The search radius, in miles, for a `near_` query.  Can be up to `500` and the default is `25`. Applies to only phone numbers in the US and Canada.
	Distance *int `json:"Distance,omitempty"`
	// Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
	InPostalCode *string `json:"InPostalCode,omitempty"`
	// Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
	InRegion *string `json:"InRegion,omitempty"`
	// Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires `in_lata` to be set as well. Applies to only phone numbers in the US and Canada.
	InRateCenter *string `json:"InRateCenter,omitempty"`
	// Limit results to a specific local access and transport area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada.
	InLata *string `json:"InLata,omitempty"`
	// Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
	InLocality *string `json:"InLocality,omitempty"`
	// Whether the phone numbers can receive faxes. Can be: `true` or `false`.
	FaxEnabled *bool `json:"FaxEnabled,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListAvailablePhoneNumberVoip'

func (*ListAvailablePhoneNumberVoipParams) SetAreaCode

func (*ListAvailablePhoneNumberVoipParams) SetBeta

func (*ListAvailablePhoneNumberVoipParams) SetContains

func (*ListAvailablePhoneNumberVoipParams) SetDistance

func (*ListAvailablePhoneNumberVoipParams) SetExcludeAllAddressRequired

func (params *ListAvailablePhoneNumberVoipParams) SetExcludeAllAddressRequired(ExcludeAllAddressRequired bool) *ListAvailablePhoneNumberVoipParams

func (*ListAvailablePhoneNumberVoipParams) SetExcludeForeignAddressRequired

func (params *ListAvailablePhoneNumberVoipParams) SetExcludeForeignAddressRequired(ExcludeForeignAddressRequired bool) *ListAvailablePhoneNumberVoipParams

func (*ListAvailablePhoneNumberVoipParams) SetExcludeLocalAddressRequired

func (params *ListAvailablePhoneNumberVoipParams) SetExcludeLocalAddressRequired(ExcludeLocalAddressRequired bool) *ListAvailablePhoneNumberVoipParams

func (*ListAvailablePhoneNumberVoipParams) SetFaxEnabled

func (*ListAvailablePhoneNumberVoipParams) SetInLata

func (*ListAvailablePhoneNumberVoipParams) SetInLocality

func (*ListAvailablePhoneNumberVoipParams) SetInPostalCode

func (params *ListAvailablePhoneNumberVoipParams) SetInPostalCode(InPostalCode string) *ListAvailablePhoneNumberVoipParams

func (*ListAvailablePhoneNumberVoipParams) SetInRateCenter

func (params *ListAvailablePhoneNumberVoipParams) SetInRateCenter(InRateCenter string) *ListAvailablePhoneNumberVoipParams

func (*ListAvailablePhoneNumberVoipParams) SetInRegion

func (*ListAvailablePhoneNumberVoipParams) SetLimit added in v0.13.0

func (*ListAvailablePhoneNumberVoipParams) SetMmsEnabled

func (*ListAvailablePhoneNumberVoipParams) SetNearLatLong

func (*ListAvailablePhoneNumberVoipParams) SetNearNumber

func (*ListAvailablePhoneNumberVoipParams) SetPageSize

func (*ListAvailablePhoneNumberVoipParams) SetPathAccountSid

func (params *ListAvailablePhoneNumberVoipParams) SetPathAccountSid(PathAccountSid string) *ListAvailablePhoneNumberVoipParams

func (*ListAvailablePhoneNumberVoipParams) SetSmsEnabled

func (*ListAvailablePhoneNumberVoipParams) SetVoiceEnabled

func (params *ListAvailablePhoneNumberVoipParams) SetVoiceEnabled(VoiceEnabled bool) *ListAvailablePhoneNumberVoipParams

type ListAvailablePhoneNumberVoipResponse

type ListAvailablePhoneNumberVoipResponse struct {
	AvailablePhoneNumbers []ApiV2010AvailablePhoneNumberVoip `json:"available_phone_numbers,omitempty"`
	End                   int                                `json:"end,omitempty"`
	FirstPageUri          string                             `json:"first_page_uri,omitempty"`
	NextPageUri           string                             `json:"next_page_uri,omitempty"`
	Page                  int                                `json:"page,omitempty"`
	PageSize              int                                `json:"page_size,omitempty"`
	PreviousPageUri       string                             `json:"previous_page_uri,omitempty"`
	Start                 int                                `json:"start,omitempty"`
	Uri                   string                             `json:"uri,omitempty"`
}

ListAvailablePhoneNumberVoipResponse struct for ListAvailablePhoneNumberVoipResponse

type ListCallEventParams

type ListCallEventParams struct {
	// The unique SID identifier of the Account.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListCallEvent'

func (*ListCallEventParams) SetLimit added in v0.13.0

func (params *ListCallEventParams) SetLimit(Limit int) *ListCallEventParams

func (*ListCallEventParams) SetPageSize

func (params *ListCallEventParams) SetPageSize(PageSize int) *ListCallEventParams

func (*ListCallEventParams) SetPathAccountSid

func (params *ListCallEventParams) SetPathAccountSid(PathAccountSid string) *ListCallEventParams

type ListCallEventResponse

type ListCallEventResponse struct {
	End             int                 `json:"end,omitempty"`
	Events          []ApiV2010CallEvent `json:"events,omitempty"`
	FirstPageUri    string              `json:"first_page_uri,omitempty"`
	NextPageUri     string              `json:"next_page_uri,omitempty"`
	Page            int                 `json:"page,omitempty"`
	PageSize        int                 `json:"page_size,omitempty"`
	PreviousPageUri string              `json:"previous_page_uri,omitempty"`
	Start           int                 `json:"start,omitempty"`
	Uri             string              `json:"uri,omitempty"`
}

ListCallEventResponse struct for ListCallEventResponse

type ListCallNotificationParams

type ListCallNotificationParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Call Notification resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// Only read notifications of the specified log level. Can be:  `0` to read only ERROR notifications or `1` to read only WARNING notifications. By default, all notifications are read.
	Log *int `json:"Log,omitempty"`
	// Only show notifications for the specified date, formatted as `YYYY-MM-DD`. You can also specify an inequality, such as `<=YYYY-MM-DD` for messages logged at or before midnight on a date, or `>=YYYY-MM-DD` for messages logged at or after midnight on a date.
	MessageDate *string `json:"MessageDate,omitempty"`
	// Only show notifications for the specified date, formatted as `YYYY-MM-DD`. You can also specify an inequality, such as `<=YYYY-MM-DD` for messages logged at or before midnight on a date, or `>=YYYY-MM-DD` for messages logged at or after midnight on a date.
	MessageDateBefore *string `json:"MessageDate&lt;,omitempty"`
	// Only show notifications for the specified date, formatted as `YYYY-MM-DD`. You can also specify an inequality, such as `<=YYYY-MM-DD` for messages logged at or before midnight on a date, or `>=YYYY-MM-DD` for messages logged at or after midnight on a date.
	MessageDateAfter *string `json:"MessageDate&gt;,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListCallNotification'

func (*ListCallNotificationParams) SetLimit added in v0.13.0

func (*ListCallNotificationParams) SetLog

func (*ListCallNotificationParams) SetMessageDate

func (params *ListCallNotificationParams) SetMessageDate(MessageDate string) *ListCallNotificationParams

func (*ListCallNotificationParams) SetMessageDateAfter

func (params *ListCallNotificationParams) SetMessageDateAfter(MessageDateAfter string) *ListCallNotificationParams

func (*ListCallNotificationParams) SetMessageDateBefore

func (params *ListCallNotificationParams) SetMessageDateBefore(MessageDateBefore string) *ListCallNotificationParams

func (*ListCallNotificationParams) SetPageSize

func (params *ListCallNotificationParams) SetPageSize(PageSize int) *ListCallNotificationParams

func (*ListCallNotificationParams) SetPathAccountSid

func (params *ListCallNotificationParams) SetPathAccountSid(PathAccountSid string) *ListCallNotificationParams

type ListCallNotificationResponse

type ListCallNotificationResponse struct {
	End             int                        `json:"end,omitempty"`
	FirstPageUri    string                     `json:"first_page_uri,omitempty"`
	NextPageUri     string                     `json:"next_page_uri,omitempty"`
	Notifications   []ApiV2010CallNotification `json:"notifications,omitempty"`
	Page            int                        `json:"page,omitempty"`
	PageSize        int                        `json:"page_size,omitempty"`
	PreviousPageUri string                     `json:"previous_page_uri,omitempty"`
	Start           int                        `json:"start,omitempty"`
	Uri             string                     `json:"uri,omitempty"`
}

ListCallNotificationResponse struct for ListCallNotificationResponse

type ListCallParams

type ListCallParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Call resource(s) to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// Only show calls made to this phone number, SIP address, Client identifier or SIM SID.
	To *string `json:"To,omitempty"`
	// Only include calls from this phone number, SIP address, Client identifier or SIM SID.
	From *string `json:"From,omitempty"`
	// Only include calls spawned by calls with this SID.
	ParentCallSid *string `json:"ParentCallSid,omitempty"`
	// The status of the calls to include. Can be: `queued`, `ringing`, `in-progress`, `canceled`, `completed`, `failed`, `busy`, or `no-answer`.
	Status *string `json:"Status,omitempty"`
	// Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
	StartTime *time.Time `json:"StartTime,omitempty"`
	// Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
	StartTimeBefore *time.Time `json:"StartTime&lt;,omitempty"`
	// Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
	StartTimeAfter *time.Time `json:"StartTime&gt;,omitempty"`
	// Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
	EndTime *time.Time `json:"EndTime,omitempty"`
	// Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
	EndTimeBefore *time.Time `json:"EndTime&lt;,omitempty"`
	// Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
	EndTimeAfter *time.Time `json:"EndTime&gt;,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListCall'

func (*ListCallParams) SetEndTime

func (params *ListCallParams) SetEndTime(EndTime time.Time) *ListCallParams

func (*ListCallParams) SetEndTimeAfter

func (params *ListCallParams) SetEndTimeAfter(EndTimeAfter time.Time) *ListCallParams

func (*ListCallParams) SetEndTimeBefore

func (params *ListCallParams) SetEndTimeBefore(EndTimeBefore time.Time) *ListCallParams

func (*ListCallParams) SetFrom

func (params *ListCallParams) SetFrom(From string) *ListCallParams

func (*ListCallParams) SetLimit added in v0.13.0

func (params *ListCallParams) SetLimit(Limit int) *ListCallParams

func (*ListCallParams) SetPageSize

func (params *ListCallParams) SetPageSize(PageSize int) *ListCallParams

func (*ListCallParams) SetParentCallSid

func (params *ListCallParams) SetParentCallSid(ParentCallSid string) *ListCallParams

func (*ListCallParams) SetPathAccountSid

func (params *ListCallParams) SetPathAccountSid(PathAccountSid string) *ListCallParams

func (*ListCallParams) SetStartTime

func (params *ListCallParams) SetStartTime(StartTime time.Time) *ListCallParams

func (*ListCallParams) SetStartTimeAfter

func (params *ListCallParams) SetStartTimeAfter(StartTimeAfter time.Time) *ListCallParams

func (*ListCallParams) SetStartTimeBefore

func (params *ListCallParams) SetStartTimeBefore(StartTimeBefore time.Time) *ListCallParams

func (*ListCallParams) SetStatus

func (params *ListCallParams) SetStatus(Status string) *ListCallParams

func (*ListCallParams) SetTo

func (params *ListCallParams) SetTo(To string) *ListCallParams

type ListCallRecordingParams

type ListCallRecordingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. You can also specify inequality: `DateCreated<=YYYY-MM-DD` will return recordings generated at or before midnight on a given date, and `DateCreated>=YYYY-MM-DD` returns recordings generated at or after midnight on a date.
	DateCreated *string `json:"DateCreated,omitempty"`
	// The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. You can also specify inequality: `DateCreated<=YYYY-MM-DD` will return recordings generated at or before midnight on a given date, and `DateCreated>=YYYY-MM-DD` returns recordings generated at or after midnight on a date.
	DateCreatedBefore *string `json:"DateCreated&lt;,omitempty"`
	// The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. You can also specify inequality: `DateCreated<=YYYY-MM-DD` will return recordings generated at or before midnight on a given date, and `DateCreated>=YYYY-MM-DD` returns recordings generated at or after midnight on a date.
	DateCreatedAfter *string `json:"DateCreated&gt;,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListCallRecording'

func (*ListCallRecordingParams) SetDateCreated

func (params *ListCallRecordingParams) SetDateCreated(DateCreated string) *ListCallRecordingParams

func (*ListCallRecordingParams) SetDateCreatedAfter

func (params *ListCallRecordingParams) SetDateCreatedAfter(DateCreatedAfter string) *ListCallRecordingParams

func (*ListCallRecordingParams) SetDateCreatedBefore

func (params *ListCallRecordingParams) SetDateCreatedBefore(DateCreatedBefore string) *ListCallRecordingParams

func (*ListCallRecordingParams) SetLimit added in v0.13.0

func (params *ListCallRecordingParams) SetLimit(Limit int) *ListCallRecordingParams

func (*ListCallRecordingParams) SetPageSize

func (params *ListCallRecordingParams) SetPageSize(PageSize int) *ListCallRecordingParams

func (*ListCallRecordingParams) SetPathAccountSid

func (params *ListCallRecordingParams) SetPathAccountSid(PathAccountSid string) *ListCallRecordingParams

type ListCallRecordingResponse

type ListCallRecordingResponse struct {
	End             int                     `json:"end,omitempty"`
	FirstPageUri    string                  `json:"first_page_uri,omitempty"`
	NextPageUri     string                  `json:"next_page_uri,omitempty"`
	Page            int                     `json:"page,omitempty"`
	PageSize        int                     `json:"page_size,omitempty"`
	PreviousPageUri string                  `json:"previous_page_uri,omitempty"`
	Recordings      []ApiV2010CallRecording `json:"recordings,omitempty"`
	Start           int                     `json:"start,omitempty"`
	Uri             string                  `json:"uri,omitempty"`
}

ListCallRecordingResponse struct for ListCallRecordingResponse

type ListCallResponse

type ListCallResponse struct {
	Calls           []ApiV2010Call `json:"calls,omitempty"`
	End             int            `json:"end,omitempty"`
	FirstPageUri    string         `json:"first_page_uri,omitempty"`
	NextPageUri     string         `json:"next_page_uri,omitempty"`
	Page            int            `json:"page,omitempty"`
	PageSize        int            `json:"page_size,omitempty"`
	PreviousPageUri string         `json:"previous_page_uri,omitempty"`
	Start           int            `json:"start,omitempty"`
	Uri             string         `json:"uri,omitempty"`
}

ListCallResponse struct for ListCallResponse

type ListConferenceParams

type ListConferenceParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Conference resource(s) to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify  conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`.
	DateCreated *string `json:"DateCreated,omitempty"`
	// The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify  conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`.
	DateCreatedBefore *string `json:"DateCreated&lt;,omitempty"`
	// The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify  conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`.
	DateCreatedAfter *string `json:"DateCreated&gt;,omitempty"`
	// The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use  `>=YYYY-MM-DD`.
	DateUpdated *string `json:"DateUpdated,omitempty"`
	// The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use  `>=YYYY-MM-DD`.
	DateUpdatedBefore *string `json:"DateUpdated&lt;,omitempty"`
	// The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use  `>=YYYY-MM-DD`.
	DateUpdatedAfter *string `json:"DateUpdated&gt;,omitempty"`
	// The string that identifies the Conference resources to read.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The status of the resources to read. Can be: `init`, `in-progress`, or `completed`.
	Status *string `json:"Status,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListConference'

func (*ListConferenceParams) SetDateCreated

func (params *ListConferenceParams) SetDateCreated(DateCreated string) *ListConferenceParams

func (*ListConferenceParams) SetDateCreatedAfter

func (params *ListConferenceParams) SetDateCreatedAfter(DateCreatedAfter string) *ListConferenceParams

func (*ListConferenceParams) SetDateCreatedBefore

func (params *ListConferenceParams) SetDateCreatedBefore(DateCreatedBefore string) *ListConferenceParams

func (*ListConferenceParams) SetDateUpdated

func (params *ListConferenceParams) SetDateUpdated(DateUpdated string) *ListConferenceParams

func (*ListConferenceParams) SetDateUpdatedAfter

func (params *ListConferenceParams) SetDateUpdatedAfter(DateUpdatedAfter string) *ListConferenceParams

func (*ListConferenceParams) SetDateUpdatedBefore

func (params *ListConferenceParams) SetDateUpdatedBefore(DateUpdatedBefore string) *ListConferenceParams

func (*ListConferenceParams) SetFriendlyName

func (params *ListConferenceParams) SetFriendlyName(FriendlyName string) *ListConferenceParams

func (*ListConferenceParams) SetLimit added in v0.13.0

func (params *ListConferenceParams) SetLimit(Limit int) *ListConferenceParams

func (*ListConferenceParams) SetPageSize

func (params *ListConferenceParams) SetPageSize(PageSize int) *ListConferenceParams

func (*ListConferenceParams) SetPathAccountSid

func (params *ListConferenceParams) SetPathAccountSid(PathAccountSid string) *ListConferenceParams

func (*ListConferenceParams) SetStatus

func (params *ListConferenceParams) SetStatus(Status string) *ListConferenceParams

type ListConferenceRecordingParams

type ListConferenceRecordingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Conference Recording resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. You can also specify inequality: `DateCreated<=YYYY-MM-DD` will return recordings generated at or before midnight on a given date, and `DateCreated>=YYYY-MM-DD` returns recordings generated at or after midnight on a date.
	DateCreated *string `json:"DateCreated,omitempty"`
	// The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. You can also specify inequality: `DateCreated<=YYYY-MM-DD` will return recordings generated at or before midnight on a given date, and `DateCreated>=YYYY-MM-DD` returns recordings generated at or after midnight on a date.
	DateCreatedBefore *string `json:"DateCreated&lt;,omitempty"`
	// The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. You can also specify inequality: `DateCreated<=YYYY-MM-DD` will return recordings generated at or before midnight on a given date, and `DateCreated>=YYYY-MM-DD` returns recordings generated at or after midnight on a date.
	DateCreatedAfter *string `json:"DateCreated&gt;,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListConferenceRecording'

func (*ListConferenceRecordingParams) SetDateCreated

func (params *ListConferenceRecordingParams) SetDateCreated(DateCreated string) *ListConferenceRecordingParams

func (*ListConferenceRecordingParams) SetDateCreatedAfter

func (params *ListConferenceRecordingParams) SetDateCreatedAfter(DateCreatedAfter string) *ListConferenceRecordingParams

func (*ListConferenceRecordingParams) SetDateCreatedBefore

func (params *ListConferenceRecordingParams) SetDateCreatedBefore(DateCreatedBefore string) *ListConferenceRecordingParams

func (*ListConferenceRecordingParams) SetLimit added in v0.13.0

func (*ListConferenceRecordingParams) SetPageSize

func (params *ListConferenceRecordingParams) SetPageSize(PageSize int) *ListConferenceRecordingParams

func (*ListConferenceRecordingParams) SetPathAccountSid

func (params *ListConferenceRecordingParams) SetPathAccountSid(PathAccountSid string) *ListConferenceRecordingParams

type ListConferenceRecordingResponse

type ListConferenceRecordingResponse struct {
	End             int                           `json:"end,omitempty"`
	FirstPageUri    string                        `json:"first_page_uri,omitempty"`
	NextPageUri     string                        `json:"next_page_uri,omitempty"`
	Page            int                           `json:"page,omitempty"`
	PageSize        int                           `json:"page_size,omitempty"`
	PreviousPageUri string                        `json:"previous_page_uri,omitempty"`
	Recordings      []ApiV2010ConferenceRecording `json:"recordings,omitempty"`
	Start           int                           `json:"start,omitempty"`
	Uri             string                        `json:"uri,omitempty"`
}

ListConferenceRecordingResponse struct for ListConferenceRecordingResponse

type ListConferenceResponse

type ListConferenceResponse struct {
	Conferences     []ApiV2010Conference `json:"conferences,omitempty"`
	End             int                  `json:"end,omitempty"`
	FirstPageUri    string               `json:"first_page_uri,omitempty"`
	NextPageUri     string               `json:"next_page_uri,omitempty"`
	Page            int                  `json:"page,omitempty"`
	PageSize        int                  `json:"page_size,omitempty"`
	PreviousPageUri string               `json:"previous_page_uri,omitempty"`
	Start           int                  `json:"start,omitempty"`
	Uri             string               `json:"uri,omitempty"`
}

ListConferenceResponse struct for ListConferenceResponse

type ListConnectAppParams

type ListConnectAppParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ConnectApp resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListConnectApp'

func (*ListConnectAppParams) SetLimit added in v0.13.0

func (params *ListConnectAppParams) SetLimit(Limit int) *ListConnectAppParams

func (*ListConnectAppParams) SetPageSize

func (params *ListConnectAppParams) SetPageSize(PageSize int) *ListConnectAppParams

func (*ListConnectAppParams) SetPathAccountSid

func (params *ListConnectAppParams) SetPathAccountSid(PathAccountSid string) *ListConnectAppParams

type ListConnectAppResponse

type ListConnectAppResponse struct {
	ConnectApps     []ApiV2010ConnectApp `json:"connect_apps,omitempty"`
	End             int                  `json:"end,omitempty"`
	FirstPageUri    string               `json:"first_page_uri,omitempty"`
	NextPageUri     string               `json:"next_page_uri,omitempty"`
	Page            int                  `json:"page,omitempty"`
	PageSize        int                  `json:"page_size,omitempty"`
	PreviousPageUri string               `json:"previous_page_uri,omitempty"`
	Start           int                  `json:"start,omitempty"`
	Uri             string               `json:"uri,omitempty"`
}

ListConnectAppResponse struct for ListConnectAppResponse

type ListDependentPhoneNumberParams

type ListDependentPhoneNumberParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the DependentPhoneNumber resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListDependentPhoneNumber'

func (*ListDependentPhoneNumberParams) SetLimit added in v0.13.0

func (*ListDependentPhoneNumberParams) SetPageSize

func (params *ListDependentPhoneNumberParams) SetPageSize(PageSize int) *ListDependentPhoneNumberParams

func (*ListDependentPhoneNumberParams) SetPathAccountSid

func (params *ListDependentPhoneNumberParams) SetPathAccountSid(PathAccountSid string) *ListDependentPhoneNumberParams

type ListDependentPhoneNumberResponse

type ListDependentPhoneNumberResponse struct {
	DependentPhoneNumbers []ApiV2010DependentPhoneNumber `json:"dependent_phone_numbers,omitempty"`
	End                   int                            `json:"end,omitempty"`
	FirstPageUri          string                         `json:"first_page_uri,omitempty"`
	NextPageUri           string                         `json:"next_page_uri,omitempty"`
	Page                  int                            `json:"page,omitempty"`
	PageSize              int                            `json:"page_size,omitempty"`
	PreviousPageUri       string                         `json:"previous_page_uri,omitempty"`
	Start                 int                            `json:"start,omitempty"`
	Uri                   string                         `json:"uri,omitempty"`
}

ListDependentPhoneNumberResponse struct for ListDependentPhoneNumberResponse

type ListIncomingPhoneNumberAssignedAddOnExtensionParams

type ListIncomingPhoneNumberAssignedAddOnExtensionParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListIncomingPhoneNumberAssignedAddOnExtension'

func (*ListIncomingPhoneNumberAssignedAddOnExtensionParams) SetLimit added in v0.13.0

func (*ListIncomingPhoneNumberAssignedAddOnExtensionParams) SetPageSize

func (*ListIncomingPhoneNumberAssignedAddOnExtensionParams) SetPathAccountSid

type ListIncomingPhoneNumberAssignedAddOnExtensionResponse

type ListIncomingPhoneNumberAssignedAddOnExtensionResponse struct {
	End             int                                                 `json:"end,omitempty"`
	Extensions      []ApiV2010IncomingPhoneNumberAssignedAddOnExtension `json:"extensions,omitempty"`
	FirstPageUri    string                                              `json:"first_page_uri,omitempty"`
	NextPageUri     string                                              `json:"next_page_uri,omitempty"`
	Page            int                                                 `json:"page,omitempty"`
	PageSize        int                                                 `json:"page_size,omitempty"`
	PreviousPageUri string                                              `json:"previous_page_uri,omitempty"`
	Start           int                                                 `json:"start,omitempty"`
	Uri             string                                              `json:"uri,omitempty"`
}

ListIncomingPhoneNumberAssignedAddOnExtensionResponse struct for ListIncomingPhoneNumberAssignedAddOnExtensionResponse

type ListIncomingPhoneNumberAssignedAddOnParams

type ListIncomingPhoneNumberAssignedAddOnParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListIncomingPhoneNumberAssignedAddOn'

func (*ListIncomingPhoneNumberAssignedAddOnParams) SetLimit added in v0.13.0

func (*ListIncomingPhoneNumberAssignedAddOnParams) SetPageSize

func (*ListIncomingPhoneNumberAssignedAddOnParams) SetPathAccountSid

type ListIncomingPhoneNumberAssignedAddOnResponse

type ListIncomingPhoneNumberAssignedAddOnResponse struct {
	AssignedAddOns  []ApiV2010IncomingPhoneNumberAssignedAddOn `json:"assigned_add_ons,omitempty"`
	End             int                                        `json:"end,omitempty"`
	FirstPageUri    string                                     `json:"first_page_uri,omitempty"`
	NextPageUri     string                                     `json:"next_page_uri,omitempty"`
	Page            int                                        `json:"page,omitempty"`
	PageSize        int                                        `json:"page_size,omitempty"`
	PreviousPageUri string                                     `json:"previous_page_uri,omitempty"`
	Start           int                                        `json:"start,omitempty"`
	Uri             string                                     `json:"uri,omitempty"`
}

ListIncomingPhoneNumberAssignedAddOnResponse struct for ListIncomingPhoneNumberAssignedAddOnResponse

type ListIncomingPhoneNumberLocalParams

type ListIncomingPhoneNumberLocalParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// Whether to include phone numbers new to the Twilio platform. Can be: `true` or `false` and the default is `true`.
	Beta *bool `json:"Beta,omitempty"`
	// A string that identifies the resources to read.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The phone numbers of the IncomingPhoneNumber resources to read. You can specify partial numbers and use '*' as a wildcard for any digit.
	PhoneNumber *string `json:"PhoneNumber,omitempty"`
	// Whether to include phone numbers based on their origin. Can be: `twilio` or `hosted`. By default, phone numbers of all origin are included.
	Origin *string `json:"Origin,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListIncomingPhoneNumberLocal'

func (*ListIncomingPhoneNumberLocalParams) SetBeta

func (*ListIncomingPhoneNumberLocalParams) SetFriendlyName

func (params *ListIncomingPhoneNumberLocalParams) SetFriendlyName(FriendlyName string) *ListIncomingPhoneNumberLocalParams

func (*ListIncomingPhoneNumberLocalParams) SetLimit added in v0.13.0

func (*ListIncomingPhoneNumberLocalParams) SetOrigin

func (*ListIncomingPhoneNumberLocalParams) SetPageSize

func (*ListIncomingPhoneNumberLocalParams) SetPathAccountSid

func (params *ListIncomingPhoneNumberLocalParams) SetPathAccountSid(PathAccountSid string) *ListIncomingPhoneNumberLocalParams

func (*ListIncomingPhoneNumberLocalParams) SetPhoneNumber

type ListIncomingPhoneNumberLocalResponse

type ListIncomingPhoneNumberLocalResponse struct {
	End                  int                                `json:"end,omitempty"`
	FirstPageUri         string                             `json:"first_page_uri,omitempty"`
	IncomingPhoneNumbers []ApiV2010IncomingPhoneNumberLocal `json:"incoming_phone_numbers,omitempty"`
	NextPageUri          string                             `json:"next_page_uri,omitempty"`
	Page                 int                                `json:"page,omitempty"`
	PageSize             int                                `json:"page_size,omitempty"`
	PreviousPageUri      string                             `json:"previous_page_uri,omitempty"`
	Start                int                                `json:"start,omitempty"`
	Uri                  string                             `json:"uri,omitempty"`
}

ListIncomingPhoneNumberLocalResponse struct for ListIncomingPhoneNumberLocalResponse

type ListIncomingPhoneNumberMobileParams

type ListIncomingPhoneNumberMobileParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// Whether to include phone numbers new to the Twilio platform. Can be: `true` or `false` and the default is `true`.
	Beta *bool `json:"Beta,omitempty"`
	// A string that identifies the resources to read.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The phone numbers of the IncomingPhoneNumber resources to read. You can specify partial numbers and use '*' as a wildcard for any digit.
	PhoneNumber *string `json:"PhoneNumber,omitempty"`
	// Whether to include phone numbers based on their origin. Can be: `twilio` or `hosted`. By default, phone numbers of all origin are included.
	Origin *string `json:"Origin,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListIncomingPhoneNumberMobile'

func (*ListIncomingPhoneNumberMobileParams) SetBeta

func (*ListIncomingPhoneNumberMobileParams) SetFriendlyName

func (*ListIncomingPhoneNumberMobileParams) SetLimit added in v0.13.0

func (*ListIncomingPhoneNumberMobileParams) SetOrigin

func (*ListIncomingPhoneNumberMobileParams) SetPageSize

func (*ListIncomingPhoneNumberMobileParams) SetPathAccountSid

func (params *ListIncomingPhoneNumberMobileParams) SetPathAccountSid(PathAccountSid string) *ListIncomingPhoneNumberMobileParams

func (*ListIncomingPhoneNumberMobileParams) SetPhoneNumber

type ListIncomingPhoneNumberMobileResponse

type ListIncomingPhoneNumberMobileResponse struct {
	End                  int                                 `json:"end,omitempty"`
	FirstPageUri         string                              `json:"first_page_uri,omitempty"`
	IncomingPhoneNumbers []ApiV2010IncomingPhoneNumberMobile `json:"incoming_phone_numbers,omitempty"`
	NextPageUri          string                              `json:"next_page_uri,omitempty"`
	Page                 int                                 `json:"page,omitempty"`
	PageSize             int                                 `json:"page_size,omitempty"`
	PreviousPageUri      string                              `json:"previous_page_uri,omitempty"`
	Start                int                                 `json:"start,omitempty"`
	Uri                  string                              `json:"uri,omitempty"`
}

ListIncomingPhoneNumberMobileResponse struct for ListIncomingPhoneNumberMobileResponse

type ListIncomingPhoneNumberParams

type ListIncomingPhoneNumberParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the IncomingPhoneNumber resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// Whether to include phone numbers new to the Twilio platform. Can be: `true` or `false` and the default is `true`.
	Beta *bool `json:"Beta,omitempty"`
	// A string that identifies the IncomingPhoneNumber resources to read.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The phone numbers of the IncomingPhoneNumber resources to read. You can specify partial numbers and use '*' as a wildcard for any digit.
	PhoneNumber *string `json:"PhoneNumber,omitempty"`
	// Whether to include phone numbers based on their origin. Can be: `twilio` or `hosted`. By default, phone numbers of all origin are included.
	Origin *string `json:"Origin,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListIncomingPhoneNumber'

func (*ListIncomingPhoneNumberParams) SetBeta

func (*ListIncomingPhoneNumberParams) SetFriendlyName

func (params *ListIncomingPhoneNumberParams) SetFriendlyName(FriendlyName string) *ListIncomingPhoneNumberParams

func (*ListIncomingPhoneNumberParams) SetLimit added in v0.13.0

func (*ListIncomingPhoneNumberParams) SetOrigin

func (*ListIncomingPhoneNumberParams) SetPageSize

func (params *ListIncomingPhoneNumberParams) SetPageSize(PageSize int) *ListIncomingPhoneNumberParams

func (*ListIncomingPhoneNumberParams) SetPathAccountSid

func (params *ListIncomingPhoneNumberParams) SetPathAccountSid(PathAccountSid string) *ListIncomingPhoneNumberParams

func (*ListIncomingPhoneNumberParams) SetPhoneNumber

func (params *ListIncomingPhoneNumberParams) SetPhoneNumber(PhoneNumber string) *ListIncomingPhoneNumberParams

type ListIncomingPhoneNumberResponse

type ListIncomingPhoneNumberResponse struct {
	End                  int                           `json:"end,omitempty"`
	FirstPageUri         string                        `json:"first_page_uri,omitempty"`
	IncomingPhoneNumbers []ApiV2010IncomingPhoneNumber `json:"incoming_phone_numbers,omitempty"`
	NextPageUri          string                        `json:"next_page_uri,omitempty"`
	Page                 int                           `json:"page,omitempty"`
	PageSize             int                           `json:"page_size,omitempty"`
	PreviousPageUri      string                        `json:"previous_page_uri,omitempty"`
	Start                int                           `json:"start,omitempty"`
	Uri                  string                        `json:"uri,omitempty"`
}

ListIncomingPhoneNumberResponse struct for ListIncomingPhoneNumberResponse

type ListIncomingPhoneNumberTollFreeParams

type ListIncomingPhoneNumberTollFreeParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// Whether to include phone numbers new to the Twilio platform. Can be: `true` or `false` and the default is `true`.
	Beta *bool `json:"Beta,omitempty"`
	// A string that identifies the resources to read.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The phone numbers of the IncomingPhoneNumber resources to read. You can specify partial numbers and use '*' as a wildcard for any digit.
	PhoneNumber *string `json:"PhoneNumber,omitempty"`
	// Whether to include phone numbers based on their origin. Can be: `twilio` or `hosted`. By default, phone numbers of all origin are included.
	Origin *string `json:"Origin,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListIncomingPhoneNumberTollFree'

func (*ListIncomingPhoneNumberTollFreeParams) SetBeta

func (*ListIncomingPhoneNumberTollFreeParams) SetFriendlyName

func (*ListIncomingPhoneNumberTollFreeParams) SetLimit added in v0.13.0

func (*ListIncomingPhoneNumberTollFreeParams) SetOrigin

func (*ListIncomingPhoneNumberTollFreeParams) SetPageSize

func (*ListIncomingPhoneNumberTollFreeParams) SetPathAccountSid

func (params *ListIncomingPhoneNumberTollFreeParams) SetPathAccountSid(PathAccountSid string) *ListIncomingPhoneNumberTollFreeParams

func (*ListIncomingPhoneNumberTollFreeParams) SetPhoneNumber

type ListIncomingPhoneNumberTollFreeResponse

type ListIncomingPhoneNumberTollFreeResponse struct {
	End                  int                                   `json:"end,omitempty"`
	FirstPageUri         string                                `json:"first_page_uri,omitempty"`
	IncomingPhoneNumbers []ApiV2010IncomingPhoneNumberTollFree `json:"incoming_phone_numbers,omitempty"`
	NextPageUri          string                                `json:"next_page_uri,omitempty"`
	Page                 int                                   `json:"page,omitempty"`
	PageSize             int                                   `json:"page_size,omitempty"`
	PreviousPageUri      string                                `json:"previous_page_uri,omitempty"`
	Start                int                                   `json:"start,omitempty"`
	Uri                  string                                `json:"uri,omitempty"`
}

ListIncomingPhoneNumberTollFreeResponse struct for ListIncomingPhoneNumberTollFreeResponse

type ListKeyParams

type ListKeyParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Key resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListKey'

func (*ListKeyParams) SetLimit added in v0.13.0

func (params *ListKeyParams) SetLimit(Limit int) *ListKeyParams

func (*ListKeyParams) SetPageSize

func (params *ListKeyParams) SetPageSize(PageSize int) *ListKeyParams

func (*ListKeyParams) SetPathAccountSid

func (params *ListKeyParams) SetPathAccountSid(PathAccountSid string) *ListKeyParams

type ListKeyResponse

type ListKeyResponse struct {
	End             int           `json:"end,omitempty"`
	FirstPageUri    string        `json:"first_page_uri,omitempty"`
	Keys            []ApiV2010Key `json:"keys,omitempty"`
	NextPageUri     string        `json:"next_page_uri,omitempty"`
	Page            int           `json:"page,omitempty"`
	PageSize        int           `json:"page_size,omitempty"`
	PreviousPageUri string        `json:"previous_page_uri,omitempty"`
	Start           int           `json:"start,omitempty"`
	Uri             string        `json:"uri,omitempty"`
}

ListKeyResponse struct for ListKeyResponse

type ListMediaParams

type ListMediaParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Media resource(s) to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date.
	DateCreated *time.Time `json:"DateCreated,omitempty"`
	// Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date.
	DateCreatedBefore *time.Time `json:"DateCreated&lt;,omitempty"`
	// Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date.
	DateCreatedAfter *time.Time `json:"DateCreated&gt;,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListMedia'

func (*ListMediaParams) SetDateCreated

func (params *ListMediaParams) SetDateCreated(DateCreated time.Time) *ListMediaParams

func (*ListMediaParams) SetDateCreatedAfter

func (params *ListMediaParams) SetDateCreatedAfter(DateCreatedAfter time.Time) *ListMediaParams

func (*ListMediaParams) SetDateCreatedBefore

func (params *ListMediaParams) SetDateCreatedBefore(DateCreatedBefore time.Time) *ListMediaParams

func (*ListMediaParams) SetLimit added in v0.13.0

func (params *ListMediaParams) SetLimit(Limit int) *ListMediaParams

func (*ListMediaParams) SetPageSize

func (params *ListMediaParams) SetPageSize(PageSize int) *ListMediaParams

func (*ListMediaParams) SetPathAccountSid

func (params *ListMediaParams) SetPathAccountSid(PathAccountSid string) *ListMediaParams

type ListMediaResponse

type ListMediaResponse struct {
	End             int             `json:"end,omitempty"`
	FirstPageUri    string          `json:"first_page_uri,omitempty"`
	MediaList       []ApiV2010Media `json:"media_list,omitempty"`
	NextPageUri     string          `json:"next_page_uri,omitempty"`
	Page            int             `json:"page,omitempty"`
	PageSize        int             `json:"page_size,omitempty"`
	PreviousPageUri string          `json:"previous_page_uri,omitempty"`
	Start           int             `json:"start,omitempty"`
	Uri             string          `json:"uri,omitempty"`
}

ListMediaResponse struct for ListMediaResponse

type ListMemberParams

type ListMemberParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Member resource(s) to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListMember'

func (*ListMemberParams) SetLimit added in v0.13.0

func (params *ListMemberParams) SetLimit(Limit int) *ListMemberParams

func (*ListMemberParams) SetPageSize

func (params *ListMemberParams) SetPageSize(PageSize int) *ListMemberParams

func (*ListMemberParams) SetPathAccountSid

func (params *ListMemberParams) SetPathAccountSid(PathAccountSid string) *ListMemberParams

type ListMemberResponse

type ListMemberResponse struct {
	End             int              `json:"end,omitempty"`
	FirstPageUri    string           `json:"first_page_uri,omitempty"`
	NextPageUri     string           `json:"next_page_uri,omitempty"`
	Page            int              `json:"page,omitempty"`
	PageSize        int              `json:"page_size,omitempty"`
	PreviousPageUri string           `json:"previous_page_uri,omitempty"`
	QueueMembers    []ApiV2010Member `json:"queue_members,omitempty"`
	Start           int              `json:"start,omitempty"`
	Uri             string           `json:"uri,omitempty"`
}

ListMemberResponse struct for ListMemberResponse

type ListMessageParams

type ListMessageParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Message resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// Read messages sent to only this phone number.
	To *string `json:"To,omitempty"`
	// Read messages sent from only this phone number or alphanumeric sender ID.
	From *string `json:"From,omitempty"`
	// The date of the messages to show. Specify a date as `YYYY-MM-DD` in GMT to read only messages sent on this date. For example: `2009-07-06`. You can also specify an inequality, such as `DateSent<=YYYY-MM-DD`, to read messages sent on or before midnight on a date, and `DateSent>=YYYY-MM-DD` to read messages sent on or after midnight on a date.
	DateSent *time.Time `json:"DateSent,omitempty"`
	// The date of the messages to show. Specify a date as `YYYY-MM-DD` in GMT to read only messages sent on this date. For example: `2009-07-06`. You can also specify an inequality, such as `DateSent<=YYYY-MM-DD`, to read messages sent on or before midnight on a date, and `DateSent>=YYYY-MM-DD` to read messages sent on or after midnight on a date.
	DateSentBefore *time.Time `json:"DateSent&lt;,omitempty"`
	// The date of the messages to show. Specify a date as `YYYY-MM-DD` in GMT to read only messages sent on this date. For example: `2009-07-06`. You can also specify an inequality, such as `DateSent<=YYYY-MM-DD`, to read messages sent on or before midnight on a date, and `DateSent>=YYYY-MM-DD` to read messages sent on or after midnight on a date.
	DateSentAfter *time.Time `json:"DateSent&gt;,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListMessage'

func (*ListMessageParams) SetDateSent

func (params *ListMessageParams) SetDateSent(DateSent time.Time) *ListMessageParams

func (*ListMessageParams) SetDateSentAfter

func (params *ListMessageParams) SetDateSentAfter(DateSentAfter time.Time) *ListMessageParams

func (*ListMessageParams) SetDateSentBefore

func (params *ListMessageParams) SetDateSentBefore(DateSentBefore time.Time) *ListMessageParams

func (*ListMessageParams) SetFrom

func (params *ListMessageParams) SetFrom(From string) *ListMessageParams

func (*ListMessageParams) SetLimit added in v0.13.0

func (params *ListMessageParams) SetLimit(Limit int) *ListMessageParams

func (*ListMessageParams) SetPageSize

func (params *ListMessageParams) SetPageSize(PageSize int) *ListMessageParams

func (*ListMessageParams) SetPathAccountSid

func (params *ListMessageParams) SetPathAccountSid(PathAccountSid string) *ListMessageParams

func (*ListMessageParams) SetTo

func (params *ListMessageParams) SetTo(To string) *ListMessageParams

type ListMessageResponse

type ListMessageResponse struct {
	End             int               `json:"end,omitempty"`
	FirstPageUri    string            `json:"first_page_uri,omitempty"`
	Messages        []ApiV2010Message `json:"messages,omitempty"`
	NextPageUri     string            `json:"next_page_uri,omitempty"`
	Page            int               `json:"page,omitempty"`
	PageSize        int               `json:"page_size,omitempty"`
	PreviousPageUri string            `json:"previous_page_uri,omitempty"`
	Start           int               `json:"start,omitempty"`
	Uri             string            `json:"uri,omitempty"`
}

ListMessageResponse struct for ListMessageResponse

type ListNotificationParams

type ListNotificationParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Notification resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// Only read notifications of the specified log level. Can be:  `0` to read only ERROR notifications or `1` to read only WARNING notifications. By default, all notifications are read.
	Log *int `json:"Log,omitempty"`
	// Only show notifications for the specified date, formatted as `YYYY-MM-DD`. You can also specify an inequality, such as `<=YYYY-MM-DD` for messages logged at or before midnight on a date, or `>=YYYY-MM-DD` for messages logged at or after midnight on a date.
	MessageDate *string `json:"MessageDate,omitempty"`
	// Only show notifications for the specified date, formatted as `YYYY-MM-DD`. You can also specify an inequality, such as `<=YYYY-MM-DD` for messages logged at or before midnight on a date, or `>=YYYY-MM-DD` for messages logged at or after midnight on a date.
	MessageDateBefore *string `json:"MessageDate&lt;,omitempty"`
	// Only show notifications for the specified date, formatted as `YYYY-MM-DD`. You can also specify an inequality, such as `<=YYYY-MM-DD` for messages logged at or before midnight on a date, or `>=YYYY-MM-DD` for messages logged at or after midnight on a date.
	MessageDateAfter *string `json:"MessageDate&gt;,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListNotification'

func (*ListNotificationParams) SetLimit added in v0.13.0

func (params *ListNotificationParams) SetLimit(Limit int) *ListNotificationParams

func (*ListNotificationParams) SetLog

func (params *ListNotificationParams) SetLog(Log int) *ListNotificationParams

func (*ListNotificationParams) SetMessageDate

func (params *ListNotificationParams) SetMessageDate(MessageDate string) *ListNotificationParams

func (*ListNotificationParams) SetMessageDateAfter

func (params *ListNotificationParams) SetMessageDateAfter(MessageDateAfter string) *ListNotificationParams

func (*ListNotificationParams) SetMessageDateBefore

func (params *ListNotificationParams) SetMessageDateBefore(MessageDateBefore string) *ListNotificationParams

func (*ListNotificationParams) SetPageSize

func (params *ListNotificationParams) SetPageSize(PageSize int) *ListNotificationParams

func (*ListNotificationParams) SetPathAccountSid

func (params *ListNotificationParams) SetPathAccountSid(PathAccountSid string) *ListNotificationParams

type ListNotificationResponse

type ListNotificationResponse struct {
	End             int                    `json:"end,omitempty"`
	FirstPageUri    string                 `json:"first_page_uri,omitempty"`
	NextPageUri     string                 `json:"next_page_uri,omitempty"`
	Notifications   []ApiV2010Notification `json:"notifications,omitempty"`
	Page            int                    `json:"page,omitempty"`
	PageSize        int                    `json:"page_size,omitempty"`
	PreviousPageUri string                 `json:"previous_page_uri,omitempty"`
	Start           int                    `json:"start,omitempty"`
	Uri             string                 `json:"uri,omitempty"`
}

ListNotificationResponse struct for ListNotificationResponse

type ListOutgoingCallerIdParams

type ListOutgoingCallerIdParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the OutgoingCallerId resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The phone number of the OutgoingCallerId resources to read.
	PhoneNumber *string `json:"PhoneNumber,omitempty"`
	// The string that identifies the OutgoingCallerId resources to read.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListOutgoingCallerId'

func (*ListOutgoingCallerIdParams) SetFriendlyName

func (params *ListOutgoingCallerIdParams) SetFriendlyName(FriendlyName string) *ListOutgoingCallerIdParams

func (*ListOutgoingCallerIdParams) SetLimit added in v0.13.0

func (*ListOutgoingCallerIdParams) SetPageSize

func (params *ListOutgoingCallerIdParams) SetPageSize(PageSize int) *ListOutgoingCallerIdParams

func (*ListOutgoingCallerIdParams) SetPathAccountSid

func (params *ListOutgoingCallerIdParams) SetPathAccountSid(PathAccountSid string) *ListOutgoingCallerIdParams

func (*ListOutgoingCallerIdParams) SetPhoneNumber

func (params *ListOutgoingCallerIdParams) SetPhoneNumber(PhoneNumber string) *ListOutgoingCallerIdParams

type ListOutgoingCallerIdResponse

type ListOutgoingCallerIdResponse struct {
	End               int                        `json:"end,omitempty"`
	FirstPageUri      string                     `json:"first_page_uri,omitempty"`
	NextPageUri       string                     `json:"next_page_uri,omitempty"`
	OutgoingCallerIds []ApiV2010OutgoingCallerId `json:"outgoing_caller_ids,omitempty"`
	Page              int                        `json:"page,omitempty"`
	PageSize          int                        `json:"page_size,omitempty"`
	PreviousPageUri   string                     `json:"previous_page_uri,omitempty"`
	Start             int                        `json:"start,omitempty"`
	Uri               string                     `json:"uri,omitempty"`
}

ListOutgoingCallerIdResponse struct for ListOutgoingCallerIdResponse

type ListParticipantParams

type ListParticipantParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Participant resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// Whether to return only participants that are muted. Can be: `true` or `false`.
	Muted *bool `json:"Muted,omitempty"`
	// Whether to return only participants that are on hold. Can be: `true` or `false`.
	Hold *bool `json:"Hold,omitempty"`
	// Whether to return only participants who are coaching another call. Can be: `true` or `false`.
	Coaching *bool `json:"Coaching,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListParticipant'

func (*ListParticipantParams) SetCoaching

func (params *ListParticipantParams) SetCoaching(Coaching bool) *ListParticipantParams

func (*ListParticipantParams) SetHold

func (params *ListParticipantParams) SetHold(Hold bool) *ListParticipantParams

func (*ListParticipantParams) SetLimit added in v0.13.0

func (params *ListParticipantParams) SetLimit(Limit int) *ListParticipantParams

func (*ListParticipantParams) SetMuted

func (params *ListParticipantParams) SetMuted(Muted bool) *ListParticipantParams

func (*ListParticipantParams) SetPageSize

func (params *ListParticipantParams) SetPageSize(PageSize int) *ListParticipantParams

func (*ListParticipantParams) SetPathAccountSid

func (params *ListParticipantParams) SetPathAccountSid(PathAccountSid string) *ListParticipantParams

type ListParticipantResponse

type ListParticipantResponse struct {
	End             int                   `json:"end,omitempty"`
	FirstPageUri    string                `json:"first_page_uri,omitempty"`
	NextPageUri     string                `json:"next_page_uri,omitempty"`
	Page            int                   `json:"page,omitempty"`
	PageSize        int                   `json:"page_size,omitempty"`
	Participants    []ApiV2010Participant `json:"participants,omitempty"`
	PreviousPageUri string                `json:"previous_page_uri,omitempty"`
	Start           int                   `json:"start,omitempty"`
	Uri             string                `json:"uri,omitempty"`
}

ListParticipantResponse struct for ListParticipantResponse

type ListQueueParams

type ListQueueParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Queue resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListQueue'

func (*ListQueueParams) SetLimit added in v0.13.0

func (params *ListQueueParams) SetLimit(Limit int) *ListQueueParams

func (*ListQueueParams) SetPageSize

func (params *ListQueueParams) SetPageSize(PageSize int) *ListQueueParams

func (*ListQueueParams) SetPathAccountSid

func (params *ListQueueParams) SetPathAccountSid(PathAccountSid string) *ListQueueParams

type ListQueueResponse

type ListQueueResponse struct {
	End             int             `json:"end,omitempty"`
	FirstPageUri    string          `json:"first_page_uri,omitempty"`
	NextPageUri     string          `json:"next_page_uri,omitempty"`
	Page            int             `json:"page,omitempty"`
	PageSize        int             `json:"page_size,omitempty"`
	PreviousPageUri string          `json:"previous_page_uri,omitempty"`
	Queues          []ApiV2010Queue `json:"queues,omitempty"`
	Start           int             `json:"start,omitempty"`
	Uri             string          `json:"uri,omitempty"`
}

ListQueueResponse struct for ListQueueResponse

type ListRecordingAddOnResultParams

type ListRecordingAddOnResultParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording AddOnResult resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListRecordingAddOnResult'

func (*ListRecordingAddOnResultParams) SetLimit added in v0.13.0

func (*ListRecordingAddOnResultParams) SetPageSize

func (params *ListRecordingAddOnResultParams) SetPageSize(PageSize int) *ListRecordingAddOnResultParams

func (*ListRecordingAddOnResultParams) SetPathAccountSid

func (params *ListRecordingAddOnResultParams) SetPathAccountSid(PathAccountSid string) *ListRecordingAddOnResultParams

type ListRecordingAddOnResultPayloadParams

type ListRecordingAddOnResultPayloadParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording AddOnResult Payload resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListRecordingAddOnResultPayload'

func (*ListRecordingAddOnResultPayloadParams) SetLimit added in v0.13.0

func (*ListRecordingAddOnResultPayloadParams) SetPageSize

func (*ListRecordingAddOnResultPayloadParams) SetPathAccountSid

func (params *ListRecordingAddOnResultPayloadParams) SetPathAccountSid(PathAccountSid string) *ListRecordingAddOnResultPayloadParams

type ListRecordingAddOnResultPayloadResponse

type ListRecordingAddOnResultPayloadResponse struct {
	End             int                                   `json:"end,omitempty"`
	FirstPageUri    string                                `json:"first_page_uri,omitempty"`
	NextPageUri     string                                `json:"next_page_uri,omitempty"`
	Page            int                                   `json:"page,omitempty"`
	PageSize        int                                   `json:"page_size,omitempty"`
	Payloads        []ApiV2010RecordingAddOnResultPayload `json:"payloads,omitempty"`
	PreviousPageUri string                                `json:"previous_page_uri,omitempty"`
	Start           int                                   `json:"start,omitempty"`
	Uri             string                                `json:"uri,omitempty"`
}

ListRecordingAddOnResultPayloadResponse struct for ListRecordingAddOnResultPayloadResponse

type ListRecordingAddOnResultResponse

type ListRecordingAddOnResultResponse struct {
	AddOnResults    []ApiV2010RecordingAddOnResult `json:"add_on_results,omitempty"`
	End             int                            `json:"end,omitempty"`
	FirstPageUri    string                         `json:"first_page_uri,omitempty"`
	NextPageUri     string                         `json:"next_page_uri,omitempty"`
	Page            int                            `json:"page,omitempty"`
	PageSize        int                            `json:"page_size,omitempty"`
	PreviousPageUri string                         `json:"previous_page_uri,omitempty"`
	Start           int                            `json:"start,omitempty"`
	Uri             string                         `json:"uri,omitempty"`
}

ListRecordingAddOnResultResponse struct for ListRecordingAddOnResultResponse

type ListRecordingParams

type ListRecordingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// Only include recordings that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read recordings that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read recordings that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read recordings that were created on or after midnight of this date.
	DateCreated *time.Time `json:"DateCreated,omitempty"`
	// Only include recordings that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read recordings that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read recordings that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read recordings that were created on or after midnight of this date.
	DateCreatedBefore *time.Time `json:"DateCreated&lt;,omitempty"`
	// Only include recordings that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read recordings that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read recordings that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read recordings that were created on or after midnight of this date.
	DateCreatedAfter *time.Time `json:"DateCreated&gt;,omitempty"`
	// The [Call](https://www.twilio.com/docs/voice/api/call-resource) SID of the resources to read.
	CallSid *string `json:"CallSid,omitempty"`
	// The Conference SID that identifies the conference associated with the recording to read.
	ConferenceSid *string `json:"ConferenceSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListRecording'

func (*ListRecordingParams) SetCallSid

func (params *ListRecordingParams) SetCallSid(CallSid string) *ListRecordingParams

func (*ListRecordingParams) SetConferenceSid

func (params *ListRecordingParams) SetConferenceSid(ConferenceSid string) *ListRecordingParams

func (*ListRecordingParams) SetDateCreated

func (params *ListRecordingParams) SetDateCreated(DateCreated time.Time) *ListRecordingParams

func (*ListRecordingParams) SetDateCreatedAfter

func (params *ListRecordingParams) SetDateCreatedAfter(DateCreatedAfter time.Time) *ListRecordingParams

func (*ListRecordingParams) SetDateCreatedBefore

func (params *ListRecordingParams) SetDateCreatedBefore(DateCreatedBefore time.Time) *ListRecordingParams

func (*ListRecordingParams) SetLimit added in v0.13.0

func (params *ListRecordingParams) SetLimit(Limit int) *ListRecordingParams

func (*ListRecordingParams) SetPageSize

func (params *ListRecordingParams) SetPageSize(PageSize int) *ListRecordingParams

func (*ListRecordingParams) SetPathAccountSid

func (params *ListRecordingParams) SetPathAccountSid(PathAccountSid string) *ListRecordingParams

type ListRecordingResponse

type ListRecordingResponse struct {
	End             int                 `json:"end,omitempty"`
	FirstPageUri    string              `json:"first_page_uri,omitempty"`
	NextPageUri     string              `json:"next_page_uri,omitempty"`
	Page            int                 `json:"page,omitempty"`
	PageSize        int                 `json:"page_size,omitempty"`
	PreviousPageUri string              `json:"previous_page_uri,omitempty"`
	Recordings      []ApiV2010Recording `json:"recordings,omitempty"`
	Start           int                 `json:"start,omitempty"`
	Uri             string              `json:"uri,omitempty"`
}

ListRecordingResponse struct for ListRecordingResponse

type ListRecordingTranscriptionParams

type ListRecordingTranscriptionParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Transcription resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListRecordingTranscription'

func (*ListRecordingTranscriptionParams) SetLimit added in v0.13.0

func (*ListRecordingTranscriptionParams) SetPageSize

func (*ListRecordingTranscriptionParams) SetPathAccountSid

func (params *ListRecordingTranscriptionParams) SetPathAccountSid(PathAccountSid string) *ListRecordingTranscriptionParams

type ListRecordingTranscriptionResponse

type ListRecordingTranscriptionResponse struct {
	End             int                              `json:"end,omitempty"`
	FirstPageUri    string                           `json:"first_page_uri,omitempty"`
	NextPageUri     string                           `json:"next_page_uri,omitempty"`
	Page            int                              `json:"page,omitempty"`
	PageSize        int                              `json:"page_size,omitempty"`
	PreviousPageUri string                           `json:"previous_page_uri,omitempty"`
	Start           int                              `json:"start,omitempty"`
	Transcriptions  []ApiV2010RecordingTranscription `json:"transcriptions,omitempty"`
	Uri             string                           `json:"uri,omitempty"`
}

ListRecordingTranscriptionResponse struct for ListRecordingTranscriptionResponse

type ListShortCodeParams

type ListShortCodeParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ShortCode resource(s) to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The string that identifies the ShortCode resources to read.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// Only show the ShortCode resources that match this pattern. You can specify partial numbers and use '*' as a wildcard for any digit.
	ShortCode *string `json:"ShortCode,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListShortCode'

func (*ListShortCodeParams) SetFriendlyName

func (params *ListShortCodeParams) SetFriendlyName(FriendlyName string) *ListShortCodeParams

func (*ListShortCodeParams) SetLimit added in v0.13.0

func (params *ListShortCodeParams) SetLimit(Limit int) *ListShortCodeParams

func (*ListShortCodeParams) SetPageSize

func (params *ListShortCodeParams) SetPageSize(PageSize int) *ListShortCodeParams

func (*ListShortCodeParams) SetPathAccountSid

func (params *ListShortCodeParams) SetPathAccountSid(PathAccountSid string) *ListShortCodeParams

func (*ListShortCodeParams) SetShortCode

func (params *ListShortCodeParams) SetShortCode(ShortCode string) *ListShortCodeParams

type ListShortCodeResponse

type ListShortCodeResponse struct {
	End             int                 `json:"end,omitempty"`
	FirstPageUri    string              `json:"first_page_uri,omitempty"`
	NextPageUri     string              `json:"next_page_uri,omitempty"`
	Page            int                 `json:"page,omitempty"`
	PageSize        int                 `json:"page_size,omitempty"`
	PreviousPageUri string              `json:"previous_page_uri,omitempty"`
	ShortCodes      []ApiV2010ShortCode `json:"short_codes,omitempty"`
	Start           int                 `json:"start,omitempty"`
	Uri             string              `json:"uri,omitempty"`
}

ListShortCodeResponse struct for ListShortCodeResponse

type ListSigningKeyParams

type ListSigningKeyParams struct {
	//
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListSigningKey'

func (*ListSigningKeyParams) SetLimit added in v0.13.0

func (params *ListSigningKeyParams) SetLimit(Limit int) *ListSigningKeyParams

func (*ListSigningKeyParams) SetPageSize

func (params *ListSigningKeyParams) SetPageSize(PageSize int) *ListSigningKeyParams

func (*ListSigningKeyParams) SetPathAccountSid

func (params *ListSigningKeyParams) SetPathAccountSid(PathAccountSid string) *ListSigningKeyParams

type ListSigningKeyResponse

type ListSigningKeyResponse struct {
	End             int                  `json:"end,omitempty"`
	FirstPageUri    string               `json:"first_page_uri,omitempty"`
	NextPageUri     string               `json:"next_page_uri,omitempty"`
	Page            int                  `json:"page,omitempty"`
	PageSize        int                  `json:"page_size,omitempty"`
	PreviousPageUri string               `json:"previous_page_uri,omitempty"`
	SigningKeys     []ApiV2010SigningKey `json:"signing_keys,omitempty"`
	Start           int                  `json:"start,omitempty"`
	Uri             string               `json:"uri,omitempty"`
}

ListSigningKeyResponse struct for ListSigningKeyResponse

type ListSipAuthCallsCredentialListMappingParams

type ListSipAuthCallsCredentialListMappingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the CredentialListMapping resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListSipAuthCallsCredentialListMapping'

func (*ListSipAuthCallsCredentialListMappingParams) SetLimit added in v0.13.0

func (*ListSipAuthCallsCredentialListMappingParams) SetPageSize

func (*ListSipAuthCallsCredentialListMappingParams) SetPathAccountSid

type ListSipAuthCallsCredentialListMappingResponse

type ListSipAuthCallsCredentialListMappingResponse struct {
	Contents        []ApiV2010SipAuthCallsCredentialListMapping `json:"contents,omitempty"`
	End             int                                         `json:"end,omitempty"`
	FirstPageUri    string                                      `json:"first_page_uri,omitempty"`
	NextPageUri     string                                      `json:"next_page_uri,omitempty"`
	Page            int                                         `json:"page,omitempty"`
	PageSize        int                                         `json:"page_size,omitempty"`
	PreviousPageUri string                                      `json:"previous_page_uri,omitempty"`
	Start           int                                         `json:"start,omitempty"`
	Uri             string                                      `json:"uri,omitempty"`
}

ListSipAuthCallsCredentialListMappingResponse struct for ListSipAuthCallsCredentialListMappingResponse

type ListSipAuthCallsIpAccessControlListMappingParams

type ListSipAuthCallsIpAccessControlListMappingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the IpAccessControlListMapping resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListSipAuthCallsIpAccessControlListMapping'

func (*ListSipAuthCallsIpAccessControlListMappingParams) SetLimit added in v0.13.0

func (*ListSipAuthCallsIpAccessControlListMappingParams) SetPageSize

func (*ListSipAuthCallsIpAccessControlListMappingParams) SetPathAccountSid

type ListSipAuthCallsIpAccessControlListMappingResponse

type ListSipAuthCallsIpAccessControlListMappingResponse struct {
	Contents        []ApiV2010SipAuthCallsIpAccessControlListMapping `json:"contents,omitempty"`
	End             int                                              `json:"end,omitempty"`
	FirstPageUri    string                                           `json:"first_page_uri,omitempty"`
	NextPageUri     string                                           `json:"next_page_uri,omitempty"`
	Page            int                                              `json:"page,omitempty"`
	PageSize        int                                              `json:"page_size,omitempty"`
	PreviousPageUri string                                           `json:"previous_page_uri,omitempty"`
	Start           int                                              `json:"start,omitempty"`
	Uri             string                                           `json:"uri,omitempty"`
}

ListSipAuthCallsIpAccessControlListMappingResponse struct for ListSipAuthCallsIpAccessControlListMappingResponse

type ListSipAuthRegistrationsCredentialListMappingParams

type ListSipAuthRegistrationsCredentialListMappingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the CredentialListMapping resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListSipAuthRegistrationsCredentialListMapping'

func (*ListSipAuthRegistrationsCredentialListMappingParams) SetLimit added in v0.13.0

func (*ListSipAuthRegistrationsCredentialListMappingParams) SetPageSize

func (*ListSipAuthRegistrationsCredentialListMappingParams) SetPathAccountSid

type ListSipAuthRegistrationsCredentialListMappingResponse

type ListSipAuthRegistrationsCredentialListMappingResponse struct {
	Contents        []ApiV2010SipAuthRegistrationsCredentialListMapping `json:"contents,omitempty"`
	End             int                                                 `json:"end,omitempty"`
	FirstPageUri    string                                              `json:"first_page_uri,omitempty"`
	NextPageUri     string                                              `json:"next_page_uri,omitempty"`
	Page            int                                                 `json:"page,omitempty"`
	PageSize        int                                                 `json:"page_size,omitempty"`
	PreviousPageUri string                                              `json:"previous_page_uri,omitempty"`
	Start           int                                                 `json:"start,omitempty"`
	Uri             string                                              `json:"uri,omitempty"`
}

ListSipAuthRegistrationsCredentialListMappingResponse struct for ListSipAuthRegistrationsCredentialListMappingResponse

type ListSipCredentialListMappingParams

type ListSipCredentialListMappingParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListSipCredentialListMapping'

func (*ListSipCredentialListMappingParams) SetLimit added in v0.13.0

func (*ListSipCredentialListMappingParams) SetPageSize

func (*ListSipCredentialListMappingParams) SetPathAccountSid

func (params *ListSipCredentialListMappingParams) SetPathAccountSid(PathAccountSid string) *ListSipCredentialListMappingParams

type ListSipCredentialListMappingResponse

type ListSipCredentialListMappingResponse struct {
	CredentialListMappings []ApiV2010SipCredentialListMapping `json:"credential_list_mappings,omitempty"`
	End                    int                                `json:"end,omitempty"`
	FirstPageUri           string                             `json:"first_page_uri,omitempty"`
	NextPageUri            string                             `json:"next_page_uri,omitempty"`
	Page                   int                                `json:"page,omitempty"`
	PageSize               int                                `json:"page_size,omitempty"`
	PreviousPageUri        string                             `json:"previous_page_uri,omitempty"`
	Start                  int                                `json:"start,omitempty"`
	Uri                    string                             `json:"uri,omitempty"`
}

ListSipCredentialListMappingResponse struct for ListSipCredentialListMappingResponse

type ListSipCredentialListParams

type ListSipCredentialListParams struct {
	// The unique id of the Account that is responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListSipCredentialList'

func (*ListSipCredentialListParams) SetLimit added in v0.13.0

func (*ListSipCredentialListParams) SetPageSize

func (params *ListSipCredentialListParams) SetPageSize(PageSize int) *ListSipCredentialListParams

func (*ListSipCredentialListParams) SetPathAccountSid

func (params *ListSipCredentialListParams) SetPathAccountSid(PathAccountSid string) *ListSipCredentialListParams

type ListSipCredentialListResponse

type ListSipCredentialListResponse struct {
	CredentialLists []ApiV2010SipCredentialList `json:"credential_lists,omitempty"`
	End             int                         `json:"end,omitempty"`
	FirstPageUri    string                      `json:"first_page_uri,omitempty"`
	NextPageUri     string                      `json:"next_page_uri,omitempty"`
	Page            int                         `json:"page,omitempty"`
	PageSize        int                         `json:"page_size,omitempty"`
	PreviousPageUri string                      `json:"previous_page_uri,omitempty"`
	Start           int                         `json:"start,omitempty"`
	Uri             string                      `json:"uri,omitempty"`
}

ListSipCredentialListResponse struct for ListSipCredentialListResponse

type ListSipCredentialParams

type ListSipCredentialParams struct {
	// The unique id of the Account that is responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListSipCredential'

func (*ListSipCredentialParams) SetLimit added in v0.13.0

func (params *ListSipCredentialParams) SetLimit(Limit int) *ListSipCredentialParams

func (*ListSipCredentialParams) SetPageSize

func (params *ListSipCredentialParams) SetPageSize(PageSize int) *ListSipCredentialParams

func (*ListSipCredentialParams) SetPathAccountSid

func (params *ListSipCredentialParams) SetPathAccountSid(PathAccountSid string) *ListSipCredentialParams

type ListSipCredentialResponse

type ListSipCredentialResponse struct {
	Credentials     []ApiV2010SipCredential `json:"credentials,omitempty"`
	End             int                     `json:"end,omitempty"`
	FirstPageUri    string                  `json:"first_page_uri,omitempty"`
	NextPageUri     string                  `json:"next_page_uri,omitempty"`
	Page            int                     `json:"page,omitempty"`
	PageSize        int                     `json:"page_size,omitempty"`
	PreviousPageUri string                  `json:"previous_page_uri,omitempty"`
	Start           int                     `json:"start,omitempty"`
	Uri             string                  `json:"uri,omitempty"`
}

ListSipCredentialResponse struct for ListSipCredentialResponse

type ListSipDomainParams

type ListSipDomainParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the SipDomain resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListSipDomain'

func (*ListSipDomainParams) SetLimit added in v0.13.0

func (params *ListSipDomainParams) SetLimit(Limit int) *ListSipDomainParams

func (*ListSipDomainParams) SetPageSize

func (params *ListSipDomainParams) SetPageSize(PageSize int) *ListSipDomainParams

func (*ListSipDomainParams) SetPathAccountSid

func (params *ListSipDomainParams) SetPathAccountSid(PathAccountSid string) *ListSipDomainParams

type ListSipDomainResponse

type ListSipDomainResponse struct {
	Domains         []ApiV2010SipDomain `json:"domains,omitempty"`
	End             int                 `json:"end,omitempty"`
	FirstPageUri    string              `json:"first_page_uri,omitempty"`
	NextPageUri     string              `json:"next_page_uri,omitempty"`
	Page            int                 `json:"page,omitempty"`
	PageSize        int                 `json:"page_size,omitempty"`
	PreviousPageUri string              `json:"previous_page_uri,omitempty"`
	Start           int                 `json:"start,omitempty"`
	Uri             string              `json:"uri,omitempty"`
}

ListSipDomainResponse struct for ListSipDomainResponse

type ListSipIpAccessControlListMappingParams

type ListSipIpAccessControlListMappingParams struct {
	// The unique id of the Account that is responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListSipIpAccessControlListMapping'

func (*ListSipIpAccessControlListMappingParams) SetLimit added in v0.13.0

func (*ListSipIpAccessControlListMappingParams) SetPageSize

func (*ListSipIpAccessControlListMappingParams) SetPathAccountSid

type ListSipIpAccessControlListMappingResponse

type ListSipIpAccessControlListMappingResponse struct {
	End                         int                                     `json:"end,omitempty"`
	FirstPageUri                string                                  `json:"first_page_uri,omitempty"`
	IpAccessControlListMappings []ApiV2010SipIpAccessControlListMapping `json:"ip_access_control_list_mappings,omitempty"`
	NextPageUri                 string                                  `json:"next_page_uri,omitempty"`
	Page                        int                                     `json:"page,omitempty"`
	PageSize                    int                                     `json:"page_size,omitempty"`
	PreviousPageUri             string                                  `json:"previous_page_uri,omitempty"`
	Start                       int                                     `json:"start,omitempty"`
	Uri                         string                                  `json:"uri,omitempty"`
}

ListSipIpAccessControlListMappingResponse struct for ListSipIpAccessControlListMappingResponse

type ListSipIpAccessControlListParams

type ListSipIpAccessControlListParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListSipIpAccessControlList'

func (*ListSipIpAccessControlListParams) SetLimit added in v0.13.0

func (*ListSipIpAccessControlListParams) SetPageSize

func (*ListSipIpAccessControlListParams) SetPathAccountSid

func (params *ListSipIpAccessControlListParams) SetPathAccountSid(PathAccountSid string) *ListSipIpAccessControlListParams

type ListSipIpAccessControlListResponse

type ListSipIpAccessControlListResponse struct {
	End                  int                              `json:"end,omitempty"`
	FirstPageUri         string                           `json:"first_page_uri,omitempty"`
	IpAccessControlLists []ApiV2010SipIpAccessControlList `json:"ip_access_control_lists,omitempty"`
	NextPageUri          string                           `json:"next_page_uri,omitempty"`
	Page                 int                              `json:"page,omitempty"`
	PageSize             int                              `json:"page_size,omitempty"`
	PreviousPageUri      string                           `json:"previous_page_uri,omitempty"`
	Start                int                              `json:"start,omitempty"`
	Uri                  string                           `json:"uri,omitempty"`
}

ListSipIpAccessControlListResponse struct for ListSipIpAccessControlListResponse

type ListSipIpAddressParams

type ListSipIpAddressParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListSipIpAddress'

func (*ListSipIpAddressParams) SetLimit added in v0.13.0

func (params *ListSipIpAddressParams) SetLimit(Limit int) *ListSipIpAddressParams

func (*ListSipIpAddressParams) SetPageSize

func (params *ListSipIpAddressParams) SetPageSize(PageSize int) *ListSipIpAddressParams

func (*ListSipIpAddressParams) SetPathAccountSid

func (params *ListSipIpAddressParams) SetPathAccountSid(PathAccountSid string) *ListSipIpAddressParams

type ListSipIpAddressResponse

type ListSipIpAddressResponse struct {
	End             int                    `json:"end,omitempty"`
	FirstPageUri    string                 `json:"first_page_uri,omitempty"`
	IpAddresses     []ApiV2010SipIpAddress `json:"ip_addresses,omitempty"`
	NextPageUri     string                 `json:"next_page_uri,omitempty"`
	Page            int                    `json:"page,omitempty"`
	PageSize        int                    `json:"page_size,omitempty"`
	PreviousPageUri string                 `json:"previous_page_uri,omitempty"`
	Start           int                    `json:"start,omitempty"`
	Uri             string                 `json:"uri,omitempty"`
}

ListSipIpAddressResponse struct for ListSipIpAddressResponse

type ListTranscriptionParams

type ListTranscriptionParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Transcription resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListTranscription'

func (*ListTranscriptionParams) SetLimit added in v0.13.0

func (params *ListTranscriptionParams) SetLimit(Limit int) *ListTranscriptionParams

func (*ListTranscriptionParams) SetPageSize

func (params *ListTranscriptionParams) SetPageSize(PageSize int) *ListTranscriptionParams

func (*ListTranscriptionParams) SetPathAccountSid

func (params *ListTranscriptionParams) SetPathAccountSid(PathAccountSid string) *ListTranscriptionParams

type ListTranscriptionResponse

type ListTranscriptionResponse struct {
	End             int                     `json:"end,omitempty"`
	FirstPageUri    string                  `json:"first_page_uri,omitempty"`
	NextPageUri     string                  `json:"next_page_uri,omitempty"`
	Page            int                     `json:"page,omitempty"`
	PageSize        int                     `json:"page_size,omitempty"`
	PreviousPageUri string                  `json:"previous_page_uri,omitempty"`
	Start           int                     `json:"start,omitempty"`
	Transcriptions  []ApiV2010Transcription `json:"transcriptions,omitempty"`
	Uri             string                  `json:"uri,omitempty"`
}

ListTranscriptionResponse struct for ListTranscriptionResponse

type ListUsageRecordAllTimeParams

type ListUsageRecordAllTimeParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
	Category *string `json:"Category,omitempty"`
	// Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
	StartDate *string `json:"StartDate,omitempty"`
	// Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`.  You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
	EndDate *string `json:"EndDate,omitempty"`
	// Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
	IncludeSubaccounts *bool `json:"IncludeSubaccounts,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListUsageRecordAllTime'

func (*ListUsageRecordAllTimeParams) SetCategory

func (params *ListUsageRecordAllTimeParams) SetCategory(Category string) *ListUsageRecordAllTimeParams

func (*ListUsageRecordAllTimeParams) SetEndDate

func (*ListUsageRecordAllTimeParams) SetIncludeSubaccounts

func (params *ListUsageRecordAllTimeParams) SetIncludeSubaccounts(IncludeSubaccounts bool) *ListUsageRecordAllTimeParams

func (*ListUsageRecordAllTimeParams) SetLimit added in v0.13.0

func (*ListUsageRecordAllTimeParams) SetPageSize

func (params *ListUsageRecordAllTimeParams) SetPageSize(PageSize int) *ListUsageRecordAllTimeParams

func (*ListUsageRecordAllTimeParams) SetPathAccountSid

func (params *ListUsageRecordAllTimeParams) SetPathAccountSid(PathAccountSid string) *ListUsageRecordAllTimeParams

func (*ListUsageRecordAllTimeParams) SetStartDate

func (params *ListUsageRecordAllTimeParams) SetStartDate(StartDate string) *ListUsageRecordAllTimeParams

type ListUsageRecordAllTimeResponse

type ListUsageRecordAllTimeResponse struct {
	End             int                          `json:"end,omitempty"`
	FirstPageUri    string                       `json:"first_page_uri,omitempty"`
	NextPageUri     string                       `json:"next_page_uri,omitempty"`
	Page            int                          `json:"page,omitempty"`
	PageSize        int                          `json:"page_size,omitempty"`
	PreviousPageUri string                       `json:"previous_page_uri,omitempty"`
	Start           int                          `json:"start,omitempty"`
	Uri             string                       `json:"uri,omitempty"`
	UsageRecords    []ApiV2010UsageRecordAllTime `json:"usage_records,omitempty"`
}

ListUsageRecordAllTimeResponse struct for ListUsageRecordAllTimeResponse

type ListUsageRecordDailyParams

type ListUsageRecordDailyParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
	Category *string `json:"Category,omitempty"`
	// Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
	StartDate *string `json:"StartDate,omitempty"`
	// Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`.  You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
	EndDate *string `json:"EndDate,omitempty"`
	// Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
	IncludeSubaccounts *bool `json:"IncludeSubaccounts,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListUsageRecordDaily'

func (*ListUsageRecordDailyParams) SetCategory

func (params *ListUsageRecordDailyParams) SetCategory(Category string) *ListUsageRecordDailyParams

func (*ListUsageRecordDailyParams) SetEndDate

func (params *ListUsageRecordDailyParams) SetEndDate(EndDate string) *ListUsageRecordDailyParams

func (*ListUsageRecordDailyParams) SetIncludeSubaccounts

func (params *ListUsageRecordDailyParams) SetIncludeSubaccounts(IncludeSubaccounts bool) *ListUsageRecordDailyParams

func (*ListUsageRecordDailyParams) SetLimit added in v0.13.0

func (*ListUsageRecordDailyParams) SetPageSize

func (params *ListUsageRecordDailyParams) SetPageSize(PageSize int) *ListUsageRecordDailyParams

func (*ListUsageRecordDailyParams) SetPathAccountSid

func (params *ListUsageRecordDailyParams) SetPathAccountSid(PathAccountSid string) *ListUsageRecordDailyParams

func (*ListUsageRecordDailyParams) SetStartDate

func (params *ListUsageRecordDailyParams) SetStartDate(StartDate string) *ListUsageRecordDailyParams

type ListUsageRecordDailyResponse

type ListUsageRecordDailyResponse struct {
	End             int                        `json:"end,omitempty"`
	FirstPageUri    string                     `json:"first_page_uri,omitempty"`
	NextPageUri     string                     `json:"next_page_uri,omitempty"`
	Page            int                        `json:"page,omitempty"`
	PageSize        int                        `json:"page_size,omitempty"`
	PreviousPageUri string                     `json:"previous_page_uri,omitempty"`
	Start           int                        `json:"start,omitempty"`
	Uri             string                     `json:"uri,omitempty"`
	UsageRecords    []ApiV2010UsageRecordDaily `json:"usage_records,omitempty"`
}

ListUsageRecordDailyResponse struct for ListUsageRecordDailyResponse

type ListUsageRecordLastMonthParams

type ListUsageRecordLastMonthParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
	Category *string `json:"Category,omitempty"`
	// Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
	StartDate *string `json:"StartDate,omitempty"`
	// Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`.  You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
	EndDate *string `json:"EndDate,omitempty"`
	// Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
	IncludeSubaccounts *bool `json:"IncludeSubaccounts,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListUsageRecordLastMonth'

func (*ListUsageRecordLastMonthParams) SetCategory

func (*ListUsageRecordLastMonthParams) SetEndDate

func (*ListUsageRecordLastMonthParams) SetIncludeSubaccounts

func (params *ListUsageRecordLastMonthParams) SetIncludeSubaccounts(IncludeSubaccounts bool) *ListUsageRecordLastMonthParams

func (*ListUsageRecordLastMonthParams) SetLimit added in v0.13.0

func (*ListUsageRecordLastMonthParams) SetPageSize

func (params *ListUsageRecordLastMonthParams) SetPageSize(PageSize int) *ListUsageRecordLastMonthParams

func (*ListUsageRecordLastMonthParams) SetPathAccountSid

func (params *ListUsageRecordLastMonthParams) SetPathAccountSid(PathAccountSid string) *ListUsageRecordLastMonthParams

func (*ListUsageRecordLastMonthParams) SetStartDate

func (params *ListUsageRecordLastMonthParams) SetStartDate(StartDate string) *ListUsageRecordLastMonthParams

type ListUsageRecordLastMonthResponse

type ListUsageRecordLastMonthResponse struct {
	End             int                            `json:"end,omitempty"`
	FirstPageUri    string                         `json:"first_page_uri,omitempty"`
	NextPageUri     string                         `json:"next_page_uri,omitempty"`
	Page            int                            `json:"page,omitempty"`
	PageSize        int                            `json:"page_size,omitempty"`
	PreviousPageUri string                         `json:"previous_page_uri,omitempty"`
	Start           int                            `json:"start,omitempty"`
	Uri             string                         `json:"uri,omitempty"`
	UsageRecords    []ApiV2010UsageRecordLastMonth `json:"usage_records,omitempty"`
}

ListUsageRecordLastMonthResponse struct for ListUsageRecordLastMonthResponse

type ListUsageRecordMonthlyParams

type ListUsageRecordMonthlyParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
	Category *string `json:"Category,omitempty"`
	// Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
	StartDate *string `json:"StartDate,omitempty"`
	// Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`.  You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
	EndDate *string `json:"EndDate,omitempty"`
	// Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
	IncludeSubaccounts *bool `json:"IncludeSubaccounts,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListUsageRecordMonthly'

func (*ListUsageRecordMonthlyParams) SetCategory

func (params *ListUsageRecordMonthlyParams) SetCategory(Category string) *ListUsageRecordMonthlyParams

func (*ListUsageRecordMonthlyParams) SetEndDate

func (*ListUsageRecordMonthlyParams) SetIncludeSubaccounts

func (params *ListUsageRecordMonthlyParams) SetIncludeSubaccounts(IncludeSubaccounts bool) *ListUsageRecordMonthlyParams

func (*ListUsageRecordMonthlyParams) SetLimit added in v0.13.0

func (*ListUsageRecordMonthlyParams) SetPageSize

func (params *ListUsageRecordMonthlyParams) SetPageSize(PageSize int) *ListUsageRecordMonthlyParams

func (*ListUsageRecordMonthlyParams) SetPathAccountSid

func (params *ListUsageRecordMonthlyParams) SetPathAccountSid(PathAccountSid string) *ListUsageRecordMonthlyParams

func (*ListUsageRecordMonthlyParams) SetStartDate

func (params *ListUsageRecordMonthlyParams) SetStartDate(StartDate string) *ListUsageRecordMonthlyParams

type ListUsageRecordMonthlyResponse

type ListUsageRecordMonthlyResponse struct {
	End             int                          `json:"end,omitempty"`
	FirstPageUri    string                       `json:"first_page_uri,omitempty"`
	NextPageUri     string                       `json:"next_page_uri,omitempty"`
	Page            int                          `json:"page,omitempty"`
	PageSize        int                          `json:"page_size,omitempty"`
	PreviousPageUri string                       `json:"previous_page_uri,omitempty"`
	Start           int                          `json:"start,omitempty"`
	Uri             string                       `json:"uri,omitempty"`
	UsageRecords    []ApiV2010UsageRecordMonthly `json:"usage_records,omitempty"`
}

ListUsageRecordMonthlyResponse struct for ListUsageRecordMonthlyResponse

type ListUsageRecordParams

type ListUsageRecordParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
	Category *string `json:"Category,omitempty"`
	// Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
	StartDate *string `json:"StartDate,omitempty"`
	// Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`.  You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
	EndDate *string `json:"EndDate,omitempty"`
	// Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
	IncludeSubaccounts *bool `json:"IncludeSubaccounts,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListUsageRecord'

func (*ListUsageRecordParams) SetCategory

func (params *ListUsageRecordParams) SetCategory(Category string) *ListUsageRecordParams

func (*ListUsageRecordParams) SetEndDate

func (params *ListUsageRecordParams) SetEndDate(EndDate string) *ListUsageRecordParams

func (*ListUsageRecordParams) SetIncludeSubaccounts

func (params *ListUsageRecordParams) SetIncludeSubaccounts(IncludeSubaccounts bool) *ListUsageRecordParams

func (*ListUsageRecordParams) SetLimit added in v0.13.0

func (params *ListUsageRecordParams) SetLimit(Limit int) *ListUsageRecordParams

func (*ListUsageRecordParams) SetPageSize

func (params *ListUsageRecordParams) SetPageSize(PageSize int) *ListUsageRecordParams

func (*ListUsageRecordParams) SetPathAccountSid

func (params *ListUsageRecordParams) SetPathAccountSid(PathAccountSid string) *ListUsageRecordParams

func (*ListUsageRecordParams) SetStartDate

func (params *ListUsageRecordParams) SetStartDate(StartDate string) *ListUsageRecordParams

type ListUsageRecordResponse

type ListUsageRecordResponse struct {
	End             int                   `json:"end,omitempty"`
	FirstPageUri    string                `json:"first_page_uri,omitempty"`
	NextPageUri     string                `json:"next_page_uri,omitempty"`
	Page            int                   `json:"page,omitempty"`
	PageSize        int                   `json:"page_size,omitempty"`
	PreviousPageUri string                `json:"previous_page_uri,omitempty"`
	Start           int                   `json:"start,omitempty"`
	Uri             string                `json:"uri,omitempty"`
	UsageRecords    []ApiV2010UsageRecord `json:"usage_records,omitempty"`
}

ListUsageRecordResponse struct for ListUsageRecordResponse

type ListUsageRecordThisMonthParams

type ListUsageRecordThisMonthParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
	Category *string `json:"Category,omitempty"`
	// Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
	StartDate *string `json:"StartDate,omitempty"`
	// Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`.  You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
	EndDate *string `json:"EndDate,omitempty"`
	// Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
	IncludeSubaccounts *bool `json:"IncludeSubaccounts,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListUsageRecordThisMonth'

func (*ListUsageRecordThisMonthParams) SetCategory

func (*ListUsageRecordThisMonthParams) SetEndDate

func (*ListUsageRecordThisMonthParams) SetIncludeSubaccounts

func (params *ListUsageRecordThisMonthParams) SetIncludeSubaccounts(IncludeSubaccounts bool) *ListUsageRecordThisMonthParams

func (*ListUsageRecordThisMonthParams) SetLimit added in v0.13.0

func (*ListUsageRecordThisMonthParams) SetPageSize

func (params *ListUsageRecordThisMonthParams) SetPageSize(PageSize int) *ListUsageRecordThisMonthParams

func (*ListUsageRecordThisMonthParams) SetPathAccountSid

func (params *ListUsageRecordThisMonthParams) SetPathAccountSid(PathAccountSid string) *ListUsageRecordThisMonthParams

func (*ListUsageRecordThisMonthParams) SetStartDate

func (params *ListUsageRecordThisMonthParams) SetStartDate(StartDate string) *ListUsageRecordThisMonthParams

type ListUsageRecordThisMonthResponse

type ListUsageRecordThisMonthResponse struct {
	End             int                            `json:"end,omitempty"`
	FirstPageUri    string                         `json:"first_page_uri,omitempty"`
	NextPageUri     string                         `json:"next_page_uri,omitempty"`
	Page            int                            `json:"page,omitempty"`
	PageSize        int                            `json:"page_size,omitempty"`
	PreviousPageUri string                         `json:"previous_page_uri,omitempty"`
	Start           int                            `json:"start,omitempty"`
	Uri             string                         `json:"uri,omitempty"`
	UsageRecords    []ApiV2010UsageRecordThisMonth `json:"usage_records,omitempty"`
}

ListUsageRecordThisMonthResponse struct for ListUsageRecordThisMonthResponse

type ListUsageRecordTodayParams

type ListUsageRecordTodayParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
	Category *string `json:"Category,omitempty"`
	// Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
	StartDate *string `json:"StartDate,omitempty"`
	// Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`.  You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
	EndDate *string `json:"EndDate,omitempty"`
	// Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
	IncludeSubaccounts *bool `json:"IncludeSubaccounts,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListUsageRecordToday'

func (*ListUsageRecordTodayParams) SetCategory

func (params *ListUsageRecordTodayParams) SetCategory(Category string) *ListUsageRecordTodayParams

func (*ListUsageRecordTodayParams) SetEndDate

func (params *ListUsageRecordTodayParams) SetEndDate(EndDate string) *ListUsageRecordTodayParams

func (*ListUsageRecordTodayParams) SetIncludeSubaccounts

func (params *ListUsageRecordTodayParams) SetIncludeSubaccounts(IncludeSubaccounts bool) *ListUsageRecordTodayParams

func (*ListUsageRecordTodayParams) SetLimit added in v0.13.0

func (*ListUsageRecordTodayParams) SetPageSize

func (params *ListUsageRecordTodayParams) SetPageSize(PageSize int) *ListUsageRecordTodayParams

func (*ListUsageRecordTodayParams) SetPathAccountSid

func (params *ListUsageRecordTodayParams) SetPathAccountSid(PathAccountSid string) *ListUsageRecordTodayParams

func (*ListUsageRecordTodayParams) SetStartDate

func (params *ListUsageRecordTodayParams) SetStartDate(StartDate string) *ListUsageRecordTodayParams

type ListUsageRecordTodayResponse

type ListUsageRecordTodayResponse struct {
	End             int                        `json:"end,omitempty"`
	FirstPageUri    string                     `json:"first_page_uri,omitempty"`
	NextPageUri     string                     `json:"next_page_uri,omitempty"`
	Page            int                        `json:"page,omitempty"`
	PageSize        int                        `json:"page_size,omitempty"`
	PreviousPageUri string                     `json:"previous_page_uri,omitempty"`
	Start           int                        `json:"start,omitempty"`
	Uri             string                     `json:"uri,omitempty"`
	UsageRecords    []ApiV2010UsageRecordToday `json:"usage_records,omitempty"`
}

ListUsageRecordTodayResponse struct for ListUsageRecordTodayResponse

type ListUsageRecordYearlyParams

type ListUsageRecordYearlyParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
	Category *string `json:"Category,omitempty"`
	// Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
	StartDate *string `json:"StartDate,omitempty"`
	// Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`.  You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
	EndDate *string `json:"EndDate,omitempty"`
	// Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
	IncludeSubaccounts *bool `json:"IncludeSubaccounts,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListUsageRecordYearly'

func (*ListUsageRecordYearlyParams) SetCategory

func (params *ListUsageRecordYearlyParams) SetCategory(Category string) *ListUsageRecordYearlyParams

func (*ListUsageRecordYearlyParams) SetEndDate

func (params *ListUsageRecordYearlyParams) SetEndDate(EndDate string) *ListUsageRecordYearlyParams

func (*ListUsageRecordYearlyParams) SetIncludeSubaccounts

func (params *ListUsageRecordYearlyParams) SetIncludeSubaccounts(IncludeSubaccounts bool) *ListUsageRecordYearlyParams

func (*ListUsageRecordYearlyParams) SetLimit added in v0.13.0

func (*ListUsageRecordYearlyParams) SetPageSize

func (params *ListUsageRecordYearlyParams) SetPageSize(PageSize int) *ListUsageRecordYearlyParams

func (*ListUsageRecordYearlyParams) SetPathAccountSid

func (params *ListUsageRecordYearlyParams) SetPathAccountSid(PathAccountSid string) *ListUsageRecordYearlyParams

func (*ListUsageRecordYearlyParams) SetStartDate

func (params *ListUsageRecordYearlyParams) SetStartDate(StartDate string) *ListUsageRecordYearlyParams

type ListUsageRecordYearlyResponse

type ListUsageRecordYearlyResponse struct {
	End             int                         `json:"end,omitempty"`
	FirstPageUri    string                      `json:"first_page_uri,omitempty"`
	NextPageUri     string                      `json:"next_page_uri,omitempty"`
	Page            int                         `json:"page,omitempty"`
	PageSize        int                         `json:"page_size,omitempty"`
	PreviousPageUri string                      `json:"previous_page_uri,omitempty"`
	Start           int                         `json:"start,omitempty"`
	Uri             string                      `json:"uri,omitempty"`
	UsageRecords    []ApiV2010UsageRecordYearly `json:"usage_records,omitempty"`
}

ListUsageRecordYearlyResponse struct for ListUsageRecordYearlyResponse

type ListUsageRecordYesterdayParams

type ListUsageRecordYesterdayParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
	Category *string `json:"Category,omitempty"`
	// Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
	StartDate *string `json:"StartDate,omitempty"`
	// Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`.  You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
	EndDate *string `json:"EndDate,omitempty"`
	// Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
	IncludeSubaccounts *bool `json:"IncludeSubaccounts,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListUsageRecordYesterday'

func (*ListUsageRecordYesterdayParams) SetCategory

func (*ListUsageRecordYesterdayParams) SetEndDate

func (*ListUsageRecordYesterdayParams) SetIncludeSubaccounts

func (params *ListUsageRecordYesterdayParams) SetIncludeSubaccounts(IncludeSubaccounts bool) *ListUsageRecordYesterdayParams

func (*ListUsageRecordYesterdayParams) SetLimit added in v0.13.0

func (*ListUsageRecordYesterdayParams) SetPageSize

func (params *ListUsageRecordYesterdayParams) SetPageSize(PageSize int) *ListUsageRecordYesterdayParams

func (*ListUsageRecordYesterdayParams) SetPathAccountSid

func (params *ListUsageRecordYesterdayParams) SetPathAccountSid(PathAccountSid string) *ListUsageRecordYesterdayParams

func (*ListUsageRecordYesterdayParams) SetStartDate

func (params *ListUsageRecordYesterdayParams) SetStartDate(StartDate string) *ListUsageRecordYesterdayParams

type ListUsageRecordYesterdayResponse

type ListUsageRecordYesterdayResponse struct {
	End             int                            `json:"end,omitempty"`
	FirstPageUri    string                         `json:"first_page_uri,omitempty"`
	NextPageUri     string                         `json:"next_page_uri,omitempty"`
	Page            int                            `json:"page,omitempty"`
	PageSize        int                            `json:"page_size,omitempty"`
	PreviousPageUri string                         `json:"previous_page_uri,omitempty"`
	Start           int                            `json:"start,omitempty"`
	Uri             string                         `json:"uri,omitempty"`
	UsageRecords    []ApiV2010UsageRecordYesterday `json:"usage_records,omitempty"`
}

ListUsageRecordYesterdayResponse struct for ListUsageRecordYesterdayResponse

type ListUsageTriggerParams

type ListUsageTriggerParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageTrigger resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The frequency of recurring UsageTriggers to read. Can be: `daily`, `monthly`, or `yearly` to read recurring UsageTriggers. An empty value or a value of `alltime` reads non-recurring UsageTriggers.
	Recurring *string `json:"Recurring,omitempty"`
	// The trigger field of the UsageTriggers to read.  Can be: `count`, `usage`, or `price` as described in the [UsageRecords documentation](https://www.twilio.com/docs/usage/api/usage-record#usage-count-price).
	TriggerBy *string `json:"TriggerBy,omitempty"`
	// The usage category of the UsageTriggers to read. Must be a supported [usage categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories).
	UsageCategory *string `json:"UsageCategory,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListUsageTrigger'

func (*ListUsageTriggerParams) SetLimit added in v0.13.0

func (params *ListUsageTriggerParams) SetLimit(Limit int) *ListUsageTriggerParams

func (*ListUsageTriggerParams) SetPageSize

func (params *ListUsageTriggerParams) SetPageSize(PageSize int) *ListUsageTriggerParams

func (*ListUsageTriggerParams) SetPathAccountSid

func (params *ListUsageTriggerParams) SetPathAccountSid(PathAccountSid string) *ListUsageTriggerParams

func (*ListUsageTriggerParams) SetRecurring

func (params *ListUsageTriggerParams) SetRecurring(Recurring string) *ListUsageTriggerParams

func (*ListUsageTriggerParams) SetTriggerBy

func (params *ListUsageTriggerParams) SetTriggerBy(TriggerBy string) *ListUsageTriggerParams

func (*ListUsageTriggerParams) SetUsageCategory

func (params *ListUsageTriggerParams) SetUsageCategory(UsageCategory string) *ListUsageTriggerParams

type ListUsageTriggerResponse

type ListUsageTriggerResponse struct {
	End             int                    `json:"end,omitempty"`
	FirstPageUri    string                 `json:"first_page_uri,omitempty"`
	NextPageUri     string                 `json:"next_page_uri,omitempty"`
	Page            int                    `json:"page,omitempty"`
	PageSize        int                    `json:"page_size,omitempty"`
	PreviousPageUri string                 `json:"previous_page_uri,omitempty"`
	Start           int                    `json:"start,omitempty"`
	Uri             string                 `json:"uri,omitempty"`
	UsageTriggers   []ApiV2010UsageTrigger `json:"usage_triggers,omitempty"`
}

ListUsageTriggerResponse struct for ListUsageTriggerResponse

type UpdateAccountParams

type UpdateAccountParams struct {
	// Update the human-readable description of this Account
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// Alter the status of this account: use `closed` to irreversibly close this account, `suspended` to temporarily suspend it, or `active` to reactivate it.
	Status *string `json:"Status,omitempty"`
}

Optional parameters for the method 'UpdateAccount'

func (*UpdateAccountParams) SetFriendlyName

func (params *UpdateAccountParams) SetFriendlyName(FriendlyName string) *UpdateAccountParams

func (*UpdateAccountParams) SetStatus

func (params *UpdateAccountParams) SetStatus(Status string) *UpdateAccountParams

type UpdateAddressParams

type UpdateAddressParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that is responsible for the Address resource to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// Whether we should automatically correct the address. Can be: `true` or `false` and the default is `true`. If empty or `true`, we will correct the address you provide if necessary. If `false`, we won't alter the address you provide.
	AutoCorrectAddress *bool `json:"AutoCorrectAddress,omitempty"`
	// The city of the address.
	City *string `json:"City,omitempty"`
	// The name to associate with the address.
	CustomerName *string `json:"CustomerName,omitempty"`
	// Whether to enable emergency calling on the address. Can be: `true` or `false`.
	EmergencyEnabled *bool `json:"EmergencyEnabled,omitempty"`
	// A descriptive string that you create to describe the address. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The postal code of the address.
	PostalCode *string `json:"PostalCode,omitempty"`
	// The state or region of the address.
	Region *string `json:"Region,omitempty"`
	// The number and street address of the address.
	Street *string `json:"Street,omitempty"`
}

Optional parameters for the method 'UpdateAddress'

func (*UpdateAddressParams) SetAutoCorrectAddress

func (params *UpdateAddressParams) SetAutoCorrectAddress(AutoCorrectAddress bool) *UpdateAddressParams

func (*UpdateAddressParams) SetCity

func (params *UpdateAddressParams) SetCity(City string) *UpdateAddressParams

func (*UpdateAddressParams) SetCustomerName

func (params *UpdateAddressParams) SetCustomerName(CustomerName string) *UpdateAddressParams

func (*UpdateAddressParams) SetEmergencyEnabled

func (params *UpdateAddressParams) SetEmergencyEnabled(EmergencyEnabled bool) *UpdateAddressParams

func (*UpdateAddressParams) SetFriendlyName

func (params *UpdateAddressParams) SetFriendlyName(FriendlyName string) *UpdateAddressParams

func (*UpdateAddressParams) SetPathAccountSid

func (params *UpdateAddressParams) SetPathAccountSid(PathAccountSid string) *UpdateAddressParams

func (*UpdateAddressParams) SetPostalCode

func (params *UpdateAddressParams) SetPostalCode(PostalCode string) *UpdateAddressParams

func (*UpdateAddressParams) SetRegion

func (params *UpdateAddressParams) SetRegion(Region string) *UpdateAddressParams

func (*UpdateAddressParams) SetStreet

func (params *UpdateAddressParams) SetStreet(Street string) *UpdateAddressParams

type UpdateApplicationParams

type UpdateApplicationParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Application resources to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The API version to use to start a new TwiML session. Can be: `2010-04-01` or `2008-08-01`. The default value is your account's default API version.
	ApiVersion *string `json:"ApiVersion,omitempty"`
	// A descriptive string that you create to describe the resource. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The URL we should call using a POST method to send message status information to your application.
	MessageStatusCallback *string `json:"MessageStatusCallback,omitempty"`
	// The HTTP method we should use to call `sms_fallback_url`. Can be: `GET` or `POST`.
	SmsFallbackMethod *string `json:"SmsFallbackMethod,omitempty"`
	// The URL that we should call when an error occurs while retrieving or executing the TwiML from `sms_url`.
	SmsFallbackUrl *string `json:"SmsFallbackUrl,omitempty"`
	// The HTTP method we should use to call `sms_url`. Can be: `GET` or `POST`.
	SmsMethod *string `json:"SmsMethod,omitempty"`
	// Same as message_status_callback: The URL we should call using a POST method to send status information about SMS messages sent by the application. Deprecated, included for backwards compatibility.
	SmsStatusCallback *string `json:"SmsStatusCallback,omitempty"`
	// The URL we should call when the phone number receives an incoming SMS message.
	SmsUrl *string `json:"SmsUrl,omitempty"`
	// The URL we should call using the `status_callback_method` to send status information to your application.
	StatusCallback *string `json:"StatusCallback,omitempty"`
	// The HTTP method we should use to call `status_callback`. Can be: `GET` or `POST`.
	StatusCallbackMethod *string `json:"StatusCallbackMethod,omitempty"`
	// Whether we should look up the caller's caller-ID name from the CNAM database (additional charges apply). Can be: `true` or `false`.
	VoiceCallerIdLookup *bool `json:"VoiceCallerIdLookup,omitempty"`
	// The HTTP method we should use to call `voice_fallback_url`. Can be: `GET` or `POST`.
	VoiceFallbackMethod *string `json:"VoiceFallbackMethod,omitempty"`
	// The URL that we should call when an error occurs retrieving or executing the TwiML requested by `url`.
	VoiceFallbackUrl *string `json:"VoiceFallbackUrl,omitempty"`
	// The HTTP method we should use to call `voice_url`. Can be: `GET` or `POST`.
	VoiceMethod *string `json:"VoiceMethod,omitempty"`
	// The URL we should call when the phone number assigned to this application receives a call.
	VoiceUrl *string `json:"VoiceUrl,omitempty"`
}

Optional parameters for the method 'UpdateApplication'

func (*UpdateApplicationParams) SetApiVersion

func (params *UpdateApplicationParams) SetApiVersion(ApiVersion string) *UpdateApplicationParams

func (*UpdateApplicationParams) SetFriendlyName

func (params *UpdateApplicationParams) SetFriendlyName(FriendlyName string) *UpdateApplicationParams

func (*UpdateApplicationParams) SetMessageStatusCallback

func (params *UpdateApplicationParams) SetMessageStatusCallback(MessageStatusCallback string) *UpdateApplicationParams

func (*UpdateApplicationParams) SetPathAccountSid

func (params *UpdateApplicationParams) SetPathAccountSid(PathAccountSid string) *UpdateApplicationParams

func (*UpdateApplicationParams) SetSmsFallbackMethod

func (params *UpdateApplicationParams) SetSmsFallbackMethod(SmsFallbackMethod string) *UpdateApplicationParams

func (*UpdateApplicationParams) SetSmsFallbackUrl

func (params *UpdateApplicationParams) SetSmsFallbackUrl(SmsFallbackUrl string) *UpdateApplicationParams

func (*UpdateApplicationParams) SetSmsMethod

func (params *UpdateApplicationParams) SetSmsMethod(SmsMethod string) *UpdateApplicationParams

func (*UpdateApplicationParams) SetSmsStatusCallback

func (params *UpdateApplicationParams) SetSmsStatusCallback(SmsStatusCallback string) *UpdateApplicationParams

func (*UpdateApplicationParams) SetSmsUrl

func (params *UpdateApplicationParams) SetSmsUrl(SmsUrl string) *UpdateApplicationParams

func (*UpdateApplicationParams) SetStatusCallback

func (params *UpdateApplicationParams) SetStatusCallback(StatusCallback string) *UpdateApplicationParams

func (*UpdateApplicationParams) SetStatusCallbackMethod

func (params *UpdateApplicationParams) SetStatusCallbackMethod(StatusCallbackMethod string) *UpdateApplicationParams

func (*UpdateApplicationParams) SetVoiceCallerIdLookup

func (params *UpdateApplicationParams) SetVoiceCallerIdLookup(VoiceCallerIdLookup bool) *UpdateApplicationParams

func (*UpdateApplicationParams) SetVoiceFallbackMethod

func (params *UpdateApplicationParams) SetVoiceFallbackMethod(VoiceFallbackMethod string) *UpdateApplicationParams

func (*UpdateApplicationParams) SetVoiceFallbackUrl

func (params *UpdateApplicationParams) SetVoiceFallbackUrl(VoiceFallbackUrl string) *UpdateApplicationParams

func (*UpdateApplicationParams) SetVoiceMethod

func (params *UpdateApplicationParams) SetVoiceMethod(VoiceMethod string) *UpdateApplicationParams

func (*UpdateApplicationParams) SetVoiceUrl

func (params *UpdateApplicationParams) SetVoiceUrl(VoiceUrl string) *UpdateApplicationParams

type UpdateCallFeedbackParams

type UpdateCallFeedbackParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// One or more issues experienced during the call. The issues can be: `imperfect-audio`, `dropped-call`, `incorrect-caller-id`, `post-dial-delay`, `digits-not-captured`, `audio-latency`, `unsolicited-call`, or `one-way-audio`.
	Issue *[]string `json:"Issue,omitempty"`
	// The call quality expressed as an integer from `1` to `5` where `1` represents very poor call quality and `5` represents a perfect call.
	QualityScore *int `json:"QualityScore,omitempty"`
}

Optional parameters for the method 'UpdateCallFeedback'

func (*UpdateCallFeedbackParams) SetIssue

func (params *UpdateCallFeedbackParams) SetIssue(Issue []string) *UpdateCallFeedbackParams

func (*UpdateCallFeedbackParams) SetPathAccountSid

func (params *UpdateCallFeedbackParams) SetPathAccountSid(PathAccountSid string) *UpdateCallFeedbackParams

func (*UpdateCallFeedbackParams) SetQualityScore

func (params *UpdateCallFeedbackParams) SetQualityScore(QualityScore int) *UpdateCallFeedbackParams

type UpdateCallParams

type UpdateCallParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Call resource(s) to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The HTTP method that we should use to request the `fallback_url`. Can be: `GET` or `POST` and the default is `POST`. If an `application_sid` parameter is present, this parameter is ignored.
	FallbackMethod *string `json:"FallbackMethod,omitempty"`
	// The URL that we call using the `fallback_method` if an error occurs when requesting or executing the TwiML at `url`. If an `application_sid` parameter is present, this parameter is ignored.
	FallbackUrl *string `json:"FallbackUrl,omitempty"`
	// The HTTP method we should use when calling the `url`. Can be: `GET` or `POST` and the default is `POST`. If an `application_sid` parameter is present, this parameter is ignored.
	Method *string `json:"Method,omitempty"`
	// The new status of the resource. Can be: `canceled` or `completed`. Specifying `canceled` will attempt to hang up calls that are queued or ringing; however, it will not affect calls already in progress. Specifying `completed` will attempt to hang up a call even if it's already in progress.
	Status *string `json:"Status,omitempty"`
	// The URL we should call using the `status_callback_method` to send status information to your application. If no `status_callback_event` is specified, we will send the `completed` status. If an `application_sid` parameter is present, this parameter is ignored. URLs must contain a valid hostname (underscores are not permitted).
	StatusCallback *string `json:"StatusCallback,omitempty"`
	// The HTTP method we should use when requesting the `status_callback` URL. Can be: `GET` or `POST` and the default is `POST`. If an `application_sid` parameter is present, this parameter is ignored.
	StatusCallbackMethod *string `json:"StatusCallbackMethod,omitempty"`
	// The maximum duration of the call in seconds. Constraints depend on account and configuration.
	TimeLimit *int `json:"TimeLimit,omitempty"`
	// TwiML instructions for the call Twilio will use without fetching Twiml from url. Twiml and url parameters are mutually exclusive
	Twiml *string `json:"Twiml,omitempty"`
	// The absolute URL that returns the TwiML instructions for the call. We will call this URL using the `method` when the call connects. For more information, see the [Url Parameter](https://www.twilio.com/docs/voice/make-calls#specify-a-url-parameter) section in [Making Calls](https://www.twilio.com/docs/voice/make-calls).
	Url *string `json:"Url,omitempty"`
}

Optional parameters for the method 'UpdateCall'

func (*UpdateCallParams) SetFallbackMethod

func (params *UpdateCallParams) SetFallbackMethod(FallbackMethod string) *UpdateCallParams

func (*UpdateCallParams) SetFallbackUrl

func (params *UpdateCallParams) SetFallbackUrl(FallbackUrl string) *UpdateCallParams

func (*UpdateCallParams) SetMethod

func (params *UpdateCallParams) SetMethod(Method string) *UpdateCallParams

func (*UpdateCallParams) SetPathAccountSid

func (params *UpdateCallParams) SetPathAccountSid(PathAccountSid string) *UpdateCallParams

func (*UpdateCallParams) SetStatus

func (params *UpdateCallParams) SetStatus(Status string) *UpdateCallParams

func (*UpdateCallParams) SetStatusCallback

func (params *UpdateCallParams) SetStatusCallback(StatusCallback string) *UpdateCallParams

func (*UpdateCallParams) SetStatusCallbackMethod

func (params *UpdateCallParams) SetStatusCallbackMethod(StatusCallbackMethod string) *UpdateCallParams

func (*UpdateCallParams) SetTimeLimit added in v0.14.0

func (params *UpdateCallParams) SetTimeLimit(TimeLimit int) *UpdateCallParams

func (*UpdateCallParams) SetTwiml

func (params *UpdateCallParams) SetTwiml(Twiml string) *UpdateCallParams

func (*UpdateCallParams) SetUrl

func (params *UpdateCallParams) SetUrl(Url string) *UpdateCallParams

type UpdateCallRecordingParams

type UpdateCallRecordingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording resource to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// Whether to record during a pause. Can be: `skip` or `silence` and the default is `silence`. `skip` does not record during the pause period, while `silence` will replace the actual audio of the call with silence during the pause period. This parameter only applies when setting `status` is set to `paused`.
	PauseBehavior *string `json:"PauseBehavior,omitempty"`
	// The new status of the recording. Can be: `stopped`, `paused`, `in-progress`.
	Status *string `json:"Status,omitempty"`
}

Optional parameters for the method 'UpdateCallRecording'

func (*UpdateCallRecordingParams) SetPathAccountSid

func (params *UpdateCallRecordingParams) SetPathAccountSid(PathAccountSid string) *UpdateCallRecordingParams

func (*UpdateCallRecordingParams) SetPauseBehavior

func (params *UpdateCallRecordingParams) SetPauseBehavior(PauseBehavior string) *UpdateCallRecordingParams

func (*UpdateCallRecordingParams) SetStatus

func (params *UpdateCallRecordingParams) SetStatus(Status string) *UpdateCallRecordingParams

type UpdateConferenceParams

type UpdateConferenceParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Conference resource(s) to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The HTTP method used to call `announce_url`. Can be: `GET` or `POST` and the default is `POST`
	AnnounceMethod *string `json:"AnnounceMethod,omitempty"`
	// The URL we should call to announce something into the conference. The URL can return an MP3, a WAV, or a TwiML document with `<Play>` or `<Say>`.
	AnnounceUrl *string `json:"AnnounceUrl,omitempty"`
	// The new status of the resource. Can be:  Can be: `init`, `in-progress`, or `completed`. Specifying `completed` will end the conference and hang up all participants
	Status *string `json:"Status,omitempty"`
}

Optional parameters for the method 'UpdateConference'

func (*UpdateConferenceParams) SetAnnounceMethod

func (params *UpdateConferenceParams) SetAnnounceMethod(AnnounceMethod string) *UpdateConferenceParams

func (*UpdateConferenceParams) SetAnnounceUrl

func (params *UpdateConferenceParams) SetAnnounceUrl(AnnounceUrl string) *UpdateConferenceParams

func (*UpdateConferenceParams) SetPathAccountSid

func (params *UpdateConferenceParams) SetPathAccountSid(PathAccountSid string) *UpdateConferenceParams

func (*UpdateConferenceParams) SetStatus

func (params *UpdateConferenceParams) SetStatus(Status string) *UpdateConferenceParams

type UpdateConferenceRecordingParams

type UpdateConferenceRecordingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Conference Recording resource to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// Whether to record during a pause. Can be: `skip` or `silence` and the default is `silence`. `skip` does not record during the pause period, while `silence` will replace the actual audio of the call with silence during the pause period. This parameter only applies when setting `status` is set to `paused`.
	PauseBehavior *string `json:"PauseBehavior,omitempty"`
	// The new status of the recording. Can be: `stopped`, `paused`, `in-progress`.
	Status *string `json:"Status,omitempty"`
}

Optional parameters for the method 'UpdateConferenceRecording'

func (*UpdateConferenceRecordingParams) SetPathAccountSid

func (params *UpdateConferenceRecordingParams) SetPathAccountSid(PathAccountSid string) *UpdateConferenceRecordingParams

func (*UpdateConferenceRecordingParams) SetPauseBehavior

func (params *UpdateConferenceRecordingParams) SetPauseBehavior(PauseBehavior string) *UpdateConferenceRecordingParams

func (*UpdateConferenceRecordingParams) SetStatus

type UpdateConnectAppParams

type UpdateConnectAppParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ConnectApp resources to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The URL to redirect the user to after we authenticate the user and obtain authorization to access the Connect App.
	AuthorizeRedirectUrl *string `json:"AuthorizeRedirectUrl,omitempty"`
	// The company name to set for the Connect App.
	CompanyName *string `json:"CompanyName,omitempty"`
	// The HTTP method to use when calling `deauthorize_callback_url`.
	DeauthorizeCallbackMethod *string `json:"DeauthorizeCallbackMethod,omitempty"`
	// The URL to call using the `deauthorize_callback_method` to de-authorize the Connect App.
	DeauthorizeCallbackUrl *string `json:"DeauthorizeCallbackUrl,omitempty"`
	// A description of the Connect App.
	Description *string `json:"Description,omitempty"`
	// A descriptive string that you create to describe the resource. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// A public URL where users can obtain more information about this Connect App.
	HomepageUrl *string `json:"HomepageUrl,omitempty"`
	// A comma-separated list of the permissions you will request from the users of this ConnectApp.  Can include: `get-all` and `post-all`.
	Permissions *[]string `json:"Permissions,omitempty"`
}

Optional parameters for the method 'UpdateConnectApp'

func (*UpdateConnectAppParams) SetAuthorizeRedirectUrl

func (params *UpdateConnectAppParams) SetAuthorizeRedirectUrl(AuthorizeRedirectUrl string) *UpdateConnectAppParams

func (*UpdateConnectAppParams) SetCompanyName

func (params *UpdateConnectAppParams) SetCompanyName(CompanyName string) *UpdateConnectAppParams

func (*UpdateConnectAppParams) SetDeauthorizeCallbackMethod

func (params *UpdateConnectAppParams) SetDeauthorizeCallbackMethod(DeauthorizeCallbackMethod string) *UpdateConnectAppParams

func (*UpdateConnectAppParams) SetDeauthorizeCallbackUrl

func (params *UpdateConnectAppParams) SetDeauthorizeCallbackUrl(DeauthorizeCallbackUrl string) *UpdateConnectAppParams

func (*UpdateConnectAppParams) SetDescription

func (params *UpdateConnectAppParams) SetDescription(Description string) *UpdateConnectAppParams

func (*UpdateConnectAppParams) SetFriendlyName

func (params *UpdateConnectAppParams) SetFriendlyName(FriendlyName string) *UpdateConnectAppParams

func (*UpdateConnectAppParams) SetHomepageUrl

func (params *UpdateConnectAppParams) SetHomepageUrl(HomepageUrl string) *UpdateConnectAppParams

func (*UpdateConnectAppParams) SetPathAccountSid

func (params *UpdateConnectAppParams) SetPathAccountSid(PathAccountSid string) *UpdateConnectAppParams

func (*UpdateConnectAppParams) SetPermissions

func (params *UpdateConnectAppParams) SetPermissions(Permissions []string) *UpdateConnectAppParams

type UpdateIncomingPhoneNumberParams

type UpdateIncomingPhoneNumberParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the IncomingPhoneNumber resource to update.  For more information, see [Exchanging Numbers Between Subaccounts](https://www.twilio.com/docs/iam/api/subaccounts#exchanging-numbers).
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the IncomingPhoneNumber resource to update.  For more information, see [Exchanging Numbers Between Subaccounts](https://www.twilio.com/docs/iam/api/subaccounts#exchanging-numbers).
	AccountSid *string `json:"AccountSid,omitempty"`
	// The SID of the Address resource we should associate with the phone number. Some regions require addresses to meet local regulations.
	AddressSid *string `json:"AddressSid,omitempty"`
	// The API version to use for incoming calls made to the phone number. The default is `2010-04-01`.
	ApiVersion *string `json:"ApiVersion,omitempty"`
	// The SID of the Bundle resource that you associate with the phone number. Some regions require a Bundle to meet local Regulations.
	BundleSid *string `json:"BundleSid,omitempty"`
	// The SID of the emergency address configuration to use for emergency calling from this phone number.
	EmergencyAddressSid *string `json:"EmergencyAddressSid,omitempty"`
	// The configuration status parameter that determines whether the phone number is enabled for emergency calling.
	EmergencyStatus *string `json:"EmergencyStatus,omitempty"`
	// A descriptive string that you created to describe this phone number. It can be up to 64 characters long. By default, this is a formatted version of the phone number.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The SID of the Identity resource that we should associate with the phone number. Some regions require an identity to meet local regulations.
	IdentitySid *string `json:"IdentitySid,omitempty"`
	// The SID of the application that should handle SMS messages sent to the number. If an `sms_application_sid` is present, we ignore all of the `sms_*_url` urls and use those set on the application.
	SmsApplicationSid *string `json:"SmsApplicationSid,omitempty"`
	// The HTTP method that we should use to call `sms_fallback_url`. Can be: `GET` or `POST` and defaults to `POST`.
	SmsFallbackMethod *string `json:"SmsFallbackMethod,omitempty"`
	// The URL that we should call when an error occurs while requesting or executing the TwiML defined by `sms_url`.
	SmsFallbackUrl *string `json:"SmsFallbackUrl,omitempty"`
	// The HTTP method that we should use to call `sms_url`. Can be: `GET` or `POST` and defaults to `POST`.
	SmsMethod *string `json:"SmsMethod,omitempty"`
	// The URL we should call when the phone number receives an incoming SMS message.
	SmsUrl *string `json:"SmsUrl,omitempty"`
	// The URL we should call using the `status_callback_method` to send status information to your application.
	StatusCallback *string `json:"StatusCallback,omitempty"`
	// The HTTP method we should use to call `status_callback`. Can be: `GET` or `POST` and defaults to `POST`.
	StatusCallbackMethod *string `json:"StatusCallbackMethod,omitempty"`
	// The SID of the Trunk we should use to handle phone calls to the phone number. If a `trunk_sid` is present, we ignore all of the voice urls and voice applications and use only those set on the Trunk. Setting a `trunk_sid` will automatically delete your `voice_application_sid` and vice versa.
	TrunkSid *string `json:"TrunkSid,omitempty"`
	// The SID of the application we should use to handle phone calls to the phone number. If a `voice_application_sid` is present, we ignore all of the voice urls and use only those set on the application. Setting a `voice_application_sid` will automatically delete your `trunk_sid` and vice versa.
	VoiceApplicationSid *string `json:"VoiceApplicationSid,omitempty"`
	// Whether to lookup the caller's name from the CNAM database and post it to your app. Can be: `true` or `false` and defaults to `false`.
	VoiceCallerIdLookup *bool `json:"VoiceCallerIdLookup,omitempty"`
	// The HTTP method that we should use to call `voice_fallback_url`. Can be: `GET` or `POST` and defaults to `POST`.
	VoiceFallbackMethod *string `json:"VoiceFallbackMethod,omitempty"`
	// The URL that we should call when an error occurs retrieving or executing the TwiML requested by `url`.
	VoiceFallbackUrl *string `json:"VoiceFallbackUrl,omitempty"`
	// The HTTP method that we should use to call `voice_url`. Can be: `GET` or `POST` and defaults to `POST`.
	VoiceMethod *string `json:"VoiceMethod,omitempty"`
	// The configuration parameter for the phone number to receive incoming voice calls or faxes. Can be: `fax` or `voice` and defaults to `voice`.
	VoiceReceiveMode *string `json:"VoiceReceiveMode,omitempty"`
	// The URL that we should call to answer a call to the phone number. The `voice_url` will not be called if a `voice_application_sid` or a `trunk_sid` is set.
	VoiceUrl *string `json:"VoiceUrl,omitempty"`
}

Optional parameters for the method 'UpdateIncomingPhoneNumber'

func (*UpdateIncomingPhoneNumberParams) SetAccountSid

func (params *UpdateIncomingPhoneNumberParams) SetAccountSid(AccountSid string) *UpdateIncomingPhoneNumberParams

func (*UpdateIncomingPhoneNumberParams) SetAddressSid

func (params *UpdateIncomingPhoneNumberParams) SetAddressSid(AddressSid string) *UpdateIncomingPhoneNumberParams

func (*UpdateIncomingPhoneNumberParams) SetApiVersion

func (params *UpdateIncomingPhoneNumberParams) SetApiVersion(ApiVersion string) *UpdateIncomingPhoneNumberParams

func (*UpdateIncomingPhoneNumberParams) SetBundleSid

func (*UpdateIncomingPhoneNumberParams) SetEmergencyAddressSid

func (params *UpdateIncomingPhoneNumberParams) SetEmergencyAddressSid(EmergencyAddressSid string) *UpdateIncomingPhoneNumberParams

func (*UpdateIncomingPhoneNumberParams) SetEmergencyStatus

func (params *UpdateIncomingPhoneNumberParams) SetEmergencyStatus(EmergencyStatus string) *UpdateIncomingPhoneNumberParams

func (*UpdateIncomingPhoneNumberParams) SetFriendlyName

func (params *UpdateIncomingPhoneNumberParams) SetFriendlyName(FriendlyName string) *UpdateIncomingPhoneNumberParams

func (*UpdateIncomingPhoneNumberParams) SetIdentitySid

func (params *UpdateIncomingPhoneNumberParams) SetIdentitySid(IdentitySid string) *UpdateIncomingPhoneNumberParams

func (*UpdateIncomingPhoneNumberParams) SetPathAccountSid

func (params *UpdateIncomingPhoneNumberParams) SetPathAccountSid(PathAccountSid string) *UpdateIncomingPhoneNumberParams

func (*UpdateIncomingPhoneNumberParams) SetSmsApplicationSid

func (params *UpdateIncomingPhoneNumberParams) SetSmsApplicationSid(SmsApplicationSid string) *UpdateIncomingPhoneNumberParams

func (*UpdateIncomingPhoneNumberParams) SetSmsFallbackMethod

func (params *UpdateIncomingPhoneNumberParams) SetSmsFallbackMethod(SmsFallbackMethod string) *UpdateIncomingPhoneNumberParams

func (*UpdateIncomingPhoneNumberParams) SetSmsFallbackUrl

func (params *UpdateIncomingPhoneNumberParams) SetSmsFallbackUrl(SmsFallbackUrl string) *UpdateIncomingPhoneNumberParams

func (*UpdateIncomingPhoneNumberParams) SetSmsMethod

func (*UpdateIncomingPhoneNumberParams) SetSmsUrl

func (*UpdateIncomingPhoneNumberParams) SetStatusCallback

func (params *UpdateIncomingPhoneNumberParams) SetStatusCallback(StatusCallback string) *UpdateIncomingPhoneNumberParams

func (*UpdateIncomingPhoneNumberParams) SetStatusCallbackMethod

func (params *UpdateIncomingPhoneNumberParams) SetStatusCallbackMethod(StatusCallbackMethod string) *UpdateIncomingPhoneNumberParams

func (*UpdateIncomingPhoneNumberParams) SetTrunkSid

func (*UpdateIncomingPhoneNumberParams) SetVoiceApplicationSid

func (params *UpdateIncomingPhoneNumberParams) SetVoiceApplicationSid(VoiceApplicationSid string) *UpdateIncomingPhoneNumberParams

func (*UpdateIncomingPhoneNumberParams) SetVoiceCallerIdLookup

func (params *UpdateIncomingPhoneNumberParams) SetVoiceCallerIdLookup(VoiceCallerIdLookup bool) *UpdateIncomingPhoneNumberParams

func (*UpdateIncomingPhoneNumberParams) SetVoiceFallbackMethod

func (params *UpdateIncomingPhoneNumberParams) SetVoiceFallbackMethod(VoiceFallbackMethod string) *UpdateIncomingPhoneNumberParams

func (*UpdateIncomingPhoneNumberParams) SetVoiceFallbackUrl

func (params *UpdateIncomingPhoneNumberParams) SetVoiceFallbackUrl(VoiceFallbackUrl string) *UpdateIncomingPhoneNumberParams

func (*UpdateIncomingPhoneNumberParams) SetVoiceMethod

func (params *UpdateIncomingPhoneNumberParams) SetVoiceMethod(VoiceMethod string) *UpdateIncomingPhoneNumberParams

func (*UpdateIncomingPhoneNumberParams) SetVoiceReceiveMode

func (params *UpdateIncomingPhoneNumberParams) SetVoiceReceiveMode(VoiceReceiveMode string) *UpdateIncomingPhoneNumberParams

func (*UpdateIncomingPhoneNumberParams) SetVoiceUrl

type UpdateKeyParams

type UpdateKeyParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Key resources to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// A descriptive string that you create to describe the resource. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
}

Optional parameters for the method 'UpdateKey'

func (*UpdateKeyParams) SetFriendlyName

func (params *UpdateKeyParams) SetFriendlyName(FriendlyName string) *UpdateKeyParams

func (*UpdateKeyParams) SetPathAccountSid

func (params *UpdateKeyParams) SetPathAccountSid(PathAccountSid string) *UpdateKeyParams

type UpdateMemberParams

type UpdateMemberParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Member resource(s) to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How to pass the update request data. Can be `GET` or `POST` and the default is `POST`. `POST` sends the data as encoded form data and `GET` sends the data as query parameters.
	Method *string `json:"Method,omitempty"`
	// The absolute URL of the Queue resource.
	Url *string `json:"Url,omitempty"`
}

Optional parameters for the method 'UpdateMember'

func (*UpdateMemberParams) SetMethod

func (params *UpdateMemberParams) SetMethod(Method string) *UpdateMemberParams

func (*UpdateMemberParams) SetPathAccountSid

func (params *UpdateMemberParams) SetPathAccountSid(PathAccountSid string) *UpdateMemberParams

func (*UpdateMemberParams) SetUrl

func (params *UpdateMemberParams) SetUrl(Url string) *UpdateMemberParams

type UpdateMessageParams

type UpdateMessageParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Message resources to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The text of the message you want to send. Can be up to 1,600 characters long.
	Body *string `json:"Body,omitempty"`
}

Optional parameters for the method 'UpdateMessage'

func (*UpdateMessageParams) SetBody

func (params *UpdateMessageParams) SetBody(Body string) *UpdateMessageParams

func (*UpdateMessageParams) SetPathAccountSid

func (params *UpdateMessageParams) SetPathAccountSid(PathAccountSid string) *UpdateMessageParams

type UpdateOutgoingCallerIdParams

type UpdateOutgoingCallerIdParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the OutgoingCallerId resources to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// A descriptive string that you create to describe the resource. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
}

Optional parameters for the method 'UpdateOutgoingCallerId'

func (*UpdateOutgoingCallerIdParams) SetFriendlyName

func (params *UpdateOutgoingCallerIdParams) SetFriendlyName(FriendlyName string) *UpdateOutgoingCallerIdParams

func (*UpdateOutgoingCallerIdParams) SetPathAccountSid

func (params *UpdateOutgoingCallerIdParams) SetPathAccountSid(PathAccountSid string) *UpdateOutgoingCallerIdParams

type UpdateParticipantParams

type UpdateParticipantParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Participant resources to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The HTTP method we should use to call `announce_url`. Can be: `GET` or `POST` and defaults to `POST`.
	AnnounceMethod *string `json:"AnnounceMethod,omitempty"`
	// The URL we call using the `announce_method` for an announcement to the participant. The URL must return an MP3 file, a WAV file, or a TwiML document that contains `<Play>` or `<Say>` commands.
	AnnounceUrl *string `json:"AnnounceUrl,omitempty"`
	// Whether to play a notification beep to the conference when the participant exits. Can be: `true` or `false`.
	BeepOnExit *bool `json:"BeepOnExit,omitempty"`
	// The SID of the participant who is being `coached`. The participant being coached is the only participant who can hear the participant who is `coaching`.
	CallSidToCoach *string `json:"CallSidToCoach,omitempty"`
	// Whether the participant is coaching another call. Can be: `true` or `false`. If not present, defaults to `false` unless `call_sid_to_coach` is defined. If `true`, `call_sid_to_coach` must be defined.
	Coaching *bool `json:"Coaching,omitempty"`
	// Whether to end the conference when the participant leaves. Can be: `true` or `false` and defaults to `false`.
	EndConferenceOnExit *bool `json:"EndConferenceOnExit,omitempty"`
	// Whether the participant should be on hold. Can be: `true` or `false`. `true` puts the participant on hold, and `false` lets them rejoin the conference.
	Hold *bool `json:"Hold,omitempty"`
	// The HTTP method we should use to call `hold_url`. Can be: `GET` or `POST` and the default is `GET`.
	HoldMethod *string `json:"HoldMethod,omitempty"`
	// The URL we call using the `hold_method` for  music that plays when the participant is on hold. The URL may return an MP3 file, a WAV file, or a TwiML document that contains the `<Play>`, `<Say>` or `<Redirect>` commands.
	HoldUrl *string `json:"HoldUrl,omitempty"`
	// Whether the participant should be muted. Can be `true` or `false`. `true` will mute the participant, and `false` will un-mute them. Anything value other than `true` or `false` is interpreted as `false`.
	Muted *bool `json:"Muted,omitempty"`
	// The HTTP method we should use to call `wait_url`. Can be `GET` or `POST` and the default is `POST`. When using a static audio file, this should be `GET` so that we can cache the file.
	WaitMethod *string `json:"WaitMethod,omitempty"`
	// The URL we should call using the `wait_method` for the music to play while participants are waiting for the conference to start. The default value is the URL of our standard hold music. [Learn more about hold music](https://www.twilio.com/labs/twimlets/holdmusic).
	WaitUrl *string `json:"WaitUrl,omitempty"`
}

Optional parameters for the method 'UpdateParticipant'

func (*UpdateParticipantParams) SetAnnounceMethod

func (params *UpdateParticipantParams) SetAnnounceMethod(AnnounceMethod string) *UpdateParticipantParams

func (*UpdateParticipantParams) SetAnnounceUrl

func (params *UpdateParticipantParams) SetAnnounceUrl(AnnounceUrl string) *UpdateParticipantParams

func (*UpdateParticipantParams) SetBeepOnExit

func (params *UpdateParticipantParams) SetBeepOnExit(BeepOnExit bool) *UpdateParticipantParams

func (*UpdateParticipantParams) SetCallSidToCoach

func (params *UpdateParticipantParams) SetCallSidToCoach(CallSidToCoach string) *UpdateParticipantParams

func (*UpdateParticipantParams) SetCoaching

func (params *UpdateParticipantParams) SetCoaching(Coaching bool) *UpdateParticipantParams

func (*UpdateParticipantParams) SetEndConferenceOnExit

func (params *UpdateParticipantParams) SetEndConferenceOnExit(EndConferenceOnExit bool) *UpdateParticipantParams

func (*UpdateParticipantParams) SetHold

func (params *UpdateParticipantParams) SetHold(Hold bool) *UpdateParticipantParams

func (*UpdateParticipantParams) SetHoldMethod

func (params *UpdateParticipantParams) SetHoldMethod(HoldMethod string) *UpdateParticipantParams

func (*UpdateParticipantParams) SetHoldUrl

func (params *UpdateParticipantParams) SetHoldUrl(HoldUrl string) *UpdateParticipantParams

func (*UpdateParticipantParams) SetMuted

func (params *UpdateParticipantParams) SetMuted(Muted bool) *UpdateParticipantParams

func (*UpdateParticipantParams) SetPathAccountSid

func (params *UpdateParticipantParams) SetPathAccountSid(PathAccountSid string) *UpdateParticipantParams

func (*UpdateParticipantParams) SetWaitMethod

func (params *UpdateParticipantParams) SetWaitMethod(WaitMethod string) *UpdateParticipantParams

func (*UpdateParticipantParams) SetWaitUrl

func (params *UpdateParticipantParams) SetWaitUrl(WaitUrl string) *UpdateParticipantParams

type UpdatePaymentsParams

type UpdatePaymentsParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will update the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The piece of payment information that you wish the caller to enter. Must be one of `payment-card-number`, `expiration-date`, `security-code`, `postal-code`, `bank-routing-number`, or `bank-account-number`.
	Capture *string `json:"Capture,omitempty"`
	// A unique token that will be used to ensure that multiple API calls with the same information do not result in multiple transactions. This should be a unique string value per API call and can be a randomly generated.
	IdempotencyKey *string `json:"IdempotencyKey,omitempty"`
	// Indicates whether the current payment session should be cancelled or completed. When `cancel` the payment session is cancelled. When `complete`, Twilio sends the payment information to the selected <Pay> connector for processing.
	Status *string `json:"Status,omitempty"`
	// Provide an absolute or relative URL to receive status updates regarding your Pay session. Read more about the [Update](https://www.twilio.com/docs/voice/api/payment-resource#statuscallback-update) and [Complete/Cancel](https://www.twilio.com/docs/voice/api/payment-resource#statuscallback-cancelcomplete) POST requests.
	StatusCallback *string `json:"StatusCallback,omitempty"`
}

Optional parameters for the method 'UpdatePayments'

func (*UpdatePaymentsParams) SetCapture

func (params *UpdatePaymentsParams) SetCapture(Capture string) *UpdatePaymentsParams

func (*UpdatePaymentsParams) SetIdempotencyKey

func (params *UpdatePaymentsParams) SetIdempotencyKey(IdempotencyKey string) *UpdatePaymentsParams

func (*UpdatePaymentsParams) SetPathAccountSid

func (params *UpdatePaymentsParams) SetPathAccountSid(PathAccountSid string) *UpdatePaymentsParams

func (*UpdatePaymentsParams) SetStatus

func (params *UpdatePaymentsParams) SetStatus(Status string) *UpdatePaymentsParams

func (*UpdatePaymentsParams) SetStatusCallback

func (params *UpdatePaymentsParams) SetStatusCallback(StatusCallback string) *UpdatePaymentsParams

type UpdateQueueParams

type UpdateQueueParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Queue resource to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// A descriptive string that you created to describe this resource. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The maximum number of calls allowed to be in the queue. The default is 100. The maximum is 5000.
	MaxSize *int `json:"MaxSize,omitempty"`
}

Optional parameters for the method 'UpdateQueue'

func (*UpdateQueueParams) SetFriendlyName

func (params *UpdateQueueParams) SetFriendlyName(FriendlyName string) *UpdateQueueParams

func (*UpdateQueueParams) SetMaxSize

func (params *UpdateQueueParams) SetMaxSize(MaxSize int) *UpdateQueueParams

func (*UpdateQueueParams) SetPathAccountSid

func (params *UpdateQueueParams) SetPathAccountSid(PathAccountSid string) *UpdateQueueParams

type UpdateShortCodeParams

type UpdateShortCodeParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ShortCode resource(s) to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The API version to use to start a new TwiML session. Can be: `2010-04-01` or `2008-08-01`.
	ApiVersion *string `json:"ApiVersion,omitempty"`
	// A descriptive string that you created to describe this resource. It can be up to 64 characters long. By default, the `FriendlyName` is the short code.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The HTTP method that we should use to call the `sms_fallback_url`. Can be: `GET` or `POST`.
	SmsFallbackMethod *string `json:"SmsFallbackMethod,omitempty"`
	// The URL that we should call if an error occurs while retrieving or executing the TwiML from `sms_url`.
	SmsFallbackUrl *string `json:"SmsFallbackUrl,omitempty"`
	// The HTTP method we should use when calling the `sms_url`. Can be: `GET` or `POST`.
	SmsMethod *string `json:"SmsMethod,omitempty"`
	// The URL we should call when receiving an incoming SMS message to this short code.
	SmsUrl *string `json:"SmsUrl,omitempty"`
}

Optional parameters for the method 'UpdateShortCode'

func (*UpdateShortCodeParams) SetApiVersion

func (params *UpdateShortCodeParams) SetApiVersion(ApiVersion string) *UpdateShortCodeParams

func (*UpdateShortCodeParams) SetFriendlyName

func (params *UpdateShortCodeParams) SetFriendlyName(FriendlyName string) *UpdateShortCodeParams

func (*UpdateShortCodeParams) SetPathAccountSid

func (params *UpdateShortCodeParams) SetPathAccountSid(PathAccountSid string) *UpdateShortCodeParams

func (*UpdateShortCodeParams) SetSmsFallbackMethod

func (params *UpdateShortCodeParams) SetSmsFallbackMethod(SmsFallbackMethod string) *UpdateShortCodeParams

func (*UpdateShortCodeParams) SetSmsFallbackUrl

func (params *UpdateShortCodeParams) SetSmsFallbackUrl(SmsFallbackUrl string) *UpdateShortCodeParams

func (*UpdateShortCodeParams) SetSmsMethod

func (params *UpdateShortCodeParams) SetSmsMethod(SmsMethod string) *UpdateShortCodeParams

func (*UpdateShortCodeParams) SetSmsUrl

func (params *UpdateShortCodeParams) SetSmsUrl(SmsUrl string) *UpdateShortCodeParams

type UpdateSigningKeyParams

type UpdateSigningKeyParams struct {
	//
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	//
	FriendlyName *string `json:"FriendlyName,omitempty"`
}

Optional parameters for the method 'UpdateSigningKey'

func (*UpdateSigningKeyParams) SetFriendlyName

func (params *UpdateSigningKeyParams) SetFriendlyName(FriendlyName string) *UpdateSigningKeyParams

func (*UpdateSigningKeyParams) SetPathAccountSid

func (params *UpdateSigningKeyParams) SetPathAccountSid(PathAccountSid string) *UpdateSigningKeyParams

type UpdateSipCredentialListParams

type UpdateSipCredentialListParams struct {
	// The unique id of the Account that is responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// A human readable descriptive text for a CredentialList, up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
}

Optional parameters for the method 'UpdateSipCredentialList'

func (*UpdateSipCredentialListParams) SetFriendlyName

func (params *UpdateSipCredentialListParams) SetFriendlyName(FriendlyName string) *UpdateSipCredentialListParams

func (*UpdateSipCredentialListParams) SetPathAccountSid

func (params *UpdateSipCredentialListParams) SetPathAccountSid(PathAccountSid string) *UpdateSipCredentialListParams

type UpdateSipCredentialParams

type UpdateSipCredentialParams struct {
	// The unique id of the Account that is responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The password that the username will use when authenticating SIP requests. The password must be a minimum of 12 characters, contain at least 1 digit, and have mixed case. (eg `IWasAtSignal2018`)
	Password *string `json:"Password,omitempty"`
}

Optional parameters for the method 'UpdateSipCredential'

func (*UpdateSipCredentialParams) SetPassword

func (params *UpdateSipCredentialParams) SetPassword(Password string) *UpdateSipCredentialParams

func (*UpdateSipCredentialParams) SetPathAccountSid

func (params *UpdateSipCredentialParams) SetPathAccountSid(PathAccountSid string) *UpdateSipCredentialParams

type UpdateSipDomainParams

type UpdateSipDomainParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the SipDomain resource to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The SID of the BYOC Trunk(Bring Your Own Carrier) resource that the Sip Domain will be associated with.
	ByocTrunkSid *string `json:"ByocTrunkSid,omitempty"`
	// The unique address you reserve on Twilio to which you route your SIP traffic. Domain names can contain letters, digits, and \\\"-\\\" and must end with `sip.twilio.com`.
	DomainName *string `json:"DomainName,omitempty"`
	// Whether an emergency caller sid is configured for the domain. If present, this phone number will be used as the callback for the emergency call.
	EmergencyCallerSid *string `json:"EmergencyCallerSid,omitempty"`
	// Whether emergency calling is enabled for the domain. If enabled, allows emergency calls on the domain from phone numbers with validated addresses.
	EmergencyCallingEnabled *bool `json:"EmergencyCallingEnabled,omitempty"`
	// A descriptive string that you created to describe the resource. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// Whether secure SIP is enabled for the domain. If enabled, TLS will be enforced and SRTP will be negotiated on all incoming calls to this sip domain.
	Secure *bool `json:"Secure,omitempty"`
	// Whether to allow SIP Endpoints to register with the domain to receive calls. Can be `true` or `false`. `true` allows SIP Endpoints to register with the domain to receive calls, `false` does not.
	SipRegistration *bool `json:"SipRegistration,omitempty"`
	// The HTTP method we should use to call `voice_fallback_url`. Can be: `GET` or `POST`.
	VoiceFallbackMethod *string `json:"VoiceFallbackMethod,omitempty"`
	// The URL that we should call when an error occurs while retrieving or executing the TwiML requested by `voice_url`.
	VoiceFallbackUrl *string `json:"VoiceFallbackUrl,omitempty"`
	// The HTTP method we should use to call `voice_url`
	VoiceMethod *string `json:"VoiceMethod,omitempty"`
	// The HTTP method we should use to call `voice_status_callback_url`. Can be: `GET` or `POST`.
	VoiceStatusCallbackMethod *string `json:"VoiceStatusCallbackMethod,omitempty"`
	// The URL that we should call to pass status parameters (such as call ended) to your application.
	VoiceStatusCallbackUrl *string `json:"VoiceStatusCallbackUrl,omitempty"`
	// The URL we should call when the domain receives a call.
	VoiceUrl *string `json:"VoiceUrl,omitempty"`
}

Optional parameters for the method 'UpdateSipDomain'

func (*UpdateSipDomainParams) SetByocTrunkSid

func (params *UpdateSipDomainParams) SetByocTrunkSid(ByocTrunkSid string) *UpdateSipDomainParams

func (*UpdateSipDomainParams) SetDomainName

func (params *UpdateSipDomainParams) SetDomainName(DomainName string) *UpdateSipDomainParams

func (*UpdateSipDomainParams) SetEmergencyCallerSid

func (params *UpdateSipDomainParams) SetEmergencyCallerSid(EmergencyCallerSid string) *UpdateSipDomainParams

func (*UpdateSipDomainParams) SetEmergencyCallingEnabled

func (params *UpdateSipDomainParams) SetEmergencyCallingEnabled(EmergencyCallingEnabled bool) *UpdateSipDomainParams

func (*UpdateSipDomainParams) SetFriendlyName

func (params *UpdateSipDomainParams) SetFriendlyName(FriendlyName string) *UpdateSipDomainParams

func (*UpdateSipDomainParams) SetPathAccountSid

func (params *UpdateSipDomainParams) SetPathAccountSid(PathAccountSid string) *UpdateSipDomainParams

func (*UpdateSipDomainParams) SetSecure

func (params *UpdateSipDomainParams) SetSecure(Secure bool) *UpdateSipDomainParams

func (*UpdateSipDomainParams) SetSipRegistration

func (params *UpdateSipDomainParams) SetSipRegistration(SipRegistration bool) *UpdateSipDomainParams

func (*UpdateSipDomainParams) SetVoiceFallbackMethod

func (params *UpdateSipDomainParams) SetVoiceFallbackMethod(VoiceFallbackMethod string) *UpdateSipDomainParams

func (*UpdateSipDomainParams) SetVoiceFallbackUrl

func (params *UpdateSipDomainParams) SetVoiceFallbackUrl(VoiceFallbackUrl string) *UpdateSipDomainParams

func (*UpdateSipDomainParams) SetVoiceMethod

func (params *UpdateSipDomainParams) SetVoiceMethod(VoiceMethod string) *UpdateSipDomainParams

func (*UpdateSipDomainParams) SetVoiceStatusCallbackMethod

func (params *UpdateSipDomainParams) SetVoiceStatusCallbackMethod(VoiceStatusCallbackMethod string) *UpdateSipDomainParams

func (*UpdateSipDomainParams) SetVoiceStatusCallbackUrl

func (params *UpdateSipDomainParams) SetVoiceStatusCallbackUrl(VoiceStatusCallbackUrl string) *UpdateSipDomainParams

func (*UpdateSipDomainParams) SetVoiceUrl

func (params *UpdateSipDomainParams) SetVoiceUrl(VoiceUrl string) *UpdateSipDomainParams

type UpdateSipIpAccessControlListParams

type UpdateSipIpAccessControlListParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// A human readable descriptive text, up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
}

Optional parameters for the method 'UpdateSipIpAccessControlList'

func (*UpdateSipIpAccessControlListParams) SetFriendlyName

func (params *UpdateSipIpAccessControlListParams) SetFriendlyName(FriendlyName string) *UpdateSipIpAccessControlListParams

func (*UpdateSipIpAccessControlListParams) SetPathAccountSid

func (params *UpdateSipIpAccessControlListParams) SetPathAccountSid(PathAccountSid string) *UpdateSipIpAccessControlListParams

type UpdateSipIpAddressParams

type UpdateSipIpAddressParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// An integer representing the length of the CIDR prefix to use with this IP address when accepting traffic. By default the entire IP address is used.
	CidrPrefixLength *int `json:"CidrPrefixLength,omitempty"`
	// A human readable descriptive text for this resource, up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// An IP address in dotted decimal notation from which you want to accept traffic. Any SIP requests from this IP address will be allowed by Twilio. IPv4 only supported today.
	IpAddress *string `json:"IpAddress,omitempty"`
}

Optional parameters for the method 'UpdateSipIpAddress'

func (*UpdateSipIpAddressParams) SetCidrPrefixLength

func (params *UpdateSipIpAddressParams) SetCidrPrefixLength(CidrPrefixLength int) *UpdateSipIpAddressParams

func (*UpdateSipIpAddressParams) SetFriendlyName

func (params *UpdateSipIpAddressParams) SetFriendlyName(FriendlyName string) *UpdateSipIpAddressParams

func (*UpdateSipIpAddressParams) SetIpAddress

func (params *UpdateSipIpAddressParams) SetIpAddress(IpAddress string) *UpdateSipIpAddressParams

func (*UpdateSipIpAddressParams) SetPathAccountSid

func (params *UpdateSipIpAddressParams) SetPathAccountSid(PathAccountSid string) *UpdateSipIpAddressParams

type UpdateUsageTriggerParams

type UpdateUsageTriggerParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageTrigger resources to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The HTTP method we should use to call `callback_url`. Can be: `GET` or `POST` and the default is `POST`.
	CallbackMethod *string `json:"CallbackMethod,omitempty"`
	// The URL we should call using `callback_method` when the trigger fires.
	CallbackUrl *string `json:"CallbackUrl,omitempty"`
	// A descriptive string that you create to describe the resource. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
}

Optional parameters for the method 'UpdateUsageTrigger'

func (*UpdateUsageTriggerParams) SetCallbackMethod

func (params *UpdateUsageTriggerParams) SetCallbackMethod(CallbackMethod string) *UpdateUsageTriggerParams

func (*UpdateUsageTriggerParams) SetCallbackUrl

func (params *UpdateUsageTriggerParams) SetCallbackUrl(CallbackUrl string) *UpdateUsageTriggerParams

func (*UpdateUsageTriggerParams) SetFriendlyName

func (params *UpdateUsageTriggerParams) SetFriendlyName(FriendlyName string) *UpdateUsageTriggerParams

func (*UpdateUsageTriggerParams) SetPathAccountSid

func (params *UpdateUsageTriggerParams) SetPathAccountSid(PathAccountSid string) *UpdateUsageTriggerParams

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL