openapi

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: MIT Imports: 6 Imported by: 188

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.43.1
  • 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
AccountsCallsSiprecApi CreateSiprec Post /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Siprec.json
AccountsCallsSiprecApi UpdateSiprec Post /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Siprec/{Sid}.json
AccountsCallsStreamsApi CreateStream Post /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Streams.json
AccountsCallsStreamsApi UpdateStream Post /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Streams/{Sid}.json
AccountsCallsUserDefinedMessageSubscriptionsApi CreateUserDefinedMessageSubscription Post /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/UserDefinedMessageSubscriptions.json
AccountsCallsUserDefinedMessageSubscriptionsApi DeleteUserDefinedMessageSubscription Delete /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/UserDefinedMessageSubscriptions/{Sid}.json
AccountsCallsUserDefinedMessagesApi CreateUserDefinedMessage Post /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/UserDefinedMessages.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) CreateSiprec ¶ added in v0.16.0

func (c *ApiService) CreateSiprec(CallSid string, params *CreateSiprecParams) (*ApiV2010Siprec, error)

Create a Siprec

func (*ApiService) CreateStream ¶ added in v0.21.0

func (c *ApiService) CreateStream(CallSid string, params *CreateStreamParams) (*ApiV2010Stream, error)

Create a Stream

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) CreateUserDefinedMessage ¶ added in v1.1.1

func (c *ApiService) CreateUserDefinedMessage(CallSid string, params *CreateUserDefinedMessageParams) (*ApiV2010UserDefinedMessage, error)

Create a new User Defined Message for the given Call SID.

func (*ApiService) CreateUserDefinedMessageSubscription ¶ added in v1.1.1

func (c *ApiService) CreateUserDefinedMessageSubscription(CallSid string, params *CreateUserDefinedMessageSubscriptionParams) (*ApiV2010UserDefinedMessageSubscription, error)

Subscribe to User Defined Messages for a given Call SID.

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) DeleteUserDefinedMessageSubscription ¶ added in v1.1.1

func (c *ApiService) DeleteUserDefinedMessageSubscription(CallSid string, Sid string, params *DeleteUserDefinedMessageSubscriptionParams) error

Delete a specific User Defined Message Subscription.

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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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, chan 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) UpdateSiprec ¶ added in v0.16.0

func (c *ApiService) UpdateSiprec(CallSid string, Sid string, params *UpdateSiprecParams) (*ApiV2010Siprec, error)

Stop a Siprec using either the SID of the Siprec resource or the `name` used when creating the resource

func (*ApiService) UpdateStream ¶ added in v0.21.0

func (c *ApiService) UpdateStream(CallSid string, Sid string, params *UpdateStreamParams) (*ApiV2010Stream, error)

Stop a Stream using either the SID of the Stream resource or the `name` used when creating the 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. This token should be kept a secret, so no sharing.
	AuthToken *string `json:"auth_token,omitempty"`
	// The date that this account was created, in GMT in RFC 2822 format
	DateCreated *string `json:"date_created,omitempty"`
	// The date that this account was last updated, in GMT in RFC 2822 format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// A human readable description of this account, up to 64 characters long. By default the FriendlyName is your email address.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The unique 34 character id that represents the parent of this account. The OwnerAccountSid of a parent account is it's own sid.
	OwnerAccountSid *string `json:"owner_account_sid,omitempty"`
	// A 34 character string that uniquely identifies this resource.
	Sid    *string `json:"sid,omitempty"`
	Status *string `json:"status,omitempty"`
	// A Map of various subresources available for the given Account Instance
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
	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 {
	Mms   bool `json:"mms,omitempty"`
	Sms   bool `json:"sms,omitempty"`
	Voice bool `json:"voice,omitempty"`
	Fax   bool `json:"fax,omitempty"`
}

ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberLocalCapabilities The set of Boolean properties that indicate whether a phone number can receive calls or messages. Capabilities are: `Voice`, `SMS`, and `MMS` and each capability can be: `true` or `false`.

type ApiV2010AccountIncomingPhoneNumberCapabilities ¶

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

ApiV2010AccountIncomingPhoneNumberCapabilities The set of Boolean properties that indicate whether a phone number can receive calls or messages. Capabilities are `Voice`, `SMS`, and `MMS` and each capability can be: `true` or `false`.

type ApiV2010AccountTokenIceServers ¶

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

ApiV2010AccountTokenIceServers struct for ApiV2010AccountTokenIceServers

type ApiV2010Address ¶ added in v0.14.0

type ApiV2010Address struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that is responsible for the Address 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.This property has a maximum length of 16 4-byte characters, or 21 3-byte characters.
	CustomerName *string `json:"customer_name,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,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 that we created to identify the Address 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 emergency calling has been enabled on this number.
	EmergencyEnabled *bool `json:"emergency_enabled,omitempty"`
	// Whether the address has been validated to comply with local regulation. In countries that require valid addresses, an invalid address will not be accepted. `true` indicates the Address has been validated. `false` indicate the country doesn't require validation or the Address is not valid.
	Validated *bool `json:"validated,omitempty"`
	// Whether the address has been verified to comply with regulation. In countries that require valid addresses, an invalid address will not be accepted. `true` indicates the Address has been verified. `false` indicate the country doesn't require verified or the Address is not valid.
	Verified *bool `json:"verified,omitempty"`
	// The additional number and street address of the address.
	StreetSecondary *string `json:"street_secondary,omitempty"`
}

ApiV2010Address struct for ApiV2010Address

type ApiV2010Application ¶ added in v0.14.0

type ApiV2010Application struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Application resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to start a new TwiML session.
	ApiVersion *string `json:"api_version,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The URL we call using a POST method to send message status information to your application.
	MessageStatusCallback *string `json:"message_status_callback,omitempty"`
	// The unique string that that we created to identify the Application resource.
	Sid *string `json:"sid,omitempty"`
	// The HTTP method we use to call `sms_fallback_url`. Can be: `GET` or `POST`.
	SmsFallbackMethod *string `json:"sms_fallback_method,omitempty"`
	// The URL that we call when an error occurs while retrieving or executing the TwiML from `sms_url`.
	SmsFallbackUrl *string `json:"sms_fallback_url,omitempty"`
	// The HTTP method we use to call `sms_url`. Can be: `GET` or `POST`.
	SmsMethod *string `json:"sms_method,omitempty"`
	// The URL we call using a POST method to send status information to your application about SMS messages that refer to the 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 we call using the `status_callback_method` to send status information to your application.
	StatusCallback *string `json:"status_callback,omitempty"`
	// The HTTP method we use to call `status_callback`. Can be: `GET` or `POST`.
	StatusCallbackMethod *string `json:"status_callback_method,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`.
	Uri *string `json:"uri,omitempty"`
	// Whether we look up the caller's caller-ID name from the CNAM database (additional charges apply). Can be: `true` or `false`.
	VoiceCallerIdLookup *bool `json:"voice_caller_id_lookup,omitempty"`
	// The HTTP method we use to call `voice_fallback_url`. Can be: `GET` or `POST`.
	VoiceFallbackMethod *string `json:"voice_fallback_method,omitempty"`
	// The URL that we call when an error occurs retrieving or executing the TwiML requested by `url`.
	VoiceFallbackUrl *string `json:"voice_fallback_url,omitempty"`
	// The HTTP method we use to call `voice_url`. Can be: `GET` or `POST`.
	VoiceMethod *string `json:"voice_method,omitempty"`
	// The URL we call when the phone number assigned to this application receives a call.
	VoiceUrl *string `json:"voice_url,omitempty"`
	// Whether to allow other Twilio accounts to dial this applicaton using Dial verb. Can be: `true` or `false`.
	PublicApplicationConnectEnabled *bool `json:"public_application_connect_enabled,omitempty"`
}

ApiV2010Application struct for ApiV2010Application

type ApiV2010AuthorizedConnectApp ¶ added in v0.14.0

type ApiV2010AuthorizedConnectApp struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the AuthorizedConnectApp 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 Connect 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 date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The set of permissions that you authorized for the Connect App.  Can be: `get-all` or `post-all`.
	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 {
	// The [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the country.
	CountryCode *string `json:"country_code,omitempty"`
	// The name of the country.
	Country *string `json:"country,omitempty"`
	// The URI of the Country resource, relative to `https://api.twilio.com`.
	Uri *string `json:"uri,omitempty"`
	// Whether all phone numbers available in the country are new to the Twilio platform. `true` if they are and `false` if all numbers are not in the Twilio Phone Number Beta program.
	Beta *bool `json:"beta,omitempty"`
	// A list of related AvailablePhoneNumber resources identified by their URIs relative to `https://api.twilio.com`.
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
}

ApiV2010AvailablePhoneNumberCountry struct for ApiV2010AvailablePhoneNumberCountry

type ApiV2010AvailablePhoneNumberLocal ¶ added in v0.14.0

type ApiV2010AvailablePhoneNumberLocal struct {
	// A formatted version of the phone number.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The phone number 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:"phone_number,omitempty"`
	// The [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) of this phone number. Available for only phone numbers from the US and Canada.
	Lata *string `json:"lata,omitempty"`
	// The locality or city of this phone number's location.
	Locality *string `json:"locality,omitempty"`
	// The [rate center](https://en.wikipedia.org/wiki/Telephone_exchange) of this phone number. Available for only phone numbers from the US and Canada.
	RateCenter *string `json:"rate_center,omitempty"`
	// The latitude of this phone number's location. Available for only phone numbers from the US and Canada.
	Latitude *float32 `json:"latitude,omitempty"`
	// The longitude of this phone number's location. Available for only phone numbers from the US and Canada.
	Longitude *float32 `json:"longitude,omitempty"`
	// The two-letter state or province abbreviation of this phone number's location. Available for only phone numbers from the US and Canada.
	Region *string `json:"region,omitempty"`
	// The postal or ZIP code of this phone number's location. Available for only phone numbers from the US and Canada.
	PostalCode *string `json:"postal_code,omitempty"`
	// The [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of this phone number.
	IsoCountry *string `json:"iso_country,omitempty"`
	// The type of [Address](https://www.twilio.com/docs/usage/api/address) resource the phone number requires. Can be: `none`, `any`, `local`, or `foreign`. `none` means no address is required. `any` means an address is required, but it can be anywhere in the world. `local` means an address in the phone number's country is required. `foreign` means an address outside of the phone number's country is required.
	AddressRequirements *string `json:"address_requirements,omitempty"`
	// Whether the phone number is new to the Twilio platform. Can be: `true` or `false`.
	Beta         *bool                                                                            `json:"beta,omitempty"`
	Capabilities *ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberLocalCapabilities `json:"capabilities,omitempty"`
}

ApiV2010AvailablePhoneNumberLocal struct for ApiV2010AvailablePhoneNumberLocal

func (*ApiV2010AvailablePhoneNumberLocal) UnmarshalJSON ¶ added in v1.1.0

func (response *ApiV2010AvailablePhoneNumberLocal) UnmarshalJSON(bytes []byte) (err error)

type ApiV2010AvailablePhoneNumberMachineToMachine ¶ added in v0.14.0

type ApiV2010AvailablePhoneNumberMachineToMachine struct {
	// A formatted version of the phone number.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The phone number 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:"phone_number,omitempty"`
	// The [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) of this phone number. Available for only phone numbers from the US and Canada.
	Lata *string `json:"lata,omitempty"`
	// The locality or city of this phone number's location.
	Locality *string `json:"locality,omitempty"`
	// The [rate center](https://en.wikipedia.org/wiki/Telephone_exchange) of this phone number. Available for only phone numbers from the US and Canada.
	RateCenter *string `json:"rate_center,omitempty"`
	// The latitude of this phone number's location. Available for only phone numbers from the US and Canada.
	Latitude *float32 `json:"latitude,omitempty"`
	// The longitude of this phone number's location. Available for only phone numbers from the US and Canada.
	Longitude *float32 `json:"longitude,omitempty"`
	// The two-letter state or province abbreviation of this phone number's location. Available for only phone numbers from the US and Canada.
	Region *string `json:"region,omitempty"`
	// The postal or ZIP code of this phone number's location. Available for only phone numbers from the US and Canada.
	PostalCode *string `json:"postal_code,omitempty"`
	// The [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of this phone number.
	IsoCountry *string `json:"iso_country,omitempty"`
	// The type of [Address](https://www.twilio.com/docs/usage/api/address) resource the phone number requires. Can be: `none`, `any`, `local`, or `foreign`. `none` means no address is required. `any` means an address is required, but it can be anywhere in the world. `local` means an address in the phone number's country is required. `foreign` means an address outside of the phone number's country is required.
	AddressRequirements *string `json:"address_requirements,omitempty"`
	// Whether the phone number is new to the Twilio platform. Can be: `true` or `false`.
	Beta         *bool                                                                            `json:"beta,omitempty"`
	Capabilities *ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberLocalCapabilities `json:"capabilities,omitempty"`
}

ApiV2010AvailablePhoneNumberMachineToMachine struct for ApiV2010AvailablePhoneNumberMachineToMachine

func (*ApiV2010AvailablePhoneNumberMachineToMachine) UnmarshalJSON ¶ added in v1.1.0

func (response *ApiV2010AvailablePhoneNumberMachineToMachine) UnmarshalJSON(bytes []byte) (err error)

type ApiV2010AvailablePhoneNumberMobile ¶ added in v0.14.0

type ApiV2010AvailablePhoneNumberMobile struct {
	// A formatted version of the phone number.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The phone number 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:"phone_number,omitempty"`
	// The [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) of this phone number. Available for only phone numbers from the US and Canada.
	Lata *string `json:"lata,omitempty"`
	// The locality or city of this phone number's location.
	Locality *string `json:"locality,omitempty"`
	// The [rate center](https://en.wikipedia.org/wiki/Telephone_exchange) of this phone number. Available for only phone numbers from the US and Canada.
	RateCenter *string `json:"rate_center,omitempty"`
	// The latitude of this phone number's location. Available for only phone numbers from the US and Canada.
	Latitude *float32 `json:"latitude,omitempty"`
	// The longitude of this phone number's location. Available for only phone numbers from the US and Canada.
	Longitude *float32 `json:"longitude,omitempty"`
	// The two-letter state or province abbreviation of this phone number's location. Available for only phone numbers from the US and Canada.
	Region *string `json:"region,omitempty"`
	// The postal or ZIP code of this phone number's location. Available for only phone numbers from the US and Canada.
	PostalCode *string `json:"postal_code,omitempty"`
	// The [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of this phone number.
	IsoCountry *string `json:"iso_country,omitempty"`
	// The type of [Address](https://www.twilio.com/docs/usage/api/address) resource the phone number requires. Can be: `none`, `any`, `local`, or `foreign`. `none` means no address is required. `any` means an address is required, but it can be anywhere in the world. `local` means an address in the phone number's country is required. `foreign` means an address outside of the phone number's country is required.
	AddressRequirements *string `json:"address_requirements,omitempty"`
	// Whether the phone number is new to the Twilio platform. Can be: `true` or `false`.
	Beta         *bool                                                                            `json:"beta,omitempty"`
	Capabilities *ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberLocalCapabilities `json:"capabilities,omitempty"`
}

ApiV2010AvailablePhoneNumberMobile struct for ApiV2010AvailablePhoneNumberMobile

func (*ApiV2010AvailablePhoneNumberMobile) UnmarshalJSON ¶ added in v1.1.0

func (response *ApiV2010AvailablePhoneNumberMobile) UnmarshalJSON(bytes []byte) (err error)

type ApiV2010AvailablePhoneNumberNational ¶ added in v0.14.0

type ApiV2010AvailablePhoneNumberNational struct {
	// A formatted version of the phone number.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The phone number 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:"phone_number,omitempty"`
	// The [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) of this phone number. Available for only phone numbers from the US and Canada.
	Lata *string `json:"lata,omitempty"`
	// The locality or city of this phone number's location.
	Locality *string `json:"locality,omitempty"`
	// The [rate center](https://en.wikipedia.org/wiki/Telephone_exchange) of this phone number. Available for only phone numbers from the US and Canada.
	RateCenter *string `json:"rate_center,omitempty"`
	// The latitude of this phone number's location. Available for only phone numbers from the US and Canada.
	Latitude *float32 `json:"latitude,omitempty"`
	// The longitude of this phone number's location. Available for only phone numbers from the US and Canada.
	Longitude *float32 `json:"longitude,omitempty"`
	// The two-letter state or province abbreviation of this phone number's location. Available for only phone numbers from the US and Canada.
	Region *string `json:"region,omitempty"`
	// The postal or ZIP code of this phone number's location. Available for only phone numbers from the US and Canada.
	PostalCode *string `json:"postal_code,omitempty"`
	// The [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of this phone number.
	IsoCountry *string `json:"iso_country,omitempty"`
	// The type of [Address](https://www.twilio.com/docs/usage/api/address) resource the phone number requires. Can be: `none`, `any`, `local`, or `foreign`. `none` means no address is required. `any` means an address is required, but it can be anywhere in the world. `local` means an address in the phone number's country is required. `foreign` means an address outside of the phone number's country is required.
	AddressRequirements *string `json:"address_requirements,omitempty"`
	// Whether the phone number is new to the Twilio platform. Can be: `true` or `false`.
	Beta         *bool                                                                            `json:"beta,omitempty"`
	Capabilities *ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberLocalCapabilities `json:"capabilities,omitempty"`
}

ApiV2010AvailablePhoneNumberNational struct for ApiV2010AvailablePhoneNumberNational

func (*ApiV2010AvailablePhoneNumberNational) UnmarshalJSON ¶ added in v1.1.0

func (response *ApiV2010AvailablePhoneNumberNational) UnmarshalJSON(bytes []byte) (err error)

type ApiV2010AvailablePhoneNumberSharedCost ¶ added in v0.14.0

type ApiV2010AvailablePhoneNumberSharedCost struct {
	// A formatted version of the phone number.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The phone number 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:"phone_number,omitempty"`
	// The [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) of this phone number. Available for only phone numbers from the US and Canada.
	Lata *string `json:"lata,omitempty"`
	// The locality or city of this phone number's location.
	Locality *string `json:"locality,omitempty"`
	// The [rate center](https://en.wikipedia.org/wiki/Telephone_exchange) of this phone number. Available for only phone numbers from the US and Canada.
	RateCenter *string `json:"rate_center,omitempty"`
	// The latitude of this phone number's location. Available for only phone numbers from the US and Canada.
	Latitude *float32 `json:"latitude,omitempty"`
	// The longitude of this phone number's location. Available for only phone numbers from the US and Canada.
	Longitude *float32 `json:"longitude,omitempty"`
	// The two-letter state or province abbreviation of this phone number's location. Available for only phone numbers from the US and Canada.
	Region *string `json:"region,omitempty"`
	// The postal or ZIP code of this phone number's location. Available for only phone numbers from the US and Canada.
	PostalCode *string `json:"postal_code,omitempty"`
	// The [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of this phone number.
	IsoCountry *string `json:"iso_country,omitempty"`
	// The type of [Address](https://www.twilio.com/docs/usage/api/address) resource the phone number requires. Can be: `none`, `any`, `local`, or `foreign`. `none` means no address is required. `any` means an address is required, but it can be anywhere in the world. `local` means an address in the phone number's country is required. `foreign` means an address outside of the phone number's country is required.
	AddressRequirements *string `json:"address_requirements,omitempty"`
	// Whether the phone number is new to the Twilio platform. Can be: `true` or `false`.
	Beta         *bool                                                                            `json:"beta,omitempty"`
	Capabilities *ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberLocalCapabilities `json:"capabilities,omitempty"`
}

ApiV2010AvailablePhoneNumberSharedCost struct for ApiV2010AvailablePhoneNumberSharedCost

func (*ApiV2010AvailablePhoneNumberSharedCost) UnmarshalJSON ¶ added in v1.1.0

func (response *ApiV2010AvailablePhoneNumberSharedCost) UnmarshalJSON(bytes []byte) (err error)

type ApiV2010AvailablePhoneNumberTollFree ¶ added in v0.14.0

type ApiV2010AvailablePhoneNumberTollFree struct {
	// A formatted version of the phone number.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The phone number 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:"phone_number,omitempty"`
	// The [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) of this phone number. Available for only phone numbers from the US and Canada.
	Lata *string `json:"lata,omitempty"`
	// The locality or city of this phone number's location.
	Locality *string `json:"locality,omitempty"`
	// The [rate center](https://en.wikipedia.org/wiki/Telephone_exchange) of this phone number. Available for only phone numbers from the US and Canada.
	RateCenter *string `json:"rate_center,omitempty"`
	// The latitude of this phone number's location. Available for only phone numbers from the US and Canada.
	Latitude *float32 `json:"latitude,omitempty"`
	// The longitude of this phone number's location. Available for only phone numbers from the US and Canada.
	Longitude *float32 `json:"longitude,omitempty"`
	// The two-letter state or province abbreviation of this phone number's location. Available for only phone numbers from the US and Canada.
	Region *string `json:"region,omitempty"`
	// The postal or ZIP code of this phone number's location. Available for only phone numbers from the US and Canada.
	PostalCode *string `json:"postal_code,omitempty"`
	// The [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of this phone number.
	IsoCountry *string `json:"iso_country,omitempty"`
	// The type of [Address](https://www.twilio.com/docs/usage/api/address) resource the phone number requires. Can be: `none`, `any`, `local`, or `foreign`. `none` means no address is required. `any` means an address is required, but it can be anywhere in the world. `local` means an address in the phone number's country is required. `foreign` means an address outside of the phone number's country is required.
	AddressRequirements *string `json:"address_requirements,omitempty"`
	// Whether the phone number is new to the Twilio platform. Can be: `true` or `false`.
	Beta         *bool                                                                            `json:"beta,omitempty"`
	Capabilities *ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberLocalCapabilities `json:"capabilities,omitempty"`
}

ApiV2010AvailablePhoneNumberTollFree struct for ApiV2010AvailablePhoneNumberTollFree

func (*ApiV2010AvailablePhoneNumberTollFree) UnmarshalJSON ¶ added in v1.1.0

func (response *ApiV2010AvailablePhoneNumberTollFree) UnmarshalJSON(bytes []byte) (err error)

type ApiV2010AvailablePhoneNumberVoip ¶ added in v0.14.0

type ApiV2010AvailablePhoneNumberVoip struct {
	// A formatted version of the phone number.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The phone number 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:"phone_number,omitempty"`
	// The [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) of this phone number. Available for only phone numbers from the US and Canada.
	Lata *string `json:"lata,omitempty"`
	// The locality or city of this phone number's location.
	Locality *string `json:"locality,omitempty"`
	// The [rate center](https://en.wikipedia.org/wiki/Telephone_exchange) of this phone number. Available for only phone numbers from the US and Canada.
	RateCenter *string `json:"rate_center,omitempty"`
	// The latitude of this phone number's location. Available for only phone numbers from the US and Canada.
	Latitude *float32 `json:"latitude,omitempty"`
	// The longitude of this phone number's location. Available for only phone numbers from the US and Canada.
	Longitude *float32 `json:"longitude,omitempty"`
	// The two-letter state or province abbreviation of this phone number's location. Available for only phone numbers from the US and Canada.
	Region *string `json:"region,omitempty"`
	// The postal or ZIP code of this phone number's location. Available for only phone numbers from the US and Canada.
	PostalCode *string `json:"postal_code,omitempty"`
	// The [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of this phone number.
	IsoCountry *string `json:"iso_country,omitempty"`
	// The type of [Address](https://www.twilio.com/docs/usage/api/address) resource the phone number requires. Can be: `none`, `any`, `local`, or `foreign`. `none` means no address is required. `any` means an address is required, but it can be anywhere in the world. `local` means an address in the phone number's country is required. `foreign` means an address outside of the phone number's country is required.
	AddressRequirements *string `json:"address_requirements,omitempty"`
	// Whether the phone number is new to the Twilio platform. Can be: `true` or `false`.
	Beta         *bool                                                                            `json:"beta,omitempty"`
	Capabilities *ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberLocalCapabilities `json:"capabilities,omitempty"`
}

