credential_list_mapping

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

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

func (c Client) Delete() error

Delete removes a credential list mapping from the account See https://www.twilio.com/docs/voice/sip/api/sip-credentiallistmapping-resource#delete-a-sip-credentiallistmapping-resource for more details Context is defaulted to Background. See https://golang.org/pkg/context/#Background for more information

func (Client) DeleteWithContext

func (c Client) DeleteWithContext(context context.Context) error

DeleteWithContext removes a credential list mapping from the account See https://www.twilio.com/docs/voice/sip/api/sip-credentiallistmapping-resource#delete-a-sip-credentiallistmapping-resource for more details

func (Client) Fetch

Fetch retrieves a credential list mapping resource See https://www.twilio.com/docs/voice/sip/api/sip-credentiallistmapping-resource#fetch-a-sip-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-credentiallistmapping-resource#fetch-a-sip-credentiallistmapping-resource for more details

type ClientProperties

type ClientProperties struct {
	AccountSid string
	DomainSid  string
	Sid        string
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL