Twilio\Rest\Api\V2010\Account\Usage\ReadTriggerOptions

Synopsis

class ReadTriggerOptions extends Options {
  • // Inherited members from Options
  • protected array $options;
  • // Inherited methods from Options
  • public void getIterator()
}

Hierarchy

Extends

Members

protected

  • $options

Methods

public

  • __construct()
  • __toString() — Provide a friendly representation
  • setRecurring() — The frequency of recurring UsageTriggers to read. Can be: `daily`, `monthly`, or `yearly` to read recurring UsageTriggers. An empty value or a value of `alltime` reads non-recurring UsageTriggers.
  • setTriggerBy() — The trigger field of the UsageTriggers to read. Can be: `count`, `usage`, or `price` as described in the [UsageRecords documentation](https://www.twilio.com/docs/usage/api/usage-record#usage-count-price).
  • setUsageCategory() — The usage category of the UsageTriggers to read. Must be a supported [usage categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories).

Inherited from Twilio\Options

public