ApiV2010AvailablePhoneNumberVoip struct for ApiV2010AvailablePhoneNumberVoip

func (*ApiV2010AvailablePhoneNumberVoip) UnmarshalJSON ¶ added in v1.1.0

func (response *ApiV2010AvailablePhoneNumberVoip) UnmarshalJSON(bytes []byte) (err error)

type ApiV2010Balance ¶ added in v0.14.0

type ApiV2010Balance struct {
	// The unique SID identifier of the Account.
	AccountSid *string `json:"account_sid,omitempty"`
	// The balance of the Account, in units specified by the unit parameter. Balance changes may not be reflected immediately. Child accounts do not contain balance information
	Balance *string `json:"balance,omitempty"`
	// The units of currency for the account balance
	Currency *string `json:"currency,omitempty"`
}

ApiV2010Balance struct for ApiV2010Balance

type ApiV2010Call ¶ added in v0.14.0

type ApiV2010Call struct {
	// The unique string that we created to identify this Call resource.
	Sid *string `json:"sid,omitempty"`
	// The date and time in GMT that this resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The SID that identifies the call that created this leg.
	ParentCallSid *string `json:"parent_call_sid,omitempty"`
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Call resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The phone number, SIP address, Client identifier or SIM SID 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 `name@company.com`. Client identifiers are formatted `client:name`. SIM SIDs are formatted as `sim:sid`.
	To *string `json:"to,omitempty"`
	// The phone number, SIP address or Client identifier that received this call. Formatted for display. Non-North American phone numbers are in [E.164](https://www.twilio.com/docs/glossary/what-e164) format (e.g., +442071838750).
	ToFormatted *string `json:"to_formatted,omitempty"`
	// The phone number, SIP address, Client identifier or SIM SID that made 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 `name@company.com`. Client identifiers are formatted `client:name`. SIM SIDs are formatted as `sim:sid`.
	From *string `json:"from,omitempty"`
	// The calling phone number, SIP address, or Client identifier formatted for display. Non-North American phone numbers are in [E.164](https://www.twilio.com/docs/glossary/what-e164) format (e.g., +442071838750).
	FromFormatted *string `json:"from_formatted,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"`
	Status         *string `json:"status,omitempty"`
	// The start time of the call, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format. Empty if the call has not yet been dialed.
	StartTime *string `json:"start_time,omitempty"`
	// The time the call ended, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format. Empty if the call did not complete successfully.
	EndTime *string `json:"end_time,omitempty"`
	// The length of the call in seconds. This value is empty for busy, failed, unanswered, or ongoing calls.
	Duration *string `json:"duration,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, in [ISO 4127](https://www.iso.org/iso/home/standards/currency_codes.htm) format (e.g., `USD`, `EUR`, `JPY`). Always capitalized for calls.
	PriceUnit *string `json:"price_unit,omitempty"`
	// A string describing the direction of the call. Can be: `inbound` for inbound calls, `outbound-api` for calls initiated via the REST API or `outbound-dial` for calls initiated by a `<Dial>` verb. Using [Elastic SIP Trunking](https://www.twilio.com/docs/sip-trunking), the values can be [`trunking-terminating`](https://www.twilio.com/docs/sip-trunking#termination) for outgoing calls from your communications infrastructure to the PSTN or [`trunking-originating`](https://www.twilio.com/docs/sip-trunking#origination) for incoming calls to your communications infrastructure from the PSTN.
	Direction *string `json:"direction,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 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 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 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 wait time in milliseconds before the call is placed.
	QueueTime *string `json:"queue_time,omitempty"`
	// The unique identifier of the trunk resource that was used for this call. The field is empty if the call was not made using a SIP trunk or if the call is not terminated.
	TrunkSid *string `json:"trunk_sid,omitempty"`
	// The URI of this resource, relative to `https://api.twilio.com`.
	Uri *string `json:"uri,omitempty"`
	// A list of subresources available to this call, identified by their URIs relative to `https://api.twilio.com`.
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
}

ApiV2010Call struct for ApiV2010Call

type ApiV2010CallEvent ¶ added in v0.14.0

type ApiV2010CallEvent struct {
	// Contains a dictionary representing the request of the call.
	Request *interface{} `json:"request,omitempty"`
	// Contains a dictionary representing the call response, including a list of the call events.
	Response *interface{} `json:"response,omitempty"`
}

ApiV2010CallEvent struct for ApiV2010CallEvent

type ApiV2010CallFeedback ¶ added in v0.14.0

type ApiV2010CallFeedback struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The date that this resource was created, given in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date that this resource was last updated, given in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// A list of 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`.
	Issues *[]string `json:"issues,omitempty"`
	// `1` to `5` quality score where `1` represents imperfect experience and `5` represents a perfect call.
	QualityScore *int `json:"quality_score,omitempty"`
	// A 34 character string that uniquely identifies this resource.
	Sid *string `json:"sid,omitempty"`
}

ApiV2010CallFeedback struct for ApiV2010CallFeedback

type ApiV2010CallFeedbackSummary ¶ added in v0.14.0

type ApiV2010CallFeedbackSummary struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	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 that this resource was created, given in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date that this resource was last updated, given in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The last date for which feedback entries are included in this Feedback Summary, formatted as `YYYY-MM-DD` and specified in UTC.
	EndDate *string `json:"end_date,omitempty"`
	// Whether the feedback summary includes subaccounts; `true` if it does, otherwise `false`.
	IncludeSubaccounts *bool `json:"include_subaccounts,omitempty"`
	// A list of issues experienced during the call. The issues can be: `imperfect-audio`, `dropped-call`, `incorrect-caller-id`, `post-dial-delay`, `digits-not-captured`, `audio-latency`, or `one-way-audio`.
	Issues *[]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 34 character string that uniquely identifies this resource.
	Sid *string `json:"sid,omitempty"`
	// The first date for which feedback entries are included in this feedback summary, formatted as `YYYY-MM-DD` and specified in UTC.
	StartDate *string `json:"start_date,omitempty"`
	Status    *string `json:"status,omitempty"`
}

ApiV2010CallFeedbackSummary struct for ApiV2010CallFeedbackSummary

func (*ApiV2010CallFeedbackSummary) UnmarshalJSON ¶ added in v0.25.0

func (response *ApiV2010CallFeedbackSummary) UnmarshalJSON(bytes []byte) (err error)

type ApiV2010CallNotification ¶ added in v0.14.0

type ApiV2010CallNotification struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Call Notification 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](https://www.twilio.com/docs/voice/api/call-resource) the Call Notification resource is associated with.
	CallSid *string `json:"call_sid,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// A unique error code for the error condition that is described in our [Error Dictionary](https://www.twilio.com/docs/api/errors).
	ErrorCode *string `json:"error_code,omitempty"`
	// An integer log level that corresponds to the type of notification: `0` is ERROR, `1` is WARNING.
	Log *string `json:"log,omitempty"`
	// The date the notification was actually generated in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. Message buffering can cause this value to differ from `date_created`.
	MessageDate *string `json:"message_date,omitempty"`
	// The text of the notification.
	MessageText *string `json:"message_text,omitempty"`
	// The URL for more information about the error condition. This value is a page in our [Error Dictionary](https://www.twilio.com/docs/api/errors).
	MoreInfo *string `json:"more_info,omitempty"`
	// The HTTP method used to generate the notification. If the notification was generated during a phone call, this is the HTTP Method used to request the resource on your server. If the notification was generated by your use of our REST API, this is the HTTP method used to call the resource on our servers.
	RequestMethod *string `json:"request_method,omitempty"`
	// The URL of the resource that generated the notification. If the notification was generated during a phone call, this is the URL of the resource on your server that caused the notification. If the notification was generated by your use of our REST API, this is the URL of the resource you called.
	RequestUrl *string `json:"request_url,omitempty"`
	// The unique string that that we created to identify the Call Notification 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](https://www.twilio.com/docs/iam/api/account) that created the Call Notification 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](https://www.twilio.com/docs/voice/api/call-resource) the Call Notification resource is associated with.
	CallSid *string `json:"call_sid,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// A unique error code for the error condition that is described in our [Error Dictionary](https://www.twilio.com/docs/api/errors).
	ErrorCode *string `json:"error_code,omitempty"`
	// An integer log level that corresponds to the type of notification: `0` is ERROR, `1` is WARNING.
	Log *string `json:"log,omitempty"`
	// The date the notification was actually generated in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. Message buffering can cause this value to differ from `date_created`.
	MessageDate *string `json:"message_date,omitempty"`
	// The text of the notification.
	MessageText *string `json:"message_text,omitempty"`
	// The URL for more information about the error condition. This value is a page in our [Error Dictionary](https://www.twilio.com/docs/api/errors).
	MoreInfo *string `json:"more_info,omitempty"`
	// The HTTP method used to generate the notification. If the notification was generated during a phone call, this is the HTTP Method used to request the resource on your server. If the notification was generated by your use of our REST API, this is the HTTP method used to call the resource on our servers.
	RequestMethod *string `json:"request_method,omitempty"`
	// The URL of the resource that generated the notification. If the notification was generated during a phone call, this is the URL of the resource on your server that caused the notification. If the notification was generated by your use of our REST API, this is the URL of the resource you called.
	RequestUrl *string `json:"request_url,omitempty"`
	// The HTTP GET or POST variables we sent to your server. However, if the notification was generated by our REST API, this contains the HTTP POST or PUT variables you sent to our API.
	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 that we created to identify the Call Notification 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](https://www.twilio.com/docs/iam/api/account) that created the Recording 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](https://www.twilio.com/docs/voice/api/call-resource) the Recording resource is associated with.
	CallSid *string `json:"call_sid,omitempty"`
	// The Conference SID that identifies the conference associated with the recording, if a conference recording.
	ConferenceSid *string `json:"conference_sid,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The start time of the recording in GMT and in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
	StartTime *string `json:"start_time,omitempty"`
	// The length of the recording in seconds.
	Duration *string `json:"duration,omitempty"`
	// The unique string that that we created to identify the Recording resource.
	Sid *string `json:"sid,omitempty"`
	// The one-time cost of creating the recording in the `price_unit` currency.
	Price *float32 `json:"price,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`.
	Uri *string `json:"uri,omitempty"`
	// How to decrypt the recording if it was encrypted using [Call Recording Encryption](https://www.twilio.com/docs/voice/tutorials/voice-recording-encryption) feature.
	EncryptionDetails *interface{} `json:"encryption_details,omitempty"`
	// The currency used in the `price` property. Example: `USD`.
	PriceUnit *string `json:"price_unit,omitempty"`
	Status    *string `json:"status,omitempty"`
	// The number of channels in the final recording file.  Can be: `1`, or `2`. Separating a two leg call into two separate channels of the recording file is supported in [Dial](https://www.twilio.com/docs/voice/twiml/dial#attributes-record) and [Outbound Rest API](https://www.twilio.com/docs/voice/make-calls) record options.
	Channels *int    `json:"channels,omitempty"`
	Source   *string `json:"source,omitempty"`
	// The error code that describes why the recording is `absent`. The error code is described in our [Error Dictionary](https://www.twilio.com/docs/api/errors). This value is null if the recording `status` is not `absent`.
	ErrorCode *int `json:"error_code,omitempty"`
	// The recorded track. Can be: `inbound`, `outbound`, or `both`.
	Track *string `json:"track,omitempty"`
}

ApiV2010CallRecording struct for ApiV2010CallRecording

func (*ApiV2010CallRecording) UnmarshalJSON ¶ added in v0.25.0

func (response *ApiV2010CallRecording) UnmarshalJSON(bytes []byte) (err error)

type ApiV2010Conference ¶ added in v0.14.0

type ApiV2010Conference struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Conference resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The date and time in GMT that this resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The API version used to create this conference.
	ApiVersion *string `json:"api_version,omitempty"`
	// A string that you assigned to describe this conference room. Maxiumum length is 128 characters.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// A string that represents the Twilio Region where the conference audio was mixed. May be `us1`, `ie1`,  `de1`, `sg1`, `br1`, `au1`, and `jp1`. Basic conference audio will always be mixed in `us1`. Global Conference audio will be mixed nearest to the majority of participants.
	Region *string `json:"region,omitempty"`
	// The unique string that that we created to identify this Conference resource.
	Sid    *string `json:"sid,omitempty"`
	Status *string `json:"status,omitempty"`
	// The URI of this resource, relative to `https://api.twilio.com`.
	Uri *string `json:"uri,omitempty"`
	// A list of related resources identified by their URIs relative to `https://api.twilio.com`.
	SubresourceUris       *map[string]interface{} `json:"subresource_uris,omitempty"`
	ReasonConferenceEnded *string                 `json:"reason_conference_ended,omitempty"`
	// The call SID that caused the conference to end.
	CallSidEndingConference *string `json:"call_sid_ending_conference,omitempty"`
}

ApiV2010Conference struct for ApiV2010Conference

type ApiV2010ConferenceRecording ¶ added in v0.14.0

type ApiV2010ConferenceRecording struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Conference Recording 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](https://www.twilio.com/docs/voice/api/call-resource) the Conference Recording resource is associated with.
	CallSid *string `json:"call_sid,omitempty"`
	// The Conference SID that identifies the conference associated with the recording.
	ConferenceSid *string `json:"conference_sid,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The start time of the recording in GMT and in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
	StartTime *string `json:"start_time,omitempty"`
	// The length of the recording in seconds.
	Duration *string `json:"duration,omitempty"`
	// The unique string that that we created to identify the Conference Recording resource.
	Sid *string `json:"sid,omitempty"`
	// The one-time cost of creating the recording in the `price_unit` currency.
	Price *string `json:"price,omitempty"`
	// The currency used in the `price` property. Example: `USD`.
	PriceUnit *string `json:"price_unit,omitempty"`
	Status    *string `json:"status,omitempty"`
	// The number of channels in the final recording file.  Can be: `1`, or `2`. Separating a two leg call into two separate channels of the recording file is supported in [Dial](https://www.twilio.com/docs/voice/twiml/dial#attributes-record) and [Outbound Rest API](https://www.twilio.com/docs/voice/make-calls) record options.
	Channels *int    `json:"channels,omitempty"`
	Source   *string `json:"source,omitempty"`
	// The error code that describes why the recording is `absent`. The error code is described in our [Error Dictionary](https://www.twilio.com/docs/api/errors). This value is null if the recording `status` is not `absent`.
	ErrorCode *int `json:"error_code,omitempty"`
	// How to decrypt the recording if it was encrypted using [Call Recording Encryption](https://www.twilio.com/docs/voice/tutorials/voice-recording-encryption) feature.
	EncryptionDetails *interface{} `json:"encryption_details,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](https://www.twilio.com/docs/iam/api/account) that created the ConnectApp resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The URL we redirect the user to after we authenticate the user and obtain authorization to access the Connect App.
	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 using the `deauthorize_callback_method` 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 public URL where users can obtain more information about this Connect App.
	HomepageUrl *string `json:"homepage_url,omitempty"`
	// The set of permissions that your ConnectApp requests.
	Permissions *[]string `json:"permissions,omitempty"`
	// The unique string that that we created to identify the ConnectApp 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 unique string that that we created to identify the DependentPhoneNumber resource.
	Sid *string `json:"sid,omitempty"`
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the DependentPhoneNumber resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The phone number 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:"phone_number,omitempty"`
	// The URL we call when the phone number receives a call. The `voice_url` will not be used if a `voice_application_sid` or a `trunk_sid` is set.
	VoiceUrl *string `json:"voice_url,omitempty"`
	// The HTTP method we use to call `voice_url`. Can be: `GET` or `POST`.
	VoiceMethod *string `json:"voice_method,omitempty"`
	// The HTTP method we use to call `voice_fallback_url`. Can be: `GET` or `POST`.
	VoiceFallbackMethod *string `json:"voice_fallback_method,omitempty"`
	// The URL that we call when an error occurs retrieving or executing the TwiML requested by `url`.
	VoiceFallbackUrl *string `json:"voice_fallback_url,omitempty"`
	// Whether we look up the caller's caller-ID name from the CNAM database. Can be: `true` or `false`. Caller ID lookups can cost $0.01 each.
	VoiceCallerIdLookup *bool `json:"voice_caller_id_lookup,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The HTTP method we use to call `sms_fallback_url`. Can be: `GET` or `POST`.
	SmsFallbackMethod *string `json:"sms_fallback_method,omitempty"`
	// The URL that we call when an error occurs while retrieving or executing the TwiML from `sms_url`.
	SmsFallbackUrl *string `json:"sms_fallback_url,omitempty"`
	// The HTTP method we use to call `sms_url`. Can be: `GET` or `POST`.
	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"`
	AddressRequirements *string `json:"address_requirements,omitempty"`
	// The set of Boolean properties that indicates whether a phone number can receive calls or messages.  Capabilities are  `Voice`, `SMS`, and `MMS` and each capability can be: `true` or `false`.
	Capabilities *interface{} `json:"capabilities,omitempty"`
	// The URL we call using the `status_callback_method` to send status information to your application.
	StatusCallback *string `json:"status_callback,omitempty"`
	// The HTTP method we use to call `status_callback`. Can be: `GET` or `POST`.
	StatusCallbackMethod *string `json:"status_callback_method,omitempty"`
	// The API version used to start a new TwiML session.
	ApiVersion *string `json:"api_version,omitempty"`
	// The SID of the application that handles SMS messages sent to the phone number. If an `sms_application_sid` is present, we ignore all `sms_*_url` values and use those of the application.
	SmsApplicationSid *string `json:"sms_application_sid,omitempty"`
	// The SID of the application that handles calls to the 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:"voice_application_sid,omitempty"`
	// The SID of the Trunk that handles calls to the phone number. If a `trunk_sid` is present, we ignore all of the voice urls and voice applications and use those set on the Trunk. Setting a `trunk_sid` will automatically delete your `voice_application_sid` and vice versa.
	TrunkSid        *string `json:"trunk_sid,omitempty"`
	EmergencyStatus *string `json:"emergency_status,omitempty"`
	// The SID of the emergency address configuration that we use for emergency calling from the phone number.
	EmergencyAddressSid *string `json:"emergency_address_sid,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`.
	Uri *string `json:"uri,omitempty"`
}

ApiV2010DependentPhoneNumber struct for ApiV2010DependentPhoneNumber

type ApiV2010IncomingPhoneNumber ¶ added in v0.14.0

type ApiV2010IncomingPhoneNumber struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this IncomingPhoneNumber resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The SID of the Address resource associated with the phone number.
	AddressSid          *string `json:"address_sid,omitempty"`
	AddressRequirements *string `json:"address_requirements,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. Can be: `true` or `false`.
	Beta         *bool                                           `json:"beta,omitempty"`
	Capabilities *ApiV2010AccountIncomingPhoneNumberCapabilities `json:"capabilities,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The SID of the Identity resource that we associate with the phone number. Some regions require an Identity to meet local regulations.
	IdentitySid *string `json:"identity_sid,omitempty"`
	// The phone number 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:"phone_number,omitempty"`
	// The phone number's origin. `twilio` identifies Twilio-owned phone numbers and `hosted` identifies hosted phone numbers.
	Origin *string `json:"origin,omitempty"`
	// The unique string that that we created to identify this IncomingPhoneNumber resource.
	Sid *string `json:"sid,omitempty"`
	// The SID of the application that handles SMS messages sent to the phone number. If an `sms_application_sid` is present, we ignore all `sms_*_url` values and use those of the application.
	SmsApplicationSid *string `json:"sms_application_sid,omitempty"`
	// The HTTP method we use to call `sms_fallback_url`. Can be: `GET` or `POST`.
	SmsFallbackMethod *string `json:"sms_fallback_method,omitempty"`
	// The URL that we call when an error occurs while retrieving or executing the TwiML from `sms_url`.
	SmsFallbackUrl *string `json:"sms_fallback_url,omitempty"`
	// The HTTP method we use to call `sms_url`. Can be: `GET` or `POST`.
	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 we call using the `status_callback_method` to send status information to your application.
	StatusCallback *string `json:"status_callback,omitempty"`
	// The HTTP method we use to call `status_callback`. Can be: `GET` or `POST`.
	StatusCallbackMethod *string `json:"status_callback_method,omitempty"`
	// The SID of the Trunk that handles calls to the phone number. If a `trunk_sid` is present, we ignore all of the voice urls and voice applications and use those set on the Trunk. Setting a `trunk_sid` will automatically delete your `voice_application_sid` and vice versa.
	TrunkSid *string `json:"trunk_sid,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`.
	Uri              *string `json:"uri,omitempty"`
	VoiceReceiveMode *string `json:"voice_receive_mode,omitempty"`
	// The SID of the application that handles calls to the 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:"voice_application_sid,omitempty"`
	// Whether we look up the caller's caller-ID name from the CNAM database ($0.01 per look up). Can be: `true` or `false`.
	VoiceCallerIdLookup *bool `json:"voice_caller_id_lookup,omitempty"`
	// The HTTP method we use to call `voice_fallback_url`. Can be: `GET` or `POST`.
	VoiceFallbackMethod *string `json:"voice_fallback_method,omitempty"`
	// The URL that we call when an error occurs retrieving or executing the TwiML requested by `url`.
	VoiceFallbackUrl *string `json:"voice_fallback_url,omitempty"`
	// The HTTP method we use to call `voice_url`. Can be: `GET` or `POST`.
	VoiceMethod *string `json:"voice_method,omitempty"`
	// The URL we call when the phone number receives a call. The `voice_url` will not be used if a `voice_application_sid` or a `trunk_sid` is set.
	VoiceUrl        *string `json:"voice_url,omitempty"`
	EmergencyStatus *string `json:"emergency_status,omitempty"`
	// The SID of the emergency address configuration that we use for emergency calling from this phone number.
	EmergencyAddressSid    *string `json:"emergency_address_sid,omitempty"`
	EmergencyAddressStatus *string `json:"emergency_address_status,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:"bundle_sid,omitempty"`
	Status    *string `json:"status,omitempty"`
}

ApiV2010IncomingPhoneNumber struct for ApiV2010IncomingPhoneNumber

type ApiV2010IncomingPhoneNumberAssignedAddOn ¶ added in v0.14.0

type ApiV2010IncomingPhoneNumberAssignedAddOn struct {
	// The unique string that that we created to identify the resource.
	Sid *string `json:"sid,omitempty"`
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The SID of the Phone Number to which the Add-on is assigned.
	ResourceSid *string `json:"resource_sid,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// A short description of the functionality that the Add-on provides.
	Description *string `json:"description,omitempty"`
	// A JSON string that represents the current configuration of this Add-on installation.
	Configuration *interface{} `json:"configuration,omitempty"`
	// An application-defined string that uniquely identifies the resource. It can be used in place of the resource's `sid` in the URL to address the resource.
	UniqueName *string `json:"unique_name,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`.
	Uri *string `json:"uri,omitempty"`
	// A list of related resources identified by their relative URIs.
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
}

