Class AllTime
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.api.v2010.account.usage.record.AllTime
-
- All Implemented Interfaces:
Serializable
public class AllTime extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAllTime.Category
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static AllTimefromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a AllTime object using the provided ObjectMapper.static AllTimefromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a AllTime object using the provided ObjectMapper.StringgetAccountSid()StringgetApiVersion()StringgetAsOf()AllTime.CategorygetCategory()StringgetCount()StringgetCountUnit()StringgetDescription()LocalDategetEndDate()BigDecimalgetPrice()CurrencygetPriceUnit()LocalDategetStartDate()Map<String,String>getSubresourceUris()StringgetUri()StringgetUsage()StringgetUsageUnit()inthashCode()static AllTimeReaderreader()static AllTimeReaderreader(String pathAccountSid)
-
-
-
Method Detail
-
reader
public static AllTimeReader reader()
-
reader
public static AllTimeReader reader(String pathAccountSid)
-
fromJson
public static AllTime fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a AllTime object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- AllTime object represented by the provided JSON
-
fromJson
public static AllTime fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a AllTime object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- AllTime object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getApiVersion
public final String getApiVersion()
-
getAsOf
public final String getAsOf()
-
getCategory
public final AllTime.Category getCategory()
-
getCount
public final String getCount()
-
getCountUnit
public final String getCountUnit()
-
getDescription
public final String getDescription()
-
getEndDate
public final LocalDate getEndDate()
-
getPrice
public final BigDecimal getPrice()
-
getPriceUnit
public final Currency getPriceUnit()
-
getStartDate
public final LocalDate getStartDate()
-
getUri
public final String getUri()
-
getUsage
public final String getUsage()
-
getUsageUnit
public final String getUsageUnit()
-
-