plugin_configuration

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package plugin_configuration contains auto-generated files. DO NOT MODIFY

Package plugin_configuration 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 {
	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

func New

func New(client *client.Client, properties ClientProperties) *Client

New creates a new instance of the plugin configuration client

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

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

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"`
	DateCreated time.Time `json:"date_created"`
	Description *string   `json:"description,omitempty"`
	Disabled    bool      `json:"disabled"`
	Name        string    `json:"name"`
	Sid         string    `json:"sid"`
	URL         string    `json:"url"`
}

FetchConfigurationResponse defines the response fields for the retrieved plugin configuration resource

Directories

Path Synopsis
Package plugin contains auto-generated files.
Package plugin contains auto-generated files.
Package plugins contains auto-generated files.
Package plugins contains auto-generated files.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL