Package com.twilio.rest.preview.wireless
Class RatePlan
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.preview.wireless.RatePlan
-
- All Implemented Interfaces:
Serializable
public class RatePlan extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
-
-
-
Method Detail
-
creator
public static RatePlanCreator creator()
-
fetcher
public static RatePlanFetcher fetcher(String pathSid)
-
deleter
public static RatePlanDeleter deleter(String pathSid)
-
reader
public static RatePlanReader reader()
-
updater
public static RatePlanUpdater updater(String pathSid)
-
fromJson
public static RatePlan fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a RatePlan object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- RatePlan object represented by the provided JSON
-
fromJson
public static RatePlan fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a RatePlan object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- RatePlan object represented by the provided JSON
-
getSid
public final String getSid()
-
getUniqueName
public final String getUniqueName()
-
getAccountSid
public final String getAccountSid()
-
getFriendlyName
public final String getFriendlyName()
-
getDataEnabled
public final Boolean getDataEnabled()
-
getDataMetering
public final String getDataMetering()
-
getDataLimit
public final Integer getDataLimit()
-
getMessagingEnabled
public final Boolean getMessagingEnabled()
-
getVoiceEnabled
public final Boolean getVoiceEnabled()
-
getNationalRoamingEnabled
public final Boolean getNationalRoamingEnabled()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-