Package com.twilio.rest.content.v2
Class ContentAndApprovals
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.content.v2.ContentAndApprovals
-
- All Implemented Interfaces:
Serializable
public class ContentAndApprovals 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 ContentAndApprovals
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a ContentAndApprovals object using the provided ObjectMapper.static ContentAndApprovals
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a ContentAndApprovals object using the provided ObjectMapper.String
getAccountSid()
Map<String,Object>
getApprovalRequests()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getFriendlyName()
String
getLanguage()
String
getSid()
Map<String,Object>
getTypes()
Map<String,Object>
getVariables()
int
hashCode()
static ContentAndApprovalsReader
reader()
-
-
-
Method Detail
-
reader
public static ContentAndApprovalsReader reader()
-
fromJson
public static ContentAndApprovals fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a ContentAndApprovals object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- ContentAndApprovals object represented by the provided JSON
-
fromJson
public static ContentAndApprovals fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a ContentAndApprovals object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- ContentAndApprovals object represented by the provided JSON
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getFriendlyName
public final String getFriendlyName()
-
getLanguage
public final String getLanguage()
-
-