View Source GoogleApi.People.V1.Model.Event (google_api_people v0.40.3)

An event related to the person.


  • date (type: GoogleApi.People.V1.Model.Date.t, default: nil) - The date of the event.
  • formattedType (type: String.t, default: nil) - Output only. The type of the event 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 event.
  • type (type: String.t, default: nil) - The type of the event. The type can be custom or one of these predefined values: anniversary other

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.People.V1.Model.Event{
  date: GoogleApi.People.V1.Model.Date.t() | nil,
  formattedType: String.t() | nil,
  metadata: GoogleApi.People.V1.Model.FieldMetadata.t() | nil,
  type: String.t() | nil

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.