ApiV2010IncomingPhoneNumberAssignedAddOn struct for ApiV2010IncomingPhoneNumberAssignedAddOn

type ApiV2010IncomingPhoneNumberAssignedAddOnExtension ¶ added in v0.14.0

type ApiV2010IncomingPhoneNumberAssignedAddOnExtension struct {
	// The unique string that that we created to identify the resource.
	Sid *string `json:"sid,omitempty"`
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The SID of the Phone Number to which the Add-on is assigned.
	ResourceSid *string `json:"resource_sid,omitempty"`
	// The SID that uniquely identifies the assigned Add-on installation.
	AssignedAddOnSid *string `json:"assigned_add_on_sid,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"`
	// An application-defined string that uniquely identifies the resource. It can be used in place of the resource's `sid` in the URL to address the resource.
	UniqueName *string `json:"unique_name,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`.
	Uri *string `json:"uri,omitempty"`
	// Whether the Extension will be invoked.
	Enabled *bool `json:"enabled,omitempty"`
}

ApiV2010IncomingPhoneNumberAssignedAddOnExtension struct for ApiV2010IncomingPhoneNumberAssignedAddOnExtension

type ApiV2010IncomingPhoneNumberLocal ¶ added in v0.14.0

type ApiV2010IncomingPhoneNumberLocal struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The SID of the Address resource associated with the phone number.
	AddressSid          *string `json:"address_sid,omitempty"`
	AddressRequirements *string `json:"address_requirements,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. Can be: `true` or `false`.
	Beta         *bool                                           `json:"beta,omitempty"`
	Capabilities *ApiV2010AccountIncomingPhoneNumberCapabilities `json:"capabilities,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The SID of the Identity resource that we associate with the phone number. Some regions require an Identity to meet local regulations.
	IdentitySid *string `json:"identity_sid,omitempty"`
	// The phone number 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:"phone_number,omitempty"`
	// The phone number's origin. `twilio` identifies Twilio-owned phone numbers and `hosted` identifies hosted phone numbers.
	Origin *string `json:"origin,omitempty"`
	// The unique string that that we created to identify the resource.
	Sid *string `json:"sid,omitempty"`
	// The SID of the application that handles SMS messages sent to the phone number. If an `sms_application_sid` is present, we ignore all `sms_*_url` values and use those of the application.
	SmsApplicationSid *string `json:"sms_application_sid,omitempty"`
	// The HTTP method we use to call `sms_fallback_url`. Can be: `GET` or `POST`.
	SmsFallbackMethod *string `json:"sms_fallback_method,omitempty"`
	// The URL that we call when an error occurs while retrieving or executing the TwiML from `sms_url`.
	SmsFallbackUrl *string `json:"sms_fallback_url,omitempty"`
	// The HTTP method we use to call `sms_url`. Can be: `GET` or `POST`.
	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 we call using the `status_callback_method` to send status information to your application.
	StatusCallback *string `json:"status_callback,omitempty"`
	// The HTTP method we use to call `status_callback`. Can be: `GET` or `POST`.
	StatusCallbackMethod *string `json:"status_callback_method,omitempty"`
	// The SID of the Trunk that handles calls to the phone number. If a `trunk_sid` is present, we ignore all of the voice urls and voice applications and use those set on the Trunk. Setting a `trunk_sid` will automatically delete your `voice_application_sid` and vice versa.
	TrunkSid *string `json:"trunk_sid,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`.
	Uri              *string `json:"uri,omitempty"`
	VoiceReceiveMode *string `json:"voice_receive_mode,omitempty"`
	// The SID of the application that handles calls to the 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:"voice_application_sid,omitempty"`
	// Whether we look up the caller's caller-ID name from the CNAM database ($0.01 per look up). Can be: `true` or `false`.
	VoiceCallerIdLookup *bool `json:"voice_caller_id_lookup,omitempty"`
	// The HTTP method we use to call `voice_fallback_url`. Can be: `GET` or `POST`.
	VoiceFallbackMethod *string `json:"voice_fallback_method,omitempty"`
	// The URL that we call when an error occurs retrieving or executing the TwiML requested by `url`.
	VoiceFallbackUrl *string `json:"voice_fallback_url,omitempty"`
	// The HTTP method we use to call `voice_url`. Can be: `GET` or `POST`.
	VoiceMethod *string `json:"voice_method,omitempty"`
	// The URL we call when this phone number receives a call. The `voice_url` will not be used if a `voice_application_sid` or a `trunk_sid` is set.
	VoiceUrl        *string `json:"voice_url,omitempty"`
	EmergencyStatus *string `json:"emergency_status,omitempty"`
	// The SID of the emergency address configuration that we use for emergency calling from this phone number.
	EmergencyAddressSid    *string `json:"emergency_address_sid,omitempty"`
	EmergencyAddressStatus *string `json:"emergency_address_status,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:"bundle_sid,omitempty"`
	Status    *string `json:"status,omitempty"`
}

ApiV2010IncomingPhoneNumberLocal struct for ApiV2010IncomingPhoneNumberLocal

type ApiV2010IncomingPhoneNumberMobile ¶ added in v0.14.0

type ApiV2010IncomingPhoneNumberMobile struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The SID of the Address resource associated with the phone number.
	AddressSid          *string `json:"address_sid,omitempty"`
	AddressRequirements *string `json:"address_requirements,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. Can be: `true` or `false`.
	Beta         *bool                                           `json:"beta,omitempty"`
	Capabilities *ApiV2010AccountIncomingPhoneNumberCapabilities `json:"capabilities,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The SID of the Identity resource that we associate with the phone number. Some regions require an Identity to meet local regulations.
	IdentitySid *string `json:"identity_sid,omitempty"`
	// The phone number 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:"phone_number,omitempty"`
	// The phone number's origin. `twilio` identifies Twilio-owned phone numbers and `hosted` identifies hosted phone numbers.
	Origin *string `json:"origin,omitempty"`
	// The unique string that that we created to identify the resource.
	Sid *string `json:"sid,omitempty"`
	// The SID of the application that handles SMS messages sent to the phone number. If an `sms_application_sid` is present, we ignore all `sms_*_url` values and use those of the application.
	SmsApplicationSid *string `json:"sms_application_sid,omitempty"`
	// The HTTP method we use to call `sms_fallback_url`. Can be: `GET` or `POST`.
	SmsFallbackMethod *string `json:"sms_fallback_method,omitempty"`
	// The URL that we call when an error occurs while retrieving or executing the TwiML from `sms_url`.
	SmsFallbackUrl *string `json:"sms_fallback_url,omitempty"`
	// The HTTP method we use to call `sms_url`. Can be: `GET` or `POST`.
	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 we call using the `status_callback_method` to send status information to your application.
	StatusCallback *string `json:"status_callback,omitempty"`
	// The HTTP method we use to call `status_callback`. Can be: `GET` or `POST`.
	StatusCallbackMethod *string `json:"status_callback_method,omitempty"`
	// The SID of the Trunk that handles calls to the phone number. If a `trunk_sid` is present, we ignore all of the voice urls and voice applications and use those set on the Trunk. Setting a `trunk_sid` will automatically delete your `voice_application_sid` and vice versa.
	TrunkSid *string `json:"trunk_sid,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`.
	Uri              *string `json:"uri,omitempty"`
	VoiceReceiveMode *string `json:"voice_receive_mode,omitempty"`
	// The SID of the application that handles calls to the 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:"voice_application_sid,omitempty"`
	// Whether we look up the caller's caller-ID name from the CNAM database ($0.01 per look up). Can be: `true` or `false`.
	VoiceCallerIdLookup *bool `json:"voice_caller_id_lookup,omitempty"`
	// The HTTP method we use to call `voice_fallback_url`. Can be: `GET` or `POST`.
	VoiceFallbackMethod *string `json:"voice_fallback_method,omitempty"`
	// The URL that we call when an error occurs retrieving or executing the TwiML requested by `url`.
	VoiceFallbackUrl *string `json:"voice_fallback_url,omitempty"`
	// The HTTP method we use to call `voice_url`. Can be: `GET` or `POST`.
	VoiceMethod *string `json:"voice_method,omitempty"`
	// The URL we call when the phone number receives a call. The `voice_url` will not be used if a `voice_application_sid` or a `trunk_sid` is set.
	VoiceUrl        *string `json:"voice_url,omitempty"`
	EmergencyStatus *string `json:"emergency_status,omitempty"`
	// The SID of the emergency address configuration that we use for emergency calling from this phone number.
	EmergencyAddressSid    *string `json:"emergency_address_sid,omitempty"`
	EmergencyAddressStatus *string `json:"emergency_address_status,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:"bundle_sid,omitempty"`
	Status    *string `json:"status,omitempty"`
}

ApiV2010IncomingPhoneNumberMobile struct for ApiV2010IncomingPhoneNumberMobile

type ApiV2010IncomingPhoneNumberTollFree ¶ added in v0.14.0

type ApiV2010IncomingPhoneNumberTollFree struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The SID of the Address resource associated with the phone number.
	AddressSid          *string `json:"address_sid,omitempty"`
	AddressRequirements *string `json:"address_requirements,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. Can be: `true` or `false`.
	Beta         *bool                                           `json:"beta,omitempty"`
	Capabilities *ApiV2010AccountIncomingPhoneNumberCapabilities `json:"capabilities,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The SID of the Identity resource that we associate with the phone number. Some regions require an Identity to meet local regulations.
	IdentitySid *string `json:"identity_sid,omitempty"`
	// The phone number 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:"phone_number,omitempty"`
	// The phone number's origin. `twilio` identifies Twilio-owned phone numbers and `hosted` identifies hosted phone numbers.
	Origin *string `json:"origin,omitempty"`
	// The unique string that that we created to identify the resource.
	Sid *string `json:"sid,omitempty"`
	// The SID of the application that handles SMS messages sent to the phone number. If an `sms_application_sid` is present, we ignore all `sms_*_url` values and use those of the application.
	SmsApplicationSid *string `json:"sms_application_sid,omitempty"`
	// The HTTP method we use to call `sms_fallback_url`. Can be: `GET` or `POST`.
	SmsFallbackMethod *string `json:"sms_fallback_method,omitempty"`
	// The URL that we call when an error occurs while retrieving or executing the TwiML from `sms_url`.
	SmsFallbackUrl *string `json:"sms_fallback_url,omitempty"`
	// The HTTP method we use to call `sms_url`. Can be: `GET` or `POST`.
	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 we call using the `status_callback_method` to send status information to your application.
	StatusCallback *string `json:"status_callback,omitempty"`
	// The HTTP method we use to call `status_callback`. Can be: `GET` or `POST`.
	StatusCallbackMethod *string `json:"status_callback_method,omitempty"`
	// The SID of the Trunk that handles calls to the phone number. If a `trunk_sid` is present, we ignore all of the voice urls and voice applications and use those set on the Trunk. Setting a `trunk_sid` will automatically delete your `voice_application_sid` and vice versa.
	TrunkSid *string `json:"trunk_sid,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`.
	Uri              *string `json:"uri,omitempty"`
	VoiceReceiveMode *string `json:"voice_receive_mode,omitempty"`
	// The SID of the application that handles calls to the 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:"voice_application_sid,omitempty"`
	// Whether we look up the caller's caller-ID name from the CNAM database ($0.01 per look up). Can be: `true` or `false`.
	VoiceCallerIdLookup *bool `json:"voice_caller_id_lookup,omitempty"`
	// The HTTP method we use to call `voice_fallback_url`. Can be: `GET` or `POST`.
	VoiceFallbackMethod *string `json:"voice_fallback_method,omitempty"`
	// The URL that we call when an error occurs retrieving or executing the TwiML requested by `url`.
	VoiceFallbackUrl *string `json:"voice_fallback_url,omitempty"`
	// The HTTP method we use to call `voice_url`. Can be: `GET` or `POST`.
	VoiceMethod *string `json:"voice_method,omitempty"`
	// The URL we call when the phone number receives a call. The `voice_url` will not be used if a `voice_application_sid` or a `trunk_sid` is set.
	VoiceUrl        *string `json:"voice_url,omitempty"`
	EmergencyStatus *string `json:"emergency_status,omitempty"`
	// The SID of the emergency address configuration that we use for emergency calling from this phone number.
	EmergencyAddressSid    *string `json:"emergency_address_sid,omitempty"`
	EmergencyAddressStatus *string `json:"emergency_address_status,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:"bundle_sid,omitempty"`
	Status    *string `json:"status,omitempty"`
}

ApiV2010IncomingPhoneNumberTollFree struct for ApiV2010IncomingPhoneNumberTollFree

type ApiV2010Key ¶ added in v0.14.0

type ApiV2010Key struct {
	// The unique string that that we created to identify the Key resource.
	Sid *string `json:"sid,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
}

ApiV2010Key struct for ApiV2010Key

type ApiV2010Media ¶ added in v0.14.0

type ApiV2010Media struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Media resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The default [mime-type](https://en.wikipedia.org/wiki/Internet_media_type) of the media, for example `image/jpeg`, `image/png`, or `image/gif`
	ContentType *string `json:"content_type,omitempty"`
	// The date and time in GMT that this resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	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 that we created to identify this Media 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](https://www.twilio.com/docs/voice/api/call-resource) the Member resource is associated with.
	CallSid *string `json:"call_sid,omitempty"`
	// The date that the member was enqueued, given in RFC 2822 format.
	DateEnqueued *string `json:"date_enqueued,omitempty"`
	// This member's current position in the queue.
	Position *int `json:"position,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"`
	// The SID of the Queue the member is in.
	QueueSid *string `json:"queue_sid,omitempty"`
}

ApiV2010Member struct for ApiV2010Member

type ApiV2010Message ¶ added in v0.14.0

type ApiV2010Message struct {
	// The message text. Can be up to 1,600 characters long.
	Body *string `json:"body,omitempty"`
	// The number of segments that make up the complete message. A message body that is too large to be sent in a single SMS message is segmented and charged as multiple messages. Inbound messages over 160 characters are reassembled when the message is received. Note: When using a Messaging Service to send messages, `num_segments` will always be 0 in Twilio's response to your API request.
	NumSegments *string `json:"num_segments,omitempty"`
	Direction   *string `json:"direction,omitempty"`
	// The phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), or [Wireless SIM](https://www.twilio.com/docs/wireless/tutorials/communications-guides/how-to-send-and-receive-text-messages) that initiated the message. For incoming messages, this will be the number of the sending phone. For outgoing messages, this value will be one of your Twilio phone numbers or the alphanumeric sender ID used.
	From *string `json:"from,omitempty"`
	// The phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format that received the message. For incoming messages, this will be one of your Twilio phone numbers. For outgoing messages, this will be the sending phone.
	To *string `json:"to,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The amount billed for the message, in the currency specified by `price_unit`.  Note that your account is charged for each segment we send to the handset. Populated after the message has been sent. May not be immediately available.
	Price *string `json:"price,omitempty"`
	// The description of the `error_code` if your message `status` is `failed` or `undelivered`. If the message was successful, this value is null.
	ErrorMessage *string `json:"error_message,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`.
	Uri *string `json:"uri,omitempty"`
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that sent the message that created the resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The number of media files associated with the message. A message can send up to 10 media files.
	NumMedia *string `json:"num_media,omitempty"`
	Status   *string `json:"status,omitempty"`
	// The SID of the [Messaging Service](https://www.twilio.com/docs/sms/services/api) used with the message. The value is null if a Messaging Service was not used.
	MessagingServiceSid *string `json:"messaging_service_sid,omitempty"`
	// The unique string that that we created to identify the Message resource.
	Sid *string `json:"sid,omitempty"`
	// The date and time in GMT that the resource was sent specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. For outgoing messages, this is when we sent the message. For incoming messages, this is when we made the HTTP request to your application.
	DateSent *string `json:"date_sent,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The error code returned if your message `status` is `failed` or `undelivered`. The error_code provides more information about the failure. If the message was successful, this value is null.
	ErrorCode *int `json:"error_code,omitempty"`
	// The currency in which `price` is measured, in [ISO 4127](https://www.iso.org/iso/home/standards/currency_codes.htm) format (e.g. `usd`, `eur`, `jpy`).
	PriceUnit *string `json:"price_unit,omitempty"`
	// The API version used to process the message.
	ApiVersion *string `json:"api_version,omitempty"`
	// A list of related resources identified by their URIs relative to `https://api.twilio.com`
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
}

ApiV2010Message struct for ApiV2010Message

type ApiV2010MessageFeedback ¶ added in v0.14.0

type ApiV2010MessageFeedback struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the MessageFeedback resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The SID of the Message resource for which the feedback was provided.
	MessageSid *string `json:"message_sid,omitempty"`
	Outcome    *string `json:"outcome,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,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 unique string that that we created to identify the NewKey resource. You will use this as the basic-auth `user` when authenticating to the API.
	Sid *string `json:"sid,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The date and time in GMT that the API Key was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the new API Key was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The secret your application uses to sign Access Tokens and to authenticate to the REST API (you will use this as the basic-auth `password`).  **Note that for security reasons, this field is ONLY returned when the API Key is first created.**
	Secret *string `json:"secret,omitempty"`
}

ApiV2010NewKey struct for ApiV2010NewKey

type ApiV2010NewSigningKey ¶ added in v0.14.0

type ApiV2010NewSigningKey struct {
	// The unique string that that we created to identify the NewSigningKey resource.
	Sid *string `json:"sid,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The secret your application uses to sign Access Tokens and to authenticate to the REST API (you will use this as the basic-auth `password`).  **Note that for security reasons, this field is ONLY returned when the API Key is first created.**
	Secret *string `json:"secret,omitempty"`
}

ApiV2010NewSigningKey struct for ApiV2010NewSigningKey

type ApiV2010Notification ¶ added in v0.14.0

type ApiV2010Notification struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Notification resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to generate the notification. Can be empty for events that don't have a specific API version, such as incoming phone calls.
	ApiVersion *string `json:"api_version,omitempty"`
	// The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Notification resource is associated with.
	CallSid *string `json:"call_sid,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// A unique error code for the error condition that is described in our [Error Dictionary](https://www.twilio.com/docs/api/errors).
	ErrorCode *string `json:"error_code,omitempty"`
	// An integer log level that corresponds to the type of notification: `0` is ERROR, `1` is WARNING.
	Log *string `json:"log,omitempty"`
	// The date the notification was actually generated in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. Message buffering can cause this value to differ from `date_created`.
	MessageDate *string `json:"message_date,omitempty"`
	// The text of the notification.
	MessageText *string `json:"message_text,omitempty"`
	// The URL for more information about the error condition. This value is a page in our [Error Dictionary](https://www.twilio.com/docs/api/errors).
	MoreInfo *string `json:"more_info,omitempty"`
	// The HTTP method used to generate the notification. If the notification was generated during a phone call, this is the HTTP Method used to request the resource on your server. If the notification was generated by your use of our REST API, this is the HTTP method used to call the resource on our servers.
	RequestMethod *string `json:"request_method,omitempty"`
	// The URL of the resource that generated the notification. If the notification was generated during a phone call, this is the URL of the resource on your server that caused the notification. If the notification was generated by your use of our REST API, this is the URL of the resource you called.
	RequestUrl *string `json:"request_url,omitempty"`
	// The unique string that that we created to identify the Notification 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](https://www.twilio.com/docs/iam/api/account) that created the Notification resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to generate the notification. Can be empty for events that don't have a specific API version, such as incoming phone calls.
	ApiVersion *string `json:"api_version,omitempty"`
	// The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Notification resource is associated with.
	CallSid *string `json:"call_sid,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// A unique error code for the error condition that is described in our [Error Dictionary](https://www.twilio.com/docs/api/errors).
	ErrorCode *string `json:"error_code,omitempty"`
	// An integer log level that corresponds to the type of notification: `0` is ERROR, `1` is WARNING.
	Log *string `json:"log,omitempty"`
	// The date the notification was actually generated in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. Message buffering can cause this value to differ from `date_created`.
	MessageDate *string `json:"message_date,omitempty"`
	// The text of the notification.
	MessageText *string `json:"message_text,omitempty"`
	// The URL for more information about the error condition. This value is a page in our [Error Dictionary](https://www.twilio.com/docs/api/errors).
	MoreInfo *string `json:"more_info,omitempty"`
	// The HTTP method used to generate the notification. If the notification was generated during a phone call, this is the HTTP Method used to request the resource on your server. If the notification was generated by your use of our REST API, this is the HTTP method used to call the resource on our servers.
	RequestMethod *string `json:"request_method,omitempty"`
	// The URL of the resource that generated the notification. If the notification was generated during a phone call, this is the URL of the resource on your server that caused the notification. If the notification was generated by your use of our REST API, this is the URL of the resource you called.
	RequestUrl *string `json:"request_url,omitempty"`
	// The HTTP GET or POST variables we sent to your server. However, if the notification was generated by our REST API, this contains the HTTP POST or PUT variables you sent to our API.
	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 that we created to identify the Notification 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 unique string that that we created to identify the OutgoingCallerId resource.
	Sid *string `json:"sid,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the OutgoingCallerId resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The phone number 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:"phone_number,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](https://www.twilio.com/docs/iam/api/account) that created the Participant resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Participant resource is associated with.
	CallSid *string `json:"call_sid,omitempty"`
	// The user-specified label of this participant, if one was given when the participant was created. This may be used to fetch, update or delete the participant.
	Label *string `json:"label,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:"call_sid_to_coach,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"`
	// The SID of the conference the participant is in.
	ConferenceSid *string `json:"conference_sid,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// Whether the conference ends when the participant leaves. Can be: `true` or `false` and the default is `false`. If `true`, the conference ends and all other participants drop out when the participant leaves.
	EndConferenceOnExit *bool `json:"end_conference_on_exit,omitempty"`
	// Whether the participant is muted. Can be `true` or `false`.
	Muted *bool `json:"muted,omitempty"`
	// Whether the participant is on hold. Can be `true` or `false`.
	Hold *bool `json:"hold,omitempty"`
	// Whether the conference starts when the participant joins the conference, 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:"start_conference_on_enter,omitempty"`
	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](https://www.twilio.com/docs/iam/api/account) that created the Payments resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Payments resource is associated with. This will refer to the call sid that is producing the payment card (credit/ACH) information thru DTMF.
	CallSid *string `json:"call_sid,omitempty"`
	// The SID of the Payments resource.
	Sid *string `json:"sid,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,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 date and time in GMT that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The number of calls currently in the queue.
	CurrentSize *int `json:"current_size,omitempty"`
	// A string that you assigned to describe this resource.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The URI of this resource, relative to `https://api.twilio.com`.
	Uri *string `json:"uri,omitempty"`
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Queue resource.
	AccountSid *string `json:"account_sid,omitempty"`
	//  The average wait time in seconds of the members in this queue. This is calculated at the time of the request.
	AverageWaitTime *int `json:"average_wait_time,omitempty"`
	// The unique string that that we created to identify this Queue resource.
	Sid *string `json:"sid,omitempty"`
	// The date and time in GMT that this resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	//  The maximum number of calls that can be in the queue. The default is 1000 and the maximum is 5000.
	MaxSize *int `json:"max_size,omitempty"`
}

