Class AlphaSender
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.messaging.v1.service.AlphaSender
-
- All Implemented Interfaces:
Serializable
public class AlphaSender extends Resource
PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AlphaSenderCreator
creator(String pathServiceSid, String alphaSender)
Create a AlphaSenderCreator to execute create.static AlphaSenderDeleter
deleter(String pathServiceSid, String pathSid)
Create a AlphaSenderDeleter to execute delete.boolean
equals(Object o)
static AlphaSenderFetcher
fetcher(String pathServiceSid, String pathSid)
Create a AlphaSenderFetcher to execute fetch.static AlphaSender
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a AlphaSender object using the provided ObjectMapper.static AlphaSender
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a AlphaSender object using the provided ObjectMapper.String
getAccountSid()
Returns The The 34 character unique sid of the Account..String
getAlphaSender()
Returns The An Alphanumeric Sender ID string, up to 11 characters..List<Map<String,Object>>
getCapabilities()
Returns The An array of values that indicate whether the number can receive calls or messages..org.joda.time.DateTime
getDateCreated()
Returns The The date that this resource was created..org.joda.time.DateTime
getDateUpdated()
Returns The The date that this resource was last updated..String
getServiceSid()
Returns The The 34 character unique sid of the Messaging Service..String
getSid()
Returns The The 34 character unique sid of the Alpha Sender ID..URI
getUrl()
Returns The The absolute URL for this resource..int
hashCode()
static AlphaSenderReader
reader(String pathServiceSid)
Create a AlphaSenderReader to execute read.String
toString()
-
-
-
Method Detail
-
creator
public static AlphaSenderCreator creator(String pathServiceSid, String alphaSender)
Create a AlphaSenderCreator to execute create.- Parameters:
pathServiceSid
- The service_sidalphaSender
- An Alphanumeric Sender ID string, up to 11 characters.- Returns:
- AlphaSenderCreator capable of executing the create
-
reader
public static AlphaSenderReader reader(String pathServiceSid)
Create a AlphaSenderReader to execute read.- Parameters:
pathServiceSid
- The service_sid- Returns:
- AlphaSenderReader capable of executing the read
-
fetcher
public static AlphaSenderFetcher fetcher(String pathServiceSid, String pathSid)
Create a AlphaSenderFetcher to execute fetch.- Parameters:
pathServiceSid
- The service_sidpathSid
- The sid- Returns:
- AlphaSenderFetcher capable of executing the fetch
-
deleter
public static AlphaSenderDeleter deleter(String pathServiceSid, String pathSid)
Create a AlphaSenderDeleter to execute delete.- Parameters:
pathServiceSid
- The service_sidpathSid
- The sid- Returns:
- AlphaSenderDeleter capable of executing the delete
-
fromJson
public static AlphaSender fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a AlphaSender object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- AlphaSender object represented by the provided JSON
-
fromJson
public static AlphaSender fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a AlphaSender object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- AlphaSender object represented by the provided JSON
-
getSid
public final String getSid()
Returns The The 34 character unique sid of the Alpha Sender ID..- Returns:
- The 34 character unique sid of the Alpha Sender ID.
-
getAccountSid
public final String getAccountSid()
Returns The The 34 character unique sid of the Account..- Returns:
- The 34 character unique sid of the Account.
-
getServiceSid
public final String getServiceSid()
Returns The The 34 character unique sid of the Messaging Service..- Returns:
- The 34 character unique sid of the Messaging Service.
-
getDateCreated
public final org.joda.time.DateTime getDateCreated()
Returns The The date that this resource was created..- Returns:
- The date that this resource was created.
-
getDateUpdated
public final org.joda.time.DateTime getDateUpdated()
Returns The The date that this resource was last updated..- Returns:
- The date that this resource was last updated.
-
getAlphaSender
public final String getAlphaSender()
Returns The An Alphanumeric Sender ID string, up to 11 characters..- Returns:
- An Alphanumeric Sender ID string, up to 11 characters.
-
getCapabilities
public final List<Map<String,Object>> getCapabilities()
Returns The An array of values that indicate whether the number can receive calls or messages..- Returns:
- An array of values that indicate whether the number can receive calls or messages.
-
getUrl
public final URI getUrl()
Returns The The absolute URL for this resource..- Returns:
- The absolute URL for this resource.
-
-