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

A person's location.

Attributes

  • buildingId (type: String.t, default: nil) - The building identifier.
  • current (type: boolean(), default: nil) - Whether the location is the current location.
  • deskCode (type: String.t, default: nil) - The individual desk location.
  • floor (type: String.t, default: nil) - The floor name or number.
  • floorSection (type: String.t, default: nil) - The floor section in floor_name.
  • metadata (type: GoogleApi.People.V1.Model.FieldMetadata.t, default: nil) - Metadata about the location.
  • type (type: String.t, default: nil) - The type of the location. The type can be custom or one of these predefined values: desk grewUp
  • value (type: String.t, default: nil) - The free-form value of the location.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.People.V1.Model.Location{
  buildingId: String.t() | nil,
  current: boolean() | nil,
  deskCode: String.t() | nil,
  floor: String.t() | nil,
  floorSection: 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.