Twilio. Schemas. AvailablePhoneNumberMobile
(twilio v0.2.0)
Copy Markdown
Fields
address_requirements- The type of Address resource the phone number requires. Can be:none,any,local, orforeign.nonemeans no address is required.anymeans an address is required, but it can be anywhere in the world.localmeans an address in the phone number's country is required.foreignmeans an address outside of the phone number's country is required.beta- Whether the phone number is new to the Twilio platform. Can be:trueorfalse.capabilities- The set of Boolean properties that indicate whether a phone number can receive calls or messages. Capabilities are:Voice,SMS, andMMSand each capability can be:trueorfalse.friendly_name- A formatted version of the phone number.iso_country- The ISO country code of this phone number.lata- The LATA of this phone number. Available for only phone numbers from the US and Canada.latitude- The latitude of this phone number's location. Available for only phone numbers from the US and Canada.locality- The locality or city of this phone number's location.longitude- The longitude of this phone number's location. Available for only phone numbers from the US and Canada.phone_number- The phone number in E.164 format, which consists of a + followed by the country code and subscriber number.postal_code- The postal or ZIP code of this phone number's location. Available for only phone numbers from the US and Canada.rate_center- The rate center of this phone number. Available for only phone numbers from the US and Canada.region- The two-letter state or province abbreviation of this phone number's location. Available for only phone numbers from the US and Canada.
Summary
Functions
Decodes parsed JSON into this struct.
Types
@type t() :: %Twilio.Schemas.AvailablePhoneNumberMobile{ __extra__: %{optional(String.t()) => term()}, __present__: [atom()], address_requirements: String.t() | nil, beta: boolean() | nil, capabilities: Twilio.Schemas.AvailablePhoneNumberMobile.Capabilities.t() | nil, friendly_name: String.t() | nil, iso_country: String.t() | nil, lata: String.t() | nil, latitude: number() | nil, locality: String.t() | nil, longitude: number() | nil, phone_number: String.t() | nil, postal_code: String.t() | nil, rate_center: String.t() | nil, region: String.t() | nil }