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

A person's gender.

Attributes

  • addressMeAs (type: String.t, default: nil) - The type of pronouns that should be used to address the person. The value can be custom or one of these predefined values:

    • male
    • female
    • other
  • formattedValue (type: String.t, default: nil) - Output only. The value of the gender translated and formatted in the viewer's account locale or the Accept-Language HTTP header locale. Unspecified or custom value are not localized.

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

  • value (type: String.t, default: nil) - The gender for the person. The gender can be custom or one of these predefined values:

    • male
    • female
    • unspecified

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.Gender{
  addressMeAs: String.t(),
  formattedValue: String.t(),
  metadata: GoogleApi.People.V1.Model.FieldMetadata.t(),
  value: String.t()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.