google_api_people v0.24.0 GoogleApi.People.V1.Model.PhoneNumber View Source

A person's phone number.

Attributes

  • canonicalForm (type: String.t, default: nil) - Output only. The canonicalized ITU-T E.164 form of the phone number.

  • formattedType (type: String.t, default: nil) - Output only. The type of the phone number translated and formatted in the viewer's account locale or the Accept-Language HTTP header locale.

  • metadata (type: GoogleApi.People.V1.Model.FieldMetadata.t, default: nil) - Metadata about the phone number.

  • type (type: String.t, default: nil) - The type of the phone number. The type can be custom or one of these predefined values:

    • home
    • work
    • mobile
    • homeFax
    • workFax
    • otherFax
    • pager
    • workMobile
    • workPager
    • main
    • googleVoice
    • other
  • value (type: String.t, default: nil) - The phone number.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.People.V1.Model.PhoneNumber{
  canonicalForm: String.t(),
  formattedType: String.t(),
  metadata: GoogleApi.People.V1.Model.FieldMetadata.t(),
  type: String.t(),
  value: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.