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

A person's phone number.

Attributes

  • canonicalForm (String.t): The read-only canonicalized ITU-T E.164 form of the phone number. Defaults to: null.
  • formattedType (String.t): The read-only type of the phone number translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale. Defaults to: null.
  • metadata (FieldMetadata): Metadata about the phone number. Defaults to: null.
  • type (String.t): 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` Defaults to: null.
  • value (String.t): The phone number. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

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

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.