Documentation
¶
Overview ¶
Package plugin_release contains auto-generated files. DO NOT MODIFY
Package plugin_release 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 plugin release resource See https://www.twilio.com/docs/flex/developer/plugins/api/release 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 release client
func (Client) Fetch ¶
func (c Client) Fetch() (*FetchReleaseResponse, error)
Fetch retrieves a plugin release resource See https://www.twilio.com/docs/flex/developer/plugins/api/release#fetch-a-pluginrelease-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) (*FetchReleaseResponse, error)
FetchWithContext retrieves a plugin release resource See https://www.twilio.com/docs/flex/developer/plugins/api/release#fetch-a-pluginrelease-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 release resources
type FetchReleaseResponse ¶
type FetchReleaseResponse struct { AccountSid string `json:"account_sid"` ConfigurationSid string `json:"configuration_sid"` DateCreated time.Time `json:"date_created"` Sid string `json:"sid"` URL string `json:"url"` }
FetchReleaseResponse defines the response fields for the retrieved plugin release resource