v1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2020 License: Apache-2.0 Imports: 10 Imported by: 44

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flex

type Flex struct {
	Configuration func() *configuration.Client
	FlexFlows     *flex_flows.Client
	FlexFlow      func(string) *flex_flow.Client
	Channels      *channels.Client
	Channel       func(string) *channel.Client
	WebChannels   *web_channels.Client
	WebChannel    func(string) *web_channel.Client
	// contains filtered or unexported fields
}

Flex client is used to manage resources for Twilio Flex See https://www.twilio.com/docs/flex for more details

func New

func New(sess *session.Session) *Flex

New creates a new instance of the client using session data

func NewWithClient

func NewWithClient(client *client.Client) *Flex

NewWithClient creates a new instance of the client with a HTTP client

func NewWithCredentials

func NewWithCredentials(creds *credentials.Credentials) *Flex

NewWithCredentials creates a new instance of the client with credentials

func (Flex) GetClient

func (s Flex) GetClient() *client.Client

Used for testing purposes only

Directories

Path Synopsis
This is an autogenerated file.
This is an autogenerated file.
This is an autogenerated file.
This is an autogenerated file.
This is an autogenerated file.
This is an autogenerated file.
This is an autogenerated file.
This is an autogenerated file.
This is an autogenerated file.
This is an autogenerated file.
This is an autogenerated file.
This is an autogenerated file.
This is an autogenerated file.
This is an autogenerated file.

Jump to

Keyboard shortcuts

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