openapi

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: MIT Imports: 6 Imported by: 210

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.16.0
  • 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
DefaultApi CreateAccount Post /2010-04-01/Accounts.json
DefaultApi CreateAddress Post /2010-04-01/Accounts/{AccountSid}/Addresses.json
DefaultApi CreateApplication Post /2010-04-01/Accounts/{AccountSid}/Applications.json
DefaultApi CreateCall Post /2010-04-01/Accounts/{AccountSid}/Calls.json
DefaultApi CreateCallFeedbackSummary Post /2010-04-01/Accounts/{AccountSid}/Calls/FeedbackSummary.json
DefaultApi CreateCallRecording Post /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Recordings.json
DefaultApi CreateIncomingPhoneNumber Post /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers.json
DefaultApi CreateIncomingPhoneNumberAssignedAddOn Post /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns.json
DefaultApi CreateIncomingPhoneNumberLocal Post /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/Local.json
DefaultApi CreateIncomingPhoneNumberMobile Post /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/Mobile.json
DefaultApi CreateIncomingPhoneNumberTollFree Post /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/TollFree.json
DefaultApi CreateMessage Post /2010-04-01/Accounts/{AccountSid}/Messages.json
DefaultApi CreateMessageFeedback Post /2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Feedback.json
DefaultApi CreateNewKey Post /2010-04-01/Accounts/{AccountSid}/Keys.json
DefaultApi CreateNewSigningKey Post /2010-04-01/Accounts/{AccountSid}/SigningKeys.json
DefaultApi CreateParticipant Post /2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants.json
DefaultApi CreatePayments Post /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Payments.json
DefaultApi CreateQueue Post /2010-04-01/Accounts/{AccountSid}/Queues.json
DefaultApi CreateSipAuthCallsCredentialListMapping Post /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/CredentialListMappings.json
DefaultApi CreateSipAuthCallsIpAccessControlListMapping Post /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/IpAccessControlListMappings.json
DefaultApi CreateSipAuthRegistrationsCredentialListMapping Post /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Registrations/CredentialListMappings.json
DefaultApi CreateSipCredential Post /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{CredentialListSid}/Credentials.json
DefaultApi CreateSipCredentialList Post /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists.json
DefaultApi CreateSipCredentialListMapping Post /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/CredentialListMappings.json
DefaultApi CreateSipDomain Post /2010-04-01/Accounts/{AccountSid}/SIP/Domains.json
DefaultApi CreateSipIpAccessControlList Post /2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists.json
DefaultApi CreateSipIpAccessControlListMapping Post /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/IpAccessControlListMappings.json
DefaultApi CreateSipIpAddress Post /2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{IpAccessControlListSid}/IpAddresses.json
DefaultApi CreateToken Post /2010-04-01/Accounts/{AccountSid}/Tokens.json
DefaultApi CreateUsageTrigger Post /2010-04-01/Accounts/{AccountSid}/Usage/Triggers.json
DefaultApi CreateValidationRequest Post /2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds.json
DefaultApi DeleteAddress Delete /2010-04-01/Accounts/{AccountSid}/Addresses/{Sid}.json
DefaultApi DeleteApplication Delete /2010-04-01/Accounts/{AccountSid}/Applications/{Sid}.json
DefaultApi DeleteCall Delete /2010-04-01/Accounts/{AccountSid}/Calls/{Sid}.json
DefaultApi DeleteCallFeedbackSummary Delete /2010-04-01/Accounts/{AccountSid}/Calls/FeedbackSummary/{Sid}.json
DefaultApi DeleteCallRecording Delete /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Recordings/{Sid}.json
DefaultApi DeleteConferenceRecording Delete /2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Recordings/{Sid}.json
DefaultApi DeleteConnectApp Delete /2010-04-01/Accounts/{AccountSid}/ConnectApps/{Sid}.json
DefaultApi DeleteIncomingPhoneNumber Delete /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{Sid}.json
DefaultApi DeleteIncomingPhoneNumberAssignedAddOn Delete /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns/{Sid}.json
DefaultApi DeleteKey Delete /2010-04-01/Accounts/{AccountSid}/Keys/{Sid}.json
DefaultApi DeleteMedia Delete /2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Media/{Sid}.json
DefaultApi DeleteMessage Delete /2010-04-01/Accounts/{AccountSid}/Messages/{Sid}.json
DefaultApi DeleteOutgoingCallerId Delete /2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds/{Sid}.json
DefaultApi DeleteParticipant Delete /2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants/{CallSid}.json
DefaultApi DeleteQueue Delete /2010-04-01/Accounts/{AccountSid}/Queues/{Sid}.json
DefaultApi DeleteRecording Delete /2010-04-01/Accounts/{AccountSid}/Recordings/{Sid}.json
DefaultApi DeleteRecordingAddOnResult Delete /2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults/{Sid}.json
DefaultApi DeleteRecordingAddOnResultPayload Delete /2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults/{AddOnResultSid}/Payloads/{Sid}.json
DefaultApi DeleteRecordingTranscription Delete /2010-04-01/Accounts/{AccountSid}/Recordings/{RecordingSid}/Transcriptions/{Sid}.json
DefaultApi DeleteSigningKey Delete /2010-04-01/Accounts/{AccountSid}/SigningKeys/{Sid}.json
DefaultApi DeleteSipAuthCallsCredentialListMapping Delete /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/CredentialListMappings/{Sid}.json
DefaultApi DeleteSipAuthCallsIpAccessControlListMapping Delete /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/IpAccessControlListMappings/{Sid}.json
DefaultApi DeleteSipAuthRegistrationsCredentialListMapping Delete /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Registrations/CredentialListMappings/{Sid}.json
DefaultApi DeleteSipCredential Delete /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{CredentialListSid}/Credentials/{Sid}.json
DefaultApi DeleteSipCredentialList Delete /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{Sid}.json
DefaultApi DeleteSipCredentialListMapping Delete /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/CredentialListMappings/{Sid}.json
DefaultApi DeleteSipDomain Delete /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{Sid}.json
DefaultApi DeleteSipIpAccessControlList Delete /2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{Sid}.json
DefaultApi DeleteSipIpAccessControlListMapping Delete /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/IpAccessControlListMappings/{Sid}.json
DefaultApi DeleteSipIpAddress Delete /2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{IpAccessControlListSid}/IpAddresses/{Sid}.json
DefaultApi DeleteTranscription Delete /2010-04-01/Accounts/{AccountSid}/Transcriptions/{Sid}.json
DefaultApi DeleteUsageTrigger Delete /2010-04-01/Accounts/{AccountSid}/Usage/Triggers/{Sid}.json
DefaultApi FetchAccount Get /2010-04-01/Accounts/{Sid}.json
DefaultApi FetchAddress Get /2010-04-01/Accounts/{AccountSid}/Addresses/{Sid}.json
DefaultApi FetchApplication Get /2010-04-01/Accounts/{AccountSid}/Applications/{Sid}.json
DefaultApi FetchAuthorizedConnectApp Get /2010-04-01/Accounts/{AccountSid}/AuthorizedConnectApps/{ConnectAppSid}.json
DefaultApi FetchAvailablePhoneNumberCountry Get /2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}.json
DefaultApi FetchBalance Get /2010-04-01/Accounts/{AccountSid}/Balance.json
DefaultApi FetchCall Get /2010-04-01/Accounts/{AccountSid}/Calls/{Sid}.json
DefaultApi FetchCallFeedback Get /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Feedback.json
DefaultApi FetchCallFeedbackSummary Get /2010-04-01/Accounts/{AccountSid}/Calls/FeedbackSummary/{Sid}.json
DefaultApi FetchCallNotification Get /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Notifications/{Sid}.json
DefaultApi FetchCallRecording Get /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Recordings/{Sid}.json
DefaultApi FetchConference Get /2010-04-01/Accounts/{AccountSid}/Conferences/{Sid}.json
DefaultApi FetchConferenceRecording Get /2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Recordings/{Sid}.json
DefaultApi FetchConnectApp Get /2010-04-01/Accounts/{AccountSid}/ConnectApps/{Sid}.json
DefaultApi FetchIncomingPhoneNumber Get /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{Sid}.json
DefaultApi FetchIncomingPhoneNumberAssignedAddOn Get /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns/{Sid}.json
DefaultApi FetchIncomingPhoneNumberAssignedAddOnExtension Get /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns/{AssignedAddOnSid}/Extensions/{Sid}.json
DefaultApi FetchKey Get /2010-04-01/Accounts/{AccountSid}/Keys/{Sid}.json
DefaultApi FetchMedia Get /2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Media/{Sid}.json
DefaultApi FetchMember Get /2010-04-01/Accounts/{AccountSid}/Queues/{QueueSid}/Members/{CallSid}.json
DefaultApi FetchMessage Get /2010-04-01/Accounts/{AccountSid}/Messages/{Sid}.json
DefaultApi FetchNotification Get /2010-04-01/Accounts/{AccountSid}/Notifications/{Sid}.json
DefaultApi FetchOutgoingCallerId Get /2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds/{Sid}.json
DefaultApi FetchParticipant Get /2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants/{CallSid}.json
DefaultApi FetchQueue Get /2010-04-01/Accounts/{AccountSid}/Queues/{Sid}.json
DefaultApi FetchRecording Get /2010-04-01/Accounts/{AccountSid}/Recordings/{Sid}.json
DefaultApi FetchRecordingAddOnResult Get /2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults/{Sid}.json
DefaultApi FetchRecordingAddOnResultPayload Get /2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults/{AddOnResultSid}/Payloads/{Sid}.json
DefaultApi FetchRecordingTranscription Get /2010-04-01/Accounts/{AccountSid}/Recordings/{RecordingSid}/Transcriptions/{Sid}.json
DefaultApi FetchShortCode Get /2010-04-01/Accounts/{AccountSid}/SMS/ShortCodes/{Sid}.json
DefaultApi FetchSigningKey Get /2010-04-01/Accounts/{AccountSid}/SigningKeys/{Sid}.json
DefaultApi FetchSipAuthCallsCredentialListMapping Get /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/CredentialListMappings/{Sid}.json
DefaultApi FetchSipAuthCallsIpAccessControlListMapping Get /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/IpAccessControlListMappings/{Sid}.json
DefaultApi FetchSipAuthRegistrationsCredentialListMapping Get /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Registrations/CredentialListMappings/{Sid}.json
DefaultApi FetchSipCredential Get /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{CredentialListSid}/Credentials/{Sid}.json
DefaultApi FetchSipCredentialList Get /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{Sid}.json
DefaultApi FetchSipCredentialListMapping Get /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/CredentialListMappings/{Sid}.json
DefaultApi FetchSipDomain Get /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{Sid}.json
DefaultApi FetchSipIpAccessControlList Get /2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{Sid}.json
DefaultApi FetchSipIpAccessControlListMapping Get /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/IpAccessControlListMappings/{Sid}.json
DefaultApi FetchSipIpAddress Get /2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{IpAccessControlListSid}/IpAddresses/{Sid}.json
DefaultApi FetchTranscription Get /2010-04-01/Accounts/{AccountSid}/Transcriptions/{Sid}.json
DefaultApi FetchUsageTrigger Get /2010-04-01/Accounts/{AccountSid}/Usage/Triggers/{Sid}.json
DefaultApi ListAccount Get /2010-04-01/Accounts.json
DefaultApi ListAddress Get /2010-04-01/Accounts/{AccountSid}/Addresses.json
DefaultApi ListApplication Get /2010-04-01/Accounts/{AccountSid}/Applications.json
DefaultApi ListAuthorizedConnectApp Get /2010-04-01/Accounts/{AccountSid}/AuthorizedConnectApps.json
DefaultApi ListAvailablePhoneNumberCountry Get /2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers.json
DefaultApi ListAvailablePhoneNumberLocal Get /2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}/Local.json
DefaultApi ListAvailablePhoneNumberMachineToMachine Get /2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}/MachineToMachine.json
DefaultApi ListAvailablePhoneNumberMobile Get /2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}/Mobile.json
DefaultApi ListAvailablePhoneNumberNational Get /2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}/National.json
DefaultApi ListAvailablePhoneNumberSharedCost Get /2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}/SharedCost.json
DefaultApi ListAvailablePhoneNumberTollFree Get /2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}/TollFree.json
DefaultApi ListAvailablePhoneNumberVoip Get /2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}/Voip.json
DefaultApi ListCall Get /2010-04-01/Accounts/{AccountSid}/Calls.json
DefaultApi ListCallEvent Get /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Events.json
DefaultApi ListCallNotification Get /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Notifications.json
DefaultApi ListCallRecording Get /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Recordings.json
DefaultApi ListConference Get /2010-04-01/Accounts/{AccountSid}/Conferences.json
DefaultApi ListConferenceRecording Get /2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Recordings.json
DefaultApi ListConnectApp Get /2010-04-01/Accounts/{AccountSid}/ConnectApps.json
DefaultApi ListDependentPhoneNumber Get /2010-04-01/Accounts/{AccountSid}/Addresses/{AddressSid}/DependentPhoneNumbers.json
DefaultApi ListIncomingPhoneNumber Get /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers.json
DefaultApi ListIncomingPhoneNumberAssignedAddOn Get /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns.json
DefaultApi ListIncomingPhoneNumberAssignedAddOnExtension Get /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns/{AssignedAddOnSid}/Extensions.json
DefaultApi ListIncomingPhoneNumberLocal Get /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/Local.json
DefaultApi ListIncomingPhoneNumberMobile Get /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/Mobile.json
DefaultApi ListIncomingPhoneNumberTollFree Get /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/TollFree.json
DefaultApi ListKey Get /2010-04-01/Accounts/{AccountSid}/Keys.json
DefaultApi ListMedia Get /2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Media.json
DefaultApi ListMember Get /2010-04-01/Accounts/{AccountSid}/Queues/{QueueSid}/Members.json
DefaultApi ListMessage Get /2010-04-01/Accounts/{AccountSid}/Messages.json
DefaultApi ListNotification Get /2010-04-01/Accounts/{AccountSid}/Notifications.json
DefaultApi ListOutgoingCallerId Get /2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds.json
DefaultApi ListParticipant Get /2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants.json
DefaultApi ListQueue Get /2010-04-01/Accounts/{AccountSid}/Queues.json
DefaultApi ListRecording Get /2010-04-01/Accounts/{AccountSid}/Recordings.json
DefaultApi ListRecordingAddOnResult Get /2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults.json
DefaultApi ListRecordingAddOnResultPayload Get /2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults/{AddOnResultSid}/Payloads.json
DefaultApi ListRecordingTranscription Get /2010-04-01/Accounts/{AccountSid}/Recordings/{RecordingSid}/Transcriptions.json
DefaultApi ListShortCode Get /2010-04-01/Accounts/{AccountSid}/SMS/ShortCodes.json
DefaultApi ListSigningKey Get /2010-04-01/Accounts/{AccountSid}/SigningKeys.json
DefaultApi ListSipAuthCallsCredentialListMapping Get /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/CredentialListMappings.json
DefaultApi ListSipAuthCallsIpAccessControlListMapping Get /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/IpAccessControlListMappings.json
DefaultApi ListSipAuthRegistrationsCredentialListMapping Get /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Registrations/CredentialListMappings.json
DefaultApi ListSipCredential Get /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{CredentialListSid}/Credentials.json
DefaultApi ListSipCredentialList Get /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists.json
DefaultApi ListSipCredentialListMapping Get /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/CredentialListMappings.json
DefaultApi ListSipDomain Get /2010-04-01/Accounts/{AccountSid}/SIP/Domains.json
DefaultApi ListSipIpAccessControlList Get /2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists.json
DefaultApi ListSipIpAccessControlListMapping Get /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/IpAccessControlListMappings.json
DefaultApi ListSipIpAddress Get /2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{IpAccessControlListSid}/IpAddresses.json
DefaultApi ListTranscription Get /2010-04-01/Accounts/{AccountSid}/Transcriptions.json
DefaultApi ListUsageRecord Get /2010-04-01/Accounts/{AccountSid}/Usage/Records.json
DefaultApi ListUsageRecordAllTime Get /2010-04-01/Accounts/{AccountSid}/Usage/Records/AllTime.json
DefaultApi ListUsageRecordDaily Get /2010-04-01/Accounts/{AccountSid}/Usage/Records/Daily.json
DefaultApi ListUsageRecordLastMonth Get /2010-04-01/Accounts/{AccountSid}/Usage/Records/LastMonth.json
DefaultApi ListUsageRecordMonthly Get /2010-04-01/Accounts/{AccountSid}/Usage/Records/Monthly.json
DefaultApi ListUsageRecordThisMonth Get /2010-04-01/Accounts/{AccountSid}/Usage/Records/ThisMonth.json
DefaultApi ListUsageRecordToday Get /2010-04-01/Accounts/{AccountSid}/Usage/Records/Today.json
DefaultApi ListUsageRecordYearly Get /2010-04-01/Accounts/{AccountSid}/Usage/Records/Yearly.json
DefaultApi ListUsageRecordYesterday Get /2010-04-01/Accounts/{AccountSid}/Usage/Records/Yesterday.json
DefaultApi ListUsageTrigger Get /2010-04-01/Accounts/{AccountSid}/Usage/Triggers.json
DefaultApi UpdateAccount Post /2010-04-01/Accounts/{Sid}.json
DefaultApi UpdateAddress Post /2010-04-01/Accounts/{AccountSid}/Addresses/{Sid}.json
DefaultApi UpdateApplication Post /2010-04-01/Accounts/{AccountSid}/Applications/{Sid}.json
DefaultApi UpdateCall Post /2010-04-01/Accounts/{AccountSid}/Calls/{Sid}.json
DefaultApi UpdateCallFeedback Post /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Feedback.json
DefaultApi UpdateCallRecording Post /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Recordings/{Sid}.json
DefaultApi UpdateConference Post /2010-04-01/Accounts/{AccountSid}/Conferences/{Sid}.json
DefaultApi UpdateConferenceRecording Post /2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Recordings/{Sid}.json
DefaultApi UpdateConnectApp Post /2010-04-01/Accounts/{AccountSid}/ConnectApps/{Sid}.json
DefaultApi UpdateIncomingPhoneNumber Post /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{Sid}.json
DefaultApi UpdateKey Post /2010-04-01/Accounts/{AccountSid}/Keys/{Sid}.json
DefaultApi UpdateMember Post /2010-04-01/Accounts/{AccountSid}/Queues/{QueueSid}/Members/{CallSid}.json
DefaultApi UpdateMessage Post /2010-04-01/Accounts/{AccountSid}/Messages/{Sid}.json
DefaultApi UpdateOutgoingCallerId Post /2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds/{Sid}.json
DefaultApi UpdateParticipant Post /2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants/{CallSid}.json
DefaultApi UpdatePayments Post /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Payments/{Sid}.json
DefaultApi UpdateQueue Post /2010-04-01/Accounts/{AccountSid}/Queues/{Sid}.json
DefaultApi UpdateShortCode Post /2010-04-01/Accounts/{AccountSid}/SMS/ShortCodes/{Sid}.json
DefaultApi UpdateSigningKey Post /2010-04-01/Accounts/{AccountSid}/SigningKeys/{Sid}.json
DefaultApi UpdateSipCredential Post /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{CredentialListSid}/Credentials/{Sid}.json
DefaultApi UpdateSipCredentialList Post /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{Sid}.json
DefaultApi UpdateSipDomain Post /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{Sid}.json
DefaultApi UpdateSipIpAccessControlList Post /2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{Sid}.json
DefaultApi UpdateSipIpAddress Post /2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{IpAccessControlListSid}/IpAddresses/{Sid}.json
DefaultApi 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)

Author

support@twilio.com

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiV2010Account

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

ApiV2010Account struct for ApiV2010Account

type ApiV2010AccountAddress

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

ApiV2010AccountAddress struct for ApiV2010AccountAddress

type ApiV2010AccountAddressDependentPhoneNumber

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

ApiV2010AccountAddressDependentPhoneNumber struct for ApiV2010AccountAddressDependentPhoneNumber

type ApiV2010AccountApplication

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

ApiV2010AccountApplication struct for ApiV2010AccountApplication

type ApiV2010AccountAuthorizedConnectApp

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

ApiV2010AccountAuthorizedConnectApp struct for ApiV2010AccountAuthorizedConnectApp

type ApiV2010AccountAvailablePhoneNumberCountry

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

ApiV2010AccountAvailablePhoneNumberCountry struct for ApiV2010AccountAvailablePhoneNumberCountry

type ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberLocal

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

ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberLocal struct for ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberLocal

type ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberLocalCapabilities

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

ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberLocalCapabilities Whether a phone number can receive calls or messages

type ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberMachineToMachine

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

ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberMachineToMachine struct for ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberMachineToMachine

type ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberMobile

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

ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberMobile struct for ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberMobile

type ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberNational

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

ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberNational struct for ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberNational

type ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberSharedCost

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

ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberSharedCost struct for ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberSharedCost

type ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberTollFree

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

ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberTollFree struct for ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberTollFree

type ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberVoip

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

ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberVoip struct for ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberVoip

type ApiV2010AccountBalance

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

ApiV2010AccountBalance struct for ApiV2010AccountBalance

type ApiV2010AccountCall

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

ApiV2010AccountCall struct for ApiV2010AccountCall

type ApiV2010AccountCallCallEvent

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

ApiV2010AccountCallCallEvent struct for ApiV2010AccountCallCallEvent

type ApiV2010AccountCallCallFeedback

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

ApiV2010AccountCallCallFeedback struct for ApiV2010AccountCallCallFeedback

type ApiV2010AccountCallCallFeedbackSummary

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

ApiV2010AccountCallCallFeedbackSummary struct for ApiV2010AccountCallCallFeedbackSummary

type ApiV2010AccountCallCallNotification

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

ApiV2010AccountCallCallNotification struct for ApiV2010AccountCallCallNotification

type ApiV2010AccountCallCallNotificationInstance

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

ApiV2010AccountCallCallNotificationInstance struct for ApiV2010AccountCallCallNotificationInstance

type ApiV2010AccountCallCallRecording

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

ApiV2010AccountCallCallRecording struct for ApiV2010AccountCallCallRecording

type ApiV2010AccountCallPayments

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

ApiV2010AccountCallPayments struct for ApiV2010AccountCallPayments

type ApiV2010AccountConference

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

ApiV2010AccountConference struct for ApiV2010AccountConference

type ApiV2010AccountConferenceConferenceRecording

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

ApiV2010AccountConferenceConferenceRecording struct for ApiV2010AccountConferenceConferenceRecording

type ApiV2010AccountConferenceParticipant

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

ApiV2010AccountConferenceParticipant struct for ApiV2010AccountConferenceParticipant

type ApiV2010AccountConnectApp

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

ApiV2010AccountConnectApp struct for ApiV2010AccountConnectApp

type ApiV2010AccountIncomingPhoneNumber

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

ApiV2010AccountIncomingPhoneNumber struct for ApiV2010AccountIncomingPhoneNumber

type ApiV2010AccountIncomingPhoneNumberCapabilities

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

ApiV2010AccountIncomingPhoneNumberCapabilities Indicate if a phone can receive calls or messages

type ApiV2010AccountIncomingPhoneNumberIncomingPhoneNumberAssignedAddOn

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

ApiV2010AccountIncomingPhoneNumberIncomingPhoneNumberAssignedAddOn struct for ApiV2010AccountIncomingPhoneNumberIncomingPhoneNumberAssignedAddOn

type ApiV2010AccountIncomingPhoneNumberIncomingPhoneNumberAssignedAddOnIncomingPhoneNumberAssignedAddOnExtension

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

ApiV2010AccountIncomingPhoneNumberIncomingPhoneNumberAssignedAddOnIncomingPhoneNumberAssignedAddOnExtension struct for ApiV2010AccountIncomingPhoneNumberIncomingPhoneNumberAssignedAddOnIncomingPhoneNumberAssignedAddOnExtension

type ApiV2010AccountIncomingPhoneNumberIncomingPhoneNumberLocal

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

ApiV2010AccountIncomingPhoneNumberIncomingPhoneNumberLocal struct for ApiV2010AccountIncomingPhoneNumberIncomingPhoneNumberLocal

type ApiV2010AccountIncomingPhoneNumberIncomingPhoneNumberMobile

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

ApiV2010AccountIncomingPhoneNumberIncomingPhoneNumberMobile struct for ApiV2010AccountIncomingPhoneNumberIncomingPhoneNumberMobile

type ApiV2010AccountIncomingPhoneNumberIncomingPhoneNumberTollFree

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

ApiV2010AccountIncomingPhoneNumberIncomingPhoneNumberTollFree struct for ApiV2010AccountIncomingPhoneNumberIncomingPhoneNumberTollFree

type ApiV2010AccountKey

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

ApiV2010AccountKey struct for ApiV2010AccountKey

type ApiV2010AccountMessage

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

ApiV2010AccountMessage struct for ApiV2010AccountMessage

type ApiV2010AccountMessageMedia

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

ApiV2010AccountMessageMedia struct for ApiV2010AccountMessageMedia

type ApiV2010AccountMessageMessageFeedback

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

ApiV2010AccountMessageMessageFeedback struct for ApiV2010AccountMessageMessageFeedback

type ApiV2010AccountNewKey

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

ApiV2010AccountNewKey struct for ApiV2010AccountNewKey

type ApiV2010AccountNewSigningKey

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

ApiV2010AccountNewSigningKey struct for ApiV2010AccountNewSigningKey

type ApiV2010AccountNotification

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

ApiV2010AccountNotification struct for ApiV2010AccountNotification

type ApiV2010AccountNotificationInstance

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

ApiV2010AccountNotificationInstance struct for ApiV2010AccountNotificationInstance

type ApiV2010AccountOutgoingCallerId

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

ApiV2010AccountOutgoingCallerId struct for ApiV2010AccountOutgoingCallerId

type ApiV2010AccountQueue

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

