Twilio.Schemas.Application (twilio v0.2.0)

Copy Markdown

Fields

  • account_sid - The SID of the Account that created the Application resource.
  • api_version - The API version used to start a new TwiML session.
  • date_created - The date and time in GMT that the resource was created 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 resource.
  • message_status_callback - The URL we call using a POST method to send message status information to your application.
  • public_application_connect_enabled - Whether to allow other Twilio accounts to dial this applicaton using Dial verb. Can be: true or false.
  • sid - The unique string that that we created to identify the Application resource.
  • sms_fallback_method - The HTTP method we use to call sms_fallback_url. Can be: GET or POST.
  • sms_fallback_url - The URL that we call when an error occurs while retrieving or executing the TwiML from sms_url.
  • sms_method - The HTTP method we use to call sms_url. Can be: GET or POST.
  • sms_status_callback - The URL we call using a POST method to send status information to your application about SMS messages that refer to the application.
  • sms_url - The URL we call when the phone number receives an incoming SMS message.
  • status_callback - The URL we call using the status_callback_method to send status information to your application.
  • status_callback_method - The HTTP method we use to call status_callback. Can be: GET or POST.
  • uri - The URI of the resource, relative to https://api.twilio.com.
  • voice_caller_id_lookup - Whether we look up the caller's caller-ID name from the CNAM database (additional charges apply). Can be: true or false.
  • voice_fallback_method - The HTTP method we use to call voice_fallback_url. Can be: GET or POST.
  • voice_fallback_url - The URL that we call when an error occurs retrieving or executing the TwiML requested by url.
  • voice_method - The HTTP method we use to call voice_url. Can be: GET or POST.
  • voice_url - The URL we call when the phone number assigned to this application receives a call.

Summary

Functions

Decodes parsed JSON into this struct.

Types

t()

@type t() :: %Twilio.Schemas.Application{
  __extra__: %{optional(String.t()) => term()},
  __present__: [atom()],
  account_sid: String.t() | nil,
  api_version: String.t() | nil,
  date_created: String.t() | nil,
  date_updated: String.t() | nil,
  friendly_name: String.t() | nil,
  message_status_callback: String.t() | nil,
  public_application_connect_enabled: boolean() | nil,
  sid: String.t() | nil,
  sms_fallback_method: String.t() | nil,
  sms_fallback_url: String.t() | nil,
  sms_method: String.t() | nil,
  sms_status_callback: String.t() | nil,
  sms_url: String.t() | nil,
  status_callback: String.t() | nil,
  status_callback_method: String.t() | nil,
  uri: String.t() | nil,
  voice_caller_id_lookup: boolean() | nil,
  voice_fallback_method: String.t() | nil,
  voice_fallback_url: String.t() | nil,
  voice_method: String.t() | nil,
  voice_url: String.t() | nil
}

Functions

decode(json)

@spec decode(term()) :: t() | term()

Decodes parsed JSON into this struct.