published_track

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

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

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

type ClientProperties struct {
	ParticipantSid string
	RoomSid        string
	Sid            string
}

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

Jump to

Keyboard shortcuts

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