Documentation
¶
Overview ¶
Package published_track contains auto-generated files. DO NOT MODIFY
Package published_track 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 published track resource See https://www.twilio.com/docs/video/api/track-subscriptions for more details
func New ¶
func New(client *client.Client, properties ClientProperties) *Client
New creates a new instance of the published track client
func (Client) Fetch ¶
func (c Client) Fetch() (*FetchPublishedTrackResponse, error)
Fetch retrieves a published track resource See https://www.twilio.com/docs/video/api/track-subscriptions#get-st 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) (*FetchPublishedTrackResponse, error)
FetchWithContext retrieves a published track resource See https://www.twilio.com/docs/video/api/track-subscriptions#get-st for more details
type ClientProperties ¶
ClientProperties are the properties required to manage the published track resources
type FetchPublishedTrackResponse ¶
type FetchPublishedTrackResponse struct { DateCreated time.Time `json:"date_created"` DateUpdated *time.Time `json:"date_updated,omitempty"` Enabled bool `json:"enabled"` Kind string `json:"kind"` Name string `json:"name"` ParticipantSid string `json:"participant_sid"` RoomSid string `json:"room_sid"` Sid string `json:"sid"` URL string `json:"url"` }
FetchPublishedTrackResponse defines the response fields for the retrieved published track