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 See https://www.twilio.com/docs/video/api/rooms-resource for more details
func New ¶
func New(client *client.Client, properties ClientProperties) *Client
New creates a new instance of the recording client
func (Client) Delete ¶
Delete removes a recording resource from the account See https://www.twilio.com/docs/video/api/recordings-resource#delete-instance for more details Context is defaulted to Background. See https://golang.org/pkg/context/#Background for more information
func (Client) DeleteWithContext ¶
DeleteWithContext removes a recording resource from the account See https://www.twilio.com/docs/video/api/recordings-resource#delete-instance for more details
func (Client) Fetch ¶
func (c Client) Fetch() (*FetchRecordingResponse, error)
Fetch retrieves a recording resource See https://www.twilio.com/docs/video/api/recordings-resource#get-instance 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) (*FetchRecordingResponse, error)
FetchWithContext retrieves a recording resource See https://www.twilio.com/docs/video/api/recordings-resource#get-instance for more details
type ClientProperties ¶
type ClientProperties struct {
Sid string
}
ClientProperties are the properties required to manage the recording resources
type FetchRecordingResponse ¶
type FetchRecordingResponse struct { AccountSid string `json:"account_sid"` Codec string `json:"codec"` ContainerFormat string `json:"container_format"` DateCreated time.Time `json:"date_created"` Duration int `json:"duration"` GroupingSids FetchRecordingGroupingSidsResponse `json:"grouping_sids"` Offset int `json:"offset"` RoomSid string `json:"room_sid"` Sid string `json:"sid"` Size int `json:"size"` SourceSid string `json:"source_sid"` Status string `json:"status"` TrackName string `json:"track_name"` Type string `json:"type"` URL string `json:"url"` }
FetchRecordingResponse defines the response fields for the retrieved recording