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 account_sid.
|
Boolean |
getDataEnabled()
Returns The data_enabled.
|
Integer |
getDataLimit()
Returns The data_limit.
|
String |
getDataMetering()
Returns The data_metering.
|
ZonedDateTime |
getDateCreated()
Returns The date_created.
|
ZonedDateTime |
getDateUpdated()
Returns The date_updated.
|
String |
getFriendlyName()
Returns The friendly_name.
|
List<String> |
getInternationalRoaming()
Returns The international_roaming.
|
Boolean |
getMessagingEnabled()
Returns The messaging_enabled.
|
Boolean |
getNationalRoamingEnabled()
Returns The national_roaming_enabled.
|
String |
getSid()
Returns The sid.
|
String |
getUniqueName()
Returns The unique_name.
|
URI |
getUrl()
Returns The url.
|
Boolean |
getVoiceEnabled()
Returns The voice_enabled.
|
int |
hashCode() |
static RatePlanReader |
reader()
Create a RatePlanReader to execute read.
|
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 List<String> getInternationalRoaming()
public final ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.