View Source GoogleApi.People.V1.Model.EmailAddress (google_api_people v0.41.0)

A person's email address.

Attributes

  • displayName (type: String.t, default: nil) - The display name of the email.
  • formattedType (type: String.t, default: nil) - Output only. The type of the email address 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 email address.
  • type (type: String.t, default: nil) - The type of the email address. The type can be custom or one of these predefined values: home work * other
  • value (type: String.t, default: nil) - The email address.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.People.V1.Model.EmailAddress{
  displayName: String.t() | nil,
  formattedType: String.t() | nil,
  metadata: GoogleApi.People.V1.Model.FieldMetadata.t() | nil,
  type: String.t() | nil,
  value: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.