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
Package ip_access_control_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() (*FetchIpAccessControlListResponse, error)
- func (c Client) FetchWithContext(context context.Context) (*FetchIpAccessControlListResponse, error)
- func (c Client) Update(input *UpdateIpAccessControlListInput) (*UpdateIpAccessControlListResponse, error)
- func (c Client) UpdateWithContext(context context.Context, input *UpdateIpAccessControlListInput) (*UpdateIpAccessControlListResponse, error)
- type ClientProperties
- type FetchIpAccessControlListResponse
- type UpdateIpAccessControlListInput
- type UpdateIpAccessControlListResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { IpAddress func(string) *ip_address.Client IpAddresses *ip_addresses.Client // contains filtered or unexported fields }
Client for managing a specific IP Access Control List resource
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 control access list from the account See https://www.twilio.com/docs/voice/sip/api/sip-ipaccesscontrollist-resource#delete-a-sip-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 control access list from the account See https://www.twilio.com/docs/voice/sip/api/sip-ipaccesscontrollist-resource#delete-a-sip-ipaccesscontrollist-resource for more details
func (Client) Fetch ¶
func (c Client) Fetch() (*FetchIpAccessControlListResponse, error)
Fetch retrieves a IP control access list resource See https://www.twilio.com/docs/voice/sip/api/sip-ipaccesscontrollist-resource#fetch-a-sip-ipaccesscontrollist-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) (*FetchIpAccessControlListResponse, error)
FetchWithContext retrieves a IP control access list resource See https://www.twilio.com/docs/voice/sip/api/sip-ipaccesscontrollist-resource#fetch-a-sip-ipaccesscontrollist-resource for more details
func (Client) Update ¶
func (c Client) Update(input *UpdateIpAccessControlListInput) (*UpdateIpAccessControlListResponse, error)
Update modifies a IP control access list resource See https://www.twilio.com/docs/voice/sip/api/sip-ipaccesscontrollist-resource#update-a-sip-ipaccesscontrollist-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 *UpdateIpAccessControlListInput) (*UpdateIpAccessControlListResponse, error)
UpdateWithContext modifies a IP control access list resource See https://www.twilio.com/docs/voice/sip/api/sip-ipaccesscontrollist-resource#update-a-sip-ipaccesscontrollist-resource for more details
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 utils.RFC2822Time `json:"date_created"` DateUpdated *utils.RFC2822Time `json:"date_updated,omitempty"` FriendlyName string `json:"friendly_name"` Sid string `json:"sid"` }
FetchIpAccessControlListResponse defines the response fields for retrieving a credential list
type UpdateIpAccessControlListInput ¶
type UpdateIpAccessControlListInput struct {
FriendlyName string `validate:"required" form:"FriendlyName"`
}
UpdateIpAccessControlListInput defines input fields for updating a IP control access list
type UpdateIpAccessControlListResponse ¶
type UpdateIpAccessControlListResponse 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"` }
UpdateIpAccessControlListResponse defines the response fields for the updated IP control access list
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
Package ip_address contains auto-generated files.
|
Package ip_address contains auto-generated files. |
Package ip_addresses contains auto-generated files.
|
Package ip_addresses contains auto-generated files. |