ApiV2010AccountQueue struct for ApiV2010AccountQueue

type ApiV2010AccountQueueMember

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

ApiV2010AccountQueueMember struct for ApiV2010AccountQueueMember

type ApiV2010AccountRecording

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

ApiV2010AccountRecording struct for ApiV2010AccountRecording

type ApiV2010AccountRecordingRecordingAddOnResult

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

ApiV2010AccountRecordingRecordingAddOnResult struct for ApiV2010AccountRecordingRecordingAddOnResult

type ApiV2010AccountRecordingRecordingAddOnResultRecordingAddOnResultPayload

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

ApiV2010AccountRecordingRecordingAddOnResultRecordingAddOnResultPayload struct for ApiV2010AccountRecordingRecordingAddOnResultRecordingAddOnResultPayload

type ApiV2010AccountRecordingRecordingTranscription

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

ApiV2010AccountRecordingRecordingTranscription struct for ApiV2010AccountRecordingRecordingTranscription

type ApiV2010AccountShortCode

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

ApiV2010AccountShortCode struct for ApiV2010AccountShortCode

type ApiV2010AccountSigningKey

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

ApiV2010AccountSigningKey struct for ApiV2010AccountSigningKey

type ApiV2010AccountSipSipCredentialList

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

ApiV2010AccountSipSipCredentialList struct for ApiV2010AccountSipSipCredentialList

type ApiV2010AccountSipSipCredentialListSipCredential

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

ApiV2010AccountSipSipCredentialListSipCredential struct for ApiV2010AccountSipSipCredentialListSipCredential

type ApiV2010AccountSipSipDomain

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

ApiV2010AccountSipSipDomain struct for ApiV2010AccountSipSipDomain

type ApiV2010AccountSipSipDomainSipAuthSipAuthCallsSipAuthCallsCredentialListMapping

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

ApiV2010AccountSipSipDomainSipAuthSipAuthCallsSipAuthCallsCredentialListMapping struct for ApiV2010AccountSipSipDomainSipAuthSipAuthCallsSipAuthCallsCredentialListMapping

type ApiV2010AccountSipSipDomainSipAuthSipAuthCallsSipAuthCallsIpAccessControlListMapping

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

ApiV2010AccountSipSipDomainSipAuthSipAuthCallsSipAuthCallsIpAccessControlListMapping struct for ApiV2010AccountSipSipDomainSipAuthSipAuthCallsSipAuthCallsIpAccessControlListMapping

type ApiV2010AccountSipSipDomainSipAuthSipAuthRegistrationsSipAuthRegistrationsCredentialListMapping

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

ApiV2010AccountSipSipDomainSipAuthSipAuthRegistrationsSipAuthRegistrationsCredentialListMapping struct for ApiV2010AccountSipSipDomainSipAuthSipAuthRegistrationsSipAuthRegistrationsCredentialListMapping

type ApiV2010AccountSipSipDomainSipCredentialListMapping

type ApiV2010AccountSipSipDomainSipCredentialListMapping struct {
	// The unique id of the Account that is responsible for this resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The date that this resource was created, given as GMT in RFC 2822 format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date that this resource was last updated, given as GMT in RFC 2822 format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// 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 credentials associated with this 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"`
}

ApiV2010AccountSipSipDomainSipCredentialListMapping struct for ApiV2010AccountSipSipDomainSipCredentialListMapping

type ApiV2010AccountSipSipDomainSipIpAccessControlListMapping

type ApiV2010AccountSipSipDomainSipIpAccessControlListMapping struct {
	// The unique id of the Account that is responsible for this resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The date that this resource was created, given as GMT in RFC 2822 format.
	DateCreated *string `json:"date_created,omitempty"`
	// The date that this resource was last updated, given as GMT in RFC 2822 format.
	DateUpdated *string `json:"date_updated,omitempty"`
	// 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 list of IP addresses associated with this domain.
	SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
	// The URI for this resource, relative to https://api.twilio.com
	Uri *string `json:"uri,omitempty"`
}

ApiV2010AccountSipSipDomainSipIpAccessControlListMapping struct for ApiV2010AccountSipSipDomainSipIpAccessControlListMapping

type ApiV2010AccountSipSipIpAccessControlList

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

ApiV2010AccountSipSipIpAccessControlList struct for ApiV2010AccountSipSipIpAccessControlList

type ApiV2010AccountSipSipIpAccessControlListSipIpAddress

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

ApiV2010AccountSipSipIpAccessControlListSipIpAddress struct for ApiV2010AccountSipSipIpAccessControlListSipIpAddress

type ApiV2010AccountToken

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

ApiV2010AccountToken struct for ApiV2010AccountToken

type ApiV2010AccountTokenIceServers

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

ApiV2010AccountTokenIceServers struct for ApiV2010AccountTokenIceServers

type ApiV2010AccountTranscription

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

ApiV2010AccountTranscription struct for ApiV2010AccountTranscription

type ApiV2010AccountUsageUsageRecord

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

ApiV2010AccountUsageUsageRecord struct for ApiV2010AccountUsageUsageRecord

type ApiV2010AccountUsageUsageRecordUsageRecordAllTime

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

ApiV2010AccountUsageUsageRecordUsageRecordAllTime struct for ApiV2010AccountUsageUsageRecordUsageRecordAllTime

type ApiV2010AccountUsageUsageRecordUsageRecordDaily

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

ApiV2010AccountUsageUsageRecordUsageRecordDaily struct for ApiV2010AccountUsageUsageRecordUsageRecordDaily

type ApiV2010AccountUsageUsageRecordUsageRecordLastMonth

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

ApiV2010AccountUsageUsageRecordUsageRecordLastMonth struct for ApiV2010AccountUsageUsageRecordUsageRecordLastMonth

type ApiV2010AccountUsageUsageRecordUsageRecordMonthly

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

ApiV2010AccountUsageUsageRecordUsageRecordMonthly struct for ApiV2010AccountUsageUsageRecordUsageRecordMonthly

type ApiV2010AccountUsageUsageRecordUsageRecordThisMonth

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

ApiV2010AccountUsageUsageRecordUsageRecordThisMonth struct for ApiV2010AccountUsageUsageRecordUsageRecordThisMonth

type ApiV2010AccountUsageUsageRecordUsageRecordToday

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

ApiV2010AccountUsageUsageRecordUsageRecordToday struct for ApiV2010AccountUsageUsageRecordUsageRecordToday

type ApiV2010AccountUsageUsageRecordUsageRecordYearly

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

ApiV2010AccountUsageUsageRecordUsageRecordYearly struct for ApiV2010AccountUsageUsageRecordUsageRecordYearly

type ApiV2010AccountUsageUsageRecordUsageRecordYesterday

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

ApiV2010AccountUsageUsageRecordUsageRecordYesterday struct for ApiV2010AccountUsageUsageRecordUsageRecordYesterday

type ApiV2010AccountUsageUsageTrigger

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

ApiV2010AccountUsageUsageTrigger struct for ApiV2010AccountUsageUsageTrigger

type ApiV2010AccountValidationRequest

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

ApiV2010AccountValidationRequest struct for ApiV2010AccountValidationRequest

type CreateAccountParams

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

Optional parameters for the method 'CreateAccount'

func (*CreateAccountParams) SetFriendlyName

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

type CreateAddressParams

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

Optional parameters for the method 'CreateAddress'

func (*CreateAddressParams) SetAutoCorrectAddress

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

func (*CreateAddressParams) SetCity

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

func (*CreateAddressParams) SetCustomerName

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

func (*CreateAddressParams) SetEmergencyEnabled

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

func (*CreateAddressParams) SetFriendlyName

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

func (*CreateAddressParams) SetIsoCountry

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

func (*CreateAddressParams) SetPathAccountSid

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

func (*CreateAddressParams) SetPostalCode

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

func (*CreateAddressParams) SetRegion

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

func (*CreateAddressParams) SetStreet

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

type CreateApplicationParams

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

Optional parameters for the method 'CreateApplication'

func (*CreateApplicationParams) SetApiVersion

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

func (*CreateApplicationParams) SetFriendlyName

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

func (*CreateApplicationParams) SetMessageStatusCallback

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

func (*CreateApplicationParams) SetPathAccountSid

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

func (*CreateApplicationParams) SetSmsFallbackMethod

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

func (*CreateApplicationParams) SetSmsFallbackUrl

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

func (*CreateApplicationParams) SetSmsMethod

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

func (*CreateApplicationParams) SetSmsStatusCallback

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

func (*CreateApplicationParams) SetSmsUrl

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

func (*CreateApplicationParams) SetStatusCallback

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

func (*CreateApplicationParams) SetStatusCallbackMethod

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

func (*CreateApplicationParams) SetVoiceCallerIdLookup

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

func (*CreateApplicationParams) SetVoiceFallbackMethod

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

func (*CreateApplicationParams) SetVoiceFallbackUrl

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

func (*CreateApplicationParams) SetVoiceMethod

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

func (*CreateApplicationParams) SetVoiceUrl

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

type CreateCallFeedbackSummaryParams

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

Optional parameters for the method 'CreateCallFeedbackSummary'

func (*CreateCallFeedbackSummaryParams) SetEndDate

func (*CreateCallFeedbackSummaryParams) SetIncludeSubaccounts

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

func (*CreateCallFeedbackSummaryParams) SetPathAccountSid

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

func (*CreateCallFeedbackSummaryParams) SetStartDate

func (*CreateCallFeedbackSummaryParams) SetStatusCallback

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

func (*CreateCallFeedbackSummaryParams) SetStatusCallbackMethod

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

type CreateCallParams

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

Optional parameters for the method 'CreateCall'

func (*CreateCallParams) SetApplicationSid

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

func (*CreateCallParams) SetAsyncAmd

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

func (*CreateCallParams) SetAsyncAmdStatusCallback

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

func (*CreateCallParams) SetAsyncAmdStatusCallbackMethod

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

func (*CreateCallParams) SetByoc

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

func (*CreateCallParams) SetCallReason

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

func (*CreateCallParams) SetCallToken

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

func (*CreateCallParams) SetCallerId

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

func (*CreateCallParams) SetFallbackMethod

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

func (*CreateCallParams) SetFallbackUrl

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

func (*CreateCallParams) SetFrom

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

func (*CreateCallParams) SetMachineDetection

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

func (*CreateCallParams) SetMachineDetectionSilenceTimeout

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

func (*CreateCallParams) SetMachineDetectionSpeechEndThreshold

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

func (*CreateCallParams) SetMachineDetectionSpeechThreshold

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

func (*CreateCallParams) SetMachineDetectionTimeout

func (params *CreateCallParams) SetMachineDetectionTimeout(MachineDetectionTimeout int32) *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) SetTimeout

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

func (*CreateCallParams) SetTo

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

func (*CreateCallParams) SetTrim

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

func (*CreateCallParams) SetTwiml

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

func (*CreateCallParams) SetUrl

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

type CreateCallRecordingParams

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

Optional parameters for the method 'CreateCallRecording'

func (*CreateCallRecordingParams) SetPathAccountSid

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

func (*CreateCallRecordingParams) SetRecordingChannels

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

func (*CreateCallRecordingParams) SetRecordingStatusCallback

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

func (*CreateCallRecordingParams) SetRecordingStatusCallbackEvent

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

func (*CreateCallRecordingParams) SetRecordingStatusCallbackMethod

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

func (*CreateCallRecordingParams) SetRecordingTrack

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

func (*CreateCallRecordingParams) SetTrim

type CreateIncomingPhoneNumberAssignedAddOnParams

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

Optional parameters for the method 'CreateIncomingPhoneNumberAssignedAddOn'

func (*CreateIncomingPhoneNumberAssignedAddOnParams) SetInstalledAddOnSid

func (*CreateIncomingPhoneNumberAssignedAddOnParams) SetPathAccountSid

type CreateIncomingPhoneNumberLocalParams

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

Optional parameters for the method 'CreateIncomingPhoneNumberLocal'

func (*CreateIncomingPhoneNumberLocalParams) SetAddressSid

func (*CreateIncomingPhoneNumberLocalParams) SetApiVersion

func (*CreateIncomingPhoneNumberLocalParams) SetBundleSid

func (*CreateIncomingPhoneNumberLocalParams) SetEmergencyAddressSid

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

func (*CreateIncomingPhoneNumberLocalParams) SetEmergencyStatus

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

func (*CreateIncomingPhoneNumberLocalParams) SetFriendlyName

func (*CreateIncomingPhoneNumberLocalParams) SetIdentitySid

func (*CreateIncomingPhoneNumberLocalParams) SetPathAccountSid

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

func (*CreateIncomingPhoneNumberLocalParams) SetPhoneNumber

func (*CreateIncomingPhoneNumberLocalParams) SetSmsApplicationSid

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

func (*CreateIncomingPhoneNumberLocalParams) SetSmsFallbackMethod

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

func (*CreateIncomingPhoneNumberLocalParams) SetSmsFallbackUrl

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

func (*CreateIncomingPhoneNumberLocalParams) SetSmsMethod

func (*CreateIncomingPhoneNumberLocalParams) SetSmsUrl

func (*CreateIncomingPhoneNumberLocalParams) SetStatusCallback

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

func (*CreateIncomingPhoneNumberLocalParams) SetStatusCallbackMethod

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

func (*CreateIncomingPhoneNumberLocalParams) SetTrunkSid

func (*CreateIncomingPhoneNumberLocalParams) SetVoiceApplicationSid

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

func (*CreateIncomingPhoneNumberLocalParams) SetVoiceCallerIdLookup

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

func (*CreateIncomingPhoneNumberLocalParams) SetVoiceFallbackMethod

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

func (*CreateIncomingPhoneNumberLocalParams) SetVoiceFallbackUrl

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

func (*CreateIncomingPhoneNumberLocalParams) SetVoiceMethod

func (*CreateIncomingPhoneNumberLocalParams) SetVoiceReceiveMode

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

func (*CreateIncomingPhoneNumberLocalParams) SetVoiceUrl

type CreateIncomingPhoneNumberMobileParams

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

Optional parameters for the method 'CreateIncomingPhoneNumberMobile'

func (*CreateIncomingPhoneNumberMobileParams) SetAddressSid

func (*CreateIncomingPhoneNumberMobileParams) SetApiVersion

func (*CreateIncomingPhoneNumberMobileParams) SetBundleSid

func (*CreateIncomingPhoneNumberMobileParams) SetEmergencyAddressSid

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

func (*CreateIncomingPhoneNumberMobileParams) SetEmergencyStatus

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

func (*CreateIncomingPhoneNumberMobileParams) SetFriendlyName

func (*CreateIncomingPhoneNumberMobileParams) SetIdentitySid

func (*CreateIncomingPhoneNumberMobileParams) SetPathAccountSid

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

func (*CreateIncomingPhoneNumberMobileParams) SetPhoneNumber

func (*CreateIncomingPhoneNumberMobileParams) SetSmsApplicationSid

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

func (*CreateIncomingPhoneNumberMobileParams) SetSmsFallbackMethod

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

func (*CreateIncomingPhoneNumberMobileParams) SetSmsFallbackUrl

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

func (*CreateIncomingPhoneNumberMobileParams) SetSmsMethod

func (*CreateIncomingPhoneNumberMobileParams) SetSmsUrl

func (*CreateIncomingPhoneNumberMobileParams) SetStatusCallback

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

func (*CreateIncomingPhoneNumberMobileParams) SetStatusCallbackMethod

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

func (*CreateIncomingPhoneNumberMobileParams) SetTrunkSid

func (*CreateIncomingPhoneNumberMobileParams) SetVoiceApplicationSid

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

func (*CreateIncomingPhoneNumberMobileParams) SetVoiceCallerIdLookup

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

func (*CreateIncomingPhoneNumberMobileParams) SetVoiceFallbackMethod

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

func (*CreateIncomingPhoneNumberMobileParams) SetVoiceFallbackUrl

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

func (*CreateIncomingPhoneNumberMobileParams) SetVoiceMethod

func (*CreateIncomingPhoneNumberMobileParams) SetVoiceReceiveMode

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

func (*CreateIncomingPhoneNumberMobileParams) SetVoiceUrl

type CreateIncomingPhoneNumberParams

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

Optional parameters for the method 'CreateIncomingPhoneNumber'

func (*CreateIncomingPhoneNumberParams) SetAddressSid

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

func (*CreateIncomingPhoneNumberParams) SetApiVersion

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

func (*CreateIncomingPhoneNumberParams) SetAreaCode

func (*CreateIncomingPhoneNumberParams) SetBundleSid

func (*CreateIncomingPhoneNumberParams) SetEmergencyAddressSid

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

func (*CreateIncomingPhoneNumberParams) SetEmergencyStatus

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

func (*CreateIncomingPhoneNumberParams) SetFriendlyName

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

func (*CreateIncomingPhoneNumberParams) SetIdentitySid

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

func (*CreateIncomingPhoneNumberParams) SetPathAccountSid

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

func (*CreateIncomingPhoneNumberParams) SetPhoneNumber

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

func (*CreateIncomingPhoneNumberParams) SetSmsApplicationSid

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

func (*CreateIncomingPhoneNumberParams) SetSmsFallbackMethod

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

func (*CreateIncomingPhoneNumberParams) SetSmsFallbackUrl

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

func (*CreateIncomingPhoneNumberParams) SetSmsMethod

func (*CreateIncomingPhoneNumberParams) SetSmsUrl

func (*CreateIncomingPhoneNumberParams) SetStatusCallback

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

func (*CreateIncomingPhoneNumberParams) SetStatusCallbackMethod

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

func (*CreateIncomingPhoneNumberParams) SetTrunkSid

func (*CreateIncomingPhoneNumberParams) SetVoiceApplicationSid

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

func (*CreateIncomingPhoneNumberParams) SetVoiceCallerIdLookup

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

func (*CreateIncomingPhoneNumberParams) SetVoiceFallbackMethod

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

func (*CreateIncomingPhoneNumberParams) SetVoiceFallbackUrl

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

func (*CreateIncomingPhoneNumberParams) SetVoiceMethod

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

func (*CreateIncomingPhoneNumberParams) SetVoiceReceiveMode

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

func (*CreateIncomingPhoneNumberParams) SetVoiceUrl

type CreateIncomingPhoneNumberTollFreeParams

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

Optional parameters for the method 'CreateIncomingPhoneNumberTollFree'

func (*CreateIncomingPhoneNumberTollFreeParams) SetAddressSid

func (*CreateIncomingPhoneNumberTollFreeParams) SetApiVersion

func (*CreateIncomingPhoneNumberTollFreeParams) SetBundleSid

func (*CreateIncomingPhoneNumberTollFreeParams) SetEmergencyAddressSid

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

func (*CreateIncomingPhoneNumberTollFreeParams) SetEmergencyStatus

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

func (*CreateIncomingPhoneNumberTollFreeParams) SetFriendlyName

func (*CreateIncomingPhoneNumberTollFreeParams) SetIdentitySid

func (*CreateIncomingPhoneNumberTollFreeParams) SetPathAccountSid

func (*CreateIncomingPhoneNumberTollFreeParams) SetPhoneNumber

func (*CreateIncomingPhoneNumberTollFreeParams) SetSmsApplicationSid

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

func (*CreateIncomingPhoneNumberTollFreeParams) SetSmsFallbackMethod

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

func (*CreateIncomingPhoneNumberTollFreeParams) SetSmsFallbackUrl

func (*CreateIncomingPhoneNumberTollFreeParams) SetSmsMethod

func (*CreateIncomingPhoneNumberTollFreeParams) SetSmsUrl

func (*CreateIncomingPhoneNumberTollFreeParams) SetStatusCallback

func (*CreateIncomingPhoneNumberTollFreeParams) SetStatusCallbackMethod

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

func (*CreateIncomingPhoneNumberTollFreeParams) SetTrunkSid

func (*CreateIncomingPhoneNumberTollFreeParams) SetVoiceApplicationSid

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

func (*CreateIncomingPhoneNumberTollFreeParams) SetVoiceCallerIdLookup

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

func (*CreateIncomingPhoneNumberTollFreeParams) SetVoiceFallbackMethod

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

func (*CreateIncomingPhoneNumberTollFreeParams) SetVoiceFallbackUrl

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

func (*CreateIncomingPhoneNumberTollFreeParams) SetVoiceMethod

func (*CreateIncomingPhoneNumberTollFreeParams) SetVoiceReceiveMode

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

func (*CreateIncomingPhoneNumberTollFreeParams) SetVoiceUrl

type CreateMessageFeedbackParams

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

Optional parameters for the method 'CreateMessageFeedback'

func (*CreateMessageFeedbackParams) SetOutcome

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

func (*CreateMessageFeedbackParams) SetPathAccountSid

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

type CreateMessageParams

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

Optional parameters for the method 'CreateMessage'

func (*CreateMessageParams) SetAddressRetention

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

func (*CreateMessageParams) SetApplicationSid

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

func (*CreateMessageParams) SetAttempt

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

func (*CreateMessageParams) SetBody

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

func (*CreateMessageParams) SetContentRetention

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

func (*CreateMessageParams) SetForceDelivery

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

func (*CreateMessageParams) SetFrom

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

func (*CreateMessageParams) SetMaxPrice

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

func (*CreateMessageParams) SetMediaUrl

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

func (*CreateMessageParams) SetMessagingServiceSid

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

func (*CreateMessageParams) SetPathAccountSid

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

func (*CreateMessageParams) SetPersistentAction

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

func (*CreateMessageParams) SetProvideFeedback

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

func (*CreateMessageParams) SetSmartEncoded

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

func (*CreateMessageParams) SetStatusCallback

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

func (*CreateMessageParams) SetTo

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

func (*CreateMessageParams) SetValidityPeriod

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

type CreateNewKeyParams

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

Optional parameters for the method 'CreateNewKey'

func (*CreateNewKeyParams) SetFriendlyName

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

func (*CreateNewKeyParams) SetPathAccountSid

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

type CreateNewSigningKeyParams

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

Optional parameters for the method 'CreateNewSigningKey'

func (*CreateNewSigningKeyParams) SetFriendlyName

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

func (*CreateNewSigningKeyParams) SetPathAccountSid

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

type CreateParticipantParams

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

Optional parameters for the method 'CreateParticipant'

func (*CreateParticipantParams) SetBeep

func (*CreateParticipantParams) SetByoc

func (*CreateParticipantParams) SetCallReason

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

func (*CreateParticipantParams) SetCallSidToCoach

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

func (*CreateParticipantParams) SetCallerId

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

func (*CreateParticipantParams) SetCoaching

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

func (*CreateParticipantParams) SetConferenceRecord

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

func (*CreateParticipantParams) SetConferenceRecordingStatusCallback

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

func (*CreateParticipantParams) SetConferenceRecordingStatusCallbackEvent

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

func (*CreateParticipantParams) SetConferenceRecordingStatusCallbackMethod

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

func (*CreateParticipantParams) SetConferenceStatusCallback

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

func (*CreateParticipantParams) SetConferenceStatusCallbackEvent

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

func (*CreateParticipantParams) SetConferenceStatusCallbackMethod

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

func (*CreateParticipantParams) SetConferenceTrim

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

func (*CreateParticipantParams) SetEarlyMedia

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

func (*CreateParticipantParams) SetEndConferenceOnExit

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

func (*CreateParticipantParams) SetFrom

func (*CreateParticipantParams) SetJitterBufferSize

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

func (*CreateParticipantParams) SetLabel

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

func (*CreateParticipantParams) SetMaxParticipants

func (params *CreateParticipantParams) SetMaxParticipants(MaxParticipants int32) *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) SetTimeout

func (params *CreateParticipantParams) SetTimeout(Timeout int32) *CreateParticipantParams

func (*CreateParticipantParams) SetTo

func (*CreateParticipantParams) SetWaitMethod

func (params *CreateParticipantParams) SetWaitMethod(WaitMethod string) *CreateParticipantParams

func (*CreateParticipantParams) SetWaitUrl

func (params *CreateParticipantParams) SetWaitUrl(WaitUrl string) *CreateParticipantParams

type CreatePaymentsParams

type CreatePaymentsParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// Type of bank account if payment source is ACH. One of `consumer-checking`, `consumer-savings`, or `commercial-checking`. The default value is `consumer-checking`.
	BankAccountType *string `json:"BankAccountType,omitempty"`
	// A positive decimal value less than 1,000,000 to charge against the credit card or bank account. Default currency can be overwritten with `currency` field. Leave blank or set to 0 to tokenize.
	ChargeAmount *float32 `json:"ChargeAmount,omitempty"`
	// The currency of the `charge_amount`, formatted as [ISO 4127](http://www.iso.org/iso/home/standards/currency_codes.htm) format. The default value is `USD` and all values allowed from the <Pay> Connector are accepted.
	Currency *string `json:"Currency,omitempty"`
	// The description can be used to provide more details regarding the transaction. This information is submitted along with the payment details to the Payment Connector which are then posted on the transactions.
	Description *string `json:"Description,omitempty"`
	// A unique token that will be used to ensure that multiple API calls with the same information do not result in multiple transactions. This should be a unique string value per API call and can be a randomly generated.
	IdempotencyKey *string `json:"IdempotencyKey,omitempty"`
	// A list of inputs that should be accepted. Currently only `dtmf` is supported. All digits captured during a pay session are redacted from the logs.
	Input *string `json:"Input,omitempty"`
	// A positive integer that is used to validate the length of the `PostalCode` inputted by the user. User must enter this many digits.
	MinPostalCodeLength *int32 `json:"MinPostalCodeLength,omitempty"`
	// A single level JSON string that is required when accepting certain information specific only to ACH payments. The information that has to be included here depends on the <Pay> Connector. [Read more](https://www.twilio.com/console/voice/pay-connectors).
	Parameter *map[string]interface{} `json:"Parameter,omitempty"`
	// This is the unique name corresponding to the Payment Gateway Connector installed in the Twilio Add-ons. Learn more about [<Pay> Connectors](https://www.twilio.com/console/voice/pay-connectors). The default value is `Default`.
	PaymentConnector *string `json:"PaymentConnector,omitempty"`
	// Type of payment being captured. One of `credit-card` or `ach-debit`. The default value is `credit-card`.
	PaymentMethod *string `json:"PaymentMethod,omitempty"`
	// Indicates whether the credit card postal code (zip code) is a required piece of payment information that must be provided by the caller. The default is `true`.
	PostalCode *bool `json:"PostalCode,omitempty"`
	// Indicates whether the credit card security code is a required piece of payment information that must be provided by the caller. The default is `true`.
	SecurityCode *bool `json:"SecurityCode,omitempty"`
	// Provide an absolute or relative URL to receive status updates regarding your Pay session. Read more about the [expected StatusCallback values](https://www.twilio.com/docs/voice/api/payment-resource#statuscallback)
	StatusCallback *string `json:"StatusCallback,omitempty"`
	// The number of seconds that <Pay> should wait for the caller to press a digit between each subsequent digit, after the first one, before moving on to validate the digits captured. The default is `5`, maximum is `600`.
	Timeout *int32 `json:"Timeout,omitempty"`
	// Indicates whether the payment method should be tokenized as a `one-time` or `reusable` token. The default value is `reusable`. Do not enter a charge amount when tokenizing. If a charge amount is entered, the payment method will be charged and not tokenized.
	TokenType *string `json:"TokenType,omitempty"`
	// Credit card types separated by space that Pay should accept. The default value is `visa mastercard amex`
	ValidCardTypes *string `json:"ValidCardTypes,omitempty"`
}

