Versions in this module Expand all Collapse all v0 v0.20.0 Mar 26, 2022 Changes in this version + type Client struct + CredentialList func(string) *credential_list.Client + CredentialLists *credential_lists.Client + IpAccessControlList func(string) *ip_access_control_list.Client + IpAccessControlLists *ip_access_control_lists.Client + OriginationURL func(string) *origination_url.Client + OriginationURLs *origination_urls.Client + PhoneNumber func(string) *phone_number.Client + PhoneNumbers *phone_numbers.Client + Recording func() *recording.Client + func New(client *client.Client, properties ClientProperties) *Client + func (c Client) Delete() error + func (c Client) DeleteWithContext(context context.Context) error + func (c Client) Fetch() (*FetchTrunkResponse, error) + func (c Client) FetchWithContext(context context.Context) (*FetchTrunkResponse, error) + func (c Client) Update(input *UpdateTrunkInput) (*UpdateTrunkResponse, error) + func (c Client) UpdateWithContext(context context.Context, input *UpdateTrunkInput) (*UpdateTrunkResponse, error) + type ClientProperties struct + Sid string + type FetchTrunkRecordingResponse struct + Mode string + Trim string + type FetchTrunkResponse struct + AccountSid string + AuthType *string + AuthTypeSet *[]string + CnamLookupEnabled bool + DateCreated time.Time + DateUpdated *time.Time + DisasterRecoveryMethod *string + DisasterRecoveryURL *string + DomainName *string + FriendlyName *string + Recording FetchTrunkRecordingResponse + Secure bool + Sid string + TransferMode string + URL string + type UpdateTrunkInput struct + CnamLookupEnabled *bool + DisasterRecoveryMethod *string + DisasterRecoveryURL *string + DomainName *string + FriendlyName *string + Secure *bool + TransferMode *string + type UpdateTrunkRecordingResponse struct + Mode string + Trim string + type UpdateTrunkResponse struct + AccountSid string + AuthType *string + AuthTypeSet *[]string + CnamLookupEnabled bool + DateCreated time.Time + DateUpdated *time.Time + DisasterRecoveryMethod *string + DisasterRecoveryURL *string + DomainName *string + FriendlyName *string + Recording UpdateTrunkRecordingResponse + Secure bool + Sid string + TransferMode string + URL string