com.twilio.sdk.resource.instance
Class UsageRecord
java.lang.Object
com.twilio.sdk.resource.Resource
com.twilio.sdk.resource.InstanceResource
com.twilio.sdk.resource.instance.UsageRecord
public class UsageRecord
- extends InstanceResource
The Class Usage.
For more information see http://www.twilio.com/docs/api/rest/usage-records
UsageRecord
public UsageRecord(TwilioRestClient client)
- Instantiates a new usageRecord.
- Parameters:
client - the client
UsageRecord
public UsageRecord(TwilioRestClient client,
String sid)
- Instantiates a new usageRecord.
- Parameters:
client - the clientsid - the sid
UsageRecord
public UsageRecord(TwilioRestClient client,
Map<String,Object> properties)
- Instantiates a new UsageRecord.
- Parameters:
client - the clientproperties - the properties
getCategory
public UsageCategory getCategory()
getDescription
public String getDescription()
getStartDate
public Date getStartDate()
getEndDate
public Date getEndDate()
getUsage
public BigDecimal getUsage()
getUsageUnits
public String getUsageUnits()
getCount
public Long getCount()
getCountUnits
public String getCountUnits()
getPrice
public BigDecimal getPrice()
getPriceUnit
public String getPriceUnit()
getUri
public String getUri()
getSubresourceUris
public String[] getSubresourceUris()
Copyright © 2011 Twilio, Inc. All Rights Reserved.