public class AllTime extends Resource
Modifier and Type | Class and Description |
---|---|
static class |
AllTime.Category |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static AllTime |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a AllTime object using the provided
ObjectMapper.
|
static AllTime |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a AllTime object using the provided ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
String |
getApiVersion()
Returns The The api_version.
|
AllTime.Category |
getCategory()
Returns The The category.
|
String |
getCount()
Returns The The count.
|
String |
getCountUnit()
Returns The The count_unit.
|
String |
getDescription()
Returns The The description.
|
org.joda.time.DateTime |
getEndDate()
Returns The The end_date.
|
BigDecimal |
getPrice()
Returns The The price.
|
Currency |
getPriceUnit()
Returns The The price_unit.
|
org.joda.time.DateTime |
getStartDate()
Returns The The start_date.
|
Map<String,String> |
getSubresourceUris()
Returns The The subresource_uris.
|
String |
getUri()
Returns The The uri.
|
String |
getUsage()
Returns The The usage.
|
String |
getUsageUnit()
Returns The The usage_unit.
|
int |
hashCode() |
static AllTimeReader |
read(String accountSid)
Create a AllTimeReader to execute read.
|
String |
toString() |
public static AllTimeReader read(String accountSid)
accountSid
- The account_sidpublic static AllTime fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static AllTime fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final String getApiVersion()
public final AllTime.Category getCategory()
public final String getCount()
public final String getCountUnit()
public final String getDescription()
public final org.joda.time.DateTime getEndDate()
public final BigDecimal getPrice()
public final Currency getPriceUnit()
public final org.joda.time.DateTime getStartDate()
public final Map<String,String> getSubresourceUris()
public final String getUri()
public final String getUsage()
public final String getUsageUnit()
Copyright © 2011 Twilio, Inc. All Rights Reserved.