Optional parameters for the method 'CreatePayments'

func (*CreatePaymentsParams) SetBankAccountType

func (params *CreatePaymentsParams) SetBankAccountType(BankAccountType string) *CreatePaymentsParams

func (*CreatePaymentsParams) SetChargeAmount

func (params *CreatePaymentsParams) SetChargeAmount(ChargeAmount float32) *CreatePaymentsParams

func (*CreatePaymentsParams) SetCurrency

func (params *CreatePaymentsParams) SetCurrency(Currency string) *CreatePaymentsParams

func (*CreatePaymentsParams) SetDescription

func (params *CreatePaymentsParams) SetDescription(Description string) *CreatePaymentsParams

func (*CreatePaymentsParams) SetIdempotencyKey

func (params *CreatePaymentsParams) SetIdempotencyKey(IdempotencyKey string) *CreatePaymentsParams

func (*CreatePaymentsParams) SetInput

func (params *CreatePaymentsParams) SetInput(Input string) *CreatePaymentsParams

func (*CreatePaymentsParams) SetMinPostalCodeLength

func (params *CreatePaymentsParams) SetMinPostalCodeLength(MinPostalCodeLength int32) *CreatePaymentsParams

func (*CreatePaymentsParams) SetParameter

func (params *CreatePaymentsParams) SetParameter(Parameter map[string]interface{}) *CreatePaymentsParams

func (*CreatePaymentsParams) SetPathAccountSid

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

func (*CreatePaymentsParams) SetPaymentConnector

func (params *CreatePaymentsParams) SetPaymentConnector(PaymentConnector string) *CreatePaymentsParams

func (*CreatePaymentsParams) SetPaymentMethod

func (params *CreatePaymentsParams) SetPaymentMethod(PaymentMethod string) *CreatePaymentsParams

func (*CreatePaymentsParams) SetPostalCode

func (params *CreatePaymentsParams) SetPostalCode(PostalCode bool) *CreatePaymentsParams

func (*CreatePaymentsParams) SetSecurityCode

func (params *CreatePaymentsParams) SetSecurityCode(SecurityCode bool) *CreatePaymentsParams

func (*CreatePaymentsParams) SetStatusCallback

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

func (*CreatePaymentsParams) SetTimeout

func (params *CreatePaymentsParams) SetTimeout(Timeout int32) *CreatePaymentsParams

func (*CreatePaymentsParams) SetTokenType

func (params *CreatePaymentsParams) SetTokenType(TokenType string) *CreatePaymentsParams

func (*CreatePaymentsParams) SetValidCardTypes

func (params *CreatePaymentsParams) SetValidCardTypes(ValidCardTypes string) *CreatePaymentsParams

type CreateQueueParams

type CreateQueueParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// A descriptive string that you created to describe this resource. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The maximum number of calls allowed to be in the queue. The default is 100. The maximum is 5000.
	MaxSize *int32 `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 int32) *CreateQueueParams

func (*CreateQueueParams) SetPathAccountSid

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

type CreateSipAuthCallsCredentialListMappingParams

type CreateSipAuthCallsCredentialListMappingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The SID of the CredentialList resource to map to the SIP domain.
	CredentialListSid *string `json:"CredentialListSid,omitempty"`
}

Optional parameters for the method 'CreateSipAuthCallsCredentialListMapping'

func (*CreateSipAuthCallsCredentialListMappingParams) SetCredentialListSid

func (*CreateSipAuthCallsCredentialListMappingParams) SetPathAccountSid

type CreateSipAuthCallsIpAccessControlListMappingParams

type CreateSipAuthCallsIpAccessControlListMappingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The SID of the IpAccessControlList resource to map to the SIP domain.
	IpAccessControlListSid *string `json:"IpAccessControlListSid,omitempty"`
}

Optional parameters for the method 'CreateSipAuthCallsIpAccessControlListMapping'

func (*CreateSipAuthCallsIpAccessControlListMappingParams) SetIpAccessControlListSid

func (*CreateSipAuthCallsIpAccessControlListMappingParams) SetPathAccountSid

type CreateSipAuthRegistrationsCredentialListMappingParams

type CreateSipAuthRegistrationsCredentialListMappingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The SID of the CredentialList resource to map to the SIP domain.
	CredentialListSid *string `json:"CredentialListSid,omitempty"`
}

Optional parameters for the method 'CreateSipAuthRegistrationsCredentialListMapping'

func (*CreateSipAuthRegistrationsCredentialListMappingParams) SetCredentialListSid

func (*CreateSipAuthRegistrationsCredentialListMappingParams) SetPathAccountSid

type CreateSipCredentialListMappingParams

type CreateSipCredentialListMappingParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// A 34 character string that uniquely identifies the CredentialList resource to map to the SIP domain.
	CredentialListSid *string `json:"CredentialListSid,omitempty"`
}

Optional parameters for the method 'CreateSipCredentialListMapping'

func (*CreateSipCredentialListMappingParams) SetCredentialListSid

func (params *CreateSipCredentialListMappingParams) SetCredentialListSid(CredentialListSid string) *CreateSipCredentialListMappingParams

func (*CreateSipCredentialListMappingParams) SetPathAccountSid

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

type CreateSipCredentialListParams

type CreateSipCredentialListParams struct {
	// The unique id of the Account that is responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// A human readable descriptive text that describes the CredentialList, up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
}

Optional parameters for the method 'CreateSipCredentialList'

func (*CreateSipCredentialListParams) SetFriendlyName

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

func (*CreateSipCredentialListParams) SetPathAccountSid

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

type CreateSipCredentialParams

type CreateSipCredentialParams struct {
	// The unique id of the Account that is responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The password that the username will use when authenticating SIP requests. The password must be a minimum of 12 characters, contain at least 1 digit, and have mixed case. (eg `IWasAtSignal2018`)
	Password *string `json:"Password,omitempty"`
	// The username that will be passed when authenticating SIP requests. The username should be sent in response to Twilio's challenge of the initial INVITE. It can be up to 32 characters long.
	Username *string `json:"Username,omitempty"`
}

Optional parameters for the method 'CreateSipCredential'

func (*CreateSipCredentialParams) SetPassword

func (params *CreateSipCredentialParams) SetPassword(Password string) *CreateSipCredentialParams

func (*CreateSipCredentialParams) SetPathAccountSid

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

func (*CreateSipCredentialParams) SetUsername

func (params *CreateSipCredentialParams) SetUsername(Username string) *CreateSipCredentialParams

type CreateSipDomainParams

type CreateSipDomainParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The SID of the BYOC Trunk(Bring Your Own Carrier) resource that the Sip Domain will be associated with.
	ByocTrunkSid *string `json:"ByocTrunkSid,omitempty"`
	// The unique address you reserve on Twilio to which you route your SIP traffic. Domain names can contain letters, digits, and \\\"-\\\" and must end with `sip.twilio.com`.
	DomainName *string `json:"DomainName,omitempty"`
	// Whether an emergency caller sid is configured for the domain. If present, this phone number will be used as the callback for the emergency call.
	EmergencyCallerSid *string `json:"EmergencyCallerSid,omitempty"`
	// Whether emergency calling is enabled for the domain. If enabled, allows emergency calls on the domain from phone numbers with validated addresses.
	EmergencyCallingEnabled *bool `json:"EmergencyCallingEnabled,omitempty"`
	// A descriptive string that you created to describe the resource. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// Whether secure SIP is enabled for the domain. If enabled, TLS will be enforced and SRTP will be negotiated on all incoming calls to this sip domain.
	Secure *bool `json:"Secure,omitempty"`
	// Whether to allow SIP Endpoints to register with the domain to receive calls. Can be `true` or `false`. `true` allows SIP Endpoints to register with the domain to receive calls, `false` does not.
	SipRegistration *bool `json:"SipRegistration,omitempty"`
	// The HTTP method we should use to call `voice_fallback_url`. Can be: `GET` or `POST`.
	VoiceFallbackMethod *string `json:"VoiceFallbackMethod,omitempty"`
	// The URL that we should call when an error occurs while retrieving or executing the TwiML from `voice_url`.
	VoiceFallbackUrl *string `json:"VoiceFallbackUrl,omitempty"`
	// The HTTP method we should use to call `voice_url`. Can be: `GET` or `POST`.
	VoiceMethod *string `json:"VoiceMethod,omitempty"`
	// The HTTP method we should use to call `voice_status_callback_url`. Can be: `GET` or `POST`.
	VoiceStatusCallbackMethod *string `json:"VoiceStatusCallbackMethod,omitempty"`
	// The URL that we should call to pass status parameters (such as call ended) to your application.
	VoiceStatusCallbackUrl *string `json:"VoiceStatusCallbackUrl,omitempty"`
	// The URL we should when the domain receives a call.
	VoiceUrl *string `json:"VoiceUrl,omitempty"`
}

Optional parameters for the method 'CreateSipDomain'

func (*CreateSipDomainParams) SetByocTrunkSid

func (params *CreateSipDomainParams) SetByocTrunkSid(ByocTrunkSid string) *CreateSipDomainParams

func (*CreateSipDomainParams) SetDomainName

func (params *CreateSipDomainParams) SetDomainName(DomainName string) *CreateSipDomainParams

func (*CreateSipDomainParams) SetEmergencyCallerSid

func (params *CreateSipDomainParams) SetEmergencyCallerSid(EmergencyCallerSid string) *CreateSipDomainParams

func (*CreateSipDomainParams) SetEmergencyCallingEnabled

func (params *CreateSipDomainParams) SetEmergencyCallingEnabled(EmergencyCallingEnabled bool) *CreateSipDomainParams

func (*CreateSipDomainParams) SetFriendlyName

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

func (*CreateSipDomainParams) SetPathAccountSid

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

func (*CreateSipDomainParams) SetSecure

func (params *CreateSipDomainParams) SetSecure(Secure bool) *CreateSipDomainParams

func (*CreateSipDomainParams) SetSipRegistration

func (params *CreateSipDomainParams) SetSipRegistration(SipRegistration bool) *CreateSipDomainParams

func (*CreateSipDomainParams) SetVoiceFallbackMethod

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

func (*CreateSipDomainParams) SetVoiceFallbackUrl

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

func (*CreateSipDomainParams) SetVoiceMethod

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

func (*CreateSipDomainParams) SetVoiceStatusCallbackMethod

func (params *CreateSipDomainParams) SetVoiceStatusCallbackMethod(VoiceStatusCallbackMethod string) *CreateSipDomainParams

func (*CreateSipDomainParams) SetVoiceStatusCallbackUrl

func (params *CreateSipDomainParams) SetVoiceStatusCallbackUrl(VoiceStatusCallbackUrl string) *CreateSipDomainParams

func (*CreateSipDomainParams) SetVoiceUrl

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

type CreateSipIpAccessControlListMappingParams

type CreateSipIpAccessControlListMappingParams struct {
	// The unique id of the Account that is responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The unique id of the IP access control list to map to the SIP domain.
	IpAccessControlListSid *string `json:"IpAccessControlListSid,omitempty"`
}

Optional parameters for the method 'CreateSipIpAccessControlListMapping'

func (*CreateSipIpAccessControlListMappingParams) SetIpAccessControlListSid

func (params *CreateSipIpAccessControlListMappingParams) SetIpAccessControlListSid(IpAccessControlListSid string) *CreateSipIpAccessControlListMappingParams

func (*CreateSipIpAccessControlListMappingParams) SetPathAccountSid

type CreateSipIpAccessControlListParams

type CreateSipIpAccessControlListParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// A human readable descriptive text that describes the IpAccessControlList, up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
}

Optional parameters for the method 'CreateSipIpAccessControlList'

func (*CreateSipIpAccessControlListParams) SetFriendlyName

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

func (*CreateSipIpAccessControlListParams) SetPathAccountSid

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

type CreateSipIpAddressParams

type CreateSipIpAddressParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// An integer representing the length of the CIDR prefix to use with this IP address when accepting traffic. By default the entire IP address is used.
	CidrPrefixLength *int32 `json:"CidrPrefixLength,omitempty"`
	// A human readable descriptive text for this resource, up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// An IP address in dotted decimal notation from which you want to accept traffic. Any SIP requests from this IP address will be allowed by Twilio. IPv4 only supported today.
	IpAddress *string `json:"IpAddress,omitempty"`
}

Optional parameters for the method 'CreateSipIpAddress'

func (*CreateSipIpAddressParams) SetCidrPrefixLength

func (params *CreateSipIpAddressParams) SetCidrPrefixLength(CidrPrefixLength int32) *CreateSipIpAddressParams

func (*CreateSipIpAddressParams) SetFriendlyName

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

func (*CreateSipIpAddressParams) SetIpAddress

func (params *CreateSipIpAddressParams) SetIpAddress(IpAddress string) *CreateSipIpAddressParams

func (*CreateSipIpAddressParams) SetPathAccountSid

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

type CreateTokenParams

type CreateTokenParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The duration in seconds for which the generated credentials are valid. The default value is 86400 (24 hours).
	Ttl *int32 `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 int32) *CreateTokenParams

type CreateUsageTriggerParams

type CreateUsageTriggerParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The HTTP method we should use to call `callback_url`. Can be: `GET` or `POST` and the default is `POST`.
	CallbackMethod *string `json:"CallbackMethod,omitempty"`
	// The URL we should call using `callback_method` when the trigger fires.
	CallbackUrl *string `json:"CallbackUrl,omitempty"`
	// A descriptive string that you create to describe the resource. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The frequency of a recurring UsageTrigger.  Can be: `daily`, `monthly`, or `yearly` for recurring triggers or empty for non-recurring triggers. A trigger will only fire once during each period. Recurring times are in GMT.
	Recurring *string `json:"Recurring,omitempty"`
	// The field in the [UsageRecord](https://www.twilio.com/docs/usage/api/usage-record) resource that should fire the trigger.  Can be: `count`, `usage`, or `price` as described in the [UsageRecords documentation](https://www.twilio.com/docs/usage/api/usage-record#usage-count-price).  The default is `usage`.
	TriggerBy *string `json:"TriggerBy,omitempty"`
	// The usage value at which the trigger should fire.  For convenience, you can use an offset value such as `+30` to specify a trigger_value that is 30 units more than the current usage value. Be sure to urlencode a `+` as `%2B`.
	TriggerValue *string `json:"TriggerValue,omitempty"`
	// The usage category that the trigger should watch.  Use one of the supported [usage categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) for this value.
	UsageCategory *string `json:"UsageCategory,omitempty"`
}

Optional parameters for the method 'CreateUsageTrigger'

func (*CreateUsageTriggerParams) SetCallbackMethod

func (params *CreateUsageTriggerParams) SetCallbackMethod(CallbackMethod string) *CreateUsageTriggerParams

func (*CreateUsageTriggerParams) SetCallbackUrl

func (params *CreateUsageTriggerParams) SetCallbackUrl(CallbackUrl string) *CreateUsageTriggerParams

func (*CreateUsageTriggerParams) SetFriendlyName

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

func (*CreateUsageTriggerParams) SetPathAccountSid

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

func (*CreateUsageTriggerParams) SetRecurring

func (params *CreateUsageTriggerParams) SetRecurring(Recurring string) *CreateUsageTriggerParams

func (*CreateUsageTriggerParams) SetTriggerBy

func (params *CreateUsageTriggerParams) SetTriggerBy(TriggerBy string) *CreateUsageTriggerParams

func (*CreateUsageTriggerParams) SetTriggerValue

func (params *CreateUsageTriggerParams) SetTriggerValue(TriggerValue string) *CreateUsageTriggerParams

func (*CreateUsageTriggerParams) SetUsageCategory

func (params *CreateUsageTriggerParams) SetUsageCategory(UsageCategory string) *CreateUsageTriggerParams

type CreateValidationRequestParams

type CreateValidationRequestParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for the new caller ID resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The number of seconds to delay before initiating the verification call. Can be an integer between `0` and `60`, inclusive. The default is `0`.
	CallDelay *int32 `json:"CallDelay,omitempty"`
	// The digits to dial after connecting the verification call.
	Extension *string `json:"Extension,omitempty"`
	// A descriptive string that you create to describe the new caller ID resource. It can be up to 64 characters long. The default value is a formatted version of the phone number.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The phone number to verify in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, which consists of a + followed by the country code and subscriber number.
	PhoneNumber *string `json:"PhoneNumber,omitempty"`
	// The URL we should call using the `status_callback_method` to send status information about the verification process to your application.
	StatusCallback *string `json:"StatusCallback,omitempty"`
	// The HTTP method we should use to call `status_callback`. Can be: `GET` or `POST`, and the default is `POST`.
	StatusCallbackMethod *string `json:"StatusCallbackMethod,omitempty"`
}

Optional parameters for the method 'CreateValidationRequest'

func (*CreateValidationRequestParams) SetCallDelay

func (params *CreateValidationRequestParams) SetCallDelay(CallDelay int32) *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 DefaultApiService

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

func NewDefaultApiService

func NewDefaultApiService(client twilio.BaseClient) *DefaultApiService

func (*DefaultApiService) CreateAccount

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

Create a new Twilio Subaccount from the account making the request

func (*DefaultApiService) CreateAddress

func (c *DefaultApiService) CreateAddress(params *CreateAddressParams) (*ApiV2010AccountAddress, error)

func (*DefaultApiService) CreateApplication

Create a new application within your account

func (*DefaultApiService) CreateCall

func (c *DefaultApiService) CreateCall(params *CreateCallParams) (*ApiV2010AccountCall, error)

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

func (*DefaultApiService) CreateCallFeedbackSummary

Create a FeedbackSummary resource for a call

func (*DefaultApiService) CreateCallRecording

func (c *DefaultApiService) CreateCallRecording(CallSid string, params *CreateCallRecordingParams) (*ApiV2010AccountCallCallRecording, error)

Create a recording for the call

func (*DefaultApiService) CreateIncomingPhoneNumber

Purchase a phone-number for the account.

func (*DefaultApiService) CreateIncomingPhoneNumberAssignedAddOn

Assign an Add-on installation to the Number specified.

func (*DefaultApiService) CreateMessage

func (c *DefaultApiService) CreateMessage(params *CreateMessageParams) (*ApiV2010AccountMessage, error)

Send a message from the account used to make the request

func (*DefaultApiService) CreateMessageFeedback

func (c *DefaultApiService) CreateMessageFeedback(MessageSid string, params *CreateMessageFeedbackParams) (*ApiV2010AccountMessageMessageFeedback, error)

func (*DefaultApiService) CreateNewKey

func (c *DefaultApiService) CreateNewKey(params *CreateNewKeyParams) (*ApiV2010AccountNewKey, error)

func (*DefaultApiService) CreateNewSigningKey

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

func (*DefaultApiService) CreateParticipant

func (c *DefaultApiService) CreateParticipant(ConferenceSid string, params *CreateParticipantParams) (*ApiV2010AccountConferenceParticipant, error)

func (*DefaultApiService) CreatePayments

func (c *DefaultApiService) CreatePayments(CallSid string, params *CreatePaymentsParams) (*ApiV2010AccountCallPayments, error)

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

func (*DefaultApiService) CreateQueue

func (c *DefaultApiService) CreateQueue(params *CreateQueueParams) (*ApiV2010AccountQueue, error)

Create a queue

func (*DefaultApiService) CreateSipAuthCallsCredentialListMapping

Create a new credential list mapping resource

func (*DefaultApiService) CreateSipAuthCallsIpAccessControlListMapping

Create a new IP Access Control List mapping

func (*DefaultApiService) CreateSipAuthRegistrationsCredentialListMapping

Create a new credential list mapping resource

func (*DefaultApiService) CreateSipCredential

func (c *DefaultApiService) CreateSipCredential(CredentialListSid string, params *CreateSipCredentialParams) (*ApiV2010AccountSipSipCredentialListSipCredential, error)

Create a new credential resource.

func (*DefaultApiService) CreateSipCredentialList

Create a Credential List

func (*DefaultApiService) CreateSipCredentialListMapping

Create a CredentialListMapping resource for an account.

func (*DefaultApiService) CreateSipDomain

Create a new Domain

func (*DefaultApiService) CreateSipIpAccessControlList

Create a new IpAccessControlList resource

func (*DefaultApiService) CreateSipIpAccessControlListMapping

Create a new IpAccessControlListMapping resource.

func (*DefaultApiService) CreateSipIpAddress

func (c *DefaultApiService) CreateSipIpAddress(IpAccessControlListSid string, params *CreateSipIpAddressParams) (*ApiV2010AccountSipSipIpAccessControlListSipIpAddress, error)

Create a new IpAddress resource.

func (*DefaultApiService) CreateToken

func (c *DefaultApiService) CreateToken(params *CreateTokenParams) (*ApiV2010AccountToken, error)

Create a new token for ICE servers

func (*DefaultApiService) CreateUsageTrigger

Create a new UsageTrigger

func (*DefaultApiService) CreateValidationRequest

func (*DefaultApiService) DeleteAddress

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

func (*DefaultApiService) DeleteApplication

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

Delete the application by the specified application sid

func (*DefaultApiService) DeleteCall

func (c *DefaultApiService) 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 (*DefaultApiService) DeleteCallFeedbackSummary

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

Delete a FeedbackSummary resource from a call

func (*DefaultApiService) DeleteCallRecording

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

Delete a recording from your account

func (*DefaultApiService) DeleteConferenceRecording

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

Delete a recording from your account

func (*DefaultApiService) DeleteConnectApp

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

Delete an instance of a connect-app

func (*DefaultApiService) DeleteIncomingPhoneNumber

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

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

func (*DefaultApiService) DeleteIncomingPhoneNumberAssignedAddOn

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

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

func (*DefaultApiService) DeleteKey

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

func (*DefaultApiService) DeleteMedia

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

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

func (*DefaultApiService) DeleteMessage

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

Deletes a message record from your account

func (*DefaultApiService) DeleteOutgoingCallerId

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

Delete the caller-id specified from the account

func (*DefaultApiService) DeleteParticipant

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

Kick a participant from a given conference

func (*DefaultApiService) DeleteQueue

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

Remove an empty queue

func (*DefaultApiService) DeleteRecording

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

Delete a recording from your account

func (*DefaultApiService) DeleteRecordingAddOnResult

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

Delete a result and purge all associated Payloads

func (*DefaultApiService) DeleteRecordingAddOnResultPayload

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

Delete a payload from the result along with all associated Data

func (*DefaultApiService) DeleteRecordingTranscription

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

func (*DefaultApiService) DeleteSigningKey

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

func (*DefaultApiService) DeleteSipAuthCallsCredentialListMapping

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

Delete a credential list mapping from the requested domain

func (*DefaultApiService) DeleteSipAuthCallsIpAccessControlListMapping

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

Delete an IP Access Control List mapping from the requested domain

func (*DefaultApiService) DeleteSipAuthRegistrationsCredentialListMapping

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

Delete a credential list mapping from the requested domain

func (*DefaultApiService) DeleteSipCredential

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

Delete a credential resource.

func (*DefaultApiService) DeleteSipCredentialList

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

Delete a Credential List

func (*DefaultApiService) DeleteSipCredentialListMapping

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

Delete a CredentialListMapping resource from an account.

func (*DefaultApiService) DeleteSipDomain

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

Delete an instance of a Domain

func (*DefaultApiService) DeleteSipIpAccessControlList

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

Delete an IpAccessControlList from the requested account

func (*DefaultApiService) DeleteSipIpAccessControlListMapping

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

Delete an IpAccessControlListMapping resource.

func (*DefaultApiService) DeleteSipIpAddress

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

Delete an IpAddress resource.

func (*DefaultApiService) DeleteTranscription

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

Delete a transcription from the account used to make the request

func (*DefaultApiService) DeleteUsageTrigger

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

func (*DefaultApiService) FetchAccount

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

Fetch the account specified by the provided Account Sid

func (*DefaultApiService) FetchAddress

func (c *DefaultApiService) FetchAddress(Sid string, params *FetchAddressParams) (*ApiV2010AccountAddress, error)

func (*DefaultApiService) FetchApplication

func (c *DefaultApiService) FetchApplication(Sid string, params *FetchApplicationParams) (*ApiV2010AccountApplication, error)

Fetch the application specified by the provided sid

func (*DefaultApiService) FetchAuthorizedConnectApp

