conference

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2020 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Overview

Package conference contains auto-generated files. DO NOT MODIFY

Package conference contains auto-generated files. DO NOT MODIFY

Package conference 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 {
	Participant  func(string) *participant.Client
	Participants *participants.Client
	Recording    func(string) *recording.Client
	Recordings   *recordings.Client
	// contains filtered or unexported fields
}

Client for managing a specific conference resource See https://www.twilio.com/docs/voice/api/conference-resource for more details

func New

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

New creates a new instance of the conference client

func (Client) Fetch

func (c Client) Fetch() (*FetchConferenceResponse, error)

Fetch retrieves a conference resource See https://www.twilio.com/docs/voice/api/conference-resource#fetch-a-conference-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) (*FetchConferenceResponse, error)

FetchWithContext retrieves a conference resource See https://www.twilio.com/docs/voice/api/conference-resource#fetch-a-conference-resource for more details

func (Client) Update

Update modifies a conference resource See https://www.twilio.com/docs/voice/api/conference-resource#update-a-conference-resource for more details Context is defaulted to Background. See https://golang.org/pkg/context/#Background for more information

func (Client) UpdateWithContext

func (c Client) UpdateWithContext(context context.Context, input *UpdateConferenceInput) (*UpdateConferenceResponse, error)

UpdateWithContext modifies a conference resource See https://www.twilio.com/docs/voice/api/conference-resource#update-a-conference-resource for more details

type ClientProperties

type ClientProperties struct {
	AccountSid string
	Sid        string
}

ClientProperties are the properties required to manage the conference resources

type FetchConferenceResponse

type FetchConferenceResponse struct {
	APIVersion              string             `json:"api_version"`
	AccountSid              string             `json:"account_sid"`
	CallSidEndingConference *string            `json:"call_sid_ending_conference,omitempty"`
	DateCreated             utils.RFC2822Time  `json:"date_created"`
	DateUpdated             *utils.RFC2822Time `json:"date_updated,omitempty"`
	FriendlyName            string             `json:"friendly_name"`
	ReasonConferenceEnded   *string            `json:"reason_conference_ended,omitempty"`
	Region                  string             `json:"region"`
	Sid                     string             `json:"sid"`
	Status                  string             `json:"status"`
}

FetchConferenceResponse defines the response fields for retrieving a conference

type UpdateConferenceInput

type UpdateConferenceInput struct {
	AnnounceMethod *string `form:"AnnounceMethod,omitempty"`
	AnnounceURL    *string `form:"AnnounceUrl,omitempty"`
	Status         *string `form:"Status,omitempty"`
}

UpdateConferenceInput defines input fields for updating a conference

type UpdateConferenceResponse

type UpdateConferenceResponse struct {
	APIVersion              string             `json:"api_version"`
	AccountSid              string             `json:"account_sid"`
	CallSidEndingConference *string            `json:"call_sid_ending_conference,omitempty"`
	DateCreated             utils.RFC2822Time  `json:"date_created"`
	DateUpdated             *utils.RFC2822Time `json:"date_updated,omitempty"`
	FriendlyName            string             `json:"friendly_name"`
	ReasonConferenceEnded   *string            `json:"reason_conference_ended,omitempty"`
	Region                  string             `json:"region"`
	Sid                     string             `json:"sid"`
	Status                  string             `json:"status"`
}

UpdateConferenceResponse defines the response fields for the updated conference

Directories

Path Synopsis
Package participant contains auto-generated files.
Package participant contains auto-generated files.
Package participants contains auto-generated files.
Package participants contains auto-generated files.
Package recording contains auto-generated files.
Package recording contains auto-generated files.
Package recordings contains auto-generated files.
Package recordings contains auto-generated files.

Jump to

Keyboard shortcuts

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