Documentation ¶
Overview ¶
Package messaging_configuration contains auto-generated files. DO NOT MODIFY
Package messaging_configuration contains auto-generated files. DO NOT MODIFY
Package messaging_configuration contains auto-generated files. DO NOT MODIFY
Package messaging_configuration 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() (*FetchMessagingConfigurationResponse, error)
- func (c Client) FetchWithContext(context context.Context) (*FetchMessagingConfigurationResponse, error)
- func (c Client) Update(input *UpdateMessagingConfigurationInput) (*UpdateMessagingConfigurationResponse, error)
- func (c Client) UpdateWithContext(context context.Context, input *UpdateMessagingConfigurationInput) (*UpdateMessagingConfigurationResponse, error)
- type ClientProperties
- type FetchMessagingConfigurationResponse
- type UpdateMessagingConfigurationInput
- type UpdateMessagingConfigurationResponse
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 messaging configuration resource
func New ¶
func New(client *client.Client, properties ClientProperties) *Client
New creates a new instance of the messaging configuration client
func (Client) Delete ¶
Delete removes a messaging configuration resource from the account Context is defaulted to Background. See https://golang.org/pkg/context/#Background for more information
func (Client) DeleteWithContext ¶
DeleteWithContext removes a messaging configuration resource from the account
func (Client) Fetch ¶
func (c Client) Fetch() (*FetchMessagingConfigurationResponse, error)
Fetch retrieves a messaging configuration 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) (*FetchMessagingConfigurationResponse, error)
FetchWithContext retrieves a messaging configuration resource
func (Client) Update ¶
func (c Client) Update(input *UpdateMessagingConfigurationInput) (*UpdateMessagingConfigurationResponse, error)
Update modifies a messaging configuration resource 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 *UpdateMessagingConfigurationInput) (*UpdateMessagingConfigurationResponse, error)
UpdateWithContext modifies a messaging configuration resource
type ClientProperties ¶
ClientProperties are the properties required to manage the messaging configuration resources
type FetchMessagingConfigurationResponse ¶
type FetchMessagingConfigurationResponse struct { AccountSid string `json:"account_sid"` Country string `json:"country"` DateCreated time.Time `json:"date_created"` DateUpdated *time.Time `json:"date_updated,omitempty"` MessagingServiceSid string `json:"messaging_service_sid"` ServiceSid string `json:"service_sid"` URL string `json:"url"` }
FetchMessagingConfigurationResponse defines the response fields for the retrieved messaging configuration
type UpdateMessagingConfigurationInput ¶
type UpdateMessagingConfigurationInput struct {
MessagingServiceSid string `validate:"required" form:"MessagingServiceSid"`
}
UpdateMessagingConfigurationInput defines input fields for updating a messaging configuration resource
type UpdateMessagingConfigurationResponse ¶
type UpdateMessagingConfigurationResponse struct { AccountSid string `json:"account_sid"` Country string `json:"country"` DateCreated time.Time `json:"date_created"` DateUpdated *time.Time `json:"date_updated,omitempty"` MessagingServiceSid string `json:"messaging_service_sid"` ServiceSid string `json:"service_sid"` URL string `json:"url"` }
UpdateMessagingConfigurationResponse defines the response fields for the updated messaging configuration