public class PublishedTrack extends Resource
Modifier and Type | Class and Description |
---|---|
static class |
PublishedTrack.Kind |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static PublishedTrackFetcher |
fetcher(String pathRoomSid,
String pathParticipantSid,
String pathSid)
Create a PublishedTrackFetcher to execute fetch.
|
static PublishedTrack |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a PublishedTrack object using the provided
ObjectMapper.
|
static PublishedTrack |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a PublishedTrack object using the provided
ObjectMapper.
|
ZonedDateTime |
getDateCreated()
Returns The ISO 8601 date and time in GMT when the resource was created.
|
ZonedDateTime |
getDateUpdated()
Returns The ISO 8601 date and time in GMT when the resource was last updated.
|
Boolean |
getEnabled()
Returns Whether the track is enabled.
|
PublishedTrack.Kind |
getKind()
Returns The track type.
|
String |
getName()
Returns The track name.
|
String |
getParticipantSid()
Returns The SID of the Participant resource with the published track.
|
String |
getRoomSid()
Returns The SID of the Room resource where the track is published.
|
String |
getSid()
Returns The unique string that identifies the resource.
|
URI |
getUrl()
Returns The absolute URL of the resource.
|
int |
hashCode() |
static PublishedTrackReader |
reader(String pathRoomSid,
String pathParticipantSid)
Create a PublishedTrackReader to execute read.
|
public static PublishedTrackFetcher fetcher(String pathRoomSid, String pathParticipantSid, String pathSid)
pathRoomSid
- The SID of the Room resource where the Track resource to
fetch is publishedpathParticipantSid
- The SID of the Participant resource with the
published track to fetchpathSid
- The SID that identifies the resource to fetchpublic static PublishedTrackReader reader(String pathRoomSid, String pathParticipantSid)
pathRoomSid
- The SID of the Room resource where the Track resources to
read are publishedpathParticipantSid
- The SID of the Participant resource with the
published tracks to readpublic static PublishedTrack fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static PublishedTrack fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getSid()
public final String getParticipantSid()
public final String getRoomSid()
public final String getName()
public final ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
public final Boolean getEnabled()
public final PublishedTrack.Kind getKind()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.