Class PlaybackGrant
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.media.v1.playerstreamer.PlaybackGrant
-
- All Implemented Interfaces:
Serializable
public class PlaybackGrant extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PlaybackGrantCreatorcreator(String pathSid)booleanequals(Object o)static PlaybackGrantFetcherfetcher(String pathSid)static PlaybackGrantfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a PlaybackGrant object using the provided ObjectMapper.static PlaybackGrantfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a PlaybackGrant object using the provided ObjectMapper.StringgetAccountSid()ZonedDateTimegetDateCreated()Map<String,Object>getGrant()StringgetSid()URIgetUrl()inthashCode()
-
-
-
Method Detail
-
creator
public static PlaybackGrantCreator creator(String pathSid)
-
fetcher
public static PlaybackGrantFetcher fetcher(String pathSid)
-
fromJson
public static PlaybackGrant fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a PlaybackGrant object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- PlaybackGrant object represented by the provided JSON
-
fromJson
public static PlaybackGrant fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a PlaybackGrant object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- PlaybackGrant object represented by the provided JSON
-
getSid
public final String getSid()
-
getUrl
public final URI getUrl()
-
getAccountSid
public final String getAccountSid()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
-