public class AlphaSender extends Resource
Modifier and Type | Method and 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 SID of the Account that created the resource.
|
String |
getAlphaSender()
Returns The Alphanumeric Sender ID string.
|
List<String> |
getCapabilities()
Returns An array of values that describe whether the number can receive calls
or messages.
|
ZonedDateTime |
getDateCreated()
Returns The ISO 8601 date and time in GMT when the resource was created.
|
ZonedDateTime |
getDateUpdated()
Returns The ISO 8601 date and time in GMT when the resource was last updated.
|
String |
getServiceSid()
Returns The SID of the Service that the resource is associated with.
|
String |
getSid()
Returns The unique string that identifies the resource.
|
URI |
getUrl()
Returns The absolute URL of the AlphaSender resource.
|
int |
hashCode() |
static AlphaSenderReader |
reader(String pathServiceSid)
Create a AlphaSenderReader to execute read.
|
public static AlphaSenderCreator creator(String pathServiceSid, String alphaSender)
pathServiceSid
- The SID of the Service to create the resource underalphaSender
- The Alphanumeric Sender ID stringpublic static AlphaSenderReader reader(String pathServiceSid)
pathServiceSid
- The SID of the Service to read the resources frompublic static AlphaSenderFetcher fetcher(String pathServiceSid, String pathSid)
pathServiceSid
- The SID of the Messaging Service to fetch the resource
frompathSid
- The SID that identifies the resource to fetchpublic static AlphaSenderDeleter deleter(String pathServiceSid, String pathSid)
pathServiceSid
- The SID of the Service to delete the resource frompathSid
- The SID that identifies the resource to deletepublic static AlphaSender fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static AlphaSender fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getSid()
public final String getAccountSid()
public final String getServiceSid()
public final ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
public final String getAlphaSender()
public final List<String> getCapabilities()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.