public class UsageRecord extends InstanceResource<TwilioRestClient>
| Constructor and Description |
|---|
UsageRecord(TwilioRestClient client)
Instantiates a new usageRecord.
|
UsageRecord(TwilioRestClient client,
Map<String,Object> properties)
Instantiates a new UsageRecord.
|
UsageRecord(TwilioRestClient client,
String sid)
Instantiates a new usageRecord.
|
| Modifier and Type | Method and Description |
|---|---|
UsageCategory |
getCategory() |
Long |
getCount() |
String |
getCountUnit() |
String |
getCountUnits()
Deprecated.
|
String |
getDescription() |
Date |
getEndDate() |
BigDecimal |
getPrice() |
String |
getPriceUnit() |
Date |
getStartDate() |
String[] |
getSubresourceUris() |
String |
getUri() |
BigDecimal |
getUsage() |
String |
getUsageUnit() |
String |
getUsageUnits()
Deprecated.
|
getCastedObject, getObject, getProperty, getPropertyAsInteger, toJSON, update, updatesetRequestAccountSidpublic UsageRecord(TwilioRestClient client)
client - the clientpublic UsageRecord(TwilioRestClient client, String sid)
client - the clientsid - the sidpublic UsageRecord(TwilioRestClient client, Map<String,Object> properties)
client - the clientproperties - the propertiespublic UsageCategory getCategory()
public String getDescription()
public Date getStartDate()
public Date getEndDate()
public BigDecimal getUsage()
@Deprecated public String getUsageUnits()
public String getUsageUnit()
public Long getCount()
@Deprecated public String getCountUnits()
public String getCountUnit()
public BigDecimal getPrice()
public String getPriceUnit()
public String getUri()
public String[] getSubresourceUris()
Copyright © 2011 Twilio, Inc. All Rights Reserved.