Twilio.Schemas.AvailablePhoneNumberMobile.Capabilities (twilio v0.2.0)

Copy Markdown

The set of Boolean properties that indicate whether a phone number can receive calls or messages. Capabilities are: Voice, SMS, and MMS and each capability can be: true or false.

Fields

  • fax
  • mms
  • sms
  • voice

Summary

Functions

Decodes parsed JSON into this struct.

Types

t()

@type t() :: %Twilio.Schemas.AvailablePhoneNumberMobile.Capabilities{
  __extra__: %{optional(String.t()) => term()},
  __present__: [atom()],
  fax: boolean() | nil,
  mms: boolean() | nil,
  sms: boolean() | nil,
  voice: boolean() | nil
}

Functions

decode(json)

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

Decodes parsed JSON into this struct.