Documentation
¶
Overview ¶
Package plugin_configuration contains auto-generated files. DO NOT MODIFY
Package plugin_configuration contains auto-generated files. DO NOT MODIFY
Package plugin_configuration contains auto-generated files. DO NOT MODIFY
Index ¶
- type ArchiveConfigurationResponse
- type Client
- func (c Client) Archive() (*ArchiveConfigurationResponse, error)
- func (c Client) ArchiveWithContext(context context.Context) (*ArchiveConfigurationResponse, error)
- func (c Client) Fetch() (*FetchConfigurationResponse, error)
- func (c Client) FetchWithContext(context context.Context) (*FetchConfigurationResponse, error)
- type ClientProperties
- type FetchConfigurationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArchiveConfigurationResponse ¶ added in v0.15.0
type ArchiveConfigurationResponse struct { AccountSid string `json:"account_sid"` Archived bool `json:"archived"` DateCreated time.Time `json:"date_created"` Description *string `json:"description,omitempty"` Name string `json:"name"` Sid string `json:"sid"` URL string `json:"url"` }
ArchiveConfigurationResponse defines the response fields for the archived plugin configuration resource
type Client ¶
type Client struct { Plugin func(string) *plugin.Client Plugins *plugins.Client // contains filtered or unexported fields }
Client for managing a specific plugin configuration resource See https://www.twilio.com/docs/flex/developer/plugins/api/plugin-configuration for more details This client is currently in beta and subject to change. Please use with caution
func New ¶
func New(client *client.Client, properties ClientProperties) *Client
New creates a new instance of the plugin configuration client
func (Client) Archive ¶ added in v0.15.0
func (c Client) Archive() (*ArchiveConfigurationResponse, error)
Archive archives a plugin configuration resource Context is defaulted to Background. See https://golang.org/pkg/context/#Background for more information This resource is currently in beta and subject to change. Please use with caution
func (Client) ArchiveWithContext ¶ added in v0.15.0
func (c Client) ArchiveWithContext(context context.Context) (*ArchiveConfigurationResponse, error)
ArchiveWithContext archives a plugin configuration resource This resource is currently in beta and subject to change. Please use with caution
func (Client) Fetch ¶
func (c Client) Fetch() (*FetchConfigurationResponse, error)
Fetch retrieves a plugin configuration resource See https://www.twilio.com/docs/flex/developer/plugins/api/plugin-configuration#fetch-a-pluginconfiguration-resource for more details Context is defaulted to Background. See https://golang.org/pkg/context/#Background for more information This resource is currently in beta and subject to change. Please use with caution
func (Client) FetchWithContext ¶
func (c Client) FetchWithContext(context context.Context) (*FetchConfigurationResponse, error)
FetchWithContext retrieves a plugin configuration resource See https://www.twilio.com/docs/flex/developer/plugins/api/plugin-configuration#fetch-a-pluginconfiguration-resource for more details This resource is currently in beta and subject to change. Please use with caution
type ClientProperties ¶
type ClientProperties struct {
Sid string
}
ClientProperties are the properties required to manage the plugin configuration resources
type FetchConfigurationResponse ¶
type FetchConfigurationResponse struct { AccountSid string `json:"account_sid"` Archived bool `json:"archived"` DateCreated time.Time `json:"date_created"` Description *string `json:"description,omitempty"` Name string `json:"name"` Sid string `json:"sid"` URL string `json:"url"` }
FetchConfigurationResponse defines the response fields for the retrieved plugin configuration resource