recording

package
v0.9.0 Latest Latest
Warning

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

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

Documentation

Overview

Package recording contains auto-generated files. DO NOT MODIFY

Package recording contains auto-generated files. DO NOT MODIFY

Package recording 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 recording resource

func New

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

New creates a new instance of the recording client

func (Client) Fetch

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

Fetch retrieves a recording resource 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) (*FetchRecordingResponse, error)

FetchWithContext retrieves a recording resource

func (Client) Update

Update modifies a recording resource 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 *UpdateRecordingInput) (*UpdateRecordingResponse, error)

UpdateWithContext modifies a recording resource

type ClientProperties

type ClientProperties struct {
	TrunkSid string
}

ClientProperties are the properties required to manage the recording resources

type FetchRecordingResponse

type FetchRecordingResponse struct {
	Mode string `json:"mode"`
	Trim string `json:"trim"`
}

FetchRecordingResponse defines the response fields for the retrieved recording resource

type UpdateRecordingInput

type UpdateRecordingInput struct {
	Mode *string `form:"Mode,omitempty"`
	Trim *string `form:"Trim,omitempty"`
}

UpdateRecordingInput defines input fields for updating a recording resource

type UpdateRecordingResponse

type UpdateRecordingResponse struct {
	Mode string `json:"mode"`
	Trim string `json:"trim"`
}

UpdateRecordingResponse defines the response fields for the updated recording

Jump to

Keyboard shortcuts

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