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

A person's occupation.

Attributes

  • metadata (type: GoogleApi.People.V1.Model.FieldMetadata.t, default: nil) - Metadata about the occupation.
  • value (type: String.t, default: nil) - The occupation; for example, carpenter.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.