ApiV2010Queue struct for ApiV2010Queue

type ApiV2010Recording ¶ added in v0.14.0

type ApiV2010Recording struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording 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](https://www.twilio.com/docs/voice/api/call-resource) the Recording resource is associated with. This will always refer to the parent leg of a two-leg call.
	CallSid *string `json:"call_sid,omitempty"`
	// The Conference SID that identifies the conference associated with the recording, if a conference recording.
	ConferenceSid *string `json:"conference_sid,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The start time of the recording in GMT and in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
	StartTime *string `json:"start_time,omitempty"`
	// The length of the recording in seconds.
	Duration *string `json:"duration,omitempty"`
	// The unique string that that we created to identify the Recording resource.
	Sid *string `json:"sid,omitempty"`
	// The one-time cost of creating the recording in the `price_unit` currency.
	Price *string `json:"price,omitempty"`
	// The currency used in the `price` property. Example: `USD`.
	PriceUnit *string `json:"price_unit,omitempty"`
	Status    *string `json:"status,omitempty"`
	// The number of channels in the final recording file. Can be: `1` or `2`. You can split a call with two legs into two separate recording channels if you record using [TwiML Dial](https://www.twilio.com/docs/voice/twiml/dial#record) or the [Outbound Rest API](https://www.twilio.com/docs/voice/make-calls#manage-your-outbound-call).
	Channels *int    `json:"channels,omitempty"`
	Source   *string `json:"source,omitempty"`
	// The error code that describes why the recording is `absent`. The error code is described in our [Error Dictionary](https://www.twilio.com/docs/api/errors). This value is null if the recording `status` is not `absent`.
	ErrorCode *int `json:"error_code,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`.
	Uri *string `json:"uri,omitempty"`
	// How to decrypt the recording if it was encrypted using [Call Recording Encryption](https://www.twilio.com/docs/voice/tutorials/voice-recording-encryption) feature.
	EncryptionDetails *interface{} `json:"encryption_details,omitempty"`
	// A list of related resources identified by their relative URIs.
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
	// The URL of the media file associated with this recording resource. When stored externally, this is the full URL location of the media file.
	MediaUrl *string `json:"media_url,omitempty"`
}

ApiV2010Recording struct for ApiV2010Recording

type ApiV2010RecordingAddOnResult ¶ added in v0.14.0

type ApiV2010RecordingAddOnResult struct {
	// The unique string that that we created to identify the Recording AddOnResult resource.
	Sid *string `json:"sid,omitempty"`
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording AddOnResult resource.
	AccountSid *string `json:"account_sid,omitempty"`
	Status     *string `json:"status,omitempty"`
	// The SID of the Add-on to which the result belongs.
	AddOnSid *string `json:"add_on_sid,omitempty"`
	// The SID of the Add-on configuration.
	AddOnConfigurationSid *string `json:"add_on_configuration_sid,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The date and time in GMT that the result was completed specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCompleted *string `json:"date_completed,omitempty"`
	// The SID of the recording to which the AddOnResult resource belongs.
	ReferenceSid *string `json:"reference_sid,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 unique string that that we created to identify the Recording AddOnResult Payload resource.
	Sid *string `json:"sid,omitempty"`
	// The SID of the AddOnResult to which the payload belongs.
	AddOnResultSid *string `json:"add_on_result_sid,omitempty"`
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording AddOnResult Payload resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The string provided by the vendor that describes the payload.
	Label *string `json:"label,omitempty"`
	// The SID of the Add-on to which the result belongs.
	AddOnSid *string `json:"add_on_sid,omitempty"`
	// The SID of the Add-on configuration.
	AddOnConfigurationSid *string `json:"add_on_configuration_sid,omitempty"`
	// The MIME type of the payload.
	ContentType *string `json:"content_type,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The SID of the recording to which the AddOnResult resource that contains the payload belongs.
	ReferenceSid *string `json:"reference_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](https://www.twilio.com/docs/iam/api/account) that created the Transcription resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to create the transcription.
	ApiVersion *string `json:"api_version,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The duration of the transcribed audio in seconds.
	Duration *string `json:"duration,omitempty"`
	// The charge for the transcript in the currency associated with the account. This value is populated after the transcript is complete so it may not be available immediately.
	Price *float32 `json:"price,omitempty"`
	// The currency in which `price` is measured, in [ISO 4127](https://www.iso.org/iso/home/standards/currency_codes.htm) format (e.g. `usd`, `eur`, `jpy`).
	PriceUnit *string `json:"price_unit,omitempty"`
	// The SID of the [Recording](https://www.twilio.com/docs/voice/api/recording) from which the transcription was created.
	RecordingSid *string `json:"recording_sid,omitempty"`
	// The unique string that that we created to identify the Transcription resource.
	Sid    *string `json:"sid,omitempty"`
	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

func (*ApiV2010RecordingTranscription) UnmarshalJSON ¶ added in v0.25.0

func (response *ApiV2010RecordingTranscription) UnmarshalJSON(bytes []byte) (err error)

type ApiV2010ShortCode ¶ added in v0.14.0

type ApiV2010ShortCode struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this ShortCode resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to start a new TwiML session when an SMS message is sent to this short code.
	ApiVersion *string `json:"api_version,omitempty"`
	// The date and time in GMT that this resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// A string that you assigned to describe this resource. By default, the `FriendlyName` is the short code.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The short code. e.g., 894546.
	ShortCode *string `json:"short_code,omitempty"`
	// The unique string that that we created to identify this ShortCode resource.
	Sid *string `json:"sid,omitempty"`
	// The HTTP method we use to call the `sms_fallback_url`. Can be: `GET` or `POST`.
	SmsFallbackMethod *string `json:"sms_fallback_method,omitempty"`
	// The URL that we call if an error occurs while retrieving or executing the TwiML from `sms_url`.
	SmsFallbackUrl *string `json:"sms_fallback_url,omitempty"`
	// The HTTP method we use to call the `sms_url`. Can be: `GET` or `POST`.
	SmsMethod *string `json:"sms_method,omitempty"`
	// The 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 {
	Sid          *string `json:"sid,omitempty"`
	FriendlyName *string `json:"friendly_name,omitempty"`
	DateCreated  *string `json:"date_created,omitempty"`
	DateUpdated  *string `json:"date_updated,omitempty"`
}

ApiV2010SigningKey struct for ApiV2010SigningKey

type ApiV2010SipAuthCallsCredentialListMapping ¶ added in v0.14.0

type ApiV2010SipAuthCallsCredentialListMapping struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the CredentialListMapping resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	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 that we created to identify the CredentialListMapping 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](https://www.twilio.com/docs/iam/api/account) that created the IpAccessControlListMapping resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	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 that we created to identify the IpAccessControlListMapping 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](https://www.twilio.com/docs/iam/api/account) that created the CredentialListMapping resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	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 that we created to identify the CredentialListMapping resource.
	Sid *string `json:"sid,omitempty"`
}

ApiV2010SipAuthRegistrationsCredentialListMapping struct for ApiV2010SipAuthRegistrationsCredentialListMapping

type ApiV2010SipCredential ¶ added in v0.14.0

type ApiV2010SipCredential struct {
	// A 34 character string that uniquely identifies this resource.
	Sid *string `json:"sid,omitempty"`
	// 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 username for this credential.
	Username *string `json:"username,omitempty"`
	// The date that this resource was created, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date that this resource was last updated, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The URI for this resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010SipCredential struct for ApiV2010SipCredential

type ApiV2010SipCredentialList ¶ added in v0.14.0

type ApiV2010SipCredentialList struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) that owns this resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The date that this resource was created, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date that this resource was last updated, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// A human readable descriptive text that describes the CredentialList, 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"`
	// A list of credentials associated with this credential list.
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
	// The URI for this resource, relative to `https://api.twilio.com`.
	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](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date that this resource was last updated, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The unique string that is created to identify 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](https://www.twilio.com/docs/iam/api/account) that created the SipDomain 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 you have mapped to your domain. Can be: `IP_ACL` and `CREDENTIAL_LIST`. If you have both defined for your domain, both will be returned in a comma delimited string. If `auth_type` is not defined, the domain will not be able to receive any traffic.
	AuthType *string `json:"auth_type,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,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:"domain_name,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The unique string that that we created to identify the SipDomain resource.
	Sid *string `json:"sid,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`.
	Uri *string `json:"uri,omitempty"`
	// The HTTP method we use to call `voice_fallback_url`. Can be: `GET` or `POST`.
	VoiceFallbackMethod *string `json:"voice_fallback_method,omitempty"`
	// The URL that we call when an error occurs while retrieving or executing the TwiML requested from `voice_url`.
	VoiceFallbackUrl *string `json:"voice_fallback_url,omitempty"`
	// The HTTP method we use to call `voice_url`. Can be: `GET` or `POST`.
	VoiceMethod *string `json:"voice_method,omitempty"`
	// The HTTP method we use to call `voice_status_callback_url`. Either `GET` or `POST`.
	VoiceStatusCallbackMethod *string `json:"voice_status_callback_method,omitempty"`
	// The URL that we call to pass status parameters (such as call ended) to your application.
	VoiceStatusCallbackUrl *string `json:"voice_status_callback_url,omitempty"`
	// The URL we call using the `voice_method` when the domain receives a call.
	VoiceUrl *string `json:"voice_url,omitempty"`
	// A list of mapping resources associated with the SIP Domain resource identified by their relative URIs.
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
	// Whether to allow SIP Endpoints to register with the domain to receive calls.
	SipRegistration *bool `json:"sip_registration,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:"emergency_calling_enabled,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"`
	// The SID of the BYOC Trunk(Bring Your Own Carrier) resource that the Sip Domain will be associated with.
	ByocTrunkSid *string `json:"byoc_trunk_sid,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:"emergency_caller_sid,omitempty"`
}

ApiV2010SipDomain struct for ApiV2010SipDomain

type ApiV2010SipIpAccessControlList ¶ added in v0.14.0

type ApiV2010SipIpAccessControlList struct {
	// A 34 character string that uniquely identifies this resource.
	Sid *string `json:"sid,omitempty"`
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) that owns this resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// A human readable descriptive text, up to 255 characters long.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The date that this resource was created, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date that this resource was last updated, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// A list of the IpAddress resources associated with this IP access control list resource.
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
	// The URI for this resource, relative to `https://api.twilio.com`
	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](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date that this resource was last updated, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The unique string that is created to identify 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 {
	// A 34 character string that uniquely identifies this resource.
	Sid *string `json:"sid,omitempty"`
	// The unique id of the Account that is responsible for this resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// A human readable descriptive text for this resource, up to 255 characters long.
	FriendlyName *string `json:"friendly_name,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"`
	// 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 unique id of the IpAccessControlList resource that includes this resource.
	IpAccessControlListSid *string `json:"ip_access_control_list_sid,omitempty"`
	// The date that this resource was created, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date that this resource was last updated, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The URI for this resource, relative to `https://api.twilio.com`
	Uri *string `json:"uri,omitempty"`
}

ApiV2010SipIpAddress struct for ApiV2010SipIpAddress

type ApiV2010Siprec ¶ added in v0.16.0

type ApiV2010Siprec struct {
	// The SID of the Siprec resource.
	Sid *string `json:"sid,omitempty"`
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Siprec resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Siprec resource is associated with.
	CallSid *string `json:"call_sid,omitempty"`
	// The user-specified name of this Siprec, if one was given when the Siprec was created. This may be used to stop the Siprec.
	Name   *string `json:"name,omitempty"`
	Status *string `json:"status,omitempty"`
	// The date and time in GMT that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`.
	Uri *string `json:"uri,omitempty"`
}

ApiV2010Siprec struct for ApiV2010Siprec

type ApiV2010Stream ¶ added in v0.21.0

type ApiV2010Stream struct {
	// The SID of the Stream resource.
	Sid *string `json:"sid,omitempty"`
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Stream resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Stream resource is associated with.
	CallSid *string `json:"call_sid,omitempty"`
	// The user-specified name of this Stream, if one was given when the Stream was created. This may be used to stop the Stream.
	Name   *string `json:"name,omitempty"`
	Status *string `json:"status,omitempty"`
	// The date and time in GMT that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`.
	Uri *string `json:"uri,omitempty"`
}

ApiV2010Stream struct for ApiV2010Stream

type ApiV2010Token ¶ added in v0.14.0

type ApiV2010Token struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Token resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// An array representing the ephemeral credentials and the STUN and TURN server URIs.
	IceServers *[]ApiV2010AccountTokenIceServers `json:"ice_servers,omitempty"`
	// The temporary password that the username will use when authenticating with Twilio.
	Password *string `json:"password,omitempty"`
	// The duration in seconds for which the username and password 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](https://www.twilio.com/docs/iam/api/account) that created the Transcription resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The API version used to create the transcription.
	ApiVersion *string `json:"api_version,omitempty"`
	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The duration of the transcribed audio in seconds.
	Duration *string `json:"duration,omitempty"`
	// The charge for the transcript in the currency associated with the account. This value is populated after the transcript is complete so it may not be available immediately.
	Price *float32 `json:"price,omitempty"`
	// The currency in which `price` is measured, in [ISO 4127](https://www.iso.org/iso/home/standards/currency_codes.htm) format (e.g. `usd`, `eur`, `jpy`).
	PriceUnit *string `json:"price_unit,omitempty"`
	// The SID of the [Recording](https://www.twilio.com/docs/voice/api/recording) from which the transcription was created.
	RecordingSid *string `json:"recording_sid,omitempty"`
	// The unique string that that we created to identify the Transcription resource.
	Sid    *string `json:"sid,omitempty"`
	Status *string `json:"status,omitempty"`
	// The text content of the transcription.
	TranscriptionText *string `json:"transcription_text,omitempty"`
	// The transcription type. Can only be: `fast`.
	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

func (*ApiV2010Transcription) UnmarshalJSON ¶ added in v0.25.0

func (response *ApiV2010Transcription) UnmarshalJSON(bytes []byte) (err error)

type ApiV2010UsageRecord ¶ added in v0.14.0

type ApiV2010UsageRecord struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that 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, formatted as YYYY-MM-DDTHH:MM:SS+00:00. All timestamps are in GMT
	AsOf     *string `json:"as_of,omitempty"`
	Category *string `json:"category,omitempty"`
	// The number of usage events, such as the number of calls.
	Count *string `json:"count,omitempty"`
	// The units in which `count` is measured, such as `calls` for calls or `messages` for SMS.
	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. The date is specified in GMT and formatted as `YYYY-MM-DD`.
	EndDate *string `json:"end_date,omitempty"`
	// The total price of the usage in the currency specified in `price_unit` and associated with the account.
	Price *float32 `json:"price,omitempty"`
	// The currency in which `price` is measured, in [ISO 4127](https://www.iso.org/iso/home/standards/currency_codes.htm) format, such as `usd`, `eur`, and `jpy`.
	PriceUnit *string `json:"price_unit,omitempty"`
	// The first date for which usage is included in this UsageRecord. The date is specified in GMT and formatted as `YYYY-MM-DD`.
	StartDate *string `json:"start_date,omitempty"`
	// A list of related resources identified by their URIs. For more information, see [List Subresources](https://www.twilio.com/docs/usage/api/usage-record#list-subresources).
	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 used to bill usage and measured in units described in `usage_unit`.
	Usage *string `json:"usage,omitempty"`
	// The units in which `usage` is measured, such as `minutes` for calls or `messages` for SMS.
	UsageUnit *string `json:"usage_unit,omitempty"`
}

ApiV2010UsageRecord struct for ApiV2010UsageRecord

func (*ApiV2010UsageRecord) UnmarshalJSON ¶ added in v0.25.0

func (response *ApiV2010UsageRecord) UnmarshalJSON(bytes []byte) (err error)

type ApiV2010UsageRecordAllTime ¶ added in v0.14.0

type ApiV2010UsageRecordAllTime struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that 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, formatted as YYYY-MM-DDTHH:MM:SS+00:00. All timestamps are in GMT
	AsOf     *string `json:"as_of,omitempty"`
	Category *string `json:"category,omitempty"`
	// The number of usage events, such as the number of calls.
	Count *string `json:"count,omitempty"`
	// The units in which `count` is measured, such as `calls` for calls or `messages` for SMS.
	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. The date is specified in GMT and formatted as `YYYY-MM-DD`.
	EndDate *string `json:"end_date,omitempty"`
	// The total price of the usage in the currency specified in `price_unit` and associated with the account.
	Price *float32 `json:"price,omitempty"`
	// The currency in which `price` is measured, in [ISO 4127](https://www.iso.org/iso/home/standards/currency_codes.htm) format, such as `usd`, `eur`, and `jpy`.
	PriceUnit *string `json:"price_unit,omitempty"`
	// The first date for which usage is included in this UsageRecord. The date is specified in GMT and formatted as `YYYY-MM-DD`.
	StartDate *string `json:"start_date,omitempty"`
	// A list of related resources identified by their URIs. For more information, see [List Subresources](https://www.twilio.com/docs/usage/api/usage-record#list-subresources).
	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 used to bill usage and measured in units described in `usage_unit`.
	Usage *string `json:"usage,omitempty"`
	// The units in which `usage` is measured, such as `minutes` for calls or `messages` for SMS.
	UsageUnit *string `json:"usage_unit,omitempty"`
}

ApiV2010UsageRecordAllTime struct for ApiV2010UsageRecordAllTime

func (*ApiV2010UsageRecordAllTime) UnmarshalJSON ¶ added in v0.25.0

func (response *ApiV2010UsageRecordAllTime) UnmarshalJSON(bytes []byte) (err error)

type ApiV2010UsageRecordDaily ¶ added in v0.14.0

type ApiV2010UsageRecordDaily struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that 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, formatted as YYYY-MM-DDTHH:MM:SS+00:00. All timestamps are in GMT
	AsOf     *string `json:"as_of,omitempty"`
	Category *string `json:"category,omitempty"`
	// The number of usage events, such as the number of calls.
	Count *string `json:"count,omitempty"`
	// The units in which `count` is measured, such as `calls` for calls or `messages` for SMS.
	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. The date is specified in GMT and formatted as `YYYY-MM-DD`.
	EndDate *string `json:"end_date,omitempty"`
	// The total price of the usage in the currency specified in `price_unit` and associated with the account.
	Price *float32 `json:"price,omitempty"`
	// The currency in which `price` is measured, in [ISO 4127](https://www.iso.org/iso/home/standards/currency_codes.htm) format, such as `usd`, `eur`, and `jpy`.
	PriceUnit *string `json:"price_unit,omitempty"`
	// The first date for which usage is included in this UsageRecord. The date is specified in GMT and formatted as `YYYY-MM-DD`.
	StartDate *string `json:"start_date,omitempty"`
	// A list of related resources identified by their URIs. For more information, see [List Subresources](https://www.twilio.com/docs/usage/api/usage-record#list-subresources).
	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 used to bill usage and measured in units described in `usage_unit`.
	Usage *string `json:"usage,omitempty"`
	// The units in which `usage` is measured, such as `minutes` for calls or `messages` for SMS.
	UsageUnit *string `json:"usage_unit,omitempty"`
}

ApiV2010UsageRecordDaily struct for ApiV2010UsageRecordDaily

func (*ApiV2010UsageRecordDaily) UnmarshalJSON ¶ added in v0.25.0

func (response *ApiV2010UsageRecordDaily) UnmarshalJSON(bytes []byte) (err error)

type ApiV2010UsageRecordLastMonth ¶ added in v0.14.0

type ApiV2010UsageRecordLastMonth struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that 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, formatted as YYYY-MM-DDTHH:MM:SS+00:00. All timestamps are in GMT
	AsOf     *string `json:"as_of,omitempty"`
	Category *string `json:"category,omitempty"`
	// The number of usage events, such as the number of calls.
	Count *string `json:"count,omitempty"`
	// The units in which `count` is measured, such as `calls` for calls or `messages` for SMS.
	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. The date is specified in GMT and formatted as `YYYY-MM-DD`.
	EndDate *string `json:"end_date,omitempty"`
	// The total price of the usage in the currency specified in `price_unit` and associated with the account.
	Price *float32 `json:"price,omitempty"`
	// The currency in which `price` is measured, in [ISO 4127](https://www.iso.org/iso/home/standards/currency_codes.htm) format, such as `usd`, `eur`, and `jpy`.
	PriceUnit *string `json:"price_unit,omitempty"`
	// The first date for which usage is included in this UsageRecord. The date is specified in GMT and formatted as `YYYY-MM-DD`.
	StartDate *string `json:"start_date,omitempty"`
	// A list of related resources identified by their URIs. For more information, see [List Subresources](https://www.twilio.com/docs/usage/api/usage-record#list-subresources).
	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 used to bill usage and measured in units described in `usage_unit`.
	Usage *string `json:"usage,omitempty"`
	// The units in which `usage` is measured, such as `minutes` for calls or `messages` for SMS.
	UsageUnit *string `json:"usage_unit,omitempty"`
}

ApiV2010UsageRecordLastMonth struct for ApiV2010UsageRecordLastMonth

func (*ApiV2010UsageRecordLastMonth) UnmarshalJSON ¶ added in v0.25.0

func (response *ApiV2010UsageRecordLastMonth) UnmarshalJSON(bytes []byte) (err error)

type ApiV2010UsageRecordMonthly ¶ added in v0.14.0

type ApiV2010UsageRecordMonthly struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that 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, formatted as YYYY-MM-DDTHH:MM:SS+00:00. All timestamps are in GMT
	AsOf     *string `json:"as_of,omitempty"`
	Category *string `json:"category,omitempty"`
	// The number of usage events, such as the number of calls.
	Count *string `json:"count,omitempty"`
	// The units in which `count` is measured, such as `calls` for calls or `messages` for SMS.
	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. The date is specified in GMT and formatted as `YYYY-MM-DD`.
	EndDate *string `json:"end_date,omitempty"`
	// The total price of the usage in the currency specified in `price_unit` and associated with the account.
	Price *float32 `json:"price,omitempty"`
	// The currency in which `price` is measured, in [ISO 4127](https://www.iso.org/iso/home/standards/currency_codes.htm) format, such as `usd`, `eur`, and `jpy`.
	PriceUnit *string `json:"price_unit,omitempty"`
	// The first date for which usage is included in this UsageRecord. The date is specified in GMT and formatted as `YYYY-MM-DD`.
	StartDate *string `json:"start_date,omitempty"`
	// A list of related resources identified by their URIs. For more information, see [List Subresources](https://www.twilio.com/docs/usage/api/usage-record#list-subresources).
	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 used to bill usage and measured in units described in `usage_unit`.
	Usage *string `json:"usage,omitempty"`
	// The units in which `usage` is measured, such as `minutes` for calls or `messages` for SMS.
	UsageUnit *string `json:"usage_unit,omitempty"`
}

ApiV2010UsageRecordMonthly struct for ApiV2010UsageRecordMonthly

func (*ApiV2010UsageRecordMonthly) UnmarshalJSON ¶ added in v0.25.0

func (response *ApiV2010UsageRecordMonthly) UnmarshalJSON(bytes []byte) (err error)

type ApiV2010UsageRecordThisMonth ¶ added in v0.14.0

type ApiV2010UsageRecordThisMonth struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that 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, formatted as YYYY-MM-DDTHH:MM:SS+00:00. All timestamps are in GMT
	AsOf     *string `json:"as_of,omitempty"`
	Category *string `json:"category,omitempty"`
	// The number of usage events, such as the number of calls.
	Count *string `json:"count,omitempty"`
	// The units in which `count` is measured, such as `calls` for calls or `messages` for SMS.
	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. The date is specified in GMT and formatted as `YYYY-MM-DD`.
	EndDate *string `json:"end_date,omitempty"`
	// The total price of the usage in the currency specified in `price_unit` and associated with the account.
	Price *float32 `json:"price,omitempty"`
	// The currency in which `price` is measured, in [ISO 4127](https://www.iso.org/iso/home/standards/currency_codes.htm) format, such as `usd`, `eur`, and `jpy`.
	PriceUnit *string `json:"price_unit,omitempty"`
	// The first date for which usage is included in this UsageRecord. The date is specified in GMT and formatted as `YYYY-MM-DD`.
	StartDate *string `json:"start_date,omitempty"`
	// A list of related resources identified by their URIs. For more information, see [List Subresources](https://www.twilio.com/docs/usage/api/usage-record#list-subresources).
	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 used to bill usage and measured in units described in `usage_unit`.
	Usage *string `json:"usage,omitempty"`
	// The units in which `usage` is measured, such as `minutes` for calls or `messages` for SMS.
	UsageUnit *string `json:"usage_unit,omitempty"`
}

ApiV2010UsageRecordThisMonth struct for ApiV2010UsageRecordThisMonth

func (*ApiV2010UsageRecordThisMonth) UnmarshalJSON ¶ added in v0.25.0

func (response *ApiV2010UsageRecordThisMonth) UnmarshalJSON(bytes []byte) (err error)

type ApiV2010UsageRecordToday ¶ added in v0.14.0

type ApiV2010UsageRecordToday struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that 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, formatted as YYYY-MM-DDTHH:MM:SS+00:00. All timestamps are in GMT
	AsOf     *string `json:"as_of,omitempty"`
	Category *string `json:"category,omitempty"`
	// The number of usage events, such as the number of calls.
	Count *string `json:"count,omitempty"`
	// The units in which `count` is measured, such as `calls` for calls or `messages` for SMS.
	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. The date is specified in GMT and formatted as `YYYY-MM-DD`.
	EndDate *string `json:"end_date,omitempty"`
	// The total price of the usage in the currency specified in `price_unit` and associated with the account.
	Price *float32 `json:"price,omitempty"`
	// The currency in which `price` is measured, in [ISO 4127](https://www.iso.org/iso/home/standards/currency_codes.htm) format, such as `usd`, `eur`, and `jpy`.
	PriceUnit *string `json:"price_unit,omitempty"`
	// The first date for which usage is included in this UsageRecord. The date is specified in GMT and formatted as `YYYY-MM-DD`.
	StartDate *string `json:"start_date,omitempty"`
	// A list of related resources identified by their URIs. For more information, see [List Subresources](https://www.twilio.com/docs/usage/api/usage-record#list-subresources).
	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 used to bill usage and measured in units described in `usage_unit`.
	Usage *string `json:"usage,omitempty"`
	// The units in which `usage` is measured, such as `minutes` for calls or `messages` for SMS.
	UsageUnit *string `json:"usage_unit,omitempty"`
}

ApiV2010UsageRecordToday struct for ApiV2010UsageRecordToday

func (*ApiV2010UsageRecordToday) UnmarshalJSON ¶ added in v0.25.0

func (response *ApiV2010UsageRecordToday) UnmarshalJSON(bytes []byte) (err error)

type ApiV2010UsageRecordYearly ¶ added in v0.14.0

type ApiV2010UsageRecordYearly struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that 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, formatted as YYYY-MM-DDTHH:MM:SS+00:00. All timestamps are in GMT
	AsOf     *string `json:"as_of,omitempty"`
	Category *string `json:"category,omitempty"`
	// The number of usage events, such as the number of calls.
	Count *string `json:"count,omitempty"`
	// The units in which `count` is measured, such as `calls` for calls or `messages` for SMS.
	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. The date is specified in GMT and formatted as `YYYY-MM-DD`.
	EndDate *string `json:"end_date,omitempty"`
	// The total price of the usage in the currency specified in `price_unit` and associated with the account.
	Price *float32 `json:"price,omitempty"`
	// The currency in which `price` is measured, in [ISO 4127](https://www.iso.org/iso/home/standards/currency_codes.htm) format, such as `usd`, `eur`, and `jpy`.
	PriceUnit *string `json:"price_unit,omitempty"`
	// The first date for which usage is included in this UsageRecord. The date is specified in GMT and formatted as `YYYY-MM-DD`.
	StartDate *string `json:"start_date,omitempty"`
	// A list of related resources identified by their URIs. For more information, see [List Subresources](https://www.twilio.com/docs/usage/api/usage-record#list-subresources).
	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 used to bill usage and measured in units described in `usage_unit`.
	Usage *string `json:"usage,omitempty"`
	// The units in which `usage` is measured, such as `minutes` for calls or `messages` for SMS.
	UsageUnit *string `json:"usage_unit,omitempty"`
}

ApiV2010UsageRecordYearly struct for ApiV2010UsageRecordYearly

func (*ApiV2010UsageRecordYearly) UnmarshalJSON ¶ added in v0.25.0

func (response *ApiV2010UsageRecordYearly) UnmarshalJSON(bytes []byte) (err error)

type ApiV2010UsageRecordYesterday ¶ added in v0.14.0

type ApiV2010UsageRecordYesterday struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that 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, formatted as YYYY-MM-DDTHH:MM:SS+00:00. All timestamps are in GMT
	AsOf     *string `json:"as_of,omitempty"`
	Category *string `json:"category,omitempty"`
	// The number of usage events, such as the number of calls.
	Count *string `json:"count,omitempty"`
	// The units in which `count` is measured, such as `calls` for calls or `messages` for SMS.
	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. The date is specified in GMT and formatted as `YYYY-MM-DD`.
	EndDate *string `json:"end_date,omitempty"`
	// The total price of the usage in the currency specified in `price_unit` and associated with the account.
	Price *float32 `json:"price,omitempty"`
	// The currency in which `price` is measured, in [ISO 4127](https://www.iso.org/iso/home/standards/currency_codes.htm) format, such as `usd`, `eur`, and `jpy`.
	PriceUnit *string `json:"price_unit,omitempty"`
	// The first date for which usage is included in this UsageRecord. The date is specified in GMT and formatted as `YYYY-MM-DD`.
	StartDate *string `json:"start_date,omitempty"`
	// A list of related resources identified by their URIs. For more information, see [List Subresources](https://www.twilio.com/docs/usage/api/usage-record#list-subresources).
	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 used to bill usage and measured in units described in `usage_unit`.
	Usage *string `json:"usage,omitempty"`
	// The units in which `usage` is measured, such as `minutes` for calls or `messages` for SMS.
	UsageUnit *string `json:"usage_unit,omitempty"`
}

ApiV2010UsageRecordYesterday struct for ApiV2010UsageRecordYesterday

func (*ApiV2010UsageRecordYesterday) UnmarshalJSON ¶ added in v0.25.0

func (response *ApiV2010UsageRecordYesterday) UnmarshalJSON(bytes []byte) (err error)

type ApiV2010UsageTrigger ¶ added in v0.14.0

type ApiV2010UsageTrigger struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that the 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`. Can be: `GET` or `POST`.
	CallbackMethod *string `json:"callback_method,omitempty"`
	// The URL we call using the `callback_method` 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 date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date and time in GMT that the trigger was last fired specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateFired *string `json:"date_fired,omitempty"`
	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// The string that you assigned to describe the trigger.
	FriendlyName *string `json:"friendly_name,omitempty"`
	Recurring    *string `json:"recurring,omitempty"`
	// The unique string that that we created to identify the UsageTrigger resource.
	Sid       *string `json:"sid,omitempty"`
	TriggerBy *string `json:"trigger_by,omitempty"`
	// The value at which the trigger will fire.  Must be a positive, numeric value.
	TriggerValue *string `json:"trigger_value,omitempty"`
	// The URI of the resource, relative to `https://api.twilio.com`.
	Uri           *string `json:"uri,omitempty"`
	UsageCategory *string `json:"usage_category,omitempty"`
	// The URI of the [UsageRecord](https://www.twilio.com/docs/usage/api/usage-record) resource this trigger watches, relative to `https://api.twilio.com`.
	UsageRecordUri *string `json:"usage_record_uri,omitempty"`
}

ApiV2010UsageTrigger struct for ApiV2010UsageTrigger

type ApiV2010UserDefinedMessage ¶ added in v1.1.1

type ApiV2010UserDefinedMessage struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created User Defined Message.
	AccountSid *string `json:"account_sid,omitempty"`
	// The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the User Defined Message is associated with.
	CallSid *string `json:"call_sid,omitempty"`
	// The SID that uniquely identifies this User Defined Message.
	Sid *string `json:"sid,omitempty"`
	// The date that this User Defined Message was created, given in RFC 2822 format.
	DateCreated *string `json:"date_created,omitempty"`
}

ApiV2010UserDefinedMessage struct for ApiV2010UserDefinedMessage

type ApiV2010UserDefinedMessageSubscription ¶ added in v1.1.1

type ApiV2010UserDefinedMessageSubscription struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that subscribed to the User Defined Messages.
	AccountSid *string `json:"account_sid,omitempty"`
	// The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the User Defined Message Subscription is associated with. This refers to the Call SID that is producing the User Defined Messages.
	CallSid *string `json:"call_sid,omitempty"`
	// The SID that uniquely identifies this User Defined Message Subscription.
	Sid *string `json:"sid,omitempty"`
	// The date that this User Defined Message Subscription was created, given in RFC 2822 format.
	DateCreated *string `json:"date_created,omitempty"`
	// The URI of the User Defined Message Subscription Resource, relative to `https://api.twilio.com`.
	Uri *string `json:"uri,omitempty"`
}

ApiV2010UserDefinedMessageSubscription struct for ApiV2010UserDefinedMessageSubscription

type ApiV2010ValidationRequest ¶ added in v0.14.0

type ApiV2010ValidationRequest struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for the Caller ID.
	AccountSid *string `json:"account_sid,omitempty"`
	// The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Caller ID 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](https://www.twilio.com/docs/glossary/what-e164) format, which consists of a + followed by the country code and subscriber number.
	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"`
	// The name to associate with the new address.
	CustomerName *string `json:"CustomerName,omitempty"`
	// The number and street address of the new address.
	Street *string `json:"Street,omitempty"`
	// The city of the new address.
	City *string `json:"City,omitempty"`
	// The state or region of the new address.
	Region *string `json:"Region,omitempty"`
	// The postal code of the new address.
	PostalCode *string `json:"PostalCode,omitempty"`
	// The ISO country code of the new address.
	IsoCountry *string `json:"IsoCountry,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"`
	// Whether to enable emergency calling on the new address. Can be: `true` or `false`.
	EmergencyEnabled *bool `json:"EmergencyEnabled,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 additional number and street address of the address.
	StreetSecondary *string `json:"StreetSecondary,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

func (*CreateAddressParams) SetStreetSecondary ¶ added in v1.3.0

func (params *CreateAddressParams) SetStreetSecondary(StreetSecondary 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"`
	// The URL we should call when the phone number assigned to this application receives a call.
	VoiceUrl *string `json:"VoiceUrl,omitempty"`
	// The HTTP method we should use to call `voice_url`. Can be: `GET` or `POST`.
	VoiceMethod *string `json:"VoiceMethod,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_fallback_url`. Can be: `GET` or `POST`.
	VoiceFallbackMethod *string `json:"VoiceFallbackMethod,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 URL we should call when the phone number receives an incoming SMS message.
	SmsUrl *string `json:"SmsUrl,omitempty"`
	// The HTTP method we should use to call `sms_url`. Can be: `GET` or `POST`.
	SmsMethod *string `json:"SmsMethod,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_fallback_url`. Can be: `GET` or `POST`.
	SmsFallbackMethod *string `json:"SmsFallbackMethod,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 using a POST method to send message status information to your application.
	MessageStatusCallback *string `json:"MessageStatusCallback,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"`
	// Whether to allow other Twilio accounts to dial this applicaton using Dial verb. Can be: `true` or `false`.
	PublicApplicationConnectEnabled *bool `json:"PublicApplicationConnectEnabled,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) SetPublicApplicationConnectEnabled ¶ added in v1.3.2

func (params *CreateApplicationParams) SetPublicApplicationConnectEnabled(PublicApplicationConnectEnabled bool) *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 after this date. Format is `YYYY-MM-DD` and specified in UTC.
	StartDate *string `json:"StartDate,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"`
	// 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 phone number, SIP address, or client identifier to call.
	To *string `json:"To,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"`
	// 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"`
	// 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 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 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"`
	// 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 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"`
	// 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 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 username used to authenticate the caller making a SIP call.
	SipAuthUsername *string `json:"SipAuthUsername,omitempty"`
	// The password required to authenticate the user account specified in `sip_auth_username`.
	SipAuthPassword *string `json:"SipAuthPassword,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 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 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"`
	// 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"`
	// 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 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 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 of initial silence after which an `unknown` AnsweredBy result will be returned. Possible Values: 2000-10000. Default: 5000.
	MachineDetectionSilenceTimeout *int `json:"MachineDetectionSilenceTimeout,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. Pass an incoming call's call_token value to a forwarded call via the call_token parameter when creating a new call. A forwarded call should bear the same CallerID of the original incoming call.
	CallToken *string `json:"CallToken,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"`
	// The maximum duration of the call in seconds. Constraints depend on account and configuration.
	TimeLimit *int `json:"TimeLimit,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"`
	// 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. Max 4000 characters.
	Twiml *string `json:"Twiml,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"`
}

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 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 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 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"`
	// 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"`
	// 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 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"`
}

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 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 API version to use for incoming calls made to the new phone number. The default is `2010-04-01`.
	ApiVersion *string `json:"ApiVersion,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 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 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 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"`
	// 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 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"`
	//
	EmergencyStatus *string `json:"EmergencyStatus,omitempty"`
	// The SID of the emergency address configuration to use for emergency calling from the new phone number.
	EmergencyAddressSid *string `json:"EmergencyAddressSid,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"`
	//
	VoiceReceiveMode *string `json:"VoiceReceiveMode,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"`
}

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 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 API version to use for incoming calls made to the new phone number. The default is `2010-04-01`.
	ApiVersion *string `json:"ApiVersion,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 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 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 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"`
	// 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 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"`
	//
	EmergencyStatus *string `json:"EmergencyStatus,omitempty"`
	// The SID of the emergency address configuration to use for emergency calling from the new phone number.
	EmergencyAddressSid *string `json:"EmergencyAddressSid,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"`
	//
	VoiceReceiveMode *string `json:"VoiceReceiveMode,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"`
}

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 API version to use for incoming calls made to the new phone number. The default is `2010-04-01`.
	ApiVersion *string `json:"ApiVersion,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 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 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 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"`
	//
	EmergencyStatus *string `json:"EmergencyStatus,omitempty"`
	// The SID of the emergency address configuration to use for emergency calling from the new phone number.
	EmergencyAddressSid *string `json:"EmergencyAddressSid,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 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 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"`
	//
	VoiceReceiveMode *string `json:"VoiceReceiveMode,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 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 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"`
}

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 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 API version to use for incoming calls made to the new phone number. The default is `2010-04-01`.
	ApiVersion *string `json:"ApiVersion,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 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 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 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"`
	// 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 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"`
	//
	EmergencyStatus *string `json:"EmergencyStatus,omitempty"`
	// The SID of the emergency address configuration to use for emergency calling from the new phone number.
	EmergencyAddressSid *string `json:"EmergencyAddressSid,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"`
	//
	VoiceReceiveMode *string `json:"VoiceReceiveMode,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"`
}

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"`
	//
	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"`
	// 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"`
	// 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 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"`
	// 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"`
	// 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"`
	// Total number of attempts made ( including this ) to send out the message regardless of the provider used
	Attempt *int `json:"Attempt,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"`
	// Reserved
	ForceDelivery *bool `json:"ForceDelivery,omitempty"`
	//
	ContentRetention *string `json:"ContentRetention,omitempty"`
	//
	AddressRetention *string `json:"AddressRetention,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"`
	// Rich actions for Channels Messages.
	PersistentAction *[]string `json:"PersistentAction,omitempty"`
	// Determines the usage of Click Tracking. Setting it to `true` will instruct Twilio to replace all links in the Message with a shortened version based on the associated Domain Sid and track clicks on them. If this parameter is not set on an API call, we will use the value set on the Messaging Service. If this parameter is not set and the value is not configured on the Messaging Service used this will default to `false`.
	ShortenUrls *bool `json:"ShortenUrls,omitempty"`
	//
	ScheduleType *string `json:"ScheduleType,omitempty"`
	// The time that Twilio will send the message. Must be in ISO 8601 format.
	SendAt *time.Time `json:"SendAt,omitempty"`
	// If set to True, Twilio will deliver the message as a single MMS message, regardless of the presence of media.
	SendAsMms *bool `json:"SendAsMms,omitempty"`
	// The SID of the Content object returned at Content API content create time (https://www.twilio.com/docs/content-api/create-and-send-your-first-content-api-template#create-a-template). If this parameter is not specified, then the Content API will not be utilized.
	ContentSid *string `json:"ContentSid,omitempty"`
	// Key-value pairs of variable names to substitution values, used alongside a content_sid. If not specified, Content API will default to the default variables defined at create time.
	ContentVariables *string `json:"ContentVariables,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 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"`
	// The text of the message you want to send. Can be up to 1,600 characters in length.
	Body *string `json:"Body,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"`
}

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) SetContentSid ¶ added in v1.1.1

func (params *CreateMessageParams) SetContentSid(ContentSid string) *CreateMessageParams

func (*CreateMessageParams) SetContentVariables ¶ added in v1.1.1

func (params *CreateMessageParams) SetContentVariables(ContentVariables 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) SetScheduleType ¶ added in v0.20.0

func (params *CreateMessageParams) SetScheduleType(ScheduleType string) *CreateMessageParams

func (*CreateMessageParams) SetSendAsMms ¶ added in v0.19.0

func (params *CreateMessageParams) SetSendAsMms(SendAsMms bool) *CreateMessageParams

func (*CreateMessageParams) SetSendAt ¶ added in v0.20.0

func (params *CreateMessageParams) SetSendAt(SendAt time.Time) *CreateMessageParams

func (*CreateMessageParams) SetShortenUrls ¶ added in v1.1.0

func (params *CreateMessageParams) SetShortenUrls(ShortenUrls 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"`
	// 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"`
	// 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 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` and `POST` and defaults to `POST`.
	StatusCallbackMethod *string `json:"StatusCallbackMethod,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"`
	// 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 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"`
	// 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"`
	// 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 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"`
	// 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"`
	// Whether to end the conference when the participant leaves. Can be: `true` or `false` and defaults to `false`.
	EndConferenceOnExit *bool `json:"EndConferenceOnExit,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"`
	// 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"`
	// 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"`
	// 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 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"`
	// 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"`
	// 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 HTTP method we should use to call `conference_status_callback`. Can be: `GET` or `POST` and defaults to `POST`.
	ConferenceStatusCallbackMethod *string `json:"ConferenceStatusCallbackMethod,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 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 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 SIP username used for authentication.
	SipAuthUsername *string `json:"SipAuthUsername,omitempty"`
	// The SIP password for authentication.
	SipAuthPassword *string `json:"SipAuthPassword,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 URL we should call using the `conference_recording_status_callback_method` when the conference recording is available.
	ConferenceRecordingStatusCallback *string `json:"ConferenceRecordingStatusCallback,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 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 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"`
	// 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"`
	// 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"`
	// 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"`
	// 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 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"`
	// 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 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 maximum duration of the call in seconds. Constraints depend on account and configuration.
	TimeLimit *int `json:"TimeLimit,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 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 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 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 of initial silence after which an `unknown` AnsweredBy result will be returned. Possible Values: 2000-10000. Default: 5000.
	MachineDetectionSilenceTimeout *int `json:"MachineDetectionSilenceTimeout,omitempty"`
	// The URL that we should call using the `amd_status_callback_method` to notify customer application whether the call was answered by human, machine or fax.
	AmdStatusCallback *string `json:"AmdStatusCallback,omitempty"`
	// The HTTP method we should use when calling the `amd_status_callback` URL. Can be: `GET` or `POST` and the default is `POST`.
	AmdStatusCallbackMethod *string `json:"AmdStatusCallbackMethod,omitempty"`
}

Optional parameters for the method 'CreateParticipant'

func (*CreateParticipantParams) SetAmdStatusCallback ¶ added in v1.0.0

func (params *CreateParticipantParams) SetAmdStatusCallback(AmdStatusCallback string) *CreateParticipantParams

func (*CreateParticipantParams) SetAmdStatusCallbackMethod ¶ added in v1.0.0

func (params *CreateParticipantParams) SetAmdStatusCallbackMethod(AmdStatusCallbackMethod string) *CreateParticipantParams

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) SetMachineDetection ¶ added in v1.0.0

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

func (*CreateParticipantParams) SetMachineDetectionSilenceTimeout ¶ added in v1.0.0

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

func (*CreateParticipantParams) SetMachineDetectionSpeechEndThreshold ¶ added in v1.0.0

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

func (*CreateParticipantParams) SetMachineDetectionSpeechThreshold ¶ added in v1.0.0

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

func (*CreateParticipantParams) SetMachineDetectionTimeout ¶ added in v1.0.0

func (params *CreateParticipantParams) SetMachineDetectionTimeout(MachineDetectionTimeout int) *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"`
	// 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"`
	// 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"`
	//
	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 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 object used to pass custom parameters to payment processors. (Required for 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 *interface{} `json:"Parameter,omitempty"`
	// This is the unique name corresponding to the Pay 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"`
	//
	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"`
	// 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"`
	//
	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 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 1000. 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 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"`
	// 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 '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 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"`
	// A descriptive string that you created to describe the resource. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The URL we should when the domain receives a call.
	VoiceUrl *string `json:"VoiceUrl,omitempty"`
	// The HTTP method we should use to call `voice_url`. Can be: `GET` or `POST`.
	VoiceMethod *string `json:"VoiceMethod,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_fallback_url`. Can be: `GET` or `POST`.
	VoiceFallbackMethod *string `json:"VoiceFallbackMethod,omitempty"`
	// The URL that we should call to pass status parameters (such as call ended) to your application.
	VoiceStatusCallbackUrl *string `json:"VoiceStatusCallbackUrl,omitempty"`
	// The HTTP method we should use to call `voice_status_callback_url`. Can be: `GET` or `POST`.
	VoiceStatusCallbackMethod *string `json:"VoiceStatusCallbackMethod,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"`
	// 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"`
	// 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"`
	// The SID of the BYOC Trunk(Bring Your Own Carrier) resource that the Sip Domain will be associated with.
	ByocTrunkSid *string `json:"ByocTrunkSid,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"`
}

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 255 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"`
	// A human readable descriptive text for this resource, up to 255 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"`
	// 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"`
}

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 CreateSiprecParams ¶ added in v0.16.0

type CreateSiprecParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Siprec resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The user-specified name of this Siprec, if one was given when the Siprec was created. This may be used to stop the Siprec.
	Name *string `json:"Name,omitempty"`
	// Unique name used when configuring the connector via Marketplace Add-on.
	ConnectorName *string `json:"ConnectorName,omitempty"`
	//
	Track *string `json:"Track,omitempty"`
	// Absolute URL of the status callback.
	StatusCallback *string `json:"StatusCallback,omitempty"`
	// The http method for the status_callback (one of GET, POST).
	StatusCallbackMethod *string `json:"StatusCallbackMethod,omitempty"`
	// Parameter name
	Parameter1Name *string `json:"Parameter1.Name,omitempty"`
	// Parameter value
	Parameter1Value *string `json:"Parameter1.Value,omitempty"`
	// Parameter name
	Parameter2Name *string `json:"Parameter2.Name,omitempty"`
	// Parameter value
	Parameter2Value *string `json:"Parameter2.Value,omitempty"`
	// Parameter name
	Parameter3Name *string `json:"Parameter3.Name,omitempty"`
	// Parameter value
	Parameter3Value *string `json:"Parameter3.Value,omitempty"`
	// Parameter name
	Parameter4Name *string `json:"Parameter4.Name,omitempty"`
	// Parameter value
	Parameter4Value *string `json:"Parameter4.Value,omitempty"`
	// Parameter name
	Parameter5Name *string `json:"Parameter5.Name,omitempty"`
	// Parameter value
	Parameter5Value *string `json:"Parameter5.Value,omitempty"`
	// Parameter name
	Parameter6Name *string `json:"Parameter6.Name,omitempty"`
	// Parameter value
	Parameter6Value *string `json:"Parameter6.Value,omitempty"`
	// Parameter name
	Parameter7Name *string `json:"Parameter7.Name,omitempty"`
	// Parameter value
	Parameter7Value *string `json:"Parameter7.Value,omitempty"`
	// Parameter name
	Parameter8Name *string `json:"Parameter8.Name,omitempty"`
	// Parameter value
	Parameter8Value *string `json:"Parameter8.Value,omitempty"`
	// Parameter name
	Parameter9Name *string `json:"Parameter9.Name,omitempty"`
	// Parameter value
	Parameter9Value *string `json:"Parameter9.Value,omitempty"`
	// Parameter name
	Parameter10Name *string `json:"Parameter10.Name,omitempty"`
	// Parameter value
	Parameter10Value *string `json:"Parameter10.Value,omitempty"`
	// Parameter name
	Parameter11Name *string `json:"Parameter11.Name,omitempty"`
	// Parameter value
	Parameter11Value *string `json:"Parameter11.Value,omitempty"`
	// Parameter name
	Parameter12Name *string `json:"Parameter12.Name,omitempty"`
	// Parameter value
	Parameter12Value *string `json:"Parameter12.Value,omitempty"`
	// Parameter name
	Parameter13Name *string `json:"Parameter13.Name,omitempty"`
	// Parameter value
	Parameter13Value *string `json:"Parameter13.Value,omitempty"`
	// Parameter name
	Parameter14Name *string `json:"Parameter14.Name,omitempty"`
	// Parameter value
	Parameter14Value *string `json:"Parameter14.Value,omitempty"`
	// Parameter name
	Parameter15Name *string `json:"Parameter15.Name,omitempty"`
	// Parameter value
	Parameter15Value *string `json:"Parameter15.Value,omitempty"`
	// Parameter name
	Parameter16Name *string `json:"Parameter16.Name,omitempty"`
	// Parameter value
	Parameter16Value *string `json:"Parameter16.Value,omitempty"`
	// Parameter name
	Parameter17Name *string `json:"Parameter17.Name,omitempty"`
	// Parameter value
	Parameter17Value *string `json:"Parameter17.Value,omitempty"`
	// Parameter name
	Parameter18Name *string `json:"Parameter18.Name,omitempty"`
	// Parameter value
	Parameter18Value *string `json:"Parameter18.Value,omitempty"`
	// Parameter name
	Parameter19Name *string `json:"Parameter19.Name,omitempty"`
	// Parameter value
	Parameter19Value *string `json:"Parameter19.Value,omitempty"`
	// Parameter name
	Parameter20Name *string `json:"Parameter20.Name,omitempty"`
	// Parameter value
	Parameter20Value *string `json:"Parameter20.Value,omitempty"`
	// Parameter name
	Parameter21Name *string `json:"Parameter21.Name,omitempty"`
	// Parameter value
	Parameter21Value *string `json:"Parameter21.Value,omitempty"`
	// Parameter name
	Parameter22Name *string `json:"Parameter22.Name,omitempty"`
	// Parameter value
	Parameter22Value *string `json:"Parameter22.Value,omitempty"`
	// Parameter name
	Parameter23Name *string `json:"Parameter23.Name,omitempty"`
	// Parameter value
	Parameter23Value *string `json:"Parameter23.Value,omitempty"`
	// Parameter name
	Parameter24Name *string `json:"Parameter24.Name,omitempty"`
	// Parameter value
	Parameter24Value *string `json:"Parameter24.Value,omitempty"`
	// Parameter name
	Parameter25Name *string `json:"Parameter25.Name,omitempty"`
	// Parameter value
	Parameter25Value *string `json:"Parameter25.Value,omitempty"`
	// Parameter name
	Parameter26Name *string `json:"Parameter26.Name,omitempty"`
	// Parameter value
	Parameter26Value *string `json:"Parameter26.Value,omitempty"`
	// Parameter name
	Parameter27Name *string `json:"Parameter27.Name,omitempty"`
	// Parameter value
	Parameter27Value *string `json:"Parameter27.Value,omitempty"`
	// Parameter name
	Parameter28Name *string `json:"Parameter28.Name,omitempty"`
	// Parameter value
	Parameter28Value *string `json:"Parameter28.Value,omitempty"`
	// Parameter name
	Parameter29Name *string `json:"Parameter29.Name,omitempty"`
	// Parameter value
	Parameter29Value *string `json:"Parameter29.Value,omitempty"`
	// Parameter name
	Parameter30Name *string `json:"Parameter30.Name,omitempty"`
	// Parameter value
	Parameter30Value *string `json:"Parameter30.Value,omitempty"`
	// Parameter name
	Parameter31Name *string `json:"Parameter31.Name,omitempty"`
	// Parameter value
	Parameter31Value *string `json:"Parameter31.Value,omitempty"`
	// Parameter name
	Parameter32Name *string `json:"Parameter32.Name,omitempty"`
	// Parameter value
	Parameter32Value *string `json:"Parameter32.Value,omitempty"`
	// Parameter name
	Parameter33Name *string `json:"Parameter33.Name,omitempty"`
	// Parameter value
	Parameter33Value *string `json:"Parameter33.Value,omitempty"`
	// Parameter name
	Parameter34Name *string `json:"Parameter34.Name,omitempty"`
	// Parameter value
	Parameter34Value *string `json:"Parameter34.Value,omitempty"`
	// Parameter name
	Parameter35Name *string `json:"Parameter35.Name,omitempty"`
	// Parameter value
	Parameter35Value *string `json:"Parameter35.Value,omitempty"`
	// Parameter name
	Parameter36Name *string `json:"Parameter36.Name,omitempty"`
	// Parameter value
	Parameter36Value *string `json:"Parameter36.Value,omitempty"`
	// Parameter name
	Parameter37Name *string `json:"Parameter37.Name,omitempty"`
	// Parameter value
	Parameter37Value *string `json:"Parameter37.Value,omitempty"`
	// Parameter name
	Parameter38Name *string `json:"Parameter38.Name,omitempty"`
	// Parameter value
	Parameter38Value *string `json:"Parameter38.Value,omitempty"`
	// Parameter name
	Parameter39Name *string `json:"Parameter39.Name,omitempty"`
	// Parameter value
	Parameter39Value *string `json:"Parameter39.Value,omitempty"`
	// Parameter name
	Parameter40Name *string `json:"Parameter40.Name,omitempty"`
	// Parameter value
	Parameter40Value *string `json:"Parameter40.Value,omitempty"`
	// Parameter name
	Parameter41Name *string `json:"Parameter41.Name,omitempty"`
	// Parameter value
	Parameter41Value *string `json:"Parameter41.Value,omitempty"`
	// Parameter name
	Parameter42Name *string `json:"Parameter42.Name,omitempty"`
	// Parameter value
	Parameter42Value *string `json:"Parameter42.Value,omitempty"`
	// Parameter name
	Parameter43Name *string `json:"Parameter43.Name,omitempty"`
	// Parameter value
	Parameter43Value *string `json:"Parameter43.Value,omitempty"`
	// Parameter name
	Parameter44Name *string `json:"Parameter44.Name,omitempty"`
	// Parameter value
	Parameter44Value *string `json:"Parameter44.Value,omitempty"`
	// Parameter name
	Parameter45Name *string `json:"Parameter45.Name,omitempty"`
	// Parameter value
	Parameter45Value *string `json:"Parameter45.Value,omitempty"`
	// Parameter name
	Parameter46Name *string `json:"Parameter46.Name,omitempty"`
	// Parameter value
	Parameter46Value *string `json:"Parameter46.Value,omitempty"`
	// Parameter name
	Parameter47Name *string `json:"Parameter47.Name,omitempty"`
	// Parameter value
	Parameter47Value *string `json:"Parameter47.Value,omitempty"`
	// Parameter name
	Parameter48Name *string `json:"Parameter48.Name,omitempty"`
	// Parameter value
	Parameter48Value *string `json:"Parameter48.Value,omitempty"`
	// Parameter name
	Parameter49Name *string `json:"Parameter49.Name,omitempty"`
	// Parameter value
	Parameter49Value *string `json:"Parameter49.Value,omitempty"`
	// Parameter name
	Parameter50Name *string `json:"Parameter50.Name,omitempty"`
	// Parameter value
	Parameter50Value *string `json:"Parameter50.Value,omitempty"`
	// Parameter name
	Parameter51Name *string `json:"Parameter51.Name,omitempty"`
	// Parameter value
	Parameter51Value *string `json:"Parameter51.Value,omitempty"`
	// Parameter name
	Parameter52Name *string `json:"Parameter52.Name,omitempty"`
	// Parameter value
	Parameter52Value *string `json:"Parameter52.Value,omitempty"`
	// Parameter name
	Parameter53Name *string `json:"Parameter53.Name,omitempty"`
	// Parameter value
	Parameter53Value *string `json:"Parameter53.Value,omitempty"`
	// Parameter name
	Parameter54Name *string `json:"Parameter54.Name,omitempty"`
	// Parameter value
	Parameter54Value *string `json:"Parameter54.Value,omitempty"`
	// Parameter name
	Parameter55Name *string `json:"Parameter55.Name,omitempty"`
	// Parameter value
	Parameter55Value *string `json:"Parameter55.Value,omitempty"`
	// Parameter name
	Parameter56Name *string `json:"Parameter56.Name,omitempty"`
	// Parameter value
	Parameter56Value *string `json:"Parameter56.Value,omitempty"`
	// Parameter name
	Parameter57Name *string `json:"Parameter57.Name,omitempty"`
	// Parameter value
	Parameter57Value *string `json:"Parameter57.Value,omitempty"`
	// Parameter name
	Parameter58Name *string `json:"Parameter58.Name,omitempty"`
	// Parameter value
	Parameter58Value *string `json:"Parameter58.Value,omitempty"`
	// Parameter name
	Parameter59Name *string `json:"Parameter59.Name,omitempty"`
	// Parameter value
	Parameter59Value *string `json:"Parameter59.Value,omitempty"`
	// Parameter name
	Parameter60Name *string `json:"Parameter60.Name,omitempty"`
	// Parameter value
	Parameter60Value *string `json:"Parameter60.Value,omitempty"`
	// Parameter name
	Parameter61Name *string `json:"Parameter61.Name,omitempty"`
	// Parameter value
	Parameter61Value *string `json:"Parameter61.Value,omitempty"`
	// Parameter name
	Parameter62Name *string `json:"Parameter62.Name,omitempty"`
	// Parameter value
	Parameter62Value *string `json:"Parameter62.Value,omitempty"`
	// Parameter name
	Parameter63Name *string `json:"Parameter63.Name,omitempty"`
	// Parameter value
	Parameter63Value *string `json:"Parameter63.Value,omitempty"`
	// Parameter name
	Parameter64Name *string `json:"Parameter64.Name,omitempty"`
	// Parameter value
	Parameter64Value *string `json:"Parameter64.Value,omitempty"`
	// Parameter name
	Parameter65Name *string `json:"Parameter65.Name,omitempty"`
	// Parameter value
	Parameter65Value *string `json:"Parameter65.Value,omitempty"`
	// Parameter name
	Parameter66Name *string `json:"Parameter66.Name,omitempty"`
	// Parameter value
	Parameter66Value *string `json:"Parameter66.Value,omitempty"`
	// Parameter name
	Parameter67Name *string `json:"Parameter67.Name,omitempty"`
	// Parameter value
	Parameter67Value *string `json:"Parameter67.Value,omitempty"`
	// Parameter name
	Parameter68Name *string `json:"Parameter68.Name,omitempty"`
	// Parameter value
	Parameter68Value *string `json:"Parameter68.Value,omitempty"`
	// Parameter name
	Parameter69Name *string `json:"Parameter69.Name,omitempty"`
	// Parameter value
	Parameter69Value *string `json:"Parameter69.Value,omitempty"`
	// Parameter name
	Parameter70Name *string `json:"Parameter70.Name,omitempty"`
	// Parameter value
	Parameter70Value *string `json:"Parameter70.Value,omitempty"`
	// Parameter name
	Parameter71Name *string `json:"Parameter71.Name,omitempty"`
	// Parameter value
	Parameter71Value *string `json:"Parameter71.Value,omitempty"`
	// Parameter name
	Parameter72Name *string `json:"Parameter72.Name,omitempty"`
	// Parameter value
	Parameter72Value *string `json:"Parameter72.Value,omitempty"`
	// Parameter name
	Parameter73Name *string `json:"Parameter73.Name,omitempty"`
	// Parameter value
	Parameter73Value *string `json:"Parameter73.Value,omitempty"`
	// Parameter name
	Parameter74Name *string `json:"Parameter74.Name,omitempty"`
	// Parameter value
	Parameter74Value *string `json:"Parameter74.Value,omitempty"`
	// Parameter name
	Parameter75Name *string `json:"Parameter75.Name,omitempty"`
	// Parameter value
	Parameter75Value *string `json:"Parameter75.Value,omitempty"`
	// Parameter name
	Parameter76Name *string `json:"Parameter76.Name,omitempty"`
	// Parameter value
	Parameter76Value *string `json:"Parameter76.Value,omitempty"`
	// Parameter name
	Parameter77Name *string `json:"Parameter77.Name,omitempty"`
	// Parameter value
	Parameter77Value *string `json:"Parameter77.Value,omitempty"`
	// Parameter name
	Parameter78Name *string `json:"Parameter78.Name,omitempty"`
	// Parameter value
	Parameter78Value *string `json:"Parameter78.Value,omitempty"`
	// Parameter name
	Parameter79Name *string `json:"Parameter79.Name,omitempty"`
	// Parameter value
	Parameter79Value *string `json:"Parameter79.Value,omitempty"`
	// Parameter name
	Parameter80Name *string `json:"Parameter80.Name,omitempty"`
	// Parameter value
	Parameter80Value *string `json:"Parameter80.Value,omitempty"`
	// Parameter name
	Parameter81Name *string `json:"Parameter81.Name,omitempty"`
	// Parameter value
	Parameter81Value *string `json:"Parameter81.Value,omitempty"`
	// Parameter name
	Parameter82Name *string `json:"Parameter82.Name,omitempty"`
	// Parameter value
	Parameter82Value *string `json:"Parameter82.Value,omitempty"`
	// Parameter name
	Parameter83Name *string `json:"Parameter83.Name,omitempty"`
	// Parameter value
	Parameter83Value *string `json:"Parameter83.Value,omitempty"`
	// Parameter name
	Parameter84Name *string `json:"Parameter84.Name,omitempty"`
	// Parameter value
	Parameter84Value *string `json:"Parameter84.Value,omitempty"`
	// Parameter name
	Parameter85Name *string `json:"Parameter85.Name,omitempty"`
	// Parameter value
	Parameter85Value *string `json:"Parameter85.Value,omitempty"`
	// Parameter name
	Parameter86Name *string `json:"Parameter86.Name,omitempty"`
	// Parameter value
	Parameter86Value *string `json:"Parameter86.Value,omitempty"`
	// Parameter name
	Parameter87Name *string `json:"Parameter87.Name,omitempty"`
	// Parameter value
	Parameter87Value *string `json:"Parameter87.Value,omitempty"`
	// Parameter name
	Parameter88Name *string `json:"Parameter88.Name,omitempty"`
	// Parameter value
	Parameter88Value *string `json:"Parameter88.Value,omitempty"`
	// Parameter name
	Parameter89Name *string `json:"Parameter89.Name,omitempty"`
	// Parameter value
	Parameter89Value *string `json:"Parameter89.Value,omitempty"`
	// Parameter name
	Parameter90Name *string `json:"Parameter90.Name,omitempty"`
	// Parameter value
	Parameter90Value *string `json:"Parameter90.Value,omitempty"`
	// Parameter name
	Parameter91Name *string `json:"Parameter91.Name,omitempty"`
	// Parameter value
	Parameter91Value *string `json:"Parameter91.Value,omitempty"`
	// Parameter name
	Parameter92Name *string `json:"Parameter92.Name,omitempty"`
	// Parameter value
	Parameter92Value *string `json:"Parameter92.Value,omitempty"`
	// Parameter name
	Parameter93Name *string `json:"Parameter93.Name,omitempty"`
	// Parameter value
	Parameter93Value *string `json:"Parameter93.Value,omitempty"`
	// Parameter name
	Parameter94Name *string `json:"Parameter94.Name,omitempty"`
	// Parameter value
	Parameter94Value *string `json:"Parameter94.Value,omitempty"`
	// Parameter name
	Parameter95Name *string `json:"Parameter95.Name,omitempty"`
	// Parameter value
	Parameter95Value *string `json:"Parameter95.Value,omitempty"`
	// Parameter name
	Parameter96Name *string `json:"Parameter96.Name,omitempty"`
	// Parameter value
	Parameter96Value *string `json:"Parameter96.Value,omitempty"`
	// Parameter name
	Parameter97Name *string `json:"Parameter97.Name,omitempty"`
	// Parameter value
	Parameter97Value *string `json:"Parameter97.Value,omitempty"`
	// Parameter name
	Parameter98Name *string `json:"Parameter98.Name,omitempty"`
	// Parameter value
	Parameter98Value *string `json:"Parameter98.Value,omitempty"`
	// Parameter name
	Parameter99Name *string `json:"Parameter99.Name,omitempty"`
	// Parameter value
	Parameter99Value *string `json:"Parameter99.Value,omitempty"`
}

Optional parameters for the method 'CreateSiprec'

func (*CreateSiprecParams) SetConnectorName ¶ added in v0.16.0

func (params *CreateSiprecParams) SetConnectorName(ConnectorName string) *CreateSiprecParams

func (*CreateSiprecParams) SetName ¶ added in v0.16.0

