ip_access_control_list_mapping

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package ip_access_control_list_mapping contains auto-generated files. DO NOT MODIFY

Package ip_access_control_list_mapping contains auto-generated files. DO NOT MODIFY

Package ip_access_control_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 IP Access Control List Mapping resource

func New

func New(client *client.Client, properties ClientProperties) *Client

New creates a new instance of the ip access control list mapping client

func (Client) Delete

func (c Client) Delete() error

Delete removes a IP control access list mapping from the account See https://www.twilio.com/docs/voice/sip/api/sip-ipaccesscontrollistmapping-resource#delete-a-sip-ipaccesscontrollistmapping-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 IP control access list mapping from the account See https://www.twilio.com/docs/voice/sip/api/sip-ipaccesscontrollistmapping-resource#delete-a-sip-ipaccesscontrollistmapping-resource for more details

func (Client) Fetch

Fetch retrieves a IP control access list mapping resource See https://www.twilio.com/docs/voice/sip/api/sip-ipaccesscontrollistmapping-resource#fetch-a-sip-ipaccesscontrollistmapping-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) (*FetchIpAccessControlListMappingResponse, error)

FetchWithContext retrieves a IP control access list mapping resource See https://www.twilio.com/docs/voice/sip/api/sip-ipaccesscontrollistmapping-resource#fetch-a-sip-ipaccesscontrollistmapping-resource for more details

type ClientProperties

type ClientProperties struct {
	AccountSid string
	DomainSid  string
	Sid        string
}

ClientProperties are the properties required to manage the ip access control list mapping resources

type FetchIpAccessControlListMappingResponse

type FetchIpAccessControlListMappingResponse 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"`
}

FetchIpAccessControlListMappingResponse 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