Documentation
¶
Overview ¶
Package ip_access_control_list contains auto-generated files. DO NOT MODIFY
Package ip_access_control_list contains auto-generated files. DO NOT MODIFY
Package ip_access_control_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 IP access control list resource See https://www.twilio.com/docs/sip-trunking/api/ipaccesscontrollist-resource for more details
func New ¶
func New(client *client.Client, properties ClientProperties) *Client
New creates a new instance of the ip access control list client
func (Client) Delete ¶
Delete removes a IP access control list resource from the SIP trunk See https://www.twilio.com/docs/sip-trunking/api/ipaccesscontrollist-resource#delete-an-ipaccesscontrollist-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 IP access control list resource from the SIP trunk See https://www.twilio.com/docs/sip-trunking/api/ipaccesscontrollist-resource#delete-an-ipaccesscontrollist-resource for more details
func (Client) Fetch ¶
func (c Client) Fetch() (*FetchIpAccessControlListResponse, error)
Fetch retrieves a IP access control 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) (*FetchIpAccessControlListResponse, error)
FetchWithContext retrieves a IP access control list resource
type ClientProperties ¶
ClientProperties are the properties required to manage the ip access control list resources
type FetchIpAccessControlListResponse ¶
type FetchIpAccessControlListResponse 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"` }
FetchIpAccessControlListResponse defines the response fields for the retrieved IP access control list resource