Versions in this module Expand all Collapse all v0 v0.25.0 Dec 20, 2022 v0.24.0 Dec 18, 2022 v0.23.3 Dec 14, 2022 v0.23.2 Dec 14, 2022 v0.23.1 Dec 11, 2022 v0.23.0 Dec 9, 2022 v0.22.0 Jun 18, 2022 v0.21.0 Jun 17, 2022 v0.20.0 Jun 16, 2022 v0.19.0 Sep 5, 2021 v0.18.0 Jul 25, 2021 v0.17.0 May 8, 2021 v0.16.0 Mar 22, 2021 v0.15.0 Mar 13, 2021 v0.14.1 Feb 19, 2021 v0.14.0 Feb 18, 2021 v0.13.0 Feb 16, 2021 Changes in this version + type Client struct + func New(client *client.Client, properties ClientProperties) *Client + func (c *Client) NewDomainsPaginator() *DomainsPaginator + func (c *Client) NewDomainsPaginatorWithOptions(options *DomainsPageOptions) *DomainsPaginator + func (c Client) Create(input *CreateDomainInput) (*CreateDomainResponse, error) + func (c Client) CreateWithContext(context context.Context, input *CreateDomainInput) (*CreateDomainResponse, error) + func (c Client) Page(options *DomainsPageOptions) (*DomainsPageResponse, error) + func (c Client) PageWithContext(context context.Context, options *DomainsPageOptions) (*DomainsPageResponse, error) + type ClientProperties struct + AccountSid string + type CreateDomainInput struct + ByocTrunkSid *string + DomainName string + EmergencyCallerSid *string + EmergencyCallingEnabled *bool + FriendlyName *string + Secure *bool + SipRegistration *bool + VoiceFallbackMethod *string + VoiceFallbackURL *string + VoiceMethod *string + VoiceStatusCallbackMethod *string + VoiceStatusCallbackURL *string + VoiceURL *string + type CreateDomainResponse struct + AccountSid string + ApiVersion string + AuthType *string + ByocTrunkSid *string + DateCreated utils.RFC2822Time + DateUpdated *utils.RFC2822Time + DomainName string + EmergencyCallerSid *string + EmergencyCallingEnabled bool + FriendlyName *string + Secure bool + Sid string + SipRegistration bool + VoiceFallbackMethod *string + VoiceFallbackURL *string + VoiceMethod *string + VoiceStatusCallbackMethod *string + VoiceStatusCallbackURL *string + VoiceURL *string + type DomainsPage struct + CurrentPage *DomainsPageResponse + Error error + type DomainsPageOptions struct + Page *int + PageSize *int + PageToken *string + type DomainsPageResponse struct + Domains []PageDomainResponse + End int + FirstPageURI string + NextPageURI *string + Page int + PageSize int + PreviousPageURI *string + Start int + URI string + type DomainsPaginator struct + Domains []PageDomainResponse + Page *DomainsPage + func (p *DomainsPaginator) CurrentPage() *DomainsPageResponse + func (p *DomainsPaginator) Error() error + func (p *DomainsPaginator) Next() bool + func (p *DomainsPaginator) NextWithContext(context context.Context) bool + type PageDomainResponse struct + AccountSid string + ApiVersion string + AuthType *string + ByocTrunkSid *string + DateCreated utils.RFC2822Time + DateUpdated *utils.RFC2822Time + DomainName string + EmergencyCallerSid *string + EmergencyCallingEnabled bool + FriendlyName *string + Secure bool + Sid string + SipRegistration bool + VoiceFallbackMethod *string + VoiceFallbackURL *string + VoiceMethod *string + VoiceStatusCallbackMethod *string + VoiceStatusCallbackURL *string + VoiceURL *string