Documentation
¶
Overview ¶
Package plugin contains auto-generated files. DO NOT MODIFY
Package plugin 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 resource 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 client
func (Client) Fetch ¶
func (c Client) Fetch() (*FetchPluginResponse, error)
Fetch retrieves a plugin 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) FetchWithContext ¶
func (c Client) FetchWithContext(context context.Context) (*FetchPluginResponse, error)
FetchWithContext retrieves a plugin resource This resource is currently in beta and subject to change. Please use with caution
type ClientProperties ¶
ClientProperties are the properties required to manage the plugin resources
type FetchPluginResponse ¶
type FetchPluginResponse struct { AccountSid string `json:"account_sid"` ConfigurationSid string `json:"configuration_sid"` DateCreated time.Time `json:"date_created"` Phase int `json:"phase"` PluginSid string `json:"plugin_sid"` PluginURL string `json:"plugin_url"` PluginVersionSid string `json:"plugin_version_sid"` Private bool `json:"private"` URL string `json:"url"` UniqueName string `json:"unique_name"` Version string `json:"version"` }
FetchPluginResponse defines the response fields for the retrieved plugin resource