Documentation ¶
Overview ¶
Package credential_list contains auto-generated files. DO NOT MODIFY
Package credential_list contains auto-generated files. DO NOT MODIFY
Package credential_list contains auto-generated files. DO NOT MODIFY
Package credential_list contains auto-generated files. DO NOT MODIFY
Index ¶
- type Client
- func (c Client) Delete() error
- func (c Client) DeleteWithContext(context context.Context) error
- func (c Client) Fetch() (*FetchCredentialListResponse, error)
- func (c Client) FetchWithContext(context context.Context) (*FetchCredentialListResponse, error)
- func (c Client) Update(input *UpdateCredentialListInput) (*UpdateCredentialListResponse, error)
- func (c Client) UpdateWithContext(context context.Context, input *UpdateCredentialListInput) (*UpdateCredentialListResponse, error)
- type ClientProperties
- type FetchCredentialListResponse
- type UpdateCredentialListInput
- type UpdateCredentialListResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Credential func(string) *credential.Client Credentials *credentials.Client // contains filtered or unexported fields }
Client for managing a specific Credential List resource
func New ¶
func New(client *client.Client, properties ClientProperties) *Client
New creates a new instance of the credential list client
func (Client) Delete ¶
Delete removes a credential list from the account See https://www.twilio.com/docs/voice/sip/api/sip-credentiallist-resource#delete-a-sip-credentiallist-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 from the account See https://www.twilio.com/docs/voice/sip/api/sip-credentiallist-resource#delete-a-sip-credentiallist-resource for more details
func (Client) Fetch ¶
func (c Client) Fetch() (*FetchCredentialListResponse, error)
Fetch retrieves a credential list resource See https://www.twilio.com/docs/voice/sip/api/sip-credentiallist-resource#fetch-a-sip-credentiallist-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) (*FetchCredentialListResponse, error)
FetchWithContext retrieves a credential list resource See https://www.twilio.com/docs/voice/sip/api/sip-credentiallist-resource#fetch-a-sip-credentiallist-resource for more details
func (Client) Update ¶
func (c Client) Update(input *UpdateCredentialListInput) (*UpdateCredentialListResponse, error)
Update modifies a credential list resource See https://www.twilio.com/docs/voice/sip/api/sip-credentiallist-resource#update-a-sip-credentiallist-resource for more details Context is defaulted to Background. See https://golang.org/pkg/context/#Background for more information
func (Client) UpdateWithContext ¶
func (c Client) UpdateWithContext(context context.Context, input *UpdateCredentialListInput) (*UpdateCredentialListResponse, error)
UpdateWithContext modifies a credential list resource See https://www.twilio.com/docs/voice/sip/api/sip-credentiallist-resource#update-a-sip-credentiallist-resource for more details
type ClientProperties ¶
ClientProperties are the properties required to manage the credential list resources
type FetchCredentialListResponse ¶
type FetchCredentialListResponse 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"` }
FetchCredentialListResponse defines the response fields for retrieving a credential list
type UpdateCredentialListInput ¶
type UpdateCredentialListInput struct {
FriendlyName string `validate:"required" form:"FriendlyName"`
}
UpdateCredentialListInput defines input fields for updating a credential list
type UpdateCredentialListResponse ¶
type UpdateCredentialListResponse 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"` }
UpdateCredentialListResponse defines the response fields for the updated credential list
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package credential contains auto-generated files.
|
Package credential contains auto-generated files. |
Package credentials contains auto-generated files.
|
Package credentials contains auto-generated files. |