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 classPublishedTrack.Kind
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static PublishedTrackFetcherfetcher(String pathRoomSid, String pathParticipantSid, String pathSid)static PublishedTrackfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a PublishedTrack object using the provided ObjectMapper.static PublishedTrackfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a PublishedTrack object using the provided ObjectMapper.ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()BooleangetEnabled()PublishedTrack.KindgetKind()StringgetName()StringgetParticipantSid()StringgetRoomSid()StringgetSid()URIgetUrl()inthashCode()static PublishedTrackReaderreader(String pathRoomSid, String pathParticipantSid)
-
-
-
Method Detail
-
fetcher
public static PublishedTrackFetcher fetcher(String pathRoomSid, String pathParticipantSid, String pathSid)
-
reader
public static PublishedTrackReader reader(String pathRoomSid, String pathParticipantSid)
-
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()
-
getParticipantSid
public final String getParticipantSid()
-
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 PublishedTrack.Kind getKind()
-
getUrl
public final URI getUrl()
-
-