Class UserDefinedMessageSubscription
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.api.v2010.account.call.UserDefinedMessageSubscription
-
- All Implemented Interfaces:
Serializable
public class UserDefinedMessageSubscription extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserDefinedMessageSubscriptionCreatorcreator(String pathAccountSid, String pathCallSid, URI callback, HttpMethod method)static UserDefinedMessageSubscriptionCreatorcreator(String pathCallSid, URI callback, HttpMethod method)static UserDefinedMessageSubscriptionDeleterdeleter(String pathCallSid, String pathSid)static UserDefinedMessageSubscriptionDeleterdeleter(String pathAccountSid, String pathCallSid, String pathSid)booleanequals(Object o)static UserDefinedMessageSubscriptionfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a UserDefinedMessageSubscription object using the provided ObjectMapper.static UserDefinedMessageSubscriptionfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a UserDefinedMessageSubscription object using the provided ObjectMapper.StringgetAccountSid()StringgetCallSid()ZonedDateTimegetDateCreated()StringgetSid()StringgetUri()inthashCode()
-
-
-
Method Detail
-
creator
public static UserDefinedMessageSubscriptionCreator creator(String pathCallSid, URI callback, HttpMethod method)
-
creator
public static UserDefinedMessageSubscriptionCreator creator(String pathAccountSid, String pathCallSid, URI callback, HttpMethod method)
-
deleter
public static UserDefinedMessageSubscriptionDeleter deleter(String pathCallSid, String pathSid)
-
deleter
public static UserDefinedMessageSubscriptionDeleter deleter(String pathAccountSid, String pathCallSid, String pathSid)
-
fromJson
public static UserDefinedMessageSubscription fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a UserDefinedMessageSubscription object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- UserDefinedMessageSubscription object represented by the provided JSON
-
fromJson
public static UserDefinedMessageSubscription fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a UserDefinedMessageSubscription object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- UserDefinedMessageSubscription 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()
-
getUri
public final String getUri()
-
-