Class Media
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.intelligence.v2.transcript.Media
-
- All Implemented Interfaces:
Serializable
public class Media extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static MediaFetcher
fetcher(String pathSid)
static Media
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Media object using the provided ObjectMapper.static Media
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Media object using the provided ObjectMapper.String
getAccountSid()
URI
getMediaUrl()
String
getServiceSid()
String
getSid()
URI
getUrl()
int
hashCode()
-
-
-
Method Detail
-
fetcher
public static MediaFetcher fetcher(String pathSid)
-
fromJson
public static Media fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Media object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- Media object represented by the provided JSON
-
fromJson
public static Media fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Media object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- Media object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getMediaUrl
public final URI getMediaUrl()
-
getServiceSid
public final String getServiceSid()
-
getSid
public final String getSid()
-
getUrl
public final URI getUrl()
-
-