Documentation
¶
Overview ¶
Package configuration contains auto-generated files. DO NOT MODIFY
Package configuration contains auto-generated files. DO NOT MODIFY
Package configuration contains auto-generated files. DO NOT MODIFY
Index ¶
- type Client
- func (c Client) Fetch() (*FetchConfigurationResponse, error)
- func (c Client) FetchWithContext(context context.Context) (*FetchConfigurationResponse, error)
- func (c Client) Update(input *UpdateConfigurationInput) (*UpdateConfigurationResponse, error)
- func (c Client) UpdateWithContext(context context.Context, input *UpdateConfigurationInput) (*UpdateConfigurationResponse, error)
- type FetchConfigurationResponse
- type UpdateConfigurationInput
- type UpdateConfigurationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client for managing conversation configuration
func (Client) Fetch ¶
func (c Client) Fetch() (*FetchConfigurationResponse, error)
Fetch retrieves 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) (*FetchConfigurationResponse, error)
FetchWithContext retrieves configuration resource
func (Client) Update ¶
func (c Client) Update(input *UpdateConfigurationInput) (*UpdateConfigurationResponse, error)
Update modifies a 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 *UpdateConfigurationInput) (*UpdateConfigurationResponse, error)
UpdateWithContext modifies a configuration resource
type FetchConfigurationResponse ¶
type FetchConfigurationResponse struct { AccountSid string `json:"account_sid"` DefaultChatServiceSid string `json:"default_chat_service_sid"` DefaultClosedTimer *string `json:"default_closed_timer,omitempty"` DefaultInactiveTimer *string `json:"default_inactive_timer,omitempty"` DefaultMessagingServiceSid string `json:"default_messaging_service_sid"` URL string `json:"url"` }
FetchConfigurationResponse defines the response fields for the retrieved configuration
type UpdateConfigurationInput ¶
type UpdateConfigurationInput struct { DefaultChatServiceSid *string `form:"DefaultChatServiceSid,omitempty"` DefaultClosedTimer *string `form:"DefaultClosedTimer,omitempty"` DefaultInactiveTimer *string `form:"DefaultInactiveTimer,omitempty"` DefaultMessagingServiceSid *string `form:"DefaultMessagingServiceSid,omitempty"` }
UpdateConfigurationInput defines input fields for updating a configuration resource
type UpdateConfigurationResponse ¶
type UpdateConfigurationResponse struct { AccountSid string `json:"account_sid"` DefaultChatServiceSid string `json:"default_chat_service_sid"` DefaultClosedTimer *string `json:"default_closed_timer,omitempty"` DefaultInactiveTimer *string `json:"default_inactive_timer,omitempty"` DefaultMessagingServiceSid string `json:"default_messaging_service_sid"` URL string `json:"url"` }
UpdateConfigurationResponse defines the response fields for the updated configuration