View Source GoogleApi.ContentWarehouse.V1.Model.TelephoneNumber (google_api_content_warehouse v0.4.0)

Attributes

  • areaCode (type: String.t, default: nil) - The local "area code", if there is such a concept.
  • countryCode (type: integer(), default: nil) - The international direct dialing code for the country, as per ITU E.164: http://www.itu.int/itudoc/itu-t/ob-lists/icc/e164_763.html
  • extension (type: String.t, default: nil) - Extension (to be dialed after connection).
  • nationalPrefix (type: String.t, default: nil) - To call this number from within the same country, the national call prefix may be necessary. This is 1 in the US, 0 in the UK, etc. In the US, it's reasonable to omit the leading 1 when writing the number, but in other countries it is less optional.
  • number (type: list(String.t), default: nil) - The actual number, broken down into sections as per local convention. Note that the actual formatting of these sections (hyphen vs space, usage of parentheses) will vary according to local custom.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.TelephoneNumber{
  areaCode: String.t() | nil,
  countryCode: integer() | nil,
  extension: String.t() | nil,
  nationalPrefix: String.t() | nil,
  number: [String.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.