public class ThisMonth extends Resource
Modifier and Type | Class and Description |
---|---|
static class |
ThisMonth.Category |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static ThisMonth |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a ThisMonth object using the provided
ObjectMapper.
|
static ThisMonth |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a ThisMonth object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
String |
getApiVersion()
Returns The The api_version.
|
ThisMonth.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 ThisMonthReader |
read(String accountSid)
Create a ThisMonthReader to execute read.
|
String |
toString() |
public static ThisMonthReader read(String accountSid)
accountSid
- The account_sidpublic static ThisMonth fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static ThisMonth fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final String getApiVersion()
public final ThisMonth.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.