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 ¶
- type Client
- func (c Client) Fetch() (*FetchRecordingResponse, error)
- func (c Client) FetchWithContext(context context.Context) (*FetchRecordingResponse, error)
- func (c Client) Update(input *UpdateRecordingInput) (*UpdateRecordingResponse, error)
- func (c Client) UpdateWithContext(context context.Context, input *UpdateRecordingInput) (*UpdateRecordingResponse, error)
- type ClientProperties
- type FetchRecordingResponse
- type UpdateRecordingInput
- type UpdateRecordingResponse
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 ¶
func (c Client) Update(input *UpdateRecordingInput) (*UpdateRecordingResponse, error)
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 ¶
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 ¶
UpdateRecordingResponse defines the response fields for the updated recording