|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.twilio.sdk.resource.Resource
com.twilio.sdk.resource.InstanceResource
com.twilio.sdk.resource.instance.UsageRecord
public class UsageRecord
The Class Usage.
For more information see https://www.twilio.com/docs/api/rest/usage-records
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.twilio.sdk.resource.InstanceResource |
|---|
getObject, getProperty, update, update |
| Methods inherited from class com.twilio.sdk.resource.Resource |
|---|
setRequestAccountSid |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UsageRecord(TwilioRestClient client)
client - the client
public UsageRecord(TwilioRestClient client,
String sid)
client - the clientsid - the sid
public UsageRecord(TwilioRestClient client,
Map<String,Object> properties)
client - the clientproperties - the properties| Method Detail |
|---|
public 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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||