public class RatePlan extends Resource
Modifier and Type | Method and Description |
---|---|
static RatePlanCreator |
creator()
Create a RatePlanCreator to execute create.
|
static RatePlanDeleter |
deleter(String pathSid)
Create a RatePlanDeleter to execute delete.
|
boolean |
equals(Object o) |
static RatePlanFetcher |
fetcher(String pathSid)
Create a RatePlanFetcher to execute fetch.
|
static RatePlan |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a RatePlan object using the provided
ObjectMapper.
|
static RatePlan |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a RatePlan object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
Boolean |
getDataEnabled()
Returns The The data_enabled.
|
Integer |
getDataLimit()
Returns The The data_limit.
|
String |
getDataMetering()
Returns The The data_metering.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date_created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date_updated.
|
String |
getFriendlyName()
Returns The The friendly_name.
|
List<String> |
getInternationalRoaming()
Returns The The international_roaming.
|
Integer |
getInternationalRoamingDataLimit()
Returns The The international_roaming_data_limit.
|
Boolean |
getMessagingEnabled()
Returns The The messaging_enabled.
|
Integer |
getNationalRoamingDataLimit()
Returns The The national_roaming_data_limit.
|
Boolean |
getNationalRoamingEnabled()
Returns The The national_roaming_enabled.
|
String |
getSid()
Returns The The sid.
|
String |
getUniqueName()
Returns The The unique_name.
|
URI |
getUrl()
Returns The The url.
|
Boolean |
getVoiceEnabled()
Returns The The voice_enabled.
|
int |
hashCode() |
static RatePlanReader |
reader()
Create a RatePlanReader to execute read.
|
String |
toString() |
static RatePlanUpdater |
updater(String pathSid)
Create a RatePlanUpdater to execute update.
|
public static RatePlanReader reader()
public static RatePlanFetcher fetcher(String pathSid)
pathSid
- The sidpublic static RatePlanCreator creator()
public static RatePlanUpdater updater(String pathSid)
pathSid
- The sidpublic static RatePlanDeleter deleter(String pathSid)
pathSid
- The sidpublic static RatePlan fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static RatePlan fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getSid()
public final String getUniqueName()
public final String getAccountSid()
public final String getFriendlyName()
public final Boolean getDataEnabled()
public final String getDataMetering()
public final Integer getDataLimit()
public final Boolean getMessagingEnabled()
public final Boolean getVoiceEnabled()
public final Boolean getNationalRoamingEnabled()
public final Integer getNationalRoamingDataLimit()
public final List<String> getInternationalRoaming()
public final Integer getInternationalRoamingDataLimit()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.