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