Class PublishedTrack
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.video.v1.room.participant.PublishedTrack
-
- All Implemented Interfaces:
Serializable
public class PublishedTrack extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PublishedTrack.Kind
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.org.joda.time.DateTime
getDateCreated()
Returns The The date that this resource was created..org.joda.time.DateTime
getDateUpdated()
Returns The The date that this resource was last updated..Boolean
getEnabled()
Returns The Specifies whether the Track is enabled or not..PublishedTrack.Kind
getKind()
Returns The Specifies whether Track represents `audio`, `video` or `data`.String
getName()
Returns The Track name.String
getParticipantSid()
Returns The Unique Participant identifier that publishes this Track..String
getRoomSid()
Returns The Unique Room identifier where this Track is published..String
getSid()
Returns The A 34 character string that uniquely identifies this resource..URI
getUrl()
Returns The The absolute URL for this resource..int
hashCode()
static PublishedTrackReader
reader(String pathRoomSid, String pathParticipantSid)
Create a PublishedTrackReader to execute read.String
toString()
-
-
-
Method Detail
-
fetcher
public static PublishedTrackFetcher fetcher(String pathRoomSid, String pathParticipantSid, String pathSid)
Create a PublishedTrackFetcher to execute fetch.- Parameters:
pathRoomSid
- Unique Room identifier where this Track is published.pathParticipantSid
- Unique Participant identifier that publishes this Track.pathSid
- A 34 character string that uniquely identifies this resource.- Returns:
- PublishedTrackFetcher capable of executing the fetch
-
reader
public static PublishedTrackReader reader(String pathRoomSid, String pathParticipantSid)
Create a PublishedTrackReader to execute read.- Parameters:
pathRoomSid
- Unique Room identifier where this Track is published.pathParticipantSid
- Unique Participant identifier that publishes this Track.- Returns:
- PublishedTrackReader capable of executing the read
-
fromJson
public static PublishedTrack fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a PublishedTrack object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- PublishedTrack object represented by the provided JSON
-
fromJson
public static PublishedTrack fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a PublishedTrack object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- PublishedTrack object represented by the provided JSON
-
getSid
public final String getSid()
Returns The A 34 character string that uniquely identifies this resource..- Returns:
- A 34 character string that uniquely identifies this resource.
-
getParticipantSid
public final String getParticipantSid()
Returns The Unique Participant identifier that publishes this Track..- Returns:
- Unique Participant identifier that publishes this Track.
-
getRoomSid
public final String getRoomSid()
Returns The Unique Room identifier where this Track is published..- Returns:
- Unique Room identifier where this Track is published.
-
getName
public final String getName()
Returns The Track name. Limited to 128 characters..- Returns:
- Track name. Limited to 128 characters.
-
getDateCreated
public final org.joda.time.DateTime getDateCreated()
Returns The The date that this resource was created..- Returns:
- The date that this resource was created.
-
getDateUpdated
public final org.joda.time.DateTime getDateUpdated()
Returns The The date that this resource was last updated..- Returns:
- The date that this resource was last updated.
-
getEnabled
public final Boolean getEnabled()
Returns The Specifies whether the Track is enabled or not..- Returns:
- Specifies whether the Track is enabled or not.
-
getKind
public final PublishedTrack.Kind getKind()
Returns The Specifies whether Track represents `audio`, `video` or `data`.- Returns:
- Specifies whether Track represents `audio`, `video` or `data`
-
getUrl
public final URI getUrl()
Returns The The absolute URL for this resource..- Returns:
- The absolute URL for this resource.
-
-