func (params *CreateSiprecParams) SetName(Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter10Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter10Name(Parameter10Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter10Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter10Value(Parameter10Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter11Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter11Name(Parameter11Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter11Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter11Value(Parameter11Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter12Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter12Name(Parameter12Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter12Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter12Value(Parameter12Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter13Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter13Name(Parameter13Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter13Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter13Value(Parameter13Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter14Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter14Name(Parameter14Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter14Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter14Value(Parameter14Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter15Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter15Name(Parameter15Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter15Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter15Value(Parameter15Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter16Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter16Name(Parameter16Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter16Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter16Value(Parameter16Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter17Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter17Name(Parameter17Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter17Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter17Value(Parameter17Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter18Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter18Name(Parameter18Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter18Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter18Value(Parameter18Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter19Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter19Name(Parameter19Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter19Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter19Value(Parameter19Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter1Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter1Name(Parameter1Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter1Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter1Value(Parameter1Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter20Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter20Name(Parameter20Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter20Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter20Value(Parameter20Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter21Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter21Name(Parameter21Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter21Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter21Value(Parameter21Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter22Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter22Name(Parameter22Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter22Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter22Value(Parameter22Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter23Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter23Name(Parameter23Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter23Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter23Value(Parameter23Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter24Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter24Name(Parameter24Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter24Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter24Value(Parameter24Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter25Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter25Name(Parameter25Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter25Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter25Value(Parameter25Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter26Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter26Name(Parameter26Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter26Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter26Value(Parameter26Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter27Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter27Name(Parameter27Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter27Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter27Value(Parameter27Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter28Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter28Name(Parameter28Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter28Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter28Value(Parameter28Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter29Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter29Name(Parameter29Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter29Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter29Value(Parameter29Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter2Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter2Name(Parameter2Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter2Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter2Value(Parameter2Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter30Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter30Name(Parameter30Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter30Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter30Value(Parameter30Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter31Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter31Name(Parameter31Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter31Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter31Value(Parameter31Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter32Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter32Name(Parameter32Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter32Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter32Value(Parameter32Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter33Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter33Name(Parameter33Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter33Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter33Value(Parameter33Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter34Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter34Name(Parameter34Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter34Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter34Value(Parameter34Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter35Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter35Name(Parameter35Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter35Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter35Value(Parameter35Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter36Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter36Name(Parameter36Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter36Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter36Value(Parameter36Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter37Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter37Name(Parameter37Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter37Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter37Value(Parameter37Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter38Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter38Name(Parameter38Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter38Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter38Value(Parameter38Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter39Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter39Name(Parameter39Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter39Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter39Value(Parameter39Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter3Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter3Name(Parameter3Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter3Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter3Value(Parameter3Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter40Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter40Name(Parameter40Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter40Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter40Value(Parameter40Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter41Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter41Name(Parameter41Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter41Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter41Value(Parameter41Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter42Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter42Name(Parameter42Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter42Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter42Value(Parameter42Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter43Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter43Name(Parameter43Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter43Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter43Value(Parameter43Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter44Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter44Name(Parameter44Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter44Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter44Value(Parameter44Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter45Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter45Name(Parameter45Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter45Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter45Value(Parameter45Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter46Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter46Name(Parameter46Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter46Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter46Value(Parameter46Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter47Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter47Name(Parameter47Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter47Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter47Value(Parameter47Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter48Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter48Name(Parameter48Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter48Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter48Value(Parameter48Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter49Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter49Name(Parameter49Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter49Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter49Value(Parameter49Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter4Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter4Name(Parameter4Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter4Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter4Value(Parameter4Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter50Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter50Name(Parameter50Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter50Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter50Value(Parameter50Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter51Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter51Name(Parameter51Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter51Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter51Value(Parameter51Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter52Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter52Name(Parameter52Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter52Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter52Value(Parameter52Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter53Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter53Name(Parameter53Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter53Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter53Value(Parameter53Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter54Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter54Name(Parameter54Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter54Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter54Value(Parameter54Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter55Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter55Name(Parameter55Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter55Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter55Value(Parameter55Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter56Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter56Name(Parameter56Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter56Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter56Value(Parameter56Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter57Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter57Name(Parameter57Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter57Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter57Value(Parameter57Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter58Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter58Name(Parameter58Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter58Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter58Value(Parameter58Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter59Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter59Name(Parameter59Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter59Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter59Value(Parameter59Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter5Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter5Name(Parameter5Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter5Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter5Value(Parameter5Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter60Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter60Name(Parameter60Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter60Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter60Value(Parameter60Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter61Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter61Name(Parameter61Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter61Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter61Value(Parameter61Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter62Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter62Name(Parameter62Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter62Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter62Value(Parameter62Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter63Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter63Name(Parameter63Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter63Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter63Value(Parameter63Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter64Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter64Name(Parameter64Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter64Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter64Value(Parameter64Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter65Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter65Name(Parameter65Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter65Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter65Value(Parameter65Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter66Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter66Name(Parameter66Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter66Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter66Value(Parameter66Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter67Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter67Name(Parameter67Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter67Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter67Value(Parameter67Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter68Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter68Name(Parameter68Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter68Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter68Value(Parameter68Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter69Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter69Name(Parameter69Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter69Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter69Value(Parameter69Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter6Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter6Name(Parameter6Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter6Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter6Value(Parameter6Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter70Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter70Name(Parameter70Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter70Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter70Value(Parameter70Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter71Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter71Name(Parameter71Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter71Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter71Value(Parameter71Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter72Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter72Name(Parameter72Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter72Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter72Value(Parameter72Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter73Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter73Name(Parameter73Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter73Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter73Value(Parameter73Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter74Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter74Name(Parameter74Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter74Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter74Value(Parameter74Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter75Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter75Name(Parameter75Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter75Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter75Value(Parameter75Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter76Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter76Name(Parameter76Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter76Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter76Value(Parameter76Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter77Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter77Name(Parameter77Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter77Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter77Value(Parameter77Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter78Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter78Name(Parameter78Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter78Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter78Value(Parameter78Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter79Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter79Name(Parameter79Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter79Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter79Value(Parameter79Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter7Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter7Name(Parameter7Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter7Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter7Value(Parameter7Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter80Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter80Name(Parameter80Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter80Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter80Value(Parameter80Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter81Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter81Name(Parameter81Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter81Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter81Value(Parameter81Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter82Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter82Name(Parameter82Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter82Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter82Value(Parameter82Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter83Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter83Name(Parameter83Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter83Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter83Value(Parameter83Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter84Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter84Name(Parameter84Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter84Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter84Value(Parameter84Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter85Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter85Name(Parameter85Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter85Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter85Value(Parameter85Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter86Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter86Name(Parameter86Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter86Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter86Value(Parameter86Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter87Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter87Name(Parameter87Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter87Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter87Value(Parameter87Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter88Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter88Name(Parameter88Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter88Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter88Value(Parameter88Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter89Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter89Name(Parameter89Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter89Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter89Value(Parameter89Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter8Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter8Name(Parameter8Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter8Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter8Value(Parameter8Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter90Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter90Name(Parameter90Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter90Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter90Value(Parameter90Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter91Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter91Name(Parameter91Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter91Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter91Value(Parameter91Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter92Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter92Name(Parameter92Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter92Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter92Value(Parameter92Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter93Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter93Name(Parameter93Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter93Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter93Value(Parameter93Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter94Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter94Name(Parameter94Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter94Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter94Value(Parameter94Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter95Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter95Name(Parameter95Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter95Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter95Value(Parameter95Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter96Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter96Name(Parameter96Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter96Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter96Value(Parameter96Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter97Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter97Name(Parameter97Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter97Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter97Value(Parameter97Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter98Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter98Name(Parameter98Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter98Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter98Value(Parameter98Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter99Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter99Name(Parameter99Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter99Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter99Value(Parameter99Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter9Name ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter9Name(Parameter9Name string) *CreateSiprecParams

func (*CreateSiprecParams) SetParameter9Value ¶ added in v0.16.0

func (params *CreateSiprecParams) SetParameter9Value(Parameter9Value string) *CreateSiprecParams

func (*CreateSiprecParams) SetPathAccountSid ¶ added in v0.16.0

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

func (*CreateSiprecParams) SetStatusCallback ¶ added in v0.16.0

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

func (*CreateSiprecParams) SetStatusCallbackMethod ¶ added in v0.16.0

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

func (*CreateSiprecParams) SetTrack ¶ added in v0.16.0

func (params *CreateSiprecParams) SetTrack(Track string) *CreateSiprecParams

type CreateStreamParams ¶ added in v0.21.0

type CreateStreamParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Stream resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// Relative or absolute url where WebSocket connection will be established.
	Url *string `json:"Url,omitempty"`
	// The user-specified name of this Stream, if one was given when the Stream was created. This may be used to stop the Stream.
	Name *string `json:"Name,omitempty"`
	//
	Track *string `json:"Track,omitempty"`
	// Absolute URL of the status callback.
	StatusCallback *string `json:"StatusCallback,omitempty"`
	// The http method for the status_callback (one of GET, POST).
	StatusCallbackMethod *string `json:"StatusCallbackMethod,omitempty"`
	// Parameter name
	Parameter1Name *string `json:"Parameter1.Name,omitempty"`
	// Parameter value
	Parameter1Value *string `json:"Parameter1.Value,omitempty"`
	// Parameter name
	Parameter2Name *string `json:"Parameter2.Name,omitempty"`
	// Parameter value
	Parameter2Value *string `json:"Parameter2.Value,omitempty"`
	// Parameter name
	Parameter3Name *string `json:"Parameter3.Name,omitempty"`
	// Parameter value
	Parameter3Value *string `json:"Parameter3.Value,omitempty"`
	// Parameter name
	Parameter4Name *string `json:"Parameter4.Name,omitempty"`
	// Parameter value
	Parameter4Value *string `json:"Parameter4.Value,omitempty"`
	// Parameter name
	Parameter5Name *string `json:"Parameter5.Name,omitempty"`
	// Parameter value
	Parameter5Value *string `json:"Parameter5.Value,omitempty"`
	// Parameter name
	Parameter6Name *string `json:"Parameter6.Name,omitempty"`
	// Parameter value
	Parameter6Value *string `json:"Parameter6.Value,omitempty"`
	// Parameter name
	Parameter7Name *string `json:"Parameter7.Name,omitempty"`
	// Parameter value
	Parameter7Value *string `json:"Parameter7.Value,omitempty"`
	// Parameter name
	Parameter8Name *string `json:"Parameter8.Name,omitempty"`
	// Parameter value
	Parameter8Value *string `json:"Parameter8.Value,omitempty"`
	// Parameter name
	Parameter9Name *string `json:"Parameter9.Name,omitempty"`
	// Parameter value
	Parameter9Value *string `json:"Parameter9.Value,omitempty"`
	// Parameter name
	Parameter10Name *string `json:"Parameter10.Name,omitempty"`
	// Parameter value
	Parameter10Value *string `json:"Parameter10.Value,omitempty"`
	// Parameter name
	Parameter11Name *string `json:"Parameter11.Name,omitempty"`
	// Parameter value
	Parameter11Value *string `json:"Parameter11.Value,omitempty"`
	// Parameter name
	Parameter12Name *string `json:"Parameter12.Name,omitempty"`
	// Parameter value
	Parameter12Value *string `json:"Parameter12.Value,omitempty"`
	// Parameter name
	Parameter13Name *string `json:"Parameter13.Name,omitempty"`
	// Parameter value
	Parameter13Value *string `json:"Parameter13.Value,omitempty"`
	// Parameter name
	Parameter14Name *string `json:"Parameter14.Name,omitempty"`
	// Parameter value
	Parameter14Value *string `json:"Parameter14.Value,omitempty"`
	// Parameter name
	Parameter15Name *string `json:"Parameter15.Name,omitempty"`
	// Parameter value
	Parameter15Value *string `json:"Parameter15.Value,omitempty"`
	// Parameter name
	Parameter16Name *string `json:"Parameter16.Name,omitempty"`
	// Parameter value
	Parameter16Value *string `json:"Parameter16.Value,omitempty"`
	// Parameter name
	Parameter17Name *string `json:"Parameter17.Name,omitempty"`
	// Parameter value
	Parameter17Value *string `json:"Parameter17.Value,omitempty"`
	// Parameter name
	Parameter18Name *string `json:"Parameter18.Name,omitempty"`
	// Parameter value
	Parameter18Value *string `json:"Parameter18.Value,omitempty"`
	// Parameter name
	Parameter19Name *string `json:"Parameter19.Name,omitempty"`
	// Parameter value
	Parameter19Value *string `json:"Parameter19.Value,omitempty"`
	// Parameter name
	Parameter20Name *string `json:"Parameter20.Name,omitempty"`
	// Parameter value
	Parameter20Value *string `json:"Parameter20.Value,omitempty"`
	// Parameter name
	Parameter21Name *string `json:"Parameter21.Name,omitempty"`
	// Parameter value
	Parameter21Value *string `json:"Parameter21.Value,omitempty"`
	// Parameter name
	Parameter22Name *string `json:"Parameter22.Name,omitempty"`
	// Parameter value
	Parameter22Value *string `json:"Parameter22.Value,omitempty"`
	// Parameter name
	Parameter23Name *string `json:"Parameter23.Name,omitempty"`
	// Parameter value
	Parameter23Value *string `json:"Parameter23.Value,omitempty"`
	// Parameter name
	Parameter24Name *string `json:"Parameter24.Name,omitempty"`
	// Parameter value
	Parameter24Value *string `json:"Parameter24.Value,omitempty"`
	// Parameter name
	Parameter25Name *string `json:"Parameter25.Name,omitempty"`
	// Parameter value
	Parameter25Value *string `json:"Parameter25.Value,omitempty"`
	// Parameter name
	Parameter26Name *string `json:"Parameter26.Name,omitempty"`
	// Parameter value
	Parameter26Value *string `json:"Parameter26.Value,omitempty"`
	// Parameter name
	Parameter27Name *string `json:"Parameter27.Name,omitempty"`
	// Parameter value
	Parameter27Value *string `json:"Parameter27.Value,omitempty"`
	// Parameter name
	Parameter28Name *string `json:"Parameter28.Name,omitempty"`
	// Parameter value
	Parameter28Value *string `json:"Parameter28.Value,omitempty"`
	// Parameter name
	Parameter29Name *string `json:"Parameter29.Name,omitempty"`
	// Parameter value
	Parameter29Value *string `json:"Parameter29.Value,omitempty"`
	// Parameter name
	Parameter30Name *string `json:"Parameter30.Name,omitempty"`
	// Parameter value
	Parameter30Value *string `json:"Parameter30.Value,omitempty"`
	// Parameter name
	Parameter31Name *string `json:"Parameter31.Name,omitempty"`
	// Parameter value
	Parameter31Value *string `json:"Parameter31.Value,omitempty"`
	// Parameter name
	Parameter32Name *string `json:"Parameter32.Name,omitempty"`
	// Parameter value
	Parameter32Value *string `json:"Parameter32.Value,omitempty"`
	// Parameter name
	Parameter33Name *string `json:"Parameter33.Name,omitempty"`
	// Parameter value
	Parameter33Value *string `json:"Parameter33.Value,omitempty"`
	// Parameter name
	Parameter34Name *string `json:"Parameter34.Name,omitempty"`
	// Parameter value
	Parameter34Value *string `json:"Parameter34.Value,omitempty"`
	// Parameter name
	Parameter35Name *string `json:"Parameter35.Name,omitempty"`
	// Parameter value
	Parameter35Value *string `json:"Parameter35.Value,omitempty"`
	// Parameter name
	Parameter36Name *string `json:"Parameter36.Name,omitempty"`
	// Parameter value
	Parameter36Value *string `json:"Parameter36.Value,omitempty"`
	// Parameter name
	Parameter37Name *string `json:"Parameter37.Name,omitempty"`
	// Parameter value
	Parameter37Value *string `json:"Parameter37.Value,omitempty"`
	// Parameter name
	Parameter38Name *string `json:"Parameter38.Name,omitempty"`
	// Parameter value
	Parameter38Value *string `json:"Parameter38.Value,omitempty"`
	// Parameter name
	Parameter39Name *string `json:"Parameter39.Name,omitempty"`
	// Parameter value
	Parameter39Value *string `json:"Parameter39.Value,omitempty"`
	// Parameter name
	Parameter40Name *string `json:"Parameter40.Name,omitempty"`
	// Parameter value
	Parameter40Value *string `json:"Parameter40.Value,omitempty"`
	// Parameter name
	Parameter41Name *string `json:"Parameter41.Name,omitempty"`
	// Parameter value
	Parameter41Value *string `json:"Parameter41.Value,omitempty"`
	// Parameter name
	Parameter42Name *string `json:"Parameter42.Name,omitempty"`
	// Parameter value
	Parameter42Value *string `json:"Parameter42.Value,omitempty"`
	// Parameter name
	Parameter43Name *string `json:"Parameter43.Name,omitempty"`
	// Parameter value
	Parameter43Value *string `json:"Parameter43.Value,omitempty"`
	// Parameter name
	Parameter44Name *string `json:"Parameter44.Name,omitempty"`
	// Parameter value
	Parameter44Value *string `json:"Parameter44.Value,omitempty"`
	// Parameter name
	Parameter45Name *string `json:"Parameter45.Name,omitempty"`
	// Parameter value
	Parameter45Value *string `json:"Parameter45.Value,omitempty"`
	// Parameter name
	Parameter46Name *string `json:"Parameter46.Name,omitempty"`
	// Parameter value
	Parameter46Value *string `json:"Parameter46.Value,omitempty"`
	// Parameter name
	Parameter47Name *string `json:"Parameter47.Name,omitempty"`
	// Parameter value
	Parameter47Value *string `json:"Parameter47.Value,omitempty"`
	// Parameter name
	Parameter48Name *string `json:"Parameter48.Name,omitempty"`
	// Parameter value
	Parameter48Value *string `json:"Parameter48.Value,omitempty"`
	// Parameter name
	Parameter49Name *string `json:"Parameter49.Name,omitempty"`
	// Parameter value
	Parameter49Value *string `json:"Parameter49.Value,omitempty"`
	// Parameter name
	Parameter50Name *string `json:"Parameter50.Name,omitempty"`
	// Parameter value
	Parameter50Value *string `json:"Parameter50.Value,omitempty"`
	// Parameter name
	Parameter51Name *string `json:"Parameter51.Name,omitempty"`
	// Parameter value
	Parameter51Value *string `json:"Parameter51.Value,omitempty"`
	// Parameter name
	Parameter52Name *string `json:"Parameter52.Name,omitempty"`
	// Parameter value
	Parameter52Value *string `json:"Parameter52.Value,omitempty"`
	// Parameter name
	Parameter53Name *string `json:"Parameter53.Name,omitempty"`
	// Parameter value
	Parameter53Value *string `json:"Parameter53.Value,omitempty"`
	// Parameter name
	Parameter54Name *string `json:"Parameter54.Name,omitempty"`
	// Parameter value
	Parameter54Value *string `json:"Parameter54.Value,omitempty"`
	// Parameter name
	Parameter55Name *string `json:"Parameter55.Name,omitempty"`
	// Parameter value
	Parameter55Value *string `json:"Parameter55.Value,omitempty"`
	// Parameter name
	Parameter56Name *string `json:"Parameter56.Name,omitempty"`
	// Parameter value
	Parameter56Value *string `json:"Parameter56.Value,omitempty"`
	// Parameter name
	Parameter57Name *string `json:"Parameter57.Name,omitempty"`
	// Parameter value
	Parameter57Value *string `json:"Parameter57.Value,omitempty"`
	// Parameter name
	Parameter58Name *string `json:"Parameter58.Name,omitempty"`
	// Parameter value
	Parameter58Value *string `json:"Parameter58.Value,omitempty"`
	// Parameter name
	Parameter59Name *string `json:"Parameter59.Name,omitempty"`
	// Parameter value
	Parameter59Value *string `json:"Parameter59.Value,omitempty"`
	// Parameter name
	Parameter60Name *string `json:"Parameter60.Name,omitempty"`
	// Parameter value
	Parameter60Value *string `json:"Parameter60.Value,omitempty"`
	// Parameter name
	Parameter61Name *string `json:"Parameter61.Name,omitempty"`
	// Parameter value
	Parameter61Value *string `json:"Parameter61.Value,omitempty"`
	// Parameter name
	Parameter62Name *string `json:"Parameter62.Name,omitempty"`
	// Parameter value
	Parameter62Value *string `json:"Parameter62.Value,omitempty"`
	// Parameter name
	Parameter63Name *string `json:"Parameter63.Name,omitempty"`
	// Parameter value
	Parameter63Value *string `json:"Parameter63.Value,omitempty"`
	// Parameter name
	Parameter64Name *string `json:"Parameter64.Name,omitempty"`
	// Parameter value
	Parameter64Value *string `json:"Parameter64.Value,omitempty"`
	// Parameter name
	Parameter65Name *string `json:"Parameter65.Name,omitempty"`
	// Parameter value
	Parameter65Value *string `json:"Parameter65.Value,omitempty"`
	// Parameter name
	Parameter66Name *string `json:"Parameter66.Name,omitempty"`
	// Parameter value
	Parameter66Value *string `json:"Parameter66.Value,omitempty"`
	// Parameter name
	Parameter67Name *string `json:"Parameter67.Name,omitempty"`
	// Parameter value
	Parameter67Value *string `json:"Parameter67.Value,omitempty"`
	// Parameter name
	Parameter68Name *string `json:"Parameter68.Name,omitempty"`
	// Parameter value
	Parameter68Value *string `json:"Parameter68.Value,omitempty"`
	// Parameter name
	Parameter69Name *string `json:"Parameter69.Name,omitempty"`
	// Parameter value
	Parameter69Value *string `json:"Parameter69.Value,omitempty"`
	// Parameter name
	Parameter70Name *string `json:"Parameter70.Name,omitempty"`
	// Parameter value
	Parameter70Value *string `json:"Parameter70.Value,omitempty"`
	// Parameter name
	Parameter71Name *string `json:"Parameter71.Name,omitempty"`
	// Parameter value
	Parameter71Value *string `json:"Parameter71.Value,omitempty"`
	// Parameter name
	Parameter72Name *string `json:"Parameter72.Name,omitempty"`
	// Parameter value
	Parameter72Value *string `json:"Parameter72.Value,omitempty"`
	// Parameter name
	Parameter73Name *string `json:"Parameter73.Name,omitempty"`
	// Parameter value
	Parameter73Value *string `json:"Parameter73.Value,omitempty"`
	// Parameter name
	Parameter74Name *string `json:"Parameter74.Name,omitempty"`
	// Parameter value
	Parameter74Value *string `json:"Parameter74.Value,omitempty"`
	// Parameter name
	Parameter75Name *string `json:"Parameter75.Name,omitempty"`
	// Parameter value
	Parameter75Value *string `json:"Parameter75.Value,omitempty"`
	// Parameter name
	Parameter76Name *string `json:"Parameter76.Name,omitempty"`
	// Parameter value
	Parameter76Value *string `json:"Parameter76.Value,omitempty"`
	// Parameter name
	Parameter77Name *string `json:"Parameter77.Name,omitempty"`
	// Parameter value
	Parameter77Value *string `json:"Parameter77.Value,omitempty"`
	// Parameter name
	Parameter78Name *string `json:"Parameter78.Name,omitempty"`
	// Parameter value
	Parameter78Value *string `json:"Parameter78.Value,omitempty"`
	// Parameter name
	Parameter79Name *string `json:"Parameter79.Name,omitempty"`
	// Parameter value
	Parameter79Value *string `json:"Parameter79.Value,omitempty"`
	// Parameter name
	Parameter80Name *string `json:"Parameter80.Name,omitempty"`
	// Parameter value
	Parameter80Value *string `json:"Parameter80.Value,omitempty"`
	// Parameter name
	Parameter81Name *string `json:"Parameter81.Name,omitempty"`
	// Parameter value
	Parameter81Value *string `json:"Parameter81.Value,omitempty"`
	// Parameter name
	Parameter82Name *string `json:"Parameter82.Name,omitempty"`
	// Parameter value
	Parameter82Value *string `json:"Parameter82.Value,omitempty"`
	// Parameter name
	Parameter83Name *string `json:"Parameter83.Name,omitempty"`
	// Parameter value
	Parameter83Value *string `json:"Parameter83.Value,omitempty"`
	// Parameter name
	Parameter84Name *string `json:"Parameter84.Name,omitempty"`
	// Parameter value
	Parameter84Value *string `json:"Parameter84.Value,omitempty"`
	// Parameter name
	Parameter85Name *string `json:"Parameter85.Name,omitempty"`
	// Parameter value
	Parameter85Value *string `json:"Parameter85.Value,omitempty"`
	// Parameter name
	Parameter86Name *string `json:"Parameter86.Name,omitempty"`
	// Parameter value
	Parameter86Value *string `json:"Parameter86.Value,omitempty"`
	// Parameter name
	Parameter87Name *string `json:"Parameter87.Name,omitempty"`
	// Parameter value
	Parameter87Value *string `json:"Parameter87.Value,omitempty"`
	// Parameter name
	Parameter88Name *string `json:"Parameter88.Name,omitempty"`
	// Parameter value
	Parameter88Value *string `json:"Parameter88.Value,omitempty"`
	// Parameter name
	Parameter89Name *string `json:"Parameter89.Name,omitempty"`
	// Parameter value
	Parameter89Value *string `json:"Parameter89.Value,omitempty"`
	// Parameter name
	Parameter90Name *string `json:"Parameter90.Name,omitempty"`
	// Parameter value
	Parameter90Value *string `json:"Parameter90.Value,omitempty"`
	// Parameter name
	Parameter91Name *string `json:"Parameter91.Name,omitempty"`
	// Parameter value
	Parameter91Value *string `json:"Parameter91.Value,omitempty"`
	// Parameter name
	Parameter92Name *string `json:"Parameter92.Name,omitempty"`
	// Parameter value
	Parameter92Value *string `json:"Parameter92.Value,omitempty"`
	// Parameter name
	Parameter93Name *string `json:"Parameter93.Name,omitempty"`
	// Parameter value
	Parameter93Value *string `json:"Parameter93.Value,omitempty"`
	// Parameter name
	Parameter94Name *string `json:"Parameter94.Name,omitempty"`
	// Parameter value
	Parameter94Value *string `json:"Parameter94.Value,omitempty"`
	// Parameter name
	Parameter95Name *string `json:"Parameter95.Name,omitempty"`
	// Parameter value
	Parameter95Value *string `json:"Parameter95.Value,omitempty"`
	// Parameter name
	Parameter96Name *string `json:"Parameter96.Name,omitempty"`
	// Parameter value
	Parameter96Value *string `json:"Parameter96.Value,omitempty"`
	// Parameter name
	Parameter97Name *string `json:"Parameter97.Name,omitempty"`
	// Parameter value
	Parameter97Value *string `json:"Parameter97.Value,omitempty"`
	// Parameter name
	Parameter98Name *string `json:"Parameter98.Name,omitempty"`
	// Parameter value
	Parameter98Value *string `json:"Parameter98.Value,omitempty"`
	// Parameter name
	Parameter99Name *string `json:"Parameter99.Name,omitempty"`
	// Parameter value
	Parameter99Value *string `json:"Parameter99.Value,omitempty"`
}

Optional parameters for the method 'CreateStream'

func (*CreateStreamParams) SetName ¶ added in v0.21.0

func (params *CreateStreamParams) SetName(Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter10Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter10Name(Parameter10Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter10Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter10Value(Parameter10Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter11Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter11Name(Parameter11Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter11Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter11Value(Parameter11Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter12Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter12Name(Parameter12Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter12Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter12Value(Parameter12Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter13Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter13Name(Parameter13Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter13Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter13Value(Parameter13Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter14Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter14Name(Parameter14Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter14Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter14Value(Parameter14Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter15Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter15Name(Parameter15Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter15Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter15Value(Parameter15Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter16Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter16Name(Parameter16Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter16Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter16Value(Parameter16Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter17Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter17Name(Parameter17Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter17Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter17Value(Parameter17Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter18Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter18Name(Parameter18Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter18Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter18Value(Parameter18Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter19Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter19Name(Parameter19Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter19Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter19Value(Parameter19Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter1Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter1Name(Parameter1Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter1Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter1Value(Parameter1Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter20Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter20Name(Parameter20Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter20Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter20Value(Parameter20Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter21Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter21Name(Parameter21Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter21Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter21Value(Parameter21Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter22Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter22Name(Parameter22Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter22Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter22Value(Parameter22Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter23Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter23Name(Parameter23Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter23Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter23Value(Parameter23Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter24Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter24Name(Parameter24Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter24Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter24Value(Parameter24Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter25Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter25Name(Parameter25Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter25Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter25Value(Parameter25Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter26Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter26Name(Parameter26Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter26Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter26Value(Parameter26Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter27Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter27Name(Parameter27Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter27Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter27Value(Parameter27Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter28Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter28Name(Parameter28Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter28Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter28Value(Parameter28Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter29Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter29Name(Parameter29Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter29Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter29Value(Parameter29Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter2Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter2Name(Parameter2Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter2Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter2Value(Parameter2Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter30Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter30Name(Parameter30Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter30Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter30Value(Parameter30Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter31Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter31Name(Parameter31Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter31Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter31Value(Parameter31Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter32Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter32Name(Parameter32Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter32Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter32Value(Parameter32Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter33Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter33Name(Parameter33Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter33Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter33Value(Parameter33Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter34Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter34Name(Parameter34Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter34Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter34Value(Parameter34Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter35Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter35Name(Parameter35Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter35Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter35Value(Parameter35Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter36Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter36Name(Parameter36Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter36Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter36Value(Parameter36Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter37Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter37Name(Parameter37Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter37Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter37Value(Parameter37Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter38Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter38Name(Parameter38Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter38Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter38Value(Parameter38Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter39Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter39Name(Parameter39Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter39Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter39Value(Parameter39Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter3Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter3Name(Parameter3Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter3Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter3Value(Parameter3Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter40Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter40Name(Parameter40Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter40Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter40Value(Parameter40Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter41Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter41Name(Parameter41Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter41Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter41Value(Parameter41Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter42Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter42Name(Parameter42Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter42Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter42Value(Parameter42Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter43Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter43Name(Parameter43Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter43Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter43Value(Parameter43Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter44Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter44Name(Parameter44Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter44Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter44Value(Parameter44Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter45Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter45Name(Parameter45Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter45Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter45Value(Parameter45Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter46Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter46Name(Parameter46Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter46Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter46Value(Parameter46Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter47Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter47Name(Parameter47Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter47Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter47Value(Parameter47Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter48Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter48Name(Parameter48Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter48Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter48Value(Parameter48Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter49Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter49Name(Parameter49Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter49Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter49Value(Parameter49Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter4Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter4Name(Parameter4Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter4Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter4Value(Parameter4Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter50Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter50Name(Parameter50Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter50Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter50Value(Parameter50Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter51Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter51Name(Parameter51Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter51Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter51Value(Parameter51Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter52Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter52Name(Parameter52Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter52Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter52Value(Parameter52Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter53Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter53Name(Parameter53Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter53Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter53Value(Parameter53Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter54Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter54Name(Parameter54Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter54Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter54Value(Parameter54Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter55Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter55Name(Parameter55Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter55Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter55Value(Parameter55Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter56Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter56Name(Parameter56Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter56Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter56Value(Parameter56Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter57Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter57Name(Parameter57Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter57Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter57Value(Parameter57Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter58Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter58Name(Parameter58Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter58Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter58Value(Parameter58Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter59Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter59Name(Parameter59Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter59Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter59Value(Parameter59Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter5Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter5Name(Parameter5Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter5Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter5Value(Parameter5Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter60Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter60Name(Parameter60Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter60Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter60Value(Parameter60Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter61Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter61Name(Parameter61Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter61Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter61Value(Parameter61Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter62Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter62Name(Parameter62Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter62Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter62Value(Parameter62Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter63Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter63Name(Parameter63Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter63Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter63Value(Parameter63Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter64Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter64Name(Parameter64Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter64Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter64Value(Parameter64Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter65Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter65Name(Parameter65Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter65Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter65Value(Parameter65Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter66Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter66Name(Parameter66Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter66Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter66Value(Parameter66Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter67Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter67Name(Parameter67Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter67Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter67Value(Parameter67Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter68Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter68Name(Parameter68Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter68Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter68Value(Parameter68Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter69Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter69Name(Parameter69Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter69Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter69Value(Parameter69Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter6Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter6Name(Parameter6Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter6Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter6Value(Parameter6Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter70Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter70Name(Parameter70Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter70Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter70Value(Parameter70Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter71Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter71Name(Parameter71Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter71Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter71Value(Parameter71Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter72Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter72Name(Parameter72Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter72Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter72Value(Parameter72Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter73Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter73Name(Parameter73Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter73Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter73Value(Parameter73Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter74Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter74Name(Parameter74Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter74Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter74Value(Parameter74Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter75Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter75Name(Parameter75Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter75Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter75Value(Parameter75Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter76Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter76Name(Parameter76Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter76Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter76Value(Parameter76Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter77Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter77Name(Parameter77Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter77Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter77Value(Parameter77Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter78Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter78Name(Parameter78Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter78Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter78Value(Parameter78Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter79Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter79Name(Parameter79Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter79Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter79Value(Parameter79Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter7Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter7Name(Parameter7Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter7Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter7Value(Parameter7Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter80Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter80Name(Parameter80Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter80Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter80Value(Parameter80Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter81Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter81Name(Parameter81Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter81Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter81Value(Parameter81Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter82Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter82Name(Parameter82Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter82Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter82Value(Parameter82Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter83Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter83Name(Parameter83Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter83Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter83Value(Parameter83Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter84Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter84Name(Parameter84Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter84Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter84Value(Parameter84Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter85Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter85Name(Parameter85Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter85Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter85Value(Parameter85Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter86Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter86Name(Parameter86Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter86Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter86Value(Parameter86Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter87Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter87Name(Parameter87Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter87Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter87Value(Parameter87Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter88Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter88Name(Parameter88Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter88Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter88Value(Parameter88Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter89Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter89Name(Parameter89Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter89Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter89Value(Parameter89Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter8Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter8Name(Parameter8Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter8Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter8Value(Parameter8Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter90Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter90Name(Parameter90Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter90Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter90Value(Parameter90Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter91Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter91Name(Parameter91Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter91Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter91Value(Parameter91Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter92Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter92Name(Parameter92Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter92Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter92Value(Parameter92Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter93Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter93Name(Parameter93Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter93Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter93Value(Parameter93Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter94Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter94Name(Parameter94Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter94Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter94Value(Parameter94Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter95Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter95Name(Parameter95Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter95Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter95Value(Parameter95Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter96Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter96Name(Parameter96Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter96Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter96Value(Parameter96Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter97Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter97Name(Parameter97Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter97Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter97Value(Parameter97Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter98Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter98Name(Parameter98Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter98Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter98Value(Parameter98Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter99Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter99Name(Parameter99Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter99Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter99Value(Parameter99Value string) *CreateStreamParams

func (*CreateStreamParams) SetParameter9Name ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter9Name(Parameter9Name string) *CreateStreamParams

func (*CreateStreamParams) SetParameter9Value ¶ added in v0.21.0

func (params *CreateStreamParams) SetParameter9Value(Parameter9Value string) *CreateStreamParams

func (*CreateStreamParams) SetPathAccountSid ¶ added in v0.21.0

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

func (*CreateStreamParams) SetStatusCallback ¶ added in v0.21.0

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

func (*CreateStreamParams) SetStatusCallbackMethod ¶ added in v0.21.0

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

func (*CreateStreamParams) SetTrack ¶ added in v0.21.0

func (params *CreateStreamParams) SetTrack(Track string) *CreateStreamParams

func (*CreateStreamParams) SetUrl ¶ added in v0.21.0

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

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 URL we should call using `callback_method` when the trigger fires.
	CallbackUrl *string `json:"CallbackUrl,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"`
	//
	UsageCategory *string `json:"UsageCategory,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"`
	// A descriptive string that you create to describe the resource. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	//
	Recurring *string `json:"Recurring,omitempty"`
	//
	TriggerBy *string `json:"TriggerBy,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 CreateUserDefinedMessageParams ¶ added in v1.1.1

type CreateUserDefinedMessageParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created User Defined Message.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The User Defined Message in the form of URL-encoded JSON string.
	Content *string `json:"Content,omitempty"`
	// A unique string value to identify API call. This should be a unique string value per API call and can be a randomly generated.
	IdempotencyKey *string `json:"IdempotencyKey,omitempty"`
}

Optional parameters for the method 'CreateUserDefinedMessage'

func (*CreateUserDefinedMessageParams) SetContent ¶ added in v1.1.1

func (*CreateUserDefinedMessageParams) SetIdempotencyKey ¶ added in v1.1.1

func (params *CreateUserDefinedMessageParams) SetIdempotencyKey(IdempotencyKey string) *CreateUserDefinedMessageParams

func (*CreateUserDefinedMessageParams) SetPathAccountSid ¶ added in v1.1.1

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

type CreateUserDefinedMessageSubscriptionParams ¶ added in v1.1.1

type CreateUserDefinedMessageSubscriptionParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that subscribed to the User Defined Messages.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The URL we should call using the `method` to send user defined events to your application. URLs must contain a valid hostname (underscores are not permitted).
	Callback *string `json:"Callback,omitempty"`
	// A unique string value to identify API call. This should be a unique string value per API call and can be a randomly generated.
	IdempotencyKey *string `json:"IdempotencyKey,omitempty"`
	// The HTTP method Twilio will use when requesting the above `Url`. Either `GET` or `POST`. Default is `POST`.
	Method *string `json:"Method,omitempty"`
}

Optional parameters for the method 'CreateUserDefinedMessageSubscription'

func (*CreateUserDefinedMessageSubscriptionParams) SetCallback ¶ added in v1.1.1

func (*CreateUserDefinedMessageSubscriptionParams) SetIdempotencyKey ¶ added in v1.1.1

func (*CreateUserDefinedMessageSubscriptionParams) SetMethod ¶ added in v1.1.1

func (*CreateUserDefinedMessageSubscriptionParams) SetPathAccountSid ¶ added in v1.1.1

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 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"`
	// 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 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"`
	// 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 DeleteUserDefinedMessageSubscriptionParams ¶ added in v1.1.1

type DeleteUserDefinedMessageSubscriptionParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that subscribed to the User Defined Messages.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteUserDefinedMessageSubscription'

func (*DeleteUserDefinedMessageSubscriptionParams) SetPathAccountSid ¶ added in v1.1.1

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"`
	// A boolean parameter indicating whether to retrieve soft deleted recordings or not. Recordings metadata are kept after deletion for a retention period of 40 days.
	IncludeSoftDeleted *bool `json:"IncludeSoftDeleted,omitempty"`
}

Optional parameters for the method 'FetchRecording'

func (*FetchRecordingParams) SetIncludeSoftDeleted ¶ added in v0.22.2

func (params *FetchRecordingParams) SetIncludeSoftDeleted(IncludeSoftDeleted bool) *FetchRecordingParams

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 {
	Events          []ApiV2010CallEvent `json:"events,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"`
}

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 {
	Notifications   []ApiV2010CallNotification `json:"notifications,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"`
}

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 {
	Recordings      []ApiV2010CallRecording `json:"recordings,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"`
}

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 {
	Recordings      []ApiV2010ConferenceRecording `json:"recordings,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"`
}

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 {
	Extensions      []ApiV2010IncomingPhoneNumberAssignedAddOnExtension `json:"extensions,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"`
}

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 {
	IncomingPhoneNumbers []ApiV2010IncomingPhoneNumberLocal `json:"incoming_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"`
}

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 {
	IncomingPhoneNumbers []ApiV2010IncomingPhoneNumberMobile `json:"incoming_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"`
}

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 {
	IncomingPhoneNumbers []ApiV2010IncomingPhoneNumber `json:"incoming_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"`
}

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 {
	IncomingPhoneNumbers []ApiV2010IncomingPhoneNumberTollFree `json:"incoming_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"`
}

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 {
	Keys            []ApiV2010Key `json:"keys,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"`
}

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 {
	MediaList       []ApiV2010Media `json:"media_list,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"`
}

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 {
	QueueMembers    []ApiV2010Member `json:"queue_members,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"`
}

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 {
	Messages        []ApiV2010Message `json:"messages,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"`
}

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 {
	Notifications   []ApiV2010Notification `json:"notifications,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"`
}

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 {
	OutgoingCallerIds []ApiV2010OutgoingCallerId `json:"outgoing_caller_ids,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"`
}

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 {
	Participants    []ApiV2010Participant `json:"participants,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"`
}

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 {
	Queues          []ApiV2010Queue `json:"queues,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"`
}

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 {
	Payloads        []ApiV2010RecordingAddOnResultPayload `json:"payloads,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"`
}

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"`
	// A boolean parameter indicating whether to retrieve soft deleted recordings or not. Recordings metadata are kept after deletion for a retention period of 40 days.
	IncludeSoftDeleted *bool `json:"IncludeSoftDeleted,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) SetIncludeSoftDeleted ¶ added in v0.22.2

func (params *ListRecordingParams) SetIncludeSoftDeleted(IncludeSoftDeleted bool) *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 {
	Recordings      []ApiV2010Recording `json:"recordings,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"`
}

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 {
	Transcriptions  []ApiV2010RecordingTranscription `json:"transcriptions,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"`
}

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 {
	ShortCodes      []ApiV2010ShortCode `json:"short_codes,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"`
}

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 {
	SigningKeys     []ApiV2010SigningKey `json:"signing_keys,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"`
}

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 {
	IpAccessControlListMappings []ApiV2010SipIpAccessControlListMapping `json:"ip_access_control_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"`
}

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 {
	IpAccessControlLists []ApiV2010SipIpAccessControlList `json:"ip_access_control_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"`
}

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 {
	IpAddresses     []ApiV2010SipIpAddress `json:"ip_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"`
}

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 {
	Transcriptions  []ApiV2010Transcription `json:"transcriptions,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"`
}

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 {
	UsageRecords    []ApiV2010UsageRecordAllTime `json:"usage_records,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"`
}

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 {
	UsageRecords    []ApiV2010UsageRecordDaily `json:"usage_records,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"`
}

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 {
	UsageRecords    []ApiV2010UsageRecordLastMonth `json:"usage_records,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"`
}

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 {
	UsageRecords    []ApiV2010UsageRecordMonthly `json:"usage_records,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"`
}

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 {
	UsageRecords    []ApiV2010UsageRecord `json:"usage_records,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"`
}

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 {
	UsageRecords    []ApiV2010UsageRecordThisMonth `json:"usage_records,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"`
}

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 {
	UsageRecords    []ApiV2010UsageRecordToday `json:"usage_records,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"`
}

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 {
	UsageRecords    []ApiV2010UsageRecordYearly `json:"usage_records,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"`
}

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 {
	UsageRecords    []ApiV2010UsageRecordYesterday `json:"usage_records,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"`
}

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 {
	UsageTriggers   []ApiV2010UsageTrigger `json:"usage_triggers,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"`
}

ListUsageTriggerResponse struct for ListUsageTriggerResponse

type UpdateAccountParams ¶

type UpdateAccountParams struct {
	// Update the human-readable description of this Account
	FriendlyName *string `json:"FriendlyName,omitempty"`
	//
	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"`
	// A descriptive string that you create to describe the address. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The name to associate with the address.
	CustomerName *string `json:"CustomerName,omitempty"`
	// The number and street address of the address.
	Street *string `json:"Street,omitempty"`
	// The city of the address.
	City *string `json:"City,omitempty"`
	// The state or region of the address.
	Region *string `json:"Region,omitempty"`
	// The postal code of the address.
	PostalCode *string `json:"PostalCode,omitempty"`
	// Whether to enable emergency calling on the address. Can be: `true` or `false`.
	EmergencyEnabled *bool `json:"EmergencyEnabled,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 additional number and street address of the address.
	StreetSecondary *string `json:"StreetSecondary,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

func (*UpdateAddressParams) SetStreetSecondary ¶ added in v1.3.0

func (params *UpdateAddressParams) SetStreetSecondary(StreetSecondary 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"`
	// A descriptive string that you create to describe the resource. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,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"`
	// The URL we should call when the phone number assigned to this application receives a call.
	VoiceUrl *string `json:"VoiceUrl,omitempty"`
	// The HTTP method we should use to call `voice_url`. Can be: `GET` or `POST`.
	VoiceMethod *string `json:"VoiceMethod,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_fallback_url`. Can be: `GET` or `POST`.
	VoiceFallbackMethod *string `json:"VoiceFallbackMethod,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 URL we should call when the phone number receives an incoming SMS message.
	SmsUrl *string `json:"SmsUrl,omitempty"`
	// The HTTP method we should use to call `sms_url`. Can be: `GET` or `POST`.
	SmsMethod *string `json:"SmsMethod,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_fallback_url`. Can be: `GET` or `POST`.
	SmsFallbackMethod *string `json:"SmsFallbackMethod,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 using a POST method to send message status information to your application.
	MessageStatusCallback *string `json:"MessageStatusCallback,omitempty"`
	// Whether to allow other Twilio accounts to dial this applicaton using Dial verb. Can be: `true` or `false`.
	PublicApplicationConnectEnabled *bool `json:"PublicApplicationConnectEnabled,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) SetPublicApplicationConnectEnabled ¶ added in v1.3.2

func (params *UpdateApplicationParams) SetPublicApplicationConnectEnabled(PublicApplicationConnectEnabled bool) *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"`
	// 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"`
	// 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"`
}

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 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"`
	// 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"`
	//
	Status *string `json:"Status,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 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 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"`
	// 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 maximum duration of the call in seconds. Constraints depend on account and configuration.
	TimeLimit *int `json:"TimeLimit,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"`
	//
	Status *string `json:"Status,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"`
}

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"`
	//
	Status *string `json:"Status,omitempty"`
	// The URL we should call to announce something into the conference. The URL may return an MP3 file, a WAV file, or a TwiML document that contains `<Play>`, `<Say>`, `<Pause>`, or `<Redirect>` verbs.
	AnnounceUrl *string `json:"AnnounceUrl,omitempty"`
	// The HTTP method used to call `announce_url`. Can be: `GET` or `POST` and the default is `POST`
	AnnounceMethod *string `json:"AnnounceMethod,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"`
	//
	Status *string `json:"Status,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"`
}

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 API version to use for incoming calls made to the phone number. The default is `2010-04-01`.
	ApiVersion *string `json:"ApiVersion,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 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 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 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"`
	//
	EmergencyStatus *string `json:"EmergencyStatus,omitempty"`
	// The SID of the emergency address configuration to use for emergency calling from this phone number.
	EmergencyAddressSid *string `json:"EmergencyAddressSid,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"`
	//
	VoiceReceiveMode *string `json:"VoiceReceiveMode,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 Address resource we should associate with the phone number. Some regions require addresses to meet local regulations.
	AddressSid *string `json:"AddressSid,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"`
}

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"`
	// The absolute URL of the Queue resource.
	Url *string `json:"Url,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"`
}

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"`
	//
	Status *string `json:"Status,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

func (*UpdateMessageParams) SetStatus ¶ added in v0.20.0

func (params *UpdateMessageParams) SetStatus(Status 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"`
	// 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"`
	// 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 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 `<Play>`, `<Say>`, `<Pause>`, or `<Redirect>` verbs.
	HoldUrl *string `json:"HoldUrl,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 `announce_method` for an announcement to the participant. The URL may return an MP3 file, a WAV file, or a TwiML document that contains `<Play>`, `<Say>`, `<Pause>`, or `<Redirect>` verbs.
	AnnounceUrl *string `json:"AnnounceUrl,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 `wait_method` for the music to play while participants are waiting for the conference to start. The URL may return an MP3 file, a WAV file, or a TwiML document that contains `<Play>`, `<Say>`, `<Pause>`, or `<Redirect>` verbs. 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"`
	// 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"`
	// Whether to play a notification beep to the conference when the participant exits. Can be: `true` or `false`.
	BeepOnExit *bool `json:"BeepOnExit,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 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"`
	// 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"`
}

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"`
	// 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"`
	// 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"`
	//
	Capture *string `json:"Capture,omitempty"`
	//
	Status *string `json:"Status,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 1000. 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"`
	// 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 API version to use to start a new TwiML session. Can be: `2010-04-01` or `2008-08-01`.
	ApiVersion *string `json:"ApiVersion,omitempty"`
	// The URL we should call when receiving an incoming SMS message to this short code.
	SmsUrl *string `json:"SmsUrl,omitempty"`
	// The HTTP method we should use when calling the `sms_url`. Can be: `GET` or `POST`.
	SmsMethod *string `json:"SmsMethod,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 that we should use to call the `sms_fallback_url`. Can be: `GET` or `POST`.
	SmsFallbackMethod *string `json:"SmsFallbackMethod,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"`
	// A descriptive string that you created to describe the resource. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,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"`
	// 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 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 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"`
	// 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"`
	// The SID of the BYOC Trunk(Bring Your Own Carrier) resource that the Sip Domain will be associated with.
	ByocTrunkSid *string `json:"ByocTrunkSid,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"`
}

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 255 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 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"`
	// A human readable descriptive text for this resource, up to 255 characters long.
	FriendlyName *string `json:"FriendlyName,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"`
}

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 UpdateSiprecParams ¶ added in v0.16.0

type UpdateSiprecParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Siprec resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	//
	Status *string `json:"Status,omitempty"`
}

Optional parameters for the method 'UpdateSiprec'

func (*UpdateSiprecParams) SetPathAccountSid ¶ added in v0.16.0

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

func (*UpdateSiprecParams) SetStatus ¶ added in v0.16.0

func (params *UpdateSiprecParams) SetStatus(Status string) *UpdateSiprecParams

type UpdateStreamParams ¶ added in v0.21.0

type UpdateStreamParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Stream resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	//
	Status *string `json:"Status,omitempty"`
}

Optional parameters for the method 'UpdateStream'

func (*UpdateStreamParams) SetPathAccountSid ¶ added in v0.21.0

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

func (*UpdateStreamParams) SetStatus ¶ added in v0.21.0

func (params *UpdateStreamParams) SetStatus(Status string) *UpdateStreamParams

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