Twilio. Schemas. UsageTrigger
(twilio v0.2.0)
Copy Markdown
Fields
account_sid- The SID of the Account that the trigger monitors.api_version- The API version used to create the resource.callback_method- The HTTP method we use to callcallback_url. Can be:GETorPOST.callback_url- The URL we call using thecallback_methodwhen the trigger fires.current_value- The current value of the field the trigger is watching.date_created- The date and time in GMT that the resource was created specified in RFC 2822 format.date_fired- The date and time in GMT that the trigger was last fired specified in RFC 2822 format.date_updated- The date and time in GMT that the resource was last updated specified in RFC 2822 format.friendly_name- The string that you assigned to describe the trigger.recurringsid- The unique string that that we created to identify the UsageTrigger resource.trigger_bytrigger_value- The value at which the trigger will fire. Must be a positive, numeric value.uri- The URI of the resource, relative tohttps://api.twilio.com.usage_category- The usage category the trigger watches. Must be one of the supported usage categories.usage_record_uri- The URI of the UsageRecord resource this trigger watches, relative tohttps://api.twilio.com.
Summary
Functions
Decodes parsed JSON into this struct.
Types
@type t() :: %Twilio.Schemas.UsageTrigger{ __extra__: %{optional(String.t()) => term()}, __present__: [atom()], account_sid: String.t() | nil, api_version: String.t() | nil, callback_method: String.t() | nil, callback_url: String.t() | nil, current_value: String.t() | nil, date_created: String.t() | nil, date_fired: String.t() | nil, date_updated: String.t() | nil, friendly_name: String.t() | nil, recurring: Twilio.Schemas.UsageTriggerEnumRecurring.t() | nil, sid: String.t() | nil, trigger_by: Twilio.Schemas.UsageTriggerEnumTriggerField.t() | nil, trigger_value: String.t() | nil, uri: String.t() | nil, usage_category: String.t() | nil, usage_record_uri: String.t() | nil }