Class Stream
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.api.v2010.account.call.Stream
-
- All Implemented Interfaces:
Serializable
public class Stream extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStream.Statusstatic classStream.Trackstatic classStream.UpdateStatus
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StreamCreatorcreator(String pathAccountSid, String pathCallSid, URI url)static StreamCreatorcreator(String pathCallSid, URI url)booleanequals(Object o)static StreamfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Stream object using the provided ObjectMapper.static StreamfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Stream object using the provided ObjectMapper.StringgetAccountSid()StringgetCallSid()ZonedDateTimegetDateUpdated()StringgetName()StringgetSid()Stream.StatusgetStatus()StringgetUri()inthashCode()static StreamUpdaterupdater(String pathCallSid, String pathSid, Stream.UpdateStatus status)static StreamUpdaterupdater(String pathAccountSid, String pathCallSid, String pathSid, Stream.UpdateStatus status)
-
-
-
Method Detail
-
creator
public static StreamCreator creator(String pathCallSid, URI url)
-
creator
public static StreamCreator creator(String pathAccountSid, String pathCallSid, URI url)
-
updater
public static StreamUpdater updater(String pathCallSid, String pathSid, Stream.UpdateStatus status)
-
updater
public static StreamUpdater updater(String pathAccountSid, String pathCallSid, String pathSid, Stream.UpdateStatus status)
-
fromJson
public static Stream fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Stream object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Stream object represented by the provided JSON
-
fromJson
public static Stream fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Stream object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Stream object represented by the provided JSON
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getCallSid
public final String getCallSid()
-
getName
public final String getName()
-
getStatus
public final Stream.Status getStatus()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUri
public final String getUri()
-
-