Documentation ¶
Overview ¶
Package credential_list_mapping contains auto-generated files. DO NOT MODIFY
Package credential_list_mapping contains auto-generated files. DO NOT MODIFY
Package credential_list_mapping contains auto-generated files. DO NOT MODIFY
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for managing a specific Credential List Mapping resource
func New ¶
func New(client *client.Client, properties ClientProperties) *Client
New creates a new instance of the credential list mapping client
func (Client) Delete ¶
Delete removes a credential list mapping from the account See https://www.twilio.com/docs/voice/sip/api/sip-domain-registration-credentiallistmapping-resource#delete-a-sip-domain-registration-credentiallistmapping-resource for more details Context is defaulted to Background. See https://golang.org/pkg/context/#Background for more information
func (Client) DeleteWithContext ¶
DeleteWithContext removes a credential list mapping from the account See https://www.twilio.com/docs/voice/sip/api/sip-domain-registration-credentiallistmapping-resource#delete-a-sip-domain-registration-credentiallistmapping-resource for more details
func (Client) Fetch ¶
func (c Client) Fetch() (*FetchCredentialListMappingResponse, error)
Fetch retrieves a credential list mapping resource See https://www.twilio.com/docs/voice/sip/api/sip-domain-registration-credentiallistmapping-resource#fetch-a-sip-domain-registration-credentiallistmapping-resource for more details Context is defaulted to Background. See https://golang.org/pkg/context/#Background for more information
func (Client) FetchWithContext ¶
func (c Client) FetchWithContext(context context.Context) (*FetchCredentialListMappingResponse, error)
FetchWithContext retrieves a credential list mapping resource See https://www.twilio.com/docs/voice/sip/api/sip-domain-registration-credentiallistmapping-resource#fetch-a-sip-domain-registration-credentiallistmapping-resource for more details
type ClientProperties ¶
ClientProperties are the properties required to manage the credential list mapping resources
type FetchCredentialListMappingResponse ¶
type FetchCredentialListMappingResponse struct { AccountSid string `json:"account_sid"` DateCreated utils.RFC2822Time `json:"date_created"` DateUpdated *utils.RFC2822Time `json:"date_updated,omitempty"` FriendlyName string `json:"friendly_name"` Sid string `json:"sid"` }
FetchCredentialListMappingResponse defines the response fields for retrieving a credential list mapping