public class UsageTrigger extends InstanceResource<TwilioRestClient>
| Constructor and Description |
|---|
UsageTrigger(TwilioRestClient client)
Instantiates a new usageRecord.
|
UsageTrigger(TwilioRestClient client,
Map<String,Object> properties)
Instantiates a new recordingRecord.
|
UsageTrigger(TwilioRestClient client,
String sid)
Instantiates a new usageRecord.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete()
Delete
|
String |
getAccountSid()
Get the account sid
|
String |
getCallbackMethod()
Gets the callback Method
|
String |
getCallbackUrl()
Gets the callback URL
|
BigDecimal |
getCurrentValue()
Gets the current value.
|
Date |
getDateCreated()
Gets the date created.
|
Date |
getDateFired()
Gets the date fired
|
Date |
getDateUpdated()
Gets the date updated.
|
String |
getFriendlyName()
Gets the friendly name.
|
Recurrence |
getRecurring()
Gets the recurrence.
|
String |
getSid()
Gets the sid.
|
Trigger |
getTriggerBy()
Gets the trigger.
|
BigDecimal |
getTriggerValue()
Gets the trigger value.
|
String |
getUri()
Get the URI
|
UsageCategory |
getUsageCategory()
Gets the usage category.
|
String |
getUsageRecordUri()
Gets the usage record URI
|
getObject, getProperty, update, updatesetRequestAccountSidpublic UsageTrigger(TwilioRestClient client)
client - the clientpublic UsageTrigger(TwilioRestClient client, String sid)
client - the clientsid - the sidpublic UsageTrigger(TwilioRestClient client, Map<String,Object> properties)
client - the clientproperties - the propertiespublic String getSid()
public Date getDateCreated()
public Date getDateUpdated()
public String getFriendlyName()
public Recurrence getRecurring()
Recurrencepublic UsageCategory getUsageCategory()
UsageCategorypublic BigDecimal getTriggerValue()
public BigDecimal getCurrentValue()
public String getUsageRecordUri()
public String getCallbackUrl()
public String getCallbackMethod()
public Date getDateFired()
public String getUri()
public String getAccountSid()
public boolean delete()
throws TwilioRestException
TwilioRestException - the twilio rest exceptionCopyright © 2011 Twilio, Inc. All Rights Reserved.