Twilio.Schemas.AvailablePhoneNumberCountry (twilio v0.2.0)

Copy Markdown

Fields

  • beta - Whether all phone numbers available in the country are new to the Twilio platform. true if they are and false if all numbers are not in the Twilio Phone Number Beta program.
  • country - The name of the country.
  • country_code - The ISO-3166-1 country code of the country.
  • subresource_uris - A list of related AvailablePhoneNumber resources identified by their URIs relative to https://api.twilio.com.
  • uri - The URI of the Country resource, relative to https://api.twilio.com.

Summary

Functions

Decodes parsed JSON into this struct.

Types

t()

@type t() :: %Twilio.Schemas.AvailablePhoneNumberCountry{
  __extra__: %{optional(String.t()) => term()},
  __present__: [atom()],
  beta: boolean() | nil,
  country: String.t() | nil,
  country_code: String.t() | nil,
  subresource_uris: map() | nil,
  uri: String.t() | nil
}

Functions

decode(json)

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

Decodes parsed JSON into this struct.