func (c *DefaultApiService) FetchAuthorizedConnectApp(ConnectAppSid string, params *FetchAuthorizedConnectAppParams) (*ApiV2010AccountAuthorizedConnectApp, error)

Fetch an instance of an authorized-connect-app

func (*DefaultApiService) FetchAvailablePhoneNumberCountry

func (c *DefaultApiService) FetchAvailablePhoneNumberCountry(CountryCode string, params *FetchAvailablePhoneNumberCountryParams) (*ApiV2010AccountAvailablePhoneNumberCountry, error)

func (*DefaultApiService) FetchBalance

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 (*DefaultApiService) FetchCall

func (c *DefaultApiService) FetchCall(Sid string, params *FetchCallParams) (*ApiV2010AccountCall, error)

Fetch the call specified by the provided Call SID

func (*DefaultApiService) FetchCallFeedback

func (c *DefaultApiService) FetchCallFeedback(CallSid string, params *FetchCallFeedbackParams) (*ApiV2010AccountCallCallFeedback, error)

Fetch a Feedback resource from a call

func (*DefaultApiService) FetchCallFeedbackSummary

Fetch a FeedbackSummary resource from a call

func (*DefaultApiService) FetchCallNotification

func (*DefaultApiService) FetchCallRecording

func (c *DefaultApiService) FetchCallRecording(CallSid string, Sid string, params *FetchCallRecordingParams) (*ApiV2010AccountCallCallRecording, error)

Fetch an instance of a recording for a call

func (*DefaultApiService) FetchConference

func (c *DefaultApiService) FetchConference(Sid string, params *FetchConferenceParams) (*ApiV2010AccountConference, error)

Fetch an instance of a conference

func (*DefaultApiService) FetchConferenceRecording

func (c *DefaultApiService) FetchConferenceRecording(ConferenceSid string, Sid string, params *FetchConferenceRecordingParams) (*ApiV2010AccountConferenceConferenceRecording, error)

Fetch an instance of a recording for a call

func (*DefaultApiService) FetchConnectApp

func (c *DefaultApiService) FetchConnectApp(Sid string, params *FetchConnectAppParams) (*ApiV2010AccountConnectApp, error)

Fetch an instance of a connect-app

func (*DefaultApiService) FetchIncomingPhoneNumber

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

func (*DefaultApiService) FetchIncomingPhoneNumberAssignedAddOn

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

func (*DefaultApiService) FetchIncomingPhoneNumberAssignedAddOnExtension

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

func (*DefaultApiService) FetchKey

func (c *DefaultApiService) FetchKey(Sid string, params *FetchKeyParams) (*ApiV2010AccountKey, error)

func (*DefaultApiService) FetchMedia

func (c *DefaultApiService) FetchMedia(MessageSid string, Sid string, params *FetchMediaParams) (*ApiV2010AccountMessageMedia, error)

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

func (*DefaultApiService) FetchMember

func (c *DefaultApiService) FetchMember(QueueSid string, CallSid string, params *FetchMemberParams) (*ApiV2010AccountQueueMember, error)

Fetch a specific member from the queue

func (*DefaultApiService) FetchMessage

func (c *DefaultApiService) FetchMessage(Sid string, params *FetchMessageParams) (*ApiV2010AccountMessage, error)

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

func (*DefaultApiService) FetchNotification

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

func (*DefaultApiService) FetchOutgoingCallerId

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

func (*DefaultApiService) FetchParticipant

func (c *DefaultApiService) FetchParticipant(ConferenceSid string, CallSid string, params *FetchParticipantParams) (*ApiV2010AccountConferenceParticipant, error)

Fetch an instance of a participant

func (*DefaultApiService) FetchQueue

func (c *DefaultApiService) FetchQueue(Sid string, params *FetchQueueParams) (*ApiV2010AccountQueue, error)

Fetch an instance of a queue identified by the QueueSid

func (*DefaultApiService) FetchRecording

func (c *DefaultApiService) FetchRecording(Sid string, params *FetchRecordingParams) (*ApiV2010AccountRecording, error)

Fetch an instance of a recording

func (*DefaultApiService) FetchRecordingAddOnResult

func (c *DefaultApiService) FetchRecordingAddOnResult(ReferenceSid string, Sid string, params *FetchRecordingAddOnResultParams) (*ApiV2010AccountRecordingRecordingAddOnResult, error)

Fetch an instance of an AddOnResult

func (*DefaultApiService) FetchRecordingAddOnResultPayload

Fetch an instance of a result payload

func (*DefaultApiService) FetchRecordingTranscription

func (c *DefaultApiService) FetchRecordingTranscription(RecordingSid string, Sid string, params *FetchRecordingTranscriptionParams) (*ApiV2010AccountRecordingRecordingTranscription, error)

func (*DefaultApiService) FetchShortCode

func (c *DefaultApiService) FetchShortCode(Sid string, params *FetchShortCodeParams) (*ApiV2010AccountShortCode, error)

Fetch an instance of a short code

func (*DefaultApiService) FetchSigningKey

func (c *DefaultApiService) FetchSigningKey(Sid string, params *FetchSigningKeyParams) (*ApiV2010AccountSigningKey, error)

func (*DefaultApiService) FetchSipAuthCallsCredentialListMapping

Fetch a specific instance of a credential list mapping

func (*DefaultApiService) FetchSipAuthCallsIpAccessControlListMapping

Fetch a specific instance of an IP Access Control List mapping

func (*DefaultApiService) FetchSipAuthRegistrationsCredentialListMapping

Fetch a specific instance of a credential list mapping

func (*DefaultApiService) FetchSipCredential

func (c *DefaultApiService) FetchSipCredential(CredentialListSid string, Sid string, params *FetchSipCredentialParams) (*ApiV2010AccountSipSipCredentialListSipCredential, error)

Fetch a single credential.

func (*DefaultApiService) FetchSipCredentialList

Get a Credential List

func (*DefaultApiService) FetchSipCredentialListMapping

Fetch a single CredentialListMapping resource from an account.

func (*DefaultApiService) FetchSipDomain

Fetch an instance of a Domain

func (*DefaultApiService) FetchSipIpAccessControlList

Fetch a specific instance of an IpAccessControlList

func (*DefaultApiService) FetchSipIpAccessControlListMapping

Fetch an IpAccessControlListMapping resource.

func (*DefaultApiService) FetchSipIpAddress

func (c *DefaultApiService) FetchSipIpAddress(IpAccessControlListSid string, Sid string, params *FetchSipIpAddressParams) (*ApiV2010AccountSipSipIpAccessControlListSipIpAddress, error)

Read one IpAddress resource.

func (*DefaultApiService) FetchTranscription

Fetch an instance of a Transcription

func (*DefaultApiService) FetchUsageTrigger

Fetch and instance of a usage-trigger

func (*DefaultApiService) ListAccount

func (c *DefaultApiService) ListAccount(params *ListAccountParams) (*ListAccountResponse, error)

Retrieves a collection of Accounts belonging to the account used to make the request

func (*DefaultApiService) ListAddress

func (c *DefaultApiService) ListAddress(params *ListAddressParams) (*ListAddressResponse, error)

func (*DefaultApiService) ListApplication

func (c *DefaultApiService) ListApplication(params *ListApplicationParams) (*ListApplicationResponse, error)

Retrieve a list of applications representing an application within the requesting account

func (*DefaultApiService) ListAuthorizedConnectApp

Retrieve a list of authorized-connect-apps belonging to the account used to make the request

func (*DefaultApiService) ListAvailablePhoneNumberCountry

func (*DefaultApiService) ListAvailablePhoneNumberLocal

func (c *DefaultApiService) ListAvailablePhoneNumberLocal(CountryCode string, params *ListAvailablePhoneNumberLocalParams) (*ListAvailablePhoneNumberLocalResponse, error)

func (*DefaultApiService) ListAvailablePhoneNumberMachineToMachine

func (c *DefaultApiService) ListAvailablePhoneNumberMachineToMachine(CountryCode string, params *ListAvailablePhoneNumberMachineToMachineParams) (*ListAvailablePhoneNumberMachineToMachineResponse, error)

func (*DefaultApiService) ListAvailablePhoneNumberMobile

func (c *DefaultApiService) ListAvailablePhoneNumberMobile(CountryCode string, params *ListAvailablePhoneNumberMobileParams) (*ListAvailablePhoneNumberMobileResponse, error)

func (*DefaultApiService) ListAvailablePhoneNumberNational

func (c *DefaultApiService) ListAvailablePhoneNumberNational(CountryCode string, params *ListAvailablePhoneNumberNationalParams) (*ListAvailablePhoneNumberNationalResponse, error)

func (*DefaultApiService) ListAvailablePhoneNumberSharedCost

func (c *DefaultApiService) ListAvailablePhoneNumberSharedCost(CountryCode string, params *ListAvailablePhoneNumberSharedCostParams) (*ListAvailablePhoneNumberSharedCostResponse, error)

func (*DefaultApiService) ListAvailablePhoneNumberTollFree

func (c *DefaultApiService) ListAvailablePhoneNumberTollFree(CountryCode string, params *ListAvailablePhoneNumberTollFreeParams) (*ListAvailablePhoneNumberTollFreeResponse, error)

func (*DefaultApiService) ListAvailablePhoneNumberVoip

func (c *DefaultApiService) ListAvailablePhoneNumberVoip(CountryCode string, params *ListAvailablePhoneNumberVoipParams) (*ListAvailablePhoneNumberVoipResponse, error)

func (*DefaultApiService) ListCall

func (c *DefaultApiService) ListCall(params *ListCallParams) (*ListCallResponse, error)

Retrieves a collection of calls made to and from your account

func (*DefaultApiService) ListCallEvent

func (c *DefaultApiService) ListCallEvent(CallSid string, params *ListCallEventParams) (*ListCallEventResponse, error)

Retrieve a list of all events for a call.

func (*DefaultApiService) ListCallNotification

func (c *DefaultApiService) ListCallNotification(CallSid string, params *ListCallNotificationParams) (*ListCallNotificationResponse, error)

func (*DefaultApiService) ListCallRecording

func (c *DefaultApiService) ListCallRecording(CallSid string, params *ListCallRecordingParams) (*ListCallRecordingResponse, error)

Retrieve a list of recordings belonging to the call used to make the request

func (*DefaultApiService) ListConference

func (c *DefaultApiService) ListConference(params *ListConferenceParams) (*ListConferenceResponse, error)

Retrieve a list of conferences belonging to the account used to make the request

func (*DefaultApiService) ListConferenceRecording

func (c *DefaultApiService) ListConferenceRecording(ConferenceSid string, params *ListConferenceRecordingParams) (*ListConferenceRecordingResponse, error)

Retrieve a list of recordings belonging to the call used to make the request

func (*DefaultApiService) ListConnectApp

func (c *DefaultApiService) ListConnectApp(params *ListConnectAppParams) (*ListConnectAppResponse, error)

Retrieve a list of connect-apps belonging to the account used to make the request

func (*DefaultApiService) ListDependentPhoneNumber

func (c *DefaultApiService) ListDependentPhoneNumber(AddressSid string, params *ListDependentPhoneNumberParams) (*ListDependentPhoneNumberResponse, error)

func (*DefaultApiService) ListIncomingPhoneNumber

Retrieve a list of incoming-phone-numbers belonging to the account used to make the request.

func (*DefaultApiService) ListIncomingPhoneNumberAssignedAddOn

func (c *DefaultApiService) ListIncomingPhoneNumberAssignedAddOn(ResourceSid string, params *ListIncomingPhoneNumberAssignedAddOnParams) (*ListIncomingPhoneNumberAssignedAddOnResponse, error)

Retrieve a list of Add-on installations currently assigned to this Number.

func (*DefaultApiService) ListIncomingPhoneNumberAssignedAddOnExtension

func (c *DefaultApiService) ListIncomingPhoneNumberAssignedAddOnExtension(ResourceSid string, AssignedAddOnSid string, params *ListIncomingPhoneNumberAssignedAddOnExtensionParams) (*ListIncomingPhoneNumberAssignedAddOnExtensionResponse, error)

Retrieve a list of Extensions for the Assigned Add-on.

func (*DefaultApiService) ListIncomingPhoneNumberLocal

func (*DefaultApiService) ListIncomingPhoneNumberMobile

func (*DefaultApiService) ListIncomingPhoneNumberTollFree

func (*DefaultApiService) ListKey

func (c *DefaultApiService) ListKey(params *ListKeyParams) (*ListKeyResponse, error)

func (*DefaultApiService) ListMedia

func (c *DefaultApiService) ListMedia(MessageSid string, params *ListMediaParams) (*ListMediaResponse, error)

Retrieve a list of Media resources belonging to the account used to make the request

func (*DefaultApiService) ListMember

func (c *DefaultApiService) ListMember(QueueSid string, params *ListMemberParams) (*ListMemberResponse, error)

Retrieve the members of the queue

func (*DefaultApiService) ListMessage

func (c *DefaultApiService) ListMessage(params *ListMessageParams) (*ListMessageResponse, error)

Retrieve a list of messages belonging to the account used to make the request

func (*DefaultApiService) ListNotification

Retrieve a list of notifications belonging to the account used to make the request

func (*DefaultApiService) ListOutgoingCallerId

Retrieve a list of outgoing-caller-ids belonging to the account used to make the request

func (*DefaultApiService) ListParticipant

func (c *DefaultApiService) ListParticipant(ConferenceSid string, params *ListParticipantParams) (*ListParticipantResponse, error)

Retrieve a list of participants belonging to the account used to make the request

func (*DefaultApiService) ListQueue

func (c *DefaultApiService) ListQueue(params *ListQueueParams) (*ListQueueResponse, error)

Retrieve a list of queues belonging to the account used to make the request

func (*DefaultApiService) ListRecording

func (c *DefaultApiService) ListRecording(params *ListRecordingParams) (*ListRecordingResponse, error)

Retrieve a list of recordings belonging to the account used to make the request

func (*DefaultApiService) ListRecordingAddOnResult

func (c *DefaultApiService) ListRecordingAddOnResult(ReferenceSid string, params *ListRecordingAddOnResultParams) (*ListRecordingAddOnResultResponse, error)

Retrieve a list of results belonging to the recording

func (*DefaultApiService) ListRecordingAddOnResultPayload

func (c *DefaultApiService) ListRecordingAddOnResultPayload(ReferenceSid string, AddOnResultSid string, params *ListRecordingAddOnResultPayloadParams) (*ListRecordingAddOnResultPayloadResponse, error)

Retrieve a list of payloads belonging to the AddOnResult

func (*DefaultApiService) ListRecordingTranscription

func (c *DefaultApiService) ListRecordingTranscription(RecordingSid string, params *ListRecordingTranscriptionParams) (*ListRecordingTranscriptionResponse, error)

func (*DefaultApiService) ListShortCode

func (c *DefaultApiService) ListShortCode(params *ListShortCodeParams) (*ListShortCodeResponse, error)

Retrieve a list of short-codes belonging to the account used to make the request

func (*DefaultApiService) ListSigningKey

func (c *DefaultApiService) ListSigningKey(params *ListSigningKeyParams) (*ListSigningKeyResponse, error)

func (*DefaultApiService) ListSipAuthCallsCredentialListMapping

func (c *DefaultApiService) ListSipAuthCallsCredentialListMapping(DomainSid string, params *ListSipAuthCallsCredentialListMappingParams) (*ListSipAuthCallsCredentialListMappingResponse, error)

Retrieve a list of credential list mappings belonging to the domain used in the request

func (*DefaultApiService) ListSipAuthCallsIpAccessControlListMapping

Retrieve a list of IP Access Control List mappings belonging to the domain used in the request

func (*DefaultApiService) ListSipAuthRegistrationsCredentialListMapping

Retrieve a list of credential list mappings belonging to the domain used in the request

func (*DefaultApiService) ListSipCredential

func (c *DefaultApiService) ListSipCredential(CredentialListSid string, params *ListSipCredentialParams) (*ListSipCredentialResponse, error)

Retrieve a list of credentials.

func (*DefaultApiService) ListSipCredentialList

Get All Credential Lists

func (*DefaultApiService) ListSipCredentialListMapping

func (c *DefaultApiService) ListSipCredentialListMapping(DomainSid string, params *ListSipCredentialListMappingParams) (*ListSipCredentialListMappingResponse, error)

Read multiple CredentialListMapping resources from an account.

func (*DefaultApiService) ListSipDomain

func (c *DefaultApiService) ListSipDomain(params *ListSipDomainParams) (*ListSipDomainResponse, error)

Retrieve a list of domains belonging to the account used to make the request

func (*DefaultApiService) ListSipIpAccessControlList

Retrieve a list of IpAccessControlLists that belong to the account used to make the request

func (*DefaultApiService) ListSipIpAccessControlListMapping

func (c *DefaultApiService) ListSipIpAccessControlListMapping(DomainSid string, params *ListSipIpAccessControlListMappingParams) (*ListSipIpAccessControlListMappingResponse, error)

Retrieve a list of IpAccessControlListMapping resources.

func (*DefaultApiService) ListSipIpAddress

func (c *DefaultApiService) ListSipIpAddress(IpAccessControlListSid string, params *ListSipIpAddressParams) (*ListSipIpAddressResponse, error)

Read multiple IpAddress resources.

func (*DefaultApiService) ListTranscription

Retrieve a list of transcriptions belonging to the account used to make the request

func (*DefaultApiService) ListUsageRecord

func (c *DefaultApiService) ListUsageRecord(params *ListUsageRecordParams) (*ListUsageRecordResponse, error)

Retrieve a list of usage-records belonging to the account used to make the request

func (*DefaultApiService) ListUsageRecordAllTime

func (*DefaultApiService) ListUsageRecordDaily

func (*DefaultApiService) ListUsageRecordLastMonth

func (*DefaultApiService) ListUsageRecordMonthly

func (*DefaultApiService) ListUsageRecordThisMonth

func (*DefaultApiService) ListUsageRecordToday

func (*DefaultApiService) ListUsageRecordYearly

func (*DefaultApiService) ListUsageRecordYesterday

func (*DefaultApiService) ListUsageTrigger

Retrieve a list of usage-triggers belonging to the account used to make the request

func (*DefaultApiService) UpdateAccount

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

Modify the properties of a given Account

func (*DefaultApiService) UpdateAddress

func (c *DefaultApiService) UpdateAddress(Sid string, params *UpdateAddressParams) (*ApiV2010AccountAddress, error)

func (*DefaultApiService) UpdateApplication

func (c *DefaultApiService) UpdateApplication(Sid string, params *UpdateApplicationParams) (*ApiV2010AccountApplication, error)

Updates the application&#39;s properties

func (*DefaultApiService) UpdateCall

func (c *DefaultApiService) UpdateCall(Sid string, params *UpdateCallParams) (*ApiV2010AccountCall, error)

Initiates a call redirect or terminates a call

func (*DefaultApiService) UpdateCallFeedback

func (c *DefaultApiService) UpdateCallFeedback(CallSid string, params *UpdateCallFeedbackParams) (*ApiV2010AccountCallCallFeedback, error)

Update a Feedback resource for a call

func (*DefaultApiService) UpdateCallRecording

func (c *DefaultApiService) UpdateCallRecording(CallSid string, Sid string, params *UpdateCallRecordingParams) (*ApiV2010AccountCallCallRecording, error)

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

func (*DefaultApiService) UpdateConference

func (c *DefaultApiService) UpdateConference(Sid string, params *UpdateConferenceParams) (*ApiV2010AccountConference, error)

func (*DefaultApiService) UpdateConferenceRecording

func (c *DefaultApiService) UpdateConferenceRecording(ConferenceSid string, Sid string, params *UpdateConferenceRecordingParams) (*ApiV2010AccountConferenceConferenceRecording, error)

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

func (*DefaultApiService) UpdateConnectApp

func (c *DefaultApiService) UpdateConnectApp(Sid string, params *UpdateConnectAppParams) (*ApiV2010AccountConnectApp, error)

Update a connect-app with the specified parameters

func (*DefaultApiService) UpdateIncomingPhoneNumber

Update an incoming-phone-number instance.

func (*DefaultApiService) UpdateKey

func (c *DefaultApiService) UpdateKey(Sid string, params *UpdateKeyParams) (*ApiV2010AccountKey, error)

func (*DefaultApiService) UpdateMember

func (c *DefaultApiService) UpdateMember(QueueSid string, CallSid string, params *UpdateMemberParams) (*ApiV2010AccountQueueMember, error)

Dequeue a member from a queue and have the member&#39;s call begin executing the TwiML document at that URL

func (*DefaultApiService) UpdateMessage

func (c *DefaultApiService) UpdateMessage(Sid string, params *UpdateMessageParams) (*ApiV2010AccountMessage, error)

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

func (*DefaultApiService) UpdateOutgoingCallerId

Updates the caller-id

func (*DefaultApiService) UpdateParticipant

func (c *DefaultApiService) UpdateParticipant(ConferenceSid string, CallSid string, params *UpdateParticipantParams) (*ApiV2010AccountConferenceParticipant, error)

Update the properties of the participant

func (*DefaultApiService) UpdatePayments

func (c *DefaultApiService) UpdatePayments(CallSid string, Sid string, params *UpdatePaymentsParams) (*ApiV2010AccountCallPayments, error)

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

func (*DefaultApiService) UpdateQueue

func (c *DefaultApiService) UpdateQueue(Sid string, params *UpdateQueueParams) (*ApiV2010AccountQueue, error)

Update the queue with the new parameters

func (*DefaultApiService) UpdateShortCode

func (c *DefaultApiService) UpdateShortCode(Sid string, params *UpdateShortCodeParams) (*ApiV2010AccountShortCode, error)

Update a short code with the following parameters

func (*DefaultApiService) UpdateSigningKey

func (c *DefaultApiService) UpdateSigningKey(Sid string, params *UpdateSigningKeyParams) (*ApiV2010AccountSigningKey, error)

func (*DefaultApiService) UpdateSipCredential

func (c *DefaultApiService) UpdateSipCredential(CredentialListSid string, Sid string, params *UpdateSipCredentialParams) (*ApiV2010AccountSipSipCredentialListSipCredential, error)

Update a credential resource.

func (*DefaultApiService) UpdateSipCredentialList

Update a Credential List

func (*DefaultApiService) UpdateSipDomain

Update the attributes of a domain

func (*DefaultApiService) UpdateSipIpAccessControlList

Rename an IpAccessControlList

func (*DefaultApiService) UpdateSipIpAddress

func (c *DefaultApiService) UpdateSipIpAddress(IpAccessControlListSid string, Sid string, params *UpdateSipIpAddressParams) (*ApiV2010AccountSipSipIpAccessControlListSipIpAddress, error)

Update an IpAddress resource.

func (*DefaultApiService) UpdateUsageTrigger

Update an instance of a usage trigger

type DeleteAddressParams

type DeleteAddressParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that is responsible for the Address resource to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteAddress'

func (*DeleteAddressParams) SetPathAccountSid

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

type DeleteApplicationParams

type DeleteApplicationParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Application resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteApplication'

func (*DeleteApplicationParams) SetPathAccountSid

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

type DeleteCallFeedbackSummaryParams

type DeleteCallFeedbackSummaryParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteCallFeedbackSummary'

func (*DeleteCallFeedbackSummaryParams) SetPathAccountSid

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

type DeleteCallParams

type DeleteCallParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Call resource(s) to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteCall'

func (*DeleteCallParams) SetPathAccountSid

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

type DeleteCallRecordingParams

type DeleteCallRecordingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteCallRecording'

func (*DeleteCallRecordingParams) SetPathAccountSid

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

type DeleteConferenceRecordingParams

type DeleteConferenceRecordingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Conference Recording resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteConferenceRecording'

func (*DeleteConferenceRecordingParams) SetPathAccountSid

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

type DeleteConnectAppParams

type DeleteConnectAppParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ConnectApp resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteConnectApp'

func (*DeleteConnectAppParams) SetPathAccountSid

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

type DeleteIncomingPhoneNumberAssignedAddOnParams

type DeleteIncomingPhoneNumberAssignedAddOnParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteIncomingPhoneNumberAssignedAddOn'

func (*DeleteIncomingPhoneNumberAssignedAddOnParams) SetPathAccountSid

type DeleteIncomingPhoneNumberParams

type DeleteIncomingPhoneNumberParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the IncomingPhoneNumber resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteIncomingPhoneNumber'

func (*DeleteIncomingPhoneNumberParams) SetPathAccountSid

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

type DeleteKeyParams

type DeleteKeyParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Key resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteKey'

func (*DeleteKeyParams) SetPathAccountSid

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

type DeleteMediaParams

type DeleteMediaParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Media resource(s) to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteMedia'

func (*DeleteMediaParams) SetPathAccountSid

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

type DeleteMessageParams

type DeleteMessageParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Message resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteMessage'

func (*DeleteMessageParams) SetPathAccountSid

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

type DeleteOutgoingCallerIdParams

type DeleteOutgoingCallerIdParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the OutgoingCallerId resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteOutgoingCallerId'

func (*DeleteOutgoingCallerIdParams) SetPathAccountSid

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

type DeleteParticipantParams

type DeleteParticipantParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Participant resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteParticipant'

func (*DeleteParticipantParams) SetPathAccountSid

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

type DeleteQueueParams

type DeleteQueueParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Queue resource to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteQueue'

func (*DeleteQueueParams) SetPathAccountSid

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

type DeleteRecordingAddOnResultParams

type DeleteRecordingAddOnResultParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording AddOnResult resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteRecordingAddOnResult'

func (*DeleteRecordingAddOnResultParams) SetPathAccountSid

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

type DeleteRecordingAddOnResultPayloadParams

type DeleteRecordingAddOnResultPayloadParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording AddOnResult Payload resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteRecordingAddOnResultPayload'

func (*DeleteRecordingAddOnResultPayloadParams) SetPathAccountSid

type DeleteRecordingParams

type DeleteRecordingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteRecording'

func (*DeleteRecordingParams) SetPathAccountSid

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

type DeleteRecordingTranscriptionParams

type DeleteRecordingTranscriptionParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Transcription resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteRecordingTranscription'

func (*DeleteRecordingTranscriptionParams) SetPathAccountSid

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

type DeleteSigningKeyParams

type DeleteSigningKeyParams struct {
	//
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteSigningKey'

func (*DeleteSigningKeyParams) SetPathAccountSid

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

type DeleteSipAuthCallsCredentialListMappingParams

type DeleteSipAuthCallsCredentialListMappingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the CredentialListMapping resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteSipAuthCallsCredentialListMapping'

func (*DeleteSipAuthCallsCredentialListMappingParams) SetPathAccountSid

type DeleteSipAuthCallsIpAccessControlListMappingParams

type DeleteSipAuthCallsIpAccessControlListMappingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the IpAccessControlListMapping resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteSipAuthCallsIpAccessControlListMapping'

func (*DeleteSipAuthCallsIpAccessControlListMappingParams) SetPathAccountSid

type DeleteSipAuthRegistrationsCredentialListMappingParams

type DeleteSipAuthRegistrationsCredentialListMappingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the CredentialListMapping resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteSipAuthRegistrationsCredentialListMapping'

func (*DeleteSipAuthRegistrationsCredentialListMappingParams) SetPathAccountSid

type DeleteSipCredentialListMappingParams

type DeleteSipCredentialListMappingParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteSipCredentialListMapping'

func (*DeleteSipCredentialListMappingParams) SetPathAccountSid

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

type DeleteSipCredentialListParams

type DeleteSipCredentialListParams struct {
	// The unique id of the Account that is responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteSipCredentialList'

func (*DeleteSipCredentialListParams) SetPathAccountSid

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

type DeleteSipCredentialParams

type DeleteSipCredentialParams struct {
	// The unique id of the Account that is responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteSipCredential'

func (*DeleteSipCredentialParams) SetPathAccountSid

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

type DeleteSipDomainParams

type DeleteSipDomainParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the SipDomain resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteSipDomain'

func (*DeleteSipDomainParams) SetPathAccountSid

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

type DeleteSipIpAccessControlListMappingParams

type DeleteSipIpAccessControlListMappingParams struct {
	// The unique id of the Account that is responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteSipIpAccessControlListMapping'

func (*DeleteSipIpAccessControlListMappingParams) SetPathAccountSid

type DeleteSipIpAccessControlListParams

type DeleteSipIpAccessControlListParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteSipIpAccessControlList'

func (*DeleteSipIpAccessControlListParams) SetPathAccountSid

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

type DeleteSipIpAddressParams

type DeleteSipIpAddressParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteSipIpAddress'

func (*DeleteSipIpAddressParams) SetPathAccountSid

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

type DeleteTranscriptionParams

type DeleteTranscriptionParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Transcription resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteTranscription'

func (*DeleteTranscriptionParams) SetPathAccountSid

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

type DeleteUsageTriggerParams

type DeleteUsageTriggerParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageTrigger resources to delete.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'DeleteUsageTrigger'

func (*DeleteUsageTriggerParams) SetPathAccountSid

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

type FetchAddressParams

type FetchAddressParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that is responsible for the Address resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchAddress'

func (*FetchAddressParams) SetPathAccountSid

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

type FetchApplicationParams

type FetchApplicationParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Application resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchApplication'

func (*FetchApplicationParams) SetPathAccountSid

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

type FetchAuthorizedConnectAppParams

type FetchAuthorizedConnectAppParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the AuthorizedConnectApp resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchAuthorizedConnectApp'

func (*FetchAuthorizedConnectAppParams) SetPathAccountSid

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

type FetchAvailablePhoneNumberCountryParams

type FetchAvailablePhoneNumberCountryParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) requesting the available phone number Country resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchAvailablePhoneNumberCountry'

func (*FetchAvailablePhoneNumberCountryParams) SetPathAccountSid

type FetchBalanceParams

type FetchBalanceParams struct {
	// The unique SID identifier of the Account.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchBalance'

func (*FetchBalanceParams) SetPathAccountSid

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

type FetchCallFeedbackParams

type FetchCallFeedbackParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchCallFeedback'

func (*FetchCallFeedbackParams) SetPathAccountSid

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

type FetchCallFeedbackSummaryParams

type FetchCallFeedbackSummaryParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchCallFeedbackSummary'

func (*FetchCallFeedbackSummaryParams) SetPathAccountSid

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

type FetchCallNotificationParams

type FetchCallNotificationParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Call Notification resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchCallNotification'

func (*FetchCallNotificationParams) SetPathAccountSid

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

type FetchCallParams

type FetchCallParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Call resource(s) to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchCall'

func (*FetchCallParams) SetPathAccountSid

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

type FetchCallRecordingParams

type FetchCallRecordingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchCallRecording'

func (*FetchCallRecordingParams) SetPathAccountSid

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

type FetchConferenceParams

type FetchConferenceParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Conference resource(s) to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchConference'

func (*FetchConferenceParams) SetPathAccountSid

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

type FetchConferenceRecordingParams

type FetchConferenceRecordingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Conference Recording resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchConferenceRecording'

func (*FetchConferenceRecordingParams) SetPathAccountSid

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

type FetchConnectAppParams

type FetchConnectAppParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ConnectApp resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchConnectApp'

func (*FetchConnectAppParams) SetPathAccountSid

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

type FetchIncomingPhoneNumberAssignedAddOnExtensionParams

type FetchIncomingPhoneNumberAssignedAddOnExtensionParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchIncomingPhoneNumberAssignedAddOnExtension'

func (*FetchIncomingPhoneNumberAssignedAddOnExtensionParams) SetPathAccountSid

type FetchIncomingPhoneNumberAssignedAddOnParams

type FetchIncomingPhoneNumberAssignedAddOnParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchIncomingPhoneNumberAssignedAddOn'

func (*FetchIncomingPhoneNumberAssignedAddOnParams) SetPathAccountSid

type FetchIncomingPhoneNumberParams

type FetchIncomingPhoneNumberParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the IncomingPhoneNumber resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchIncomingPhoneNumber'

func (*FetchIncomingPhoneNumberParams) SetPathAccountSid

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

type FetchKeyParams

type FetchKeyParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Key resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchKey'

func (*FetchKeyParams) SetPathAccountSid

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

type FetchMediaParams

type FetchMediaParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Media resource(s) to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchMedia'

func (*FetchMediaParams) SetPathAccountSid

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

type FetchMemberParams

type FetchMemberParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Member resource(s) to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchMember'

func (*FetchMemberParams) SetPathAccountSid

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

type FetchMessageParams

type FetchMessageParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Message resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchMessage'

func (*FetchMessageParams) SetPathAccountSid

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

type FetchNotificationParams

type FetchNotificationParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Notification resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchNotification'

func (*FetchNotificationParams) SetPathAccountSid

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

type FetchOutgoingCallerIdParams

type FetchOutgoingCallerIdParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the OutgoingCallerId resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchOutgoingCallerId'

func (*FetchOutgoingCallerIdParams) SetPathAccountSid

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

type FetchParticipantParams

type FetchParticipantParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Participant resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchParticipant'

func (*FetchParticipantParams) SetPathAccountSid

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

type FetchQueueParams

type FetchQueueParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Queue resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchQueue'

func (*FetchQueueParams) SetPathAccountSid

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

type FetchRecordingAddOnResultParams

type FetchRecordingAddOnResultParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording AddOnResult resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchRecordingAddOnResult'

func (*FetchRecordingAddOnResultParams) SetPathAccountSid

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

type FetchRecordingAddOnResultPayloadParams

type FetchRecordingAddOnResultPayloadParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording AddOnResult Payload resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchRecordingAddOnResultPayload'

func (*FetchRecordingAddOnResultPayloadParams) SetPathAccountSid

type FetchRecordingParams

type FetchRecordingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchRecording'

func (*FetchRecordingParams) SetPathAccountSid

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

type FetchRecordingTranscriptionParams

type FetchRecordingTranscriptionParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Transcription resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchRecordingTranscription'

func (*FetchRecordingTranscriptionParams) SetPathAccountSid

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

type FetchShortCodeParams

type FetchShortCodeParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ShortCode resource(s) to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchShortCode'

func (*FetchShortCodeParams) SetPathAccountSid

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

type FetchSigningKeyParams

type FetchSigningKeyParams struct {
	//
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchSigningKey'

func (*FetchSigningKeyParams) SetPathAccountSid

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

type FetchSipAuthCallsCredentialListMappingParams

type FetchSipAuthCallsCredentialListMappingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the CredentialListMapping resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchSipAuthCallsCredentialListMapping'

func (*FetchSipAuthCallsCredentialListMappingParams) SetPathAccountSid

type FetchSipAuthCallsIpAccessControlListMappingParams

type FetchSipAuthCallsIpAccessControlListMappingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the IpAccessControlListMapping resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchSipAuthCallsIpAccessControlListMapping'

func (*FetchSipAuthCallsIpAccessControlListMappingParams) SetPathAccountSid

type FetchSipAuthRegistrationsCredentialListMappingParams

type FetchSipAuthRegistrationsCredentialListMappingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the CredentialListMapping resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchSipAuthRegistrationsCredentialListMapping'

func (*FetchSipAuthRegistrationsCredentialListMappingParams) SetPathAccountSid

type FetchSipCredentialListMappingParams

type FetchSipCredentialListMappingParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchSipCredentialListMapping'

func (*FetchSipCredentialListMappingParams) SetPathAccountSid

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

type FetchSipCredentialListParams

type FetchSipCredentialListParams struct {
	// The unique id of the Account that is responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchSipCredentialList'

func (*FetchSipCredentialListParams) SetPathAccountSid

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

type FetchSipCredentialParams

type FetchSipCredentialParams struct {
	// The unique id of the Account that is responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchSipCredential'

func (*FetchSipCredentialParams) SetPathAccountSid

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

type FetchSipDomainParams

type FetchSipDomainParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the SipDomain resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchSipDomain'

func (*FetchSipDomainParams) SetPathAccountSid

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

type FetchSipIpAccessControlListMappingParams

type FetchSipIpAccessControlListMappingParams struct {
	// The unique id of the Account that is responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchSipIpAccessControlListMapping'

func (*FetchSipIpAccessControlListMappingParams) SetPathAccountSid

type FetchSipIpAccessControlListParams

type FetchSipIpAccessControlListParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchSipIpAccessControlList'

func (*FetchSipIpAccessControlListParams) SetPathAccountSid

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

type FetchSipIpAddressParams

type FetchSipIpAddressParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchSipIpAddress'

func (*FetchSipIpAddressParams) SetPathAccountSid

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

type FetchTranscriptionParams

type FetchTranscriptionParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Transcription resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchTranscription'

func (*FetchTranscriptionParams) SetPathAccountSid

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

type FetchUsageTriggerParams

type FetchUsageTriggerParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageTrigger resource to fetch.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
}

Optional parameters for the method 'FetchUsageTrigger'

func (*FetchUsageTriggerParams) SetPathAccountSid

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

type ListAccountParams

type ListAccountParams struct {
	// Only return the Account resources with friendly names that exactly match this name.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// Only return Account resources with the given status. Can be `closed`, `suspended` or `active`.
	Status *string `json:"Status,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListAccount'

func (*ListAccountParams) SetFriendlyName

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

func (*ListAccountParams) SetPageSize

func (params *ListAccountParams) SetPageSize(PageSize int32) *ListAccountParams

func (*ListAccountParams) SetStatus

func (params *ListAccountParams) SetStatus(Status string) *ListAccountParams

type ListAccountResponse

type ListAccountResponse struct {
	Accounts        []ApiV2010Account `json:"accounts,omitempty"`
	End             int32             `json:"end,omitempty"`
	FirstPageUri    string            `json:"first_page_uri,omitempty"`
	NextPageUri     string            `json:"next_page_uri,omitempty"`
	Page            int32             `json:"page,omitempty"`
	PageSize        int32             `json:"page_size,omitempty"`
	PreviousPageUri string            `json:"previous_page_uri,omitempty"`
	Start           int32             `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 *int32 `json:"PageSize,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) SetPageSize

func (params *ListAddressParams) SetPageSize(PageSize int32) *ListAddressParams

func (*ListAddressParams) SetPathAccountSid

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

type ListAddressResponse

type ListAddressResponse struct {
	Addresses       []ApiV2010AccountAddress `json:"addresses,omitempty"`
	End             int32                    `json:"end,omitempty"`
	FirstPageUri    string                   `json:"first_page_uri,omitempty"`
	NextPageUri     string                   `json:"next_page_uri,omitempty"`
	Page            int32                    `json:"page,omitempty"`
	PageSize        int32                    `json:"page_size,omitempty"`
	PreviousPageUri string                   `json:"previous_page_uri,omitempty"`
	Start           int32                    `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListApplication'

func (*ListApplicationParams) SetFriendlyName

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

func (*ListApplicationParams) SetPageSize

func (params *ListApplicationParams) SetPageSize(PageSize int32) *ListApplicationParams

func (*ListApplicationParams) SetPathAccountSid

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

type ListApplicationResponse

type ListApplicationResponse struct {
	Applications    []ApiV2010AccountApplication `json:"applications,omitempty"`
	End             int32                        `json:"end,omitempty"`
	FirstPageUri    string                       `json:"first_page_uri,omitempty"`
	NextPageUri     string                       `json:"next_page_uri,omitempty"`
	Page            int32                        `json:"page,omitempty"`
	PageSize        int32                        `json:"page_size,omitempty"`
	PreviousPageUri string                       `json:"previous_page_uri,omitempty"`
	Start           int32                        `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListAuthorizedConnectApp'

func (*ListAuthorizedConnectAppParams) SetPageSize

func (*ListAuthorizedConnectAppParams) SetPathAccountSid

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

type ListAuthorizedConnectAppResponse

type ListAuthorizedConnectAppResponse struct {
	AuthorizedConnectApps []ApiV2010AccountAuthorizedConnectApp `json:"authorized_connect_apps,omitempty"`
	End                   int32                                 `json:"end,omitempty"`
	FirstPageUri          string                                `json:"first_page_uri,omitempty"`
	NextPageUri           string                                `json:"next_page_uri,omitempty"`
	Page                  int32                                 `json:"page,omitempty"`
	PageSize              int32                                 `json:"page_size,omitempty"`
	PreviousPageUri       string                                `json:"previous_page_uri,omitempty"`
	Start                 int32                                 `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListAvailablePhoneNumberCountry'

func (*ListAvailablePhoneNumberCountryParams) SetPageSize

func (*ListAvailablePhoneNumberCountryParams) SetPathAccountSid

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

type ListAvailablePhoneNumberCountryResponse

type ListAvailablePhoneNumberCountryResponse struct {
	Countries       []ApiV2010AccountAvailablePhoneNumberCountry `json:"countries,omitempty"`
	End             int32                                        `json:"end,omitempty"`
	FirstPageUri    string                                       `json:"first_page_uri,omitempty"`
	NextPageUri     string                                       `json:"next_page_uri,omitempty"`
	Page            int32                                        `json:"page,omitempty"`
	PageSize        int32                                        `json:"page_size,omitempty"`
	PreviousPageUri string                                       `json:"previous_page_uri,omitempty"`
	Start           int32                                        `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 *int32 `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 *int32 `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 *int32 `json:"PageSize,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) 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 []ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberLocal `json:"available_phone_numbers,omitempty"`
	End                   int32                                                                 `json:"end,omitempty"`
	FirstPageUri          string                                                                `json:"first_page_uri,omitempty"`
	NextPageUri           string                                                                `json:"next_page_uri,omitempty"`
	Page                  int32                                                                 `json:"page,omitempty"`
	PageSize              int32                                                                 `json:"page_size,omitempty"`
	PreviousPageUri       string                                                                `json:"previous_page_uri,omitempty"`
	Start                 int32                                                                 `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 *int32 `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 *int32 `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 *int32 `json:"PageSize,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) 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 []ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberMachineToMachine `json:"available_phone_numbers,omitempty"`
	End                   int32                                                                            `json:"end,omitempty"`
	FirstPageUri          string                                                                           `json:"first_page_uri,omitempty"`
	NextPageUri           string                                                                           `json:"next_page_uri,omitempty"`
	Page                  int32                                                                            `json:"page,omitempty"`
	PageSize              int32                                                                            `json:"page_size,omitempty"`
	PreviousPageUri       string                                                                           `json:"previous_page_uri,omitempty"`
	Start                 int32                                                                            `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 *int32 `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 *int32 `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 *int32 `json:"PageSize,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) 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 []ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberMobile `json:"available_phone_numbers,omitempty"`
	End                   int32                                                                  `json:"end,omitempty"`
	FirstPageUri          string                                                                 `json:"first_page_uri,omitempty"`
	NextPageUri           string                                                                 `json:"next_page_uri,omitempty"`
	Page                  int32                                                                  `json:"page,omitempty"`
	PageSize              int32                                                                  `json:"page_size,omitempty"`
	PreviousPageUri       string                                                                 `json:"previous_page_uri,omitempty"`
	Start                 int32                                                                  `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 *int32 `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 *int32 `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 *int32 `json:"PageSize,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) 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 []ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberNational `json:"available_phone_numbers,omitempty"`
	End                   int32                                                                    `json:"end,omitempty"`
	FirstPageUri          string                                                                   `json:"first_page_uri,omitempty"`
	NextPageUri           string                                                                   `json:"next_page_uri,omitempty"`
	Page                  int32                                                                    `json:"page,omitempty"`
	PageSize              int32                                                                    `json:"page_size,omitempty"`
	PreviousPageUri       string                                                                   `json:"previous_page_uri,omitempty"`
	Start                 int32                                                                    `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 *int32 `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 *int32 `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 *int32 `json:"PageSize,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) 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 []ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberSharedCost `json:"available_phone_numbers,omitempty"`
	End                   int32                                                                      `json:"end,omitempty"`
	FirstPageUri          string                                                                     `json:"first_page_uri,omitempty"`
	NextPageUri           string                                                                     `json:"next_page_uri,omitempty"`
	Page                  int32                                                                      `json:"page,omitempty"`
	PageSize              int32                                                                      `json:"page_size,omitempty"`
	PreviousPageUri       string                                                                     `json:"previous_page_uri,omitempty"`
	Start                 int32                                                                      `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 *int32 `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 *int32 `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 *int32 `json:"PageSize,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) 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 []ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberTollFree `json:"available_phone_numbers,omitempty"`
	End                   int32                                                                    `json:"end,omitempty"`
	FirstPageUri          string                                                                   `json:"first_page_uri,omitempty"`
	NextPageUri           string                                                                   `json:"next_page_uri,omitempty"`
	Page                  int32                                                                    `json:"page,omitempty"`
	PageSize              int32                                                                    `json:"page_size,omitempty"`
	PreviousPageUri       string                                                                   `json:"previous_page_uri,omitempty"`
	Start                 int32                                                                    `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 *int32 `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 *int32 `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 *int32 `json:"PageSize,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) 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 []ApiV2010AccountAvailablePhoneNumberCountryAvailablePhoneNumberVoip `json:"available_phone_numbers,omitempty"`
	End                   int32                                                                `json:"end,omitempty"`
	FirstPageUri          string                                                               `json:"first_page_uri,omitempty"`
	NextPageUri           string                                                               `json:"next_page_uri,omitempty"`
	Page                  int32                                                                `json:"page,omitempty"`
	PageSize              int32                                                                `json:"page_size,omitempty"`
	PreviousPageUri       string                                                               `json:"previous_page_uri,omitempty"`
	Start                 int32                                                                `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListCallEvent'

func (*ListCallEventParams) SetPageSize

func (params *ListCallEventParams) SetPageSize(PageSize int32) *ListCallEventParams

func (*ListCallEventParams) SetPathAccountSid

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

type ListCallEventResponse

type ListCallEventResponse struct {
	End             int32                          `json:"end,omitempty"`
	Events          []ApiV2010AccountCallCallEvent `json:"events,omitempty"`
	FirstPageUri    string                         `json:"first_page_uri,omitempty"`
	NextPageUri     string                         `json:"next_page_uri,omitempty"`
	Page            int32                          `json:"page,omitempty"`
	PageSize        int32                          `json:"page_size,omitempty"`
	PreviousPageUri string                         `json:"previous_page_uri,omitempty"`
	Start           int32                          `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 *int32 `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListCallNotification'

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 int32) *ListCallNotificationParams

func (*ListCallNotificationParams) SetPathAccountSid

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

type ListCallNotificationResponse

type ListCallNotificationResponse struct {
	End             int32                                 `json:"end,omitempty"`
	FirstPageUri    string                                `json:"first_page_uri,omitempty"`
	NextPageUri     string                                `json:"next_page_uri,omitempty"`
	Notifications   []ApiV2010AccountCallCallNotification `json:"notifications,omitempty"`
	Page            int32                                 `json:"page,omitempty"`
	PageSize        int32                                 `json:"page_size,omitempty"`
	PreviousPageUri string                                `json:"previous_page_uri,omitempty"`
	Start           int32                                 `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 *int32 `json:"PageSize,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) SetPageSize

func (params *ListCallParams) SetPageSize(PageSize int32) *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 *int32 `json:"PageSize,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) SetPageSize

func (params *ListCallRecordingParams) SetPageSize(PageSize int32) *ListCallRecordingParams

func (*ListCallRecordingParams) SetPathAccountSid

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

type ListCallRecordingResponse

type ListCallRecordingResponse struct {
	End             int32                              `json:"end,omitempty"`
	FirstPageUri    string                             `json:"first_page_uri,omitempty"`
	NextPageUri     string                             `json:"next_page_uri,omitempty"`
	Page            int32                              `json:"page,omitempty"`
	PageSize        int32                              `json:"page_size,omitempty"`
	PreviousPageUri string                             `json:"previous_page_uri,omitempty"`
	Recordings      []ApiV2010AccountCallCallRecording `json:"recordings,omitempty"`
	Start           int32                              `json:"start,omitempty"`
	Uri             string                             `json:"uri,omitempty"`
}

ListCallRecordingResponse struct for ListCallRecordingResponse

type ListCallResponse

type ListCallResponse struct {
	Calls           []ApiV2010AccountCall `json:"calls,omitempty"`
	End             int32                 `json:"end,omitempty"`
	FirstPageUri    string                `json:"first_page_uri,omitempty"`
	NextPageUri     string                `json:"next_page_uri,omitempty"`
	Page            int32                 `json:"page,omitempty"`
	PageSize        int32                 `json:"page_size,omitempty"`
	PreviousPageUri string                `json:"previous_page_uri,omitempty"`
	Start           int32                 `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 *int32 `json:"PageSize,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) SetPageSize

func (params *ListConferenceParams) SetPageSize(PageSize int32) *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 *int32 `json:"PageSize,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) SetPageSize

func (params *ListConferenceRecordingParams) SetPageSize(PageSize int32) *ListConferenceRecordingParams

func (*ListConferenceRecordingParams) SetPathAccountSid

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

type ListConferenceRecordingResponse

type ListConferenceRecordingResponse struct {
	End             int32                                          `json:"end,omitempty"`
	FirstPageUri    string                                         `json:"first_page_uri,omitempty"`
	NextPageUri     string                                         `json:"next_page_uri,omitempty"`
	Page            int32                                          `json:"page,omitempty"`
	PageSize        int32                                          `json:"page_size,omitempty"`
	PreviousPageUri string                                         `json:"previous_page_uri,omitempty"`
	Recordings      []ApiV2010AccountConferenceConferenceRecording `json:"recordings,omitempty"`
	Start           int32                                          `json:"start,omitempty"`
	Uri             string                                         `json:"uri,omitempty"`
}

ListConferenceRecordingResponse struct for ListConferenceRecordingResponse

type ListConferenceResponse

type ListConferenceResponse struct {
	Conferences     []ApiV2010AccountConference `json:"conferences,omitempty"`
	End             int32                       `json:"end,omitempty"`
	FirstPageUri    string                      `json:"first_page_uri,omitempty"`
	NextPageUri     string                      `json:"next_page_uri,omitempty"`
	Page            int32                       `json:"page,omitempty"`
	PageSize        int32                       `json:"page_size,omitempty"`
	PreviousPageUri string                      `json:"previous_page_uri,omitempty"`
	Start           int32                       `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListConnectApp'

func (*ListConnectAppParams) SetPageSize

func (params *ListConnectAppParams) SetPageSize(PageSize int32) *ListConnectAppParams

func (*ListConnectAppParams) SetPathAccountSid

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

type ListConnectAppResponse

type ListConnectAppResponse struct {
	ConnectApps     []ApiV2010AccountConnectApp `json:"connect_apps,omitempty"`
	End             int32                       `json:"end,omitempty"`
	FirstPageUri    string                      `json:"first_page_uri,omitempty"`
	NextPageUri     string                      `json:"next_page_uri,omitempty"`
	Page            int32                       `json:"page,omitempty"`
	PageSize        int32                       `json:"page_size,omitempty"`
	PreviousPageUri string                      `json:"previous_page_uri,omitempty"`
	Start           int32                       `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListDependentPhoneNumber'

func (*ListDependentPhoneNumberParams) SetPageSize

func (*ListDependentPhoneNumberParams) SetPathAccountSid

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

type ListDependentPhoneNumberResponse

type ListDependentPhoneNumberResponse struct {
	DependentPhoneNumbers []ApiV2010AccountAddressDependentPhoneNumber `json:"dependent_phone_numbers,omitempty"`
	End                   int32                                        `json:"end,omitempty"`
	FirstPageUri          string                                       `json:"first_page_uri,omitempty"`
	NextPageUri           string                                       `json:"next_page_uri,omitempty"`
	Page                  int32                                        `json:"page,omitempty"`
	PageSize              int32                                        `json:"page_size,omitempty"`
	PreviousPageUri       string                                       `json:"previous_page_uri,omitempty"`
	Start                 int32                                        `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListIncomingPhoneNumberAssignedAddOnExtension'

func (*ListIncomingPhoneNumberAssignedAddOnExtensionParams) SetPageSize

func (*ListIncomingPhoneNumberAssignedAddOnExtensionParams) SetPathAccountSid

type ListIncomingPhoneNumberAssignedAddOnExtensionResponse

type ListIncomingPhoneNumberAssignedAddOnExtensionResponse struct {
	End             int32                                                                                                         `json:"end,omitempty"`
	Extensions      []ApiV2010AccountIncomingPhoneNumberIncomingPhoneNumberAssignedAddOnIncomingPhoneNumberAssignedAddOnExtension `json:"extensions,omitempty"`
	FirstPageUri    string                                                                                                        `json:"first_page_uri,omitempty"`
	NextPageUri     string                                                                                                        `json:"next_page_uri,omitempty"`
	Page            int32                                                                                                         `json:"page,omitempty"`
	PageSize        int32                                                                                                         `json:"page_size,omitempty"`
	PreviousPageUri string                                                                                                        `json:"previous_page_uri,omitempty"`
	Start           int32                                                                                                         `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListIncomingPhoneNumberAssignedAddOn'

func (*ListIncomingPhoneNumberAssignedAddOnParams) SetPageSize

func (*ListIncomingPhoneNumberAssignedAddOnParams) SetPathAccountSid

type ListIncomingPhoneNumberAssignedAddOnResponse

type ListIncomingPhoneNumberAssignedAddOnResponse struct {
	AssignedAddOns  []ApiV2010AccountIncomingPhoneNumberIncomingPhoneNumberAssignedAddOn `json:"assigned_add_ons,omitempty"`
	End             int32                                                                `json:"end,omitempty"`
	FirstPageUri    string                                                               `json:"first_page_uri,omitempty"`
	NextPageUri     string                                                               `json:"next_page_uri,omitempty"`
	Page            int32                                                                `json:"page,omitempty"`
	PageSize        int32                                                                `json:"page_size,omitempty"`
	PreviousPageUri string                                                               `json:"previous_page_uri,omitempty"`
	Start           int32                                                                `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListIncomingPhoneNumberLocal'

func (*ListIncomingPhoneNumberLocalParams) SetBeta

func (*ListIncomingPhoneNumberLocalParams) SetFriendlyName

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

func (*ListIncomingPhoneNumberLocalParams) SetOrigin

func (*ListIncomingPhoneNumberLocalParams) SetPageSize

func (*ListIncomingPhoneNumberLocalParams) SetPathAccountSid

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

func (*ListIncomingPhoneNumberLocalParams) SetPhoneNumber

type ListIncomingPhoneNumberLocalResponse

type ListIncomingPhoneNumberLocalResponse struct {
	End                  int32                                                        `json:"end,omitempty"`
	FirstPageUri         string                                                       `json:"first_page_uri,omitempty"`
	IncomingPhoneNumbers []ApiV2010AccountIncomingPhoneNumberIncomingPhoneNumberLocal `json:"incoming_phone_numbers,omitempty"`
	NextPageUri          string                                                       `json:"next_page_uri,omitempty"`
	Page                 int32                                                        `json:"page,omitempty"`
	PageSize             int32                                                        `json:"page_size,omitempty"`
	PreviousPageUri      string                                                       `json:"previous_page_uri,omitempty"`
	Start                int32                                                        `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListIncomingPhoneNumberMobile'

func (*ListIncomingPhoneNumberMobileParams) SetBeta

func (*ListIncomingPhoneNumberMobileParams) SetFriendlyName

func (*ListIncomingPhoneNumberMobileParams) SetOrigin

func (*ListIncomingPhoneNumberMobileParams) SetPageSize

func (*ListIncomingPhoneNumberMobileParams) SetPathAccountSid

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

func (*ListIncomingPhoneNumberMobileParams) SetPhoneNumber

type ListIncomingPhoneNumberMobileResponse

type ListIncomingPhoneNumberMobileResponse struct {
	End                  int32                                                         `json:"end,omitempty"`
	FirstPageUri         string                                                        `json:"first_page_uri,omitempty"`
	IncomingPhoneNumbers []ApiV2010AccountIncomingPhoneNumberIncomingPhoneNumberMobile `json:"incoming_phone_numbers,omitempty"`
	NextPageUri          string                                                        `json:"next_page_uri,omitempty"`
	Page                 int32                                                         `json:"page,omitempty"`
	PageSize             int32                                                         `json:"page_size,omitempty"`
	PreviousPageUri      string                                                        `json:"previous_page_uri,omitempty"`
	Start                int32                                                         `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListIncomingPhoneNumber'

func (*ListIncomingPhoneNumberParams) SetBeta

func (*ListIncomingPhoneNumberParams) SetFriendlyName

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

func (*ListIncomingPhoneNumberParams) SetOrigin

func (*ListIncomingPhoneNumberParams) SetPageSize

func (params *ListIncomingPhoneNumberParams) SetPageSize(PageSize int32) *ListIncomingPhoneNumberParams

func (*ListIncomingPhoneNumberParams) SetPathAccountSid

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

func (*ListIncomingPhoneNumberParams) SetPhoneNumber

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

type ListIncomingPhoneNumberResponse

type ListIncomingPhoneNumberResponse struct {
	End                  int32                                `json:"end,omitempty"`
	FirstPageUri         string                               `json:"first_page_uri,omitempty"`
	IncomingPhoneNumbers []ApiV2010AccountIncomingPhoneNumber `json:"incoming_phone_numbers,omitempty"`
	NextPageUri          string                               `json:"next_page_uri,omitempty"`
	Page                 int32                                `json:"page,omitempty"`
	PageSize             int32                                `json:"page_size,omitempty"`
	PreviousPageUri      string                               `json:"previous_page_uri,omitempty"`
	Start                int32                                `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListIncomingPhoneNumberTollFree'

func (*ListIncomingPhoneNumberTollFreeParams) SetBeta

func (*ListIncomingPhoneNumberTollFreeParams) SetFriendlyName

func (*ListIncomingPhoneNumberTollFreeParams) SetOrigin

func (*ListIncomingPhoneNumberTollFreeParams) SetPageSize

func (*ListIncomingPhoneNumberTollFreeParams) SetPathAccountSid

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

func (*ListIncomingPhoneNumberTollFreeParams) SetPhoneNumber

type ListIncomingPhoneNumberTollFreeResponse

type ListIncomingPhoneNumberTollFreeResponse struct {
	End                  int32                                                           `json:"end,omitempty"`
	FirstPageUri         string                                                          `json:"first_page_uri,omitempty"`
	IncomingPhoneNumbers []ApiV2010AccountIncomingPhoneNumberIncomingPhoneNumberTollFree `json:"incoming_phone_numbers,omitempty"`
	NextPageUri          string                                                          `json:"next_page_uri,omitempty"`
	Page                 int32                                                           `json:"page,omitempty"`
	PageSize             int32                                                           `json:"page_size,omitempty"`
	PreviousPageUri      string                                                          `json:"previous_page_uri,omitempty"`
	Start                int32                                                           `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListKey'

func (*ListKeyParams) SetPageSize

func (params *ListKeyParams) SetPageSize(PageSize int32) *ListKeyParams

func (*ListKeyParams) SetPathAccountSid

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

type ListKeyResponse

type ListKeyResponse struct {
	End             int32                `json:"end,omitempty"`
	FirstPageUri    string               `json:"first_page_uri,omitempty"`
	Keys            []ApiV2010AccountKey `json:"keys,omitempty"`
	NextPageUri     string               `json:"next_page_uri,omitempty"`
	Page            int32                `json:"page,omitempty"`
	PageSize        int32                `json:"page_size,omitempty"`
	PreviousPageUri string               `json:"previous_page_uri,omitempty"`
	Start           int32                `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 *int32 `json:"PageSize,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) SetPageSize

func (params *ListMediaParams) SetPageSize(PageSize int32) *ListMediaParams

func (*ListMediaParams) SetPathAccountSid

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

type ListMediaResponse

type ListMediaResponse struct {
	End             int32                         `json:"end,omitempty"`
	FirstPageUri    string                        `json:"first_page_uri,omitempty"`
	MediaList       []ApiV2010AccountMessageMedia `json:"media_list,omitempty"`
	NextPageUri     string                        `json:"next_page_uri,omitempty"`
	Page            int32                         `json:"page,omitempty"`
	PageSize        int32                         `json:"page_size,omitempty"`
	PreviousPageUri string                        `json:"previous_page_uri,omitempty"`
	Start           int32                         `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListMember'

func (*ListMemberParams) SetPageSize

func (params *ListMemberParams) SetPageSize(PageSize int32) *ListMemberParams

func (*ListMemberParams) SetPathAccountSid

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

type ListMemberResponse

type ListMemberResponse struct {
	End             int32                        `json:"end,omitempty"`
	FirstPageUri    string                       `json:"first_page_uri,omitempty"`
	NextPageUri     string                       `json:"next_page_uri,omitempty"`
	Page            int32                        `json:"page,omitempty"`
	PageSize        int32                        `json:"page_size,omitempty"`
	PreviousPageUri string                       `json:"previous_page_uri,omitempty"`
	QueueMembers    []ApiV2010AccountQueueMember `json:"queue_members,omitempty"`
	Start           int32                        `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 *int32 `json:"PageSize,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) SetPageSize

func (params *ListMessageParams) SetPageSize(PageSize int32) *ListMessageParams

func (*ListMessageParams) SetPathAccountSid

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

func (*ListMessageParams) SetTo

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

type ListMessageResponse

type ListMessageResponse struct {
	End             int32                    `json:"end,omitempty"`
	FirstPageUri    string                   `json:"first_page_uri,omitempty"`
	Messages        []ApiV2010AccountMessage `json:"messages,omitempty"`
	NextPageUri     string                   `json:"next_page_uri,omitempty"`
	Page            int32                    `json:"page,omitempty"`
	PageSize        int32                    `json:"page_size,omitempty"`
	PreviousPageUri string                   `json:"previous_page_uri,omitempty"`
	Start           int32                    `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 *int32 `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListNotification'

func (*ListNotificationParams) SetLog

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 int32) *ListNotificationParams

func (*ListNotificationParams) SetPathAccountSid

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

type ListNotificationResponse

type ListNotificationResponse struct {
	End             int32                         `json:"end,omitempty"`
	FirstPageUri    string                        `json:"first_page_uri,omitempty"`
	NextPageUri     string                        `json:"next_page_uri,omitempty"`
	Notifications   []ApiV2010AccountNotification `json:"notifications,omitempty"`
	Page            int32                         `json:"page,omitempty"`
	PageSize        int32                         `json:"page_size,omitempty"`
	PreviousPageUri string                        `json:"previous_page_uri,omitempty"`
	Start           int32                         `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListOutgoingCallerId'

func (*ListOutgoingCallerIdParams) SetFriendlyName

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

func (*ListOutgoingCallerIdParams) SetPageSize

func (params *ListOutgoingCallerIdParams) SetPageSize(PageSize int32) *ListOutgoingCallerIdParams

func (*ListOutgoingCallerIdParams) SetPathAccountSid

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

func (*ListOutgoingCallerIdParams) SetPhoneNumber

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

type ListOutgoingCallerIdResponse

type ListOutgoingCallerIdResponse struct {
	End               int32                             `json:"end,omitempty"`
	FirstPageUri      string                            `json:"first_page_uri,omitempty"`
	NextPageUri       string                            `json:"next_page_uri,omitempty"`
	OutgoingCallerIds []ApiV2010AccountOutgoingCallerId `json:"outgoing_caller_ids,omitempty"`
	Page              int32                             `json:"page,omitempty"`
	PageSize          int32                             `json:"page_size,omitempty"`
	PreviousPageUri   string                            `json:"previous_page_uri,omitempty"`
	Start             int32                             `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 *int32 `json:"PageSize,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) SetMuted

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

func (*ListParticipantParams) SetPageSize

func (params *ListParticipantParams) SetPageSize(PageSize int32) *ListParticipantParams

func (*ListParticipantParams) SetPathAccountSid

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

type ListParticipantResponse

type ListParticipantResponse struct {
	End             int32                                  `json:"end,omitempty"`
	FirstPageUri    string                                 `json:"first_page_uri,omitempty"`
	NextPageUri     string                                 `json:"next_page_uri,omitempty"`
	Page            int32                                  `json:"page,omitempty"`
	PageSize        int32                                  `json:"page_size,omitempty"`
	Participants    []ApiV2010AccountConferenceParticipant `json:"participants,omitempty"`
	PreviousPageUri string                                 `json:"previous_page_uri,omitempty"`
	Start           int32                                  `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListQueue'

func (*ListQueueParams) SetPageSize

func (params *ListQueueParams) SetPageSize(PageSize int32) *ListQueueParams

func (*ListQueueParams) SetPathAccountSid

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

type ListQueueResponse

type ListQueueResponse struct {
	End             int32                  `json:"end,omitempty"`
	FirstPageUri    string                 `json:"first_page_uri,omitempty"`
	NextPageUri     string                 `json:"next_page_uri,omitempty"`
	Page            int32                  `json:"page,omitempty"`
	PageSize        int32                  `json:"page_size,omitempty"`
	PreviousPageUri string                 `json:"previous_page_uri,omitempty"`
	Queues          []ApiV2010AccountQueue `json:"queues,omitempty"`
	Start           int32                  `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListRecordingAddOnResult'

func (*ListRecordingAddOnResultParams) SetPageSize

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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListRecordingAddOnResultPayload'

func (*ListRecordingAddOnResultPayloadParams) SetPageSize

func (*ListRecordingAddOnResultPayloadParams) SetPathAccountSid

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

type ListRecordingAddOnResultPayloadResponse

type ListRecordingAddOnResultPayloadResponse struct {
	End             int32                                                                     `json:"end,omitempty"`
	FirstPageUri    string                                                                    `json:"first_page_uri,omitempty"`
	NextPageUri     string                                                                    `json:"next_page_uri,omitempty"`
	Page            int32                                                                     `json:"page,omitempty"`
	PageSize        int32                                                                     `json:"page_size,omitempty"`
	Payloads        []ApiV2010AccountRecordingRecordingAddOnResultRecordingAddOnResultPayload `json:"payloads,omitempty"`
	PreviousPageUri string                                                                    `json:"previous_page_uri,omitempty"`
	Start           int32                                                                     `json:"start,omitempty"`
	Uri             string                                                                    `json:"uri,omitempty"`
}

ListRecordingAddOnResultPayloadResponse struct for ListRecordingAddOnResultPayloadResponse

type ListRecordingAddOnResultResponse

type ListRecordingAddOnResultResponse struct {
	AddOnResults    []ApiV2010AccountRecordingRecordingAddOnResult `json:"add_on_results,omitempty"`
	End             int32                                          `json:"end,omitempty"`
	FirstPageUri    string                                         `json:"first_page_uri,omitempty"`
	NextPageUri     string                                         `json:"next_page_uri,omitempty"`
	Page            int32                                          `json:"page,omitempty"`
	PageSize        int32                                          `json:"page_size,omitempty"`
	PreviousPageUri string                                         `json:"previous_page_uri,omitempty"`
	Start           int32                                          `json:"start,omitempty"`
	Uri             string                                         `json:"uri,omitempty"`
}

ListRecordingAddOnResultResponse struct for ListRecordingAddOnResultResponse

type ListRecordingParams

type ListRecordingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// Only include recordings that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read recordings that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read recordings that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read recordings that were created on or after midnight of this date.
	DateCreated *time.Time `json:"DateCreated,omitempty"`
	// Only include recordings that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read recordings that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read recordings that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read recordings that were created on or after midnight of this date.
	DateCreatedBefore *time.Time `json:"DateCreated&lt;,omitempty"`
	// Only include recordings that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read recordings that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read recordings that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read recordings that were created on or after midnight of this date.
	DateCreatedAfter *time.Time `json:"DateCreated&gt;,omitempty"`
	// The [Call](https://www.twilio.com/docs/voice/api/call-resource) SID of the resources to read.
	CallSid *string `json:"CallSid,omitempty"`
	// The Conference SID that identifies the conference associated with the recording to read.
	ConferenceSid *string `json:"ConferenceSid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int32 `json:"PageSize,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) SetPageSize

func (params *ListRecordingParams) SetPageSize(PageSize int32) *ListRecordingParams

func (*ListRecordingParams) SetPathAccountSid

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

type ListRecordingResponse

type ListRecordingResponse struct {
	End             int32                      `json:"end,omitempty"`
	FirstPageUri    string                     `json:"first_page_uri,omitempty"`
	NextPageUri     string                     `json:"next_page_uri,omitempty"`
	Page            int32                      `json:"page,omitempty"`
	PageSize        int32                      `json:"page_size,omitempty"`
	PreviousPageUri string                     `json:"previous_page_uri,omitempty"`
	Recordings      []ApiV2010AccountRecording `json:"recordings,omitempty"`
	Start           int32                      `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListRecordingTranscription'

func (*ListRecordingTranscriptionParams) SetPageSize

func (*ListRecordingTranscriptionParams) SetPathAccountSid

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

type ListRecordingTranscriptionResponse

type ListRecordingTranscriptionResponse struct {
	End             int32                                            `json:"end,omitempty"`
	FirstPageUri    string                                           `json:"first_page_uri,omitempty"`
	NextPageUri     string                                           `json:"next_page_uri,omitempty"`
	Page            int32                                            `json:"page,omitempty"`
	PageSize        int32                                            `json:"page_size,omitempty"`
	PreviousPageUri string                                           `json:"previous_page_uri,omitempty"`
	Start           int32                                            `json:"start,omitempty"`
	Transcriptions  []ApiV2010AccountRecordingRecordingTranscription `json:"transcriptions,omitempty"`
	Uri             string                                           `json:"uri,omitempty"`
}

ListRecordingTranscriptionResponse struct for ListRecordingTranscriptionResponse

type ListShortCodeParams

type ListShortCodeParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ShortCode resource(s) to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The string that identifies the ShortCode resources to read.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// Only show the ShortCode resources that match this pattern. You can specify partial numbers and use '*' as a wildcard for any digit.
	ShortCode *string `json:"ShortCode,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListShortCode'

func (*ListShortCodeParams) SetFriendlyName

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

func (*ListShortCodeParams) SetPageSize

func (params *ListShortCodeParams) SetPageSize(PageSize int32) *ListShortCodeParams

func (*ListShortCodeParams) SetPathAccountSid

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

func (*ListShortCodeParams) SetShortCode

func (params *ListShortCodeParams) SetShortCode(ShortCode string) *ListShortCodeParams

type ListShortCodeResponse

type ListShortCodeResponse struct {
	End             int32                      `json:"end,omitempty"`
	FirstPageUri    string                     `json:"first_page_uri,omitempty"`
	NextPageUri     string                     `json:"next_page_uri,omitempty"`
	Page            int32                      `json:"page,omitempty"`
	PageSize        int32                      `json:"page_size,omitempty"`
	PreviousPageUri string                     `json:"previous_page_uri,omitempty"`
	ShortCodes      []ApiV2010AccountShortCode `json:"short_codes,omitempty"`
	Start           int32                      `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListSigningKey'

func (*ListSigningKeyParams) SetPageSize

func (params *ListSigningKeyParams) SetPageSize(PageSize int32) *ListSigningKeyParams

func (*ListSigningKeyParams) SetPathAccountSid

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

type ListSigningKeyResponse

type ListSigningKeyResponse struct {
	End             int32                       `json:"end,omitempty"`
	FirstPageUri    string                      `json:"first_page_uri,omitempty"`
	NextPageUri     string                      `json:"next_page_uri,omitempty"`
	Page            int32                       `json:"page,omitempty"`
	PageSize        int32                       `json:"page_size,omitempty"`
	PreviousPageUri string                      `json:"previous_page_uri,omitempty"`
	SigningKeys     []ApiV2010AccountSigningKey `json:"signing_keys,omitempty"`
	Start           int32                       `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListSipAuthCallsCredentialListMapping'

func (*ListSipAuthCallsCredentialListMappingParams) SetPageSize

func (*ListSipAuthCallsCredentialListMappingParams) SetPathAccountSid

type ListSipAuthCallsCredentialListMappingResponse

type ListSipAuthCallsCredentialListMappingResponse struct {
	Contents        []ApiV2010AccountSipSipDomainSipAuthSipAuthCallsSipAuthCallsCredentialListMapping `json:"contents,omitempty"`
	End             int32                                                                             `json:"end,omitempty"`
	FirstPageUri    string                                                                            `json:"first_page_uri,omitempty"`
	NextPageUri     string                                                                            `json:"next_page_uri,omitempty"`
	Page            int32                                                                             `json:"page,omitempty"`
	PageSize        int32                                                                             `json:"page_size,omitempty"`
	PreviousPageUri string                                                                            `json:"previous_page_uri,omitempty"`
	Start           int32                                                                             `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListSipAuthCallsIpAccessControlListMapping'

func (*ListSipAuthCallsIpAccessControlListMappingParams) SetPageSize

func (*ListSipAuthCallsIpAccessControlListMappingParams) SetPathAccountSid

type ListSipAuthCallsIpAccessControlListMappingResponse

type ListSipAuthCallsIpAccessControlListMappingResponse struct {
	Contents        []ApiV2010AccountSipSipDomainSipAuthSipAuthCallsSipAuthCallsIpAccessControlListMapping `json:"contents,omitempty"`
	End             int32                                                                                  `json:"end,omitempty"`
	FirstPageUri    string                                                                                 `json:"first_page_uri,omitempty"`
	NextPageUri     string                                                                                 `json:"next_page_uri,omitempty"`
	Page            int32                                                                                  `json:"page,omitempty"`
	PageSize        int32                                                                                  `json:"page_size,omitempty"`
	PreviousPageUri string                                                                                 `json:"previous_page_uri,omitempty"`
	Start           int32                                                                                  `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListSipAuthRegistrationsCredentialListMapping'

func (*ListSipAuthRegistrationsCredentialListMappingParams) SetPageSize

func (*ListSipAuthRegistrationsCredentialListMappingParams) SetPathAccountSid

type ListSipAuthRegistrationsCredentialListMappingResponse

type ListSipAuthRegistrationsCredentialListMappingResponse struct {
	Contents        []ApiV2010AccountSipSipDomainSipAuthSipAuthRegistrationsSipAuthRegistrationsCredentialListMapping `json:"contents,omitempty"`
	End             int32                                                                                             `json:"end,omitempty"`
	FirstPageUri    string                                                                                            `json:"first_page_uri,omitempty"`
	NextPageUri     string                                                                                            `json:"next_page_uri,omitempty"`
	Page            int32                                                                                             `json:"page,omitempty"`
	PageSize        int32                                                                                             `json:"page_size,omitempty"`
	PreviousPageUri string                                                                                            `json:"previous_page_uri,omitempty"`
	Start           int32                                                                                             `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListSipCredentialListMapping'

func (*ListSipCredentialListMappingParams) SetPageSize

func (*ListSipCredentialListMappingParams) SetPathAccountSid

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

type ListSipCredentialListMappingResponse

type ListSipCredentialListMappingResponse struct {
	CredentialListMappings []ApiV2010AccountSipSipDomainSipCredentialListMapping `json:"credential_list_mappings,omitempty"`
	End                    int32                                                 `json:"end,omitempty"`
	FirstPageUri           string                                                `json:"first_page_uri,omitempty"`
	NextPageUri            string                                                `json:"next_page_uri,omitempty"`
	Page                   int32                                                 `json:"page,omitempty"`
	PageSize               int32                                                 `json:"page_size,omitempty"`
	PreviousPageUri        string                                                `json:"previous_page_uri,omitempty"`
	Start                  int32                                                 `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListSipCredentialList'

func (*ListSipCredentialListParams) SetPageSize

func (params *ListSipCredentialListParams) SetPageSize(PageSize int32) *ListSipCredentialListParams

func (*ListSipCredentialListParams) SetPathAccountSid

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

type ListSipCredentialListResponse

type ListSipCredentialListResponse struct {
	CredentialLists []ApiV2010AccountSipSipCredentialList `json:"credential_lists,omitempty"`
	End             int32                                 `json:"end,omitempty"`
	FirstPageUri    string                                `json:"first_page_uri,omitempty"`
	NextPageUri     string                                `json:"next_page_uri,omitempty"`
	Page            int32                                 `json:"page,omitempty"`
	PageSize        int32                                 `json:"page_size,omitempty"`
	PreviousPageUri string                                `json:"previous_page_uri,omitempty"`
	Start           int32                                 `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListSipCredential'

func (*ListSipCredentialParams) SetPageSize

func (params *ListSipCredentialParams) SetPageSize(PageSize int32) *ListSipCredentialParams

func (*ListSipCredentialParams) SetPathAccountSid

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

type ListSipCredentialResponse

type ListSipCredentialResponse struct {
	Credentials     []ApiV2010AccountSipSipCredentialListSipCredential `json:"credentials,omitempty"`
	End             int32                                              `json:"end,omitempty"`
	FirstPageUri    string                                             `json:"first_page_uri,omitempty"`
	NextPageUri     string                                             `json:"next_page_uri,omitempty"`
	Page            int32                                              `json:"page,omitempty"`
	PageSize        int32                                              `json:"page_size,omitempty"`
	PreviousPageUri string                                             `json:"previous_page_uri,omitempty"`
	Start           int32                                              `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListSipDomain'

func (*ListSipDomainParams) SetPageSize

func (params *ListSipDomainParams) SetPageSize(PageSize int32) *ListSipDomainParams

func (*ListSipDomainParams) SetPathAccountSid

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

type ListSipDomainResponse

type ListSipDomainResponse struct {
	Domains         []ApiV2010AccountSipSipDomain `json:"domains,omitempty"`
	End             int32                         `json:"end,omitempty"`
	FirstPageUri    string                        `json:"first_page_uri,omitempty"`
	NextPageUri     string                        `json:"next_page_uri,omitempty"`
	Page            int32                         `json:"page,omitempty"`
	PageSize        int32                         `json:"page_size,omitempty"`
	PreviousPageUri string                        `json:"previous_page_uri,omitempty"`
	Start           int32                         `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListSipIpAccessControlListMapping'

func (*ListSipIpAccessControlListMappingParams) SetPageSize

func (*ListSipIpAccessControlListMappingParams) SetPathAccountSid

type ListSipIpAccessControlListMappingResponse

type ListSipIpAccessControlListMappingResponse struct {
	End                         int32                                                      `json:"end,omitempty"`
	FirstPageUri                string                                                     `json:"first_page_uri,omitempty"`
	IpAccessControlListMappings []ApiV2010AccountSipSipDomainSipIpAccessControlListMapping `json:"ip_access_control_list_mappings,omitempty"`
	NextPageUri                 string                                                     `json:"next_page_uri,omitempty"`
	Page                        int32                                                      `json:"page,omitempty"`
	PageSize                    int32                                                      `json:"page_size,omitempty"`
	PreviousPageUri             string                                                     `json:"previous_page_uri,omitempty"`
	Start                       int32                                                      `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListSipIpAccessControlList'

func (*ListSipIpAccessControlListParams) SetPageSize

func (*ListSipIpAccessControlListParams) SetPathAccountSid

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

type ListSipIpAccessControlListResponse

type ListSipIpAccessControlListResponse struct {
	End                  int32                                      `json:"end,omitempty"`
	FirstPageUri         string                                     `json:"first_page_uri,omitempty"`
	IpAccessControlLists []ApiV2010AccountSipSipIpAccessControlList `json:"ip_access_control_lists,omitempty"`
	NextPageUri          string                                     `json:"next_page_uri,omitempty"`
	Page                 int32                                      `json:"page,omitempty"`
	PageSize             int32                                      `json:"page_size,omitempty"`
	PreviousPageUri      string                                     `json:"previous_page_uri,omitempty"`
	Start                int32                                      `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListSipIpAddress'

func (*ListSipIpAddressParams) SetPageSize

func (params *ListSipIpAddressParams) SetPageSize(PageSize int32) *ListSipIpAddressParams

func (*ListSipIpAddressParams) SetPathAccountSid

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

type ListSipIpAddressResponse

type ListSipIpAddressResponse struct {
	End             int32                                                  `json:"end,omitempty"`
	FirstPageUri    string                                                 `json:"first_page_uri,omitempty"`
	IpAddresses     []ApiV2010AccountSipSipIpAccessControlListSipIpAddress `json:"ip_addresses,omitempty"`
	NextPageUri     string                                                 `json:"next_page_uri,omitempty"`
	Page            int32                                                  `json:"page,omitempty"`
	PageSize        int32                                                  `json:"page_size,omitempty"`
	PreviousPageUri string                                                 `json:"previous_page_uri,omitempty"`
	Start           int32                                                  `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 *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListTranscription'

func (*ListTranscriptionParams) SetPageSize

func (params *ListTranscriptionParams) SetPageSize(PageSize int32) *ListTranscriptionParams

func (*ListTranscriptionParams) SetPathAccountSid

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

type ListTranscriptionResponse

type ListTranscriptionResponse struct {
	End             int32                          `json:"end,omitempty"`
	FirstPageUri    string                         `json:"first_page_uri,omitempty"`
	NextPageUri     string                         `json:"next_page_uri,omitempty"`
	Page            int32                          `json:"page,omitempty"`
	PageSize        int32                          `json:"page_size,omitempty"`
	PreviousPageUri string                         `json:"previous_page_uri,omitempty"`
	Start           int32                          `json:"start,omitempty"`
	Transcriptions  []ApiV2010AccountTranscription `json:"transcriptions,omitempty"`
	Uri             string                         `json:"uri,omitempty"`
}

ListTranscriptionResponse struct for ListTranscriptionResponse

type ListUsageRecordAllTimeParams

type ListUsageRecordAllTimeParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
	Category *string `json:"Category,omitempty"`
	// Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
	StartDate *string `json:"StartDate,omitempty"`
	// Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`.  You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
	EndDate *string `json:"EndDate,omitempty"`
	// Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
	IncludeSubaccounts *bool `json:"IncludeSubaccounts,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int32 `json:"PageSize,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) SetPageSize

func (params *ListUsageRecordAllTimeParams) SetPageSize(PageSize int32) *ListUsageRecordAllTimeParams

func (*ListUsageRecordAllTimeParams) SetPathAccountSid

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

func (*ListUsageRecordAllTimeParams) SetStartDate

func (params *ListUsageRecordAllTimeParams) SetStartDate(StartDate string) *ListUsageRecordAllTimeParams

type ListUsageRecordAllTimeResponse

type ListUsageRecordAllTimeResponse struct {
	End             int32                                               `json:"end,omitempty"`
	FirstPageUri    string                                              `json:"first_page_uri,omitempty"`
	NextPageUri     string                                              `json:"next_page_uri,omitempty"`
	Page            int32                                               `json:"page,omitempty"`
	PageSize        int32                                               `json:"page_size,omitempty"`
	PreviousPageUri string                                              `json:"previous_page_uri,omitempty"`
	Start           int32                                               `json:"start,omitempty"`
	Uri             string                                              `json:"uri,omitempty"`
	UsageRecords    []ApiV2010AccountUsageUsageRecordUsageRecordAllTime `json:"usage_records,omitempty"`
}

ListUsageRecordAllTimeResponse struct for ListUsageRecordAllTimeResponse

type ListUsageRecordDailyParams

type ListUsageRecordDailyParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
	Category *string `json:"Category,omitempty"`
	// Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
	StartDate *string `json:"StartDate,omitempty"`
	// Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`.  You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
	EndDate *string `json:"EndDate,omitempty"`
	// Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
	IncludeSubaccounts *bool `json:"IncludeSubaccounts,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int32 `json:"PageSize,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) SetPageSize

func (params *ListUsageRecordDailyParams) SetPageSize(PageSize int32) *ListUsageRecordDailyParams

func (*ListUsageRecordDailyParams) SetPathAccountSid

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

func (*ListUsageRecordDailyParams) SetStartDate

func (params *ListUsageRecordDailyParams) SetStartDate(StartDate string) *ListUsageRecordDailyParams

type ListUsageRecordDailyResponse

type ListUsageRecordDailyResponse struct {
	End             int32                                             `json:"end,omitempty"`
	FirstPageUri    string                                            `json:"first_page_uri,omitempty"`
	NextPageUri     string                                            `json:"next_page_uri,omitempty"`
	Page            int32                                             `json:"page,omitempty"`
	PageSize        int32                                             `json:"page_size,omitempty"`
	PreviousPageUri string                                            `json:"previous_page_uri,omitempty"`
	Start           int32                                             `json:"start,omitempty"`
	Uri             string                                            `json:"uri,omitempty"`
	UsageRecords    []ApiV2010AccountUsageUsageRecordUsageRecordDaily `json:"usage_records,omitempty"`
}

ListUsageRecordDailyResponse struct for ListUsageRecordDailyResponse

type ListUsageRecordLastMonthParams

type ListUsageRecordLastMonthParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
	Category *string `json:"Category,omitempty"`
	// Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
	StartDate *string `json:"StartDate,omitempty"`
	// Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`.  You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
	EndDate *string `json:"EndDate,omitempty"`
	// Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
	IncludeSubaccounts *bool `json:"IncludeSubaccounts,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int32 `json:"PageSize,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) SetPageSize

func (*ListUsageRecordLastMonthParams) SetPathAccountSid

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

func (*ListUsageRecordLastMonthParams) SetStartDate

func (params *ListUsageRecordLastMonthParams) SetStartDate(StartDate string) *ListUsageRecordLastMonthParams

type ListUsageRecordLastMonthResponse

type ListUsageRecordLastMonthResponse struct {
	End             int32                                                 `json:"end,omitempty"`
	FirstPageUri    string                                                `json:"first_page_uri,omitempty"`
	NextPageUri     string                                                `json:"next_page_uri,omitempty"`
	Page            int32                                                 `json:"page,omitempty"`
	PageSize        int32                                                 `json:"page_size,omitempty"`
	PreviousPageUri string                                                `json:"previous_page_uri,omitempty"`
	Start           int32                                                 `json:"start,omitempty"`
	Uri             string                                                `json:"uri,omitempty"`
	UsageRecords    []ApiV2010AccountUsageUsageRecordUsageRecordLastMonth `json:"usage_records,omitempty"`
}

ListUsageRecordLastMonthResponse struct for ListUsageRecordLastMonthResponse

type ListUsageRecordMonthlyParams

type ListUsageRecordMonthlyParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
	Category *string `json:"Category,omitempty"`
	// Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
	StartDate *string `json:"StartDate,omitempty"`
	// Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`.  You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
	EndDate *string `json:"EndDate,omitempty"`
	// Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
	IncludeSubaccounts *bool `json:"IncludeSubaccounts,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int32 `json:"PageSize,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) SetPageSize

func (params *ListUsageRecordMonthlyParams) SetPageSize(PageSize int32) *ListUsageRecordMonthlyParams

func (*ListUsageRecordMonthlyParams) SetPathAccountSid

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

func (*ListUsageRecordMonthlyParams) SetStartDate

func (params *ListUsageRecordMonthlyParams) SetStartDate(StartDate string) *ListUsageRecordMonthlyParams

type ListUsageRecordMonthlyResponse

type ListUsageRecordMonthlyResponse struct {
	End             int32                                               `json:"end,omitempty"`
	FirstPageUri    string                                              `json:"first_page_uri,omitempty"`
	NextPageUri     string                                              `json:"next_page_uri,omitempty"`
	Page            int32                                               `json:"page,omitempty"`
	PageSize        int32                                               `json:"page_size,omitempty"`
	PreviousPageUri string                                              `json:"previous_page_uri,omitempty"`
	Start           int32                                               `json:"start,omitempty"`
	Uri             string                                              `json:"uri,omitempty"`
	UsageRecords    []ApiV2010AccountUsageUsageRecordUsageRecordMonthly `json:"usage_records,omitempty"`
}

ListUsageRecordMonthlyResponse struct for ListUsageRecordMonthlyResponse

type ListUsageRecordParams

type ListUsageRecordParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
	Category *string `json:"Category,omitempty"`
	// Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
	StartDate *string `json:"StartDate,omitempty"`
	// Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`.  You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
	EndDate *string `json:"EndDate,omitempty"`
	// Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
	IncludeSubaccounts *bool `json:"IncludeSubaccounts,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int32 `json:"PageSize,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) SetPageSize

func (params *ListUsageRecordParams) SetPageSize(PageSize int32) *ListUsageRecordParams

func (*ListUsageRecordParams) SetPathAccountSid

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

func (*ListUsageRecordParams) SetStartDate

func (params *ListUsageRecordParams) SetStartDate(StartDate string) *ListUsageRecordParams

type ListUsageRecordResponse

type ListUsageRecordResponse struct {
	End             int32                             `json:"end,omitempty"`
	FirstPageUri    string                            `json:"first_page_uri,omitempty"`
	NextPageUri     string                            `json:"next_page_uri,omitempty"`
	Page            int32                             `json:"page,omitempty"`
	PageSize        int32                             `json:"page_size,omitempty"`
	PreviousPageUri string                            `json:"previous_page_uri,omitempty"`
	Start           int32                             `json:"start,omitempty"`
	Uri             string                            `json:"uri,omitempty"`
	UsageRecords    []ApiV2010AccountUsageUsageRecord `json:"usage_records,omitempty"`
}

ListUsageRecordResponse struct for ListUsageRecordResponse

type ListUsageRecordThisMonthParams

type ListUsageRecordThisMonthParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
	Category *string `json:"Category,omitempty"`
	// Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
	StartDate *string `json:"StartDate,omitempty"`
	// Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`.  You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
	EndDate *string `json:"EndDate,omitempty"`
	// Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
	IncludeSubaccounts *bool `json:"IncludeSubaccounts,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int32 `json:"PageSize,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) SetPageSize

func (*ListUsageRecordThisMonthParams) SetPathAccountSid

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

func (*ListUsageRecordThisMonthParams) SetStartDate

func (params *ListUsageRecordThisMonthParams) SetStartDate(StartDate string) *ListUsageRecordThisMonthParams

type ListUsageRecordThisMonthResponse

type ListUsageRecordThisMonthResponse struct {
	End             int32                                                 `json:"end,omitempty"`
	FirstPageUri    string                                                `json:"first_page_uri,omitempty"`
	NextPageUri     string                                                `json:"next_page_uri,omitempty"`
	Page            int32                                                 `json:"page,omitempty"`
	PageSize        int32                                                 `json:"page_size,omitempty"`
	PreviousPageUri string                                                `json:"previous_page_uri,omitempty"`
	Start           int32                                                 `json:"start,omitempty"`
	Uri             string                                                `json:"uri,omitempty"`
	UsageRecords    []ApiV2010AccountUsageUsageRecordUsageRecordThisMonth `json:"usage_records,omitempty"`
}

ListUsageRecordThisMonthResponse struct for ListUsageRecordThisMonthResponse

type ListUsageRecordTodayParams

type ListUsageRecordTodayParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
	Category *string `json:"Category,omitempty"`
	// Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
	StartDate *string `json:"StartDate,omitempty"`
	// Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`.  You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
	EndDate *string `json:"EndDate,omitempty"`
	// Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
	IncludeSubaccounts *bool `json:"IncludeSubaccounts,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int32 `json:"PageSize,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) SetPageSize

func (params *ListUsageRecordTodayParams) SetPageSize(PageSize int32) *ListUsageRecordTodayParams

func (*ListUsageRecordTodayParams) SetPathAccountSid

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

func (*ListUsageRecordTodayParams) SetStartDate

func (params *ListUsageRecordTodayParams) SetStartDate(StartDate string) *ListUsageRecordTodayParams

type ListUsageRecordTodayResponse

type ListUsageRecordTodayResponse struct {
	End             int32                                             `json:"end,omitempty"`
	FirstPageUri    string                                            `json:"first_page_uri,omitempty"`
	NextPageUri     string                                            `json:"next_page_uri,omitempty"`
	Page            int32                                             `json:"page,omitempty"`
	PageSize        int32                                             `json:"page_size,omitempty"`
	PreviousPageUri string                                            `json:"previous_page_uri,omitempty"`
	Start           int32                                             `json:"start,omitempty"`
	Uri             string                                            `json:"uri,omitempty"`
	UsageRecords    []ApiV2010AccountUsageUsageRecordUsageRecordToday `json:"usage_records,omitempty"`
}

ListUsageRecordTodayResponse struct for ListUsageRecordTodayResponse

type ListUsageRecordYearlyParams

type ListUsageRecordYearlyParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
	Category *string `json:"Category,omitempty"`
	// Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
	StartDate *string `json:"StartDate,omitempty"`
	// Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`.  You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
	EndDate *string `json:"EndDate,omitempty"`
	// Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
	IncludeSubaccounts *bool `json:"IncludeSubaccounts,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int32 `json:"PageSize,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) SetPageSize

func (params *ListUsageRecordYearlyParams) SetPageSize(PageSize int32) *ListUsageRecordYearlyParams

func (*ListUsageRecordYearlyParams) SetPathAccountSid

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

func (*ListUsageRecordYearlyParams) SetStartDate

func (params *ListUsageRecordYearlyParams) SetStartDate(StartDate string) *ListUsageRecordYearlyParams

type ListUsageRecordYearlyResponse

type ListUsageRecordYearlyResponse struct {
	End             int32                                              `json:"end,omitempty"`
	FirstPageUri    string                                             `json:"first_page_uri,omitempty"`
	NextPageUri     string                                             `json:"next_page_uri,omitempty"`
	Page            int32                                              `json:"page,omitempty"`
	PageSize        int32                                              `json:"page_size,omitempty"`
	PreviousPageUri string                                             `json:"previous_page_uri,omitempty"`
	Start           int32                                              `json:"start,omitempty"`
	Uri             string                                             `json:"uri,omitempty"`
	UsageRecords    []ApiV2010AccountUsageUsageRecordUsageRecordYearly `json:"usage_records,omitempty"`
}

ListUsageRecordYearlyResponse struct for ListUsageRecordYearlyResponse

type ListUsageRecordYesterdayParams

type ListUsageRecordYesterdayParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
	Category *string `json:"Category,omitempty"`
	// Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
	StartDate *string `json:"StartDate,omitempty"`
	// Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`.  You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
	EndDate *string `json:"EndDate,omitempty"`
	// Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
	IncludeSubaccounts *bool `json:"IncludeSubaccounts,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int32 `json:"PageSize,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) SetPageSize

func (*ListUsageRecordYesterdayParams) SetPathAccountSid

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

func (*ListUsageRecordYesterdayParams) SetStartDate

func (params *ListUsageRecordYesterdayParams) SetStartDate(StartDate string) *ListUsageRecordYesterdayParams

type ListUsageRecordYesterdayResponse

type ListUsageRecordYesterdayResponse struct {
	End             int32                                                 `json:"end,omitempty"`
	FirstPageUri    string                                                `json:"first_page_uri,omitempty"`
	NextPageUri     string                                                `json:"next_page_uri,omitempty"`
	Page            int32                                                 `json:"page,omitempty"`
	PageSize        int32                                                 `json:"page_size,omitempty"`
	PreviousPageUri string                                                `json:"previous_page_uri,omitempty"`
	Start           int32                                                 `json:"start,omitempty"`
	Uri             string                                                `json:"uri,omitempty"`
	UsageRecords    []ApiV2010AccountUsageUsageRecordUsageRecordYesterday `json:"usage_records,omitempty"`
}

ListUsageRecordYesterdayResponse struct for ListUsageRecordYesterdayResponse

type ListUsageTriggerParams

type ListUsageTriggerParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageTrigger resources to read.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The frequency of recurring UsageTriggers to read. Can be: `daily`, `monthly`, or `yearly` to read recurring UsageTriggers. An empty value or a value of `alltime` reads non-recurring UsageTriggers.
	Recurring *string `json:"Recurring,omitempty"`
	// The trigger field of the UsageTriggers to read.  Can be: `count`, `usage`, or `price` as described in the [UsageRecords documentation](https://www.twilio.com/docs/usage/api/usage-record#usage-count-price).
	TriggerBy *string `json:"TriggerBy,omitempty"`
	// The usage category of the UsageTriggers to read. Must be a supported [usage categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories).
	UsageCategory *string `json:"UsageCategory,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListUsageTrigger'

func (*ListUsageTriggerParams) SetPageSize

func (params *ListUsageTriggerParams) SetPageSize(PageSize int32) *ListUsageTriggerParams

func (*ListUsageTriggerParams) SetPathAccountSid

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

func (*ListUsageTriggerParams) SetRecurring

func (params *ListUsageTriggerParams) SetRecurring(Recurring string) *ListUsageTriggerParams

func (*ListUsageTriggerParams) SetTriggerBy

func (params *ListUsageTriggerParams) SetTriggerBy(TriggerBy string) *ListUsageTriggerParams

func (*ListUsageTriggerParams) SetUsageCategory

func (params *ListUsageTriggerParams) SetUsageCategory(UsageCategory string) *ListUsageTriggerParams

type ListUsageTriggerResponse

type ListUsageTriggerResponse struct {
	End             int32                              `json:"end,omitempty"`
	FirstPageUri    string                             `json:"first_page_uri,omitempty"`
	NextPageUri     string                             `json:"next_page_uri,omitempty"`
	Page            int32                              `json:"page,omitempty"`
	PageSize        int32                              `json:"page_size,omitempty"`
	PreviousPageUri string                             `json:"previous_page_uri,omitempty"`
	Start           int32                              `json:"start,omitempty"`
	Uri             string                             `json:"uri,omitempty"`
	UsageTriggers   []ApiV2010AccountUsageUsageTrigger `json:"usage_triggers,omitempty"`
}

ListUsageTriggerResponse struct for ListUsageTriggerResponse

type UpdateAccountParams

type UpdateAccountParams struct {
	// Update the human-readable description of this Account
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// Alter the status of this account: use `closed` to irreversibly close this account, `suspended` to temporarily suspend it, or `active` to reactivate it.
	Status *string `json:"Status,omitempty"`
}

Optional parameters for the method 'UpdateAccount'

func (*UpdateAccountParams) SetFriendlyName

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

func (*UpdateAccountParams) SetStatus

func (params *UpdateAccountParams) SetStatus(Status string) *UpdateAccountParams

type UpdateAddressParams

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

Optional parameters for the method 'UpdateAddress'

func (*UpdateAddressParams) SetAutoCorrectAddress

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

func (*UpdateAddressParams) SetCity

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

func (*UpdateAddressParams) SetCustomerName

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

func (*UpdateAddressParams) SetEmergencyEnabled

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

func (*UpdateAddressParams) SetFriendlyName

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

func (*UpdateAddressParams) SetPathAccountSid

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

func (*UpdateAddressParams) SetPostalCode

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

func (*UpdateAddressParams) SetRegion

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

func (*UpdateAddressParams) SetStreet

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

type UpdateApplicationParams

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

Optional parameters for the method 'UpdateApplication'

func (*UpdateApplicationParams) SetApiVersion

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

func (*UpdateApplicationParams) SetFriendlyName

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

func (*UpdateApplicationParams) SetMessageStatusCallback

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

func (*UpdateApplicationParams) SetPathAccountSid

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

func (*UpdateApplicationParams) SetSmsFallbackMethod

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

func (*UpdateApplicationParams) SetSmsFallbackUrl

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

func (*UpdateApplicationParams) SetSmsMethod

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

func (*UpdateApplicationParams) SetSmsStatusCallback

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

func (*UpdateApplicationParams) SetSmsUrl

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

func (*UpdateApplicationParams) SetStatusCallback

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

func (*UpdateApplicationParams) SetStatusCallbackMethod

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

func (*UpdateApplicationParams) SetVoiceCallerIdLookup

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

func (*UpdateApplicationParams) SetVoiceFallbackMethod

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

func (*UpdateApplicationParams) SetVoiceFallbackUrl

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

func (*UpdateApplicationParams) SetVoiceMethod

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

func (*UpdateApplicationParams) SetVoiceUrl

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

type UpdateCallFeedbackParams

type UpdateCallFeedbackParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// One or more issues experienced during the call. The issues can be: `imperfect-audio`, `dropped-call`, `incorrect-caller-id`, `post-dial-delay`, `digits-not-captured`, `audio-latency`, `unsolicited-call`, or `one-way-audio`.
	Issue *[]string `json:"Issue,omitempty"`
	// The call quality expressed as an integer from `1` to `5` where `1` represents very poor call quality and `5` represents a perfect call.
	QualityScore *int32 `json:"QualityScore,omitempty"`
}

Optional parameters for the method 'UpdateCallFeedback'

func (*UpdateCallFeedbackParams) SetIssue

func (params *UpdateCallFeedbackParams) SetIssue(Issue []string) *UpdateCallFeedbackParams

func (*UpdateCallFeedbackParams) SetPathAccountSid

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

func (*UpdateCallFeedbackParams) SetQualityScore

func (params *UpdateCallFeedbackParams) SetQualityScore(QualityScore int32) *UpdateCallFeedbackParams

type UpdateCallParams

type UpdateCallParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Call resource(s) to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The HTTP method that we should use to request the `fallback_url`. Can be: `GET` or `POST` and the default is `POST`. If an `application_sid` parameter is present, this parameter is ignored.
	FallbackMethod *string `json:"FallbackMethod,omitempty"`
	// The URL that we call using the `fallback_method` if an error occurs when requesting or executing the TwiML at `url`. If an `application_sid` parameter is present, this parameter is ignored.
	FallbackUrl *string `json:"FallbackUrl,omitempty"`
	// The HTTP method we should use when calling the `url`. Can be: `GET` or `POST` and the default is `POST`. If an `application_sid` parameter is present, this parameter is ignored.
	Method *string `json:"Method,omitempty"`
	// The new status of the resource. Can be: `canceled` or `completed`. Specifying `canceled` will attempt to hang up calls that are queued or ringing; however, it will not affect calls already in progress. Specifying `completed` will attempt to hang up a call even if it's already in progress.
	Status *string `json:"Status,omitempty"`
	// The URL we should call using the `status_callback_method` to send status information to your application. If no `status_callback_event` is specified, we will send the `completed` status. If an `application_sid` parameter is present, this parameter is ignored. URLs must contain a valid hostname (underscores are not permitted).
	StatusCallback *string `json:"StatusCallback,omitempty"`
	// The HTTP method we should use when requesting the `status_callback` URL. Can be: `GET` or `POST` and the default is `POST`. If an `application_sid` parameter is present, this parameter is ignored.
	StatusCallbackMethod *string `json:"StatusCallbackMethod,omitempty"`
	// TwiML instructions for the call Twilio will use without fetching Twiml from url. Twiml and url parameters are mutually exclusive
	Twiml *string `json:"Twiml,omitempty"`
	// The absolute URL that returns the TwiML instructions for the call. We will call this URL using the `method` when the call connects. For more information, see the [Url Parameter](https://www.twilio.com/docs/voice/make-calls#specify-a-url-parameter) section in [Making Calls](https://www.twilio.com/docs/voice/make-calls).
	Url *string `json:"Url,omitempty"`
}

Optional parameters for the method 'UpdateCall'

func (*UpdateCallParams) SetFallbackMethod

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

func (*UpdateCallParams) SetFallbackUrl

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

func (*UpdateCallParams) SetMethod

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

func (*UpdateCallParams) SetPathAccountSid

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

func (*UpdateCallParams) SetStatus

func (params *UpdateCallParams) SetStatus(Status string) *UpdateCallParams

func (*UpdateCallParams) SetStatusCallback

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

func (*UpdateCallParams) SetStatusCallbackMethod

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

func (*UpdateCallParams) SetTwiml

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

func (*UpdateCallParams) SetUrl

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

type UpdateCallRecordingParams

type UpdateCallRecordingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording resource to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// Whether to record during a pause. Can be: `skip` or `silence` and the default is `silence`. `skip` does not record during the pause period, while `silence` will replace the actual audio of the call with silence during the pause period. This parameter only applies when setting `status` is set to `paused`.
	PauseBehavior *string `json:"PauseBehavior,omitempty"`
	// The new status of the recording. Can be: `stopped`, `paused`, `in-progress`.
	Status *string `json:"Status,omitempty"`
}

Optional parameters for the method 'UpdateCallRecording'

func (*UpdateCallRecordingParams) SetPathAccountSid

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

func (*UpdateCallRecordingParams) SetPauseBehavior

func (params *UpdateCallRecordingParams) SetPauseBehavior(PauseBehavior string) *UpdateCallRecordingParams

func (*UpdateCallRecordingParams) SetStatus

func (params *UpdateCallRecordingParams) SetStatus(Status string) *UpdateCallRecordingParams

type UpdateConferenceParams

type UpdateConferenceParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Conference resource(s) to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The HTTP method used to call `announce_url`. Can be: `GET` or `POST` and the default is `POST`
	AnnounceMethod *string `json:"AnnounceMethod,omitempty"`
	// The URL we should call to announce something into the conference. The URL can return an MP3, a WAV, or a TwiML document with `<Play>` or `<Say>`.
	AnnounceUrl *string `json:"AnnounceUrl,omitempty"`
	// The new status of the resource. Can be:  Can be: `init`, `in-progress`, or `completed`. Specifying `completed` will end the conference and hang up all participants
	Status *string `json:"Status,omitempty"`
}

Optional parameters for the method 'UpdateConference'

func (*UpdateConferenceParams) SetAnnounceMethod

func (params *UpdateConferenceParams) SetAnnounceMethod(AnnounceMethod string) *UpdateConferenceParams

func (*UpdateConferenceParams) SetAnnounceUrl

func (params *UpdateConferenceParams) SetAnnounceUrl(AnnounceUrl string) *UpdateConferenceParams

func (*UpdateConferenceParams) SetPathAccountSid

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

func (*UpdateConferenceParams) SetStatus

func (params *UpdateConferenceParams) SetStatus(Status string) *UpdateConferenceParams

type UpdateConferenceRecordingParams

type UpdateConferenceRecordingParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Conference Recording resource to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// Whether to record during a pause. Can be: `skip` or `silence` and the default is `silence`. `skip` does not record during the pause period, while `silence` will replace the actual audio of the call with silence during the pause period. This parameter only applies when setting `status` is set to `paused`.
	PauseBehavior *string `json:"PauseBehavior,omitempty"`
	// The new status of the recording. Can be: `stopped`, `paused`, `in-progress`.
	Status *string `json:"Status,omitempty"`
}

Optional parameters for the method 'UpdateConferenceRecording'

func (*UpdateConferenceRecordingParams) SetPathAccountSid

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

func (*UpdateConferenceRecordingParams) SetPauseBehavior

func (params *UpdateConferenceRecordingParams) SetPauseBehavior(PauseBehavior string) *UpdateConferenceRecordingParams

func (*UpdateConferenceRecordingParams) SetStatus

type UpdateConnectAppParams

type UpdateConnectAppParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ConnectApp resources to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The URL to redirect the user to after we authenticate the user and obtain authorization to access the Connect App.
	AuthorizeRedirectUrl *string `json:"AuthorizeRedirectUrl,omitempty"`
	// The company name to set for the Connect App.
	CompanyName *string `json:"CompanyName,omitempty"`
	// The HTTP method to use when calling `deauthorize_callback_url`.
	DeauthorizeCallbackMethod *string `json:"DeauthorizeCallbackMethod,omitempty"`
	// The URL to call using the `deauthorize_callback_method` to de-authorize the Connect App.
	DeauthorizeCallbackUrl *string `json:"DeauthorizeCallbackUrl,omitempty"`
	// A description of the Connect App.
	Description *string `json:"Description,omitempty"`
	// A descriptive string that you create to describe the resource. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// A public URL where users can obtain more information about this Connect App.
	HomepageUrl *string `json:"HomepageUrl,omitempty"`
	// A comma-separated list of the permissions you will request from the users of this ConnectApp.  Can include: `get-all` and `post-all`.
	Permissions *[]string `json:"Permissions,omitempty"`
}

Optional parameters for the method 'UpdateConnectApp'

func (*UpdateConnectAppParams) SetAuthorizeRedirectUrl

func (params *UpdateConnectAppParams) SetAuthorizeRedirectUrl(AuthorizeRedirectUrl string) *UpdateConnectAppParams

func (*UpdateConnectAppParams) SetCompanyName

func (params *UpdateConnectAppParams) SetCompanyName(CompanyName string) *UpdateConnectAppParams

func (*UpdateConnectAppParams) SetDeauthorizeCallbackMethod

func (params *UpdateConnectAppParams) SetDeauthorizeCallbackMethod(DeauthorizeCallbackMethod string) *UpdateConnectAppParams

func (*UpdateConnectAppParams) SetDeauthorizeCallbackUrl

func (params *UpdateConnectAppParams) SetDeauthorizeCallbackUrl(DeauthorizeCallbackUrl string) *UpdateConnectAppParams

func (*UpdateConnectAppParams) SetDescription

func (params *UpdateConnectAppParams) SetDescription(Description string) *UpdateConnectAppParams

func (*UpdateConnectAppParams) SetFriendlyName

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

func (*UpdateConnectAppParams) SetHomepageUrl

func (params *UpdateConnectAppParams) SetHomepageUrl(HomepageUrl string) *UpdateConnectAppParams

func (*UpdateConnectAppParams) SetPathAccountSid

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

func (*UpdateConnectAppParams) SetPermissions

func (params *UpdateConnectAppParams) SetPermissions(Permissions []string) *UpdateConnectAppParams

type UpdateIncomingPhoneNumberParams

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

Optional parameters for the method 'UpdateIncomingPhoneNumber'

func (*UpdateIncomingPhoneNumberParams) SetAccountSid

func (params *UpdateIncomingPhoneNumberParams) SetAccountSid(AccountSid string) *UpdateIncomingPhoneNumberParams

func (*UpdateIncomingPhoneNumberParams) SetAddressSid

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

func (*UpdateIncomingPhoneNumberParams) SetApiVersion

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

func (*UpdateIncomingPhoneNumberParams) SetBundleSid

func (*UpdateIncomingPhoneNumberParams) SetEmergencyAddressSid

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

func (*UpdateIncomingPhoneNumberParams) SetEmergencyStatus

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

func (*UpdateIncomingPhoneNumberParams) SetFriendlyName

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

func (*UpdateIncomingPhoneNumberParams) SetIdentitySid

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

func (*UpdateIncomingPhoneNumberParams) SetPathAccountSid

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

func (*UpdateIncomingPhoneNumberParams) SetSmsApplicationSid

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

func (*UpdateIncomingPhoneNumberParams) SetSmsFallbackMethod

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

func (*UpdateIncomingPhoneNumberParams) SetSmsFallbackUrl

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

func (*UpdateIncomingPhoneNumberParams) SetSmsMethod

func (*UpdateIncomingPhoneNumberParams) SetSmsUrl

func (*UpdateIncomingPhoneNumberParams) SetStatusCallback

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

func (*UpdateIncomingPhoneNumberParams) SetStatusCallbackMethod

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

func (*UpdateIncomingPhoneNumberParams) SetTrunkSid

func (*UpdateIncomingPhoneNumberParams) SetVoiceApplicationSid

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

func (*UpdateIncomingPhoneNumberParams) SetVoiceCallerIdLookup

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

func (*UpdateIncomingPhoneNumberParams) SetVoiceFallbackMethod

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

func (*UpdateIncomingPhoneNumberParams) SetVoiceFallbackUrl

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

func (*UpdateIncomingPhoneNumberParams) SetVoiceMethod

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

func (*UpdateIncomingPhoneNumberParams) SetVoiceReceiveMode

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

func (*UpdateIncomingPhoneNumberParams) SetVoiceUrl

type UpdateKeyParams

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

Optional parameters for the method 'UpdateKey'

func (*UpdateKeyParams) SetFriendlyName

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

func (*UpdateKeyParams) SetPathAccountSid

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

type UpdateMemberParams

type UpdateMemberParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Member resource(s) to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// How to pass the update request data. Can be `GET` or `POST` and the default is `POST`. `POST` sends the data as encoded form data and `GET` sends the data as query parameters.
	Method *string `json:"Method,omitempty"`
	// The absolute URL of the Queue resource.
	Url *string `json:"Url,omitempty"`
}

Optional parameters for the method 'UpdateMember'

func (*UpdateMemberParams) SetMethod

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

func (*UpdateMemberParams) SetPathAccountSid

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

func (*UpdateMemberParams) SetUrl

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

type UpdateMessageParams

type UpdateMessageParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Message resources to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The text of the message you want to send. Can be up to 1,600 characters long.
	Body *string `json:"Body,omitempty"`
}

Optional parameters for the method 'UpdateMessage'

func (*UpdateMessageParams) SetBody

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

func (*UpdateMessageParams) SetPathAccountSid

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

type UpdateOutgoingCallerIdParams

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

Optional parameters for the method 'UpdateOutgoingCallerId'

func (*UpdateOutgoingCallerIdParams) SetFriendlyName

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

func (*UpdateOutgoingCallerIdParams) SetPathAccountSid

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

type UpdateParticipantParams

type UpdateParticipantParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Participant resources to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The HTTP method we should use to call `announce_url`. Can be: `GET` or `POST` and defaults to `POST`.
	AnnounceMethod *string `json:"AnnounceMethod,omitempty"`
	// The URL we call using the `announce_method` for an announcement to the participant. The URL must return an MP3 file, a WAV file, or a TwiML document that contains `<Play>` or `<Say>` commands.
	AnnounceUrl *string `json:"AnnounceUrl,omitempty"`
	// Whether to play a notification beep to the conference when the participant exits. Can be: `true` or `false`.
	BeepOnExit *bool `json:"BeepOnExit,omitempty"`
	// The SID of the participant who is being `coached`. The participant being coached is the only participant who can hear the participant who is `coaching`.
	CallSidToCoach *string `json:"CallSidToCoach,omitempty"`
	// Whether the participant is coaching another call. Can be: `true` or `false`. If not present, defaults to `false` unless `call_sid_to_coach` is defined. If `true`, `call_sid_to_coach` must be defined.
	Coaching *bool `json:"Coaching,omitempty"`
	// Whether to end the conference when the participant leaves. Can be: `true` or `false` and defaults to `false`.
	EndConferenceOnExit *bool `json:"EndConferenceOnExit,omitempty"`
	// Whether the participant should be on hold. Can be: `true` or `false`. `true` puts the participant on hold, and `false` lets them rejoin the conference.
	Hold *bool `json:"Hold,omitempty"`
	// The HTTP method we should use to call `hold_url`. Can be: `GET` or `POST` and the default is `GET`.
	HoldMethod *string `json:"HoldMethod,omitempty"`
	// The URL we call using the `hold_method` for  music that plays when the participant is on hold. The URL may return an MP3 file, a WAV file, or a TwiML document that contains the `<Play>`, `<Say>` or `<Redirect>` commands.
	HoldUrl *string `json:"HoldUrl,omitempty"`
	// Whether the participant should be muted. Can be `true` or `false`. `true` will mute the participant, and `false` will un-mute them. Anything value other than `true` or `false` is interpreted as `false`.
	Muted *bool `json:"Muted,omitempty"`
	// The HTTP method we should use to call `wait_url`. Can be `GET` or `POST` and the default is `POST`. When using a static audio file, this should be `GET` so that we can cache the file.
	WaitMethod *string `json:"WaitMethod,omitempty"`
	// The URL we should call using the `wait_method` for the music to play while participants are waiting for the conference to start. The default value is the URL of our standard hold music. [Learn more about hold music](https://www.twilio.com/labs/twimlets/holdmusic).
	WaitUrl *string `json:"WaitUrl,omitempty"`
}

Optional parameters for the method 'UpdateParticipant'

func (*UpdateParticipantParams) SetAnnounceMethod

func (params *UpdateParticipantParams) SetAnnounceMethod(AnnounceMethod string) *UpdateParticipantParams

func (*UpdateParticipantParams) SetAnnounceUrl

func (params *UpdateParticipantParams) SetAnnounceUrl(AnnounceUrl string) *UpdateParticipantParams

func (*UpdateParticipantParams) SetBeepOnExit

func (params *UpdateParticipantParams) SetBeepOnExit(BeepOnExit bool) *UpdateParticipantParams

func (*UpdateParticipantParams) SetCallSidToCoach

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

func (*UpdateParticipantParams) SetCoaching

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

func (*UpdateParticipantParams) SetEndConferenceOnExit

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

func (*UpdateParticipantParams) SetHold

func (params *UpdateParticipantParams) SetHold(Hold bool) *UpdateParticipantParams

func (*UpdateParticipantParams) SetHoldMethod

func (params *UpdateParticipantParams) SetHoldMethod(HoldMethod string) *UpdateParticipantParams

func (*UpdateParticipantParams) SetHoldUrl

func (params *UpdateParticipantParams) SetHoldUrl(HoldUrl string) *UpdateParticipantParams

func (*UpdateParticipantParams) SetMuted

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

func (*UpdateParticipantParams) SetPathAccountSid

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

func (*UpdateParticipantParams) SetWaitMethod

func (params *UpdateParticipantParams) SetWaitMethod(WaitMethod string) *UpdateParticipantParams

func (*UpdateParticipantParams) SetWaitUrl

func (params *UpdateParticipantParams) SetWaitUrl(WaitUrl string) *UpdateParticipantParams

type UpdatePaymentsParams

type UpdatePaymentsParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will update the resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The piece of payment information that you wish the caller to enter. Must be one of `payment-card-number`, `expiration-date`, `security-code`, `postal-code`, `bank-routing-number`, or `bank-account-number`.
	Capture *string `json:"Capture,omitempty"`
	// A unique token that will be used to ensure that multiple API calls with the same information do not result in multiple transactions. This should be a unique string value per API call and can be a randomly generated.
	IdempotencyKey *string `json:"IdempotencyKey,omitempty"`
	// Indicates whether the current payment session should be cancelled or completed. When `cancel` the payment session is cancelled. When `complete`, Twilio sends the payment information to the selected <Pay> connector for processing.
	Status *string `json:"Status,omitempty"`
	// Provide an absolute or relative URL to receive status updates regarding your Pay session. Read more about the [Update](https://www.twilio.com/docs/voice/api/payment-resource#statuscallback-update) and [Complete/Cancel](https://www.twilio.com/docs/voice/api/payment-resource#statuscallback-cancelcomplete) POST requests.
	StatusCallback *string `json:"StatusCallback,omitempty"`
}

Optional parameters for the method 'UpdatePayments'

func (*UpdatePaymentsParams) SetCapture

func (params *UpdatePaymentsParams) SetCapture(Capture string) *UpdatePaymentsParams

func (*UpdatePaymentsParams) SetIdempotencyKey

func (params *UpdatePaymentsParams) SetIdempotencyKey(IdempotencyKey string) *UpdatePaymentsParams

func (*UpdatePaymentsParams) SetPathAccountSid

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

func (*UpdatePaymentsParams) SetStatus

func (params *UpdatePaymentsParams) SetStatus(Status string) *UpdatePaymentsParams

func (*UpdatePaymentsParams) SetStatusCallback

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

type UpdateQueueParams

type UpdateQueueParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Queue resource to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// A descriptive string that you created to describe this resource. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The maximum number of calls allowed to be in the queue. The default is 100. The maximum is 5000.
	MaxSize *int32 `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 int32) *UpdateQueueParams

func (*UpdateQueueParams) SetPathAccountSid

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

type UpdateShortCodeParams

type UpdateShortCodeParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ShortCode resource(s) to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The API version to use to start a new TwiML session. Can be: `2010-04-01` or `2008-08-01`.
	ApiVersion *string `json:"ApiVersion,omitempty"`
	// A descriptive string that you created to describe this resource. It can be up to 64 characters long. By default, the `FriendlyName` is the short code.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The HTTP method that we should use to call the `sms_fallback_url`. Can be: `GET` or `POST`.
	SmsFallbackMethod *string `json:"SmsFallbackMethod,omitempty"`
	// The URL that we should call if an error occurs while retrieving or executing the TwiML from `sms_url`.
	SmsFallbackUrl *string `json:"SmsFallbackUrl,omitempty"`
	// The HTTP method we should use when calling the `sms_url`. Can be: `GET` or `POST`.
	SmsMethod *string `json:"SmsMethod,omitempty"`
	// The URL we should call when receiving an incoming SMS message to this short code.
	SmsUrl *string `json:"SmsUrl,omitempty"`
}

Optional parameters for the method 'UpdateShortCode'

func (*UpdateShortCodeParams) SetApiVersion

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

func (*UpdateShortCodeParams) SetFriendlyName

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

func (*UpdateShortCodeParams) SetPathAccountSid

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

func (*UpdateShortCodeParams) SetSmsFallbackMethod

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

func (*UpdateShortCodeParams) SetSmsFallbackUrl

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

func (*UpdateShortCodeParams) SetSmsMethod

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

func (*UpdateShortCodeParams) SetSmsUrl

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

type UpdateSigningKeyParams

type UpdateSigningKeyParams struct {
	//
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	//
	FriendlyName *string `json:"FriendlyName,omitempty"`
}

Optional parameters for the method 'UpdateSigningKey'

func (*UpdateSigningKeyParams) SetFriendlyName

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

func (*UpdateSigningKeyParams) SetPathAccountSid

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

type UpdateSipCredentialListParams

type UpdateSipCredentialListParams struct {
	// The unique id of the Account that is responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// A human readable descriptive text for a CredentialList, up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
}

Optional parameters for the method 'UpdateSipCredentialList'

func (*UpdateSipCredentialListParams) SetFriendlyName

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

func (*UpdateSipCredentialListParams) SetPathAccountSid

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

type UpdateSipCredentialParams

type UpdateSipCredentialParams struct {
	// The unique id of the Account that is responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The password that the username will use when authenticating SIP requests. The password must be a minimum of 12 characters, contain at least 1 digit, and have mixed case. (eg `IWasAtSignal2018`)
	Password *string `json:"Password,omitempty"`
}

Optional parameters for the method 'UpdateSipCredential'

func (*UpdateSipCredentialParams) SetPassword

func (params *UpdateSipCredentialParams) SetPassword(Password string) *UpdateSipCredentialParams

func (*UpdateSipCredentialParams) SetPathAccountSid

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

type UpdateSipDomainParams

type UpdateSipDomainParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the SipDomain resource to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The SID of the BYOC Trunk(Bring Your Own Carrier) resource that the Sip Domain will be associated with.
	ByocTrunkSid *string `json:"ByocTrunkSid,omitempty"`
	// The unique address you reserve on Twilio to which you route your SIP traffic. Domain names can contain letters, digits, and \\\"-\\\" and must end with `sip.twilio.com`.
	DomainName *string `json:"DomainName,omitempty"`
	// Whether an emergency caller sid is configured for the domain. If present, this phone number will be used as the callback for the emergency call.
	EmergencyCallerSid *string `json:"EmergencyCallerSid,omitempty"`
	// Whether emergency calling is enabled for the domain. If enabled, allows emergency calls on the domain from phone numbers with validated addresses.
	EmergencyCallingEnabled *bool `json:"EmergencyCallingEnabled,omitempty"`
	// A descriptive string that you created to describe the resource. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// Whether secure SIP is enabled for the domain. If enabled, TLS will be enforced and SRTP will be negotiated on all incoming calls to this sip domain.
	Secure *bool `json:"Secure,omitempty"`
	// Whether to allow SIP Endpoints to register with the domain to receive calls. Can be `true` or `false`. `true` allows SIP Endpoints to register with the domain to receive calls, `false` does not.
	SipRegistration *bool `json:"SipRegistration,omitempty"`
	// The HTTP method we should use to call `voice_fallback_url`. Can be: `GET` or `POST`.
	VoiceFallbackMethod *string `json:"VoiceFallbackMethod,omitempty"`
	// The URL that we should call when an error occurs while retrieving or executing the TwiML requested by `voice_url`.
	VoiceFallbackUrl *string `json:"VoiceFallbackUrl,omitempty"`
	// The HTTP method we should use to call `voice_url`
	VoiceMethod *string `json:"VoiceMethod,omitempty"`
	// The HTTP method we should use to call `voice_status_callback_url`. Can be: `GET` or `POST`.
	VoiceStatusCallbackMethod *string `json:"VoiceStatusCallbackMethod,omitempty"`
	// The URL that we should call to pass status parameters (such as call ended) to your application.
	VoiceStatusCallbackUrl *string `json:"VoiceStatusCallbackUrl,omitempty"`
	// The URL we should call when the domain receives a call.
	VoiceUrl *string `json:"VoiceUrl,omitempty"`
}

Optional parameters for the method 'UpdateSipDomain'

func (*UpdateSipDomainParams) SetByocTrunkSid

func (params *UpdateSipDomainParams) SetByocTrunkSid(ByocTrunkSid string) *UpdateSipDomainParams

func (*UpdateSipDomainParams) SetDomainName

func (params *UpdateSipDomainParams) SetDomainName(DomainName string) *UpdateSipDomainParams

func (*UpdateSipDomainParams) SetEmergencyCallerSid

func (params *UpdateSipDomainParams) SetEmergencyCallerSid(EmergencyCallerSid string) *UpdateSipDomainParams

func (*UpdateSipDomainParams) SetEmergencyCallingEnabled

func (params *UpdateSipDomainParams) SetEmergencyCallingEnabled(EmergencyCallingEnabled bool) *UpdateSipDomainParams

func (*UpdateSipDomainParams) SetFriendlyName

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

func (*UpdateSipDomainParams) SetPathAccountSid

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

func (*UpdateSipDomainParams) SetSecure

func (params *UpdateSipDomainParams) SetSecure(Secure bool) *UpdateSipDomainParams

func (*UpdateSipDomainParams) SetSipRegistration

func (params *UpdateSipDomainParams) SetSipRegistration(SipRegistration bool) *UpdateSipDomainParams

func (*UpdateSipDomainParams) SetVoiceFallbackMethod

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

func (*UpdateSipDomainParams) SetVoiceFallbackUrl

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

func (*UpdateSipDomainParams) SetVoiceMethod

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

func (*UpdateSipDomainParams) SetVoiceStatusCallbackMethod

func (params *UpdateSipDomainParams) SetVoiceStatusCallbackMethod(VoiceStatusCallbackMethod string) *UpdateSipDomainParams

func (*UpdateSipDomainParams) SetVoiceStatusCallbackUrl

func (params *UpdateSipDomainParams) SetVoiceStatusCallbackUrl(VoiceStatusCallbackUrl string) *UpdateSipDomainParams

func (*UpdateSipDomainParams) SetVoiceUrl

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

type UpdateSipIpAccessControlListParams

type UpdateSipIpAccessControlListParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// A human readable descriptive text, up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
}

Optional parameters for the method 'UpdateSipIpAccessControlList'

func (*UpdateSipIpAccessControlListParams) SetFriendlyName

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

func (*UpdateSipIpAccessControlListParams) SetPathAccountSid

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

type UpdateSipIpAddressParams

type UpdateSipIpAddressParams struct {
	// The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this resource.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// An integer representing the length of the CIDR prefix to use with this IP address when accepting traffic. By default the entire IP address is used.
	CidrPrefixLength *int32 `json:"CidrPrefixLength,omitempty"`
	// A human readable descriptive text for this resource, up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// An IP address in dotted decimal notation from which you want to accept traffic. Any SIP requests from this IP address will be allowed by Twilio. IPv4 only supported today.
	IpAddress *string `json:"IpAddress,omitempty"`
}

Optional parameters for the method 'UpdateSipIpAddress'

func (*UpdateSipIpAddressParams) SetCidrPrefixLength

func (params *UpdateSipIpAddressParams) SetCidrPrefixLength(CidrPrefixLength int32) *UpdateSipIpAddressParams

func (*UpdateSipIpAddressParams) SetFriendlyName

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

func (*UpdateSipIpAddressParams) SetIpAddress

func (params *UpdateSipIpAddressParams) SetIpAddress(IpAddress string) *UpdateSipIpAddressParams

func (*UpdateSipIpAddressParams) SetPathAccountSid

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

type UpdateUsageTriggerParams

type UpdateUsageTriggerParams struct {
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageTrigger resources to update.
	PathAccountSid *string `json:"PathAccountSid,omitempty"`
	// The HTTP method we should use to call `callback_url`. Can be: `GET` or `POST` and the default is `POST`.
	CallbackMethod *string `json:"CallbackMethod,omitempty"`
	// The URL we should call using `callback_method` when the trigger fires.
	CallbackUrl *string `json:"CallbackUrl,omitempty"`
	// A descriptive string that you create to describe the resource. It can be up to 64 characters long.
	FriendlyName *string `json:"FriendlyName,omitempty"`
}

Optional parameters for the method 'UpdateUsageTrigger'

func (*UpdateUsageTriggerParams) SetCallbackMethod

func (params *UpdateUsageTriggerParams) SetCallbackMethod(CallbackMethod string) *UpdateUsageTriggerParams

func (*UpdateUsageTriggerParams) SetCallbackUrl

func (params *UpdateUsageTriggerParams) SetCallbackUrl(CallbackUrl string) *UpdateUsageTriggerParams

func (*UpdateUsageTriggerParams) SetFriendlyName

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

func (*UpdateUsageTriggerParams) SetPathAccountSid

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL