Class UserDefinedMessage
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.api.v2010.account.call.UserDefinedMessage
-
- All Implemented Interfaces:
Serializable
public class UserDefinedMessage extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserDefinedMessageCreator
creator(String pathCallSid, String content)
static UserDefinedMessageCreator
creator(String pathAccountSid, String pathCallSid, String content)
boolean
equals(Object o)
static UserDefinedMessage
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a UserDefinedMessage object using the provided ObjectMapper.static UserDefinedMessage
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a UserDefinedMessage object using the provided ObjectMapper.String
getAccountSid()
String
getCallSid()
ZonedDateTime
getDateCreated()
String
getSid()
int
hashCode()
-
-
-
Method Detail
-
creator
public static UserDefinedMessageCreator creator(String pathCallSid, String content)
-
creator
public static UserDefinedMessageCreator creator(String pathAccountSid, String pathCallSid, String content)
-
fromJson
public static UserDefinedMessage fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a UserDefinedMessage object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- UserDefinedMessage object represented by the provided JSON
-
fromJson
public static UserDefinedMessage fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a UserDefinedMessage object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- UserDefinedMessage object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getCallSid
public final String getCallSid()
-
getSid
public final String getSid()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
-