Class SubscribedTrack
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.video.v1.room.participant.SubscribedTrack
-
- All Implemented Interfaces:
Serializable
public class SubscribedTrack extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SubscribedTrack.Kind
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static SubscribedTrackFetcher
fetcher(String pathRoomSid, String pathParticipantSid, String pathSid)
static SubscribedTrack
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a SubscribedTrack object using the provided ObjectMapper.static SubscribedTrack
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a SubscribedTrack object using the provided ObjectMapper.ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
Boolean
getEnabled()
SubscribedTrack.Kind
getKind()
String
getName()
String
getParticipantSid()
String
getPublisherSid()
String
getRoomSid()
String
getSid()
URI
getUrl()
int
hashCode()
static SubscribedTrackReader
reader(String pathRoomSid, String pathParticipantSid)
-
-
-
Method Detail
-
fetcher
public static SubscribedTrackFetcher fetcher(String pathRoomSid, String pathParticipantSid, String pathSid)
-
reader
public static SubscribedTrackReader reader(String pathRoomSid, String pathParticipantSid)
-
fromJson
public static SubscribedTrack fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a SubscribedTrack object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- SubscribedTrack object represented by the provided JSON
-
fromJson
public static SubscribedTrack fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a SubscribedTrack object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- SubscribedTrack object represented by the provided JSON
-
getSid
public final String getSid()
-
getParticipantSid
public final String getParticipantSid()
-
getPublisherSid
public final String getPublisherSid()
-
getRoomSid
public final String getRoomSid()
-
getName
public final String getName()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getEnabled
public final Boolean getEnabled()
-
getKind
public final SubscribedTrack.Kind getKind()
-
getUrl
public final URI getUrl()
-
-