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

A person's birthday. At least one of the date and text fields are specified. The date and text fields typically represent the same date, but are not guaranteed to. Clients should always set the date field when mutating birthdays.

Attributes

  • date (type: GoogleApi.People.V1.Model.Date.t, default: nil) - The structured date of the birthday.
  • metadata (type: GoogleApi.People.V1.Model.FieldMetadata.t, default: nil) - Metadata about the birthday.
  • text (type: String.t, default: nil) - Prefer to use the date field if set. A free-form string representing the user's birthday. This value is not validated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.People.V1.Model.Birthday{
  date: GoogleApi.People.V1.Model.Date.t() | nil,
  metadata: GoogleApi.People.V1.Model.FieldMetadata.t() | nil,
  text: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.