Constructor and Description |
---|
TriggerReader()
Construct a new TriggerReader.
|
TriggerReader(String accountSid)
Construct a new TriggerReader.
|
Modifier and Type | Method and Description |
---|---|
Page<Trigger> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Trigger> |
nextPage(Page<Trigger> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
ResourceSet<Trigger> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
TriggerReader |
setRecurring(Trigger.Recurring recurring)
Only show UsageTriggers that count over this interval.
|
TriggerReader |
setTriggerBy(Trigger.TriggerField triggerBy)
Only show UsageTriggers that trigger by this field in the UsagRecord.
|
TriggerReader |
setUsageCategory(Trigger.UsageCategory usageCategory)
Only show UsageTriggers that watch this usage category.
|
public TriggerReader()
public TriggerReader(String accountSid)
accountSid
- The account_sidpublic TriggerReader setRecurring(Trigger.Recurring recurring)
recurring
- Filter by recurringpublic TriggerReader setTriggerBy(Trigger.TriggerField triggerBy)
triggerBy
- Filter by trigger bypublic TriggerReader setUsageCategory(Trigger.UsageCategory usageCategory)
usageCategory
- Filter by Usage Categorypublic ResourceSet<Trigger> read(TwilioRestClient client)
public Page<Trigger> firstPage(TwilioRestClient client)
Copyright © 2011 Twilio, Inc. All Rights Reserved.