Twilio.Schemas.ValidationRequest (twilio v0.2.0)

Copy Markdown

Fields

  • account_sid - The SID of the Account responsible for the Caller ID.
  • call_sid - The SID of the Call the Caller ID is associated with.
  • friendly_name - The string that you assigned to describe the resource.
  • phone_number - The phone number to verify in E.164 format, which consists of a + followed by the country code and subscriber number.
  • validation_code - The 6 digit validation code that someone must enter to validate the Caller ID when phone_number is called.

Summary

Functions

Decodes parsed JSON into this struct.

Types

t()

@type t() :: %Twilio.Schemas.ValidationRequest{
  __extra__: %{optional(String.t()) => term()},
  __present__: [atom()],
  account_sid: String.t() | nil,
  call_sid: String.t() | nil,
  friendly_name: String.t() | nil,
  phone_number: String.t() | nil,
  validation_code: String.t() | nil
}

Functions

decode(json)

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

Decodes parsed JSON into this struct.