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
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 resource See https://www.twilio.com/docs/sip-trunking/api/credentiallist-resource for more details
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 resource from the SIP trunk See https://www.twilio.com/docs/sip-trunking/api/credentiallist-resource#delete-a-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 resource from the SIP trunk See https://www.twilio.com/docs/sip-trunking/api/credentiallist-resource#delete-a-credentiallist-resource for more details
func (Client) Fetch ¶
func (c Client) Fetch() (*FetchCredentialListResponse, error)
Fetch retrieves a credential list resource 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
type ClientProperties ¶
ClientProperties are the properties required to manage the credential list resources
type FetchCredentialListResponse ¶
type FetchCredentialListResponse struct { AccountSid string `json:"account_sid"` DateCreated time.Time `json:"date_created"` DateUpdated *time.Time `json:"date_updated,omitempty"` FriendlyName string `json:"friendly_name"` Sid string `json:"sid"` TrunkSid string `json:"trunk_sid"` URL string `json:"url"` }
FetchCredentialListResponse defines the response fields for the retrieved credential list resource