View Source GoogleApi.Drive.V3.Model.Label (google_api_drive v0.27.1)

Representation of label and label fields.

Attributes

  • fields (type: %{optional(String.t) => GoogleApi.Drive.V3.Model.LabelField.t}, default: nil) - A map of the fields on the label, keyed by the field's ID.
  • id (type: String.t, default: nil) - The ID of the label.
  • kind (type: String.t, default: nil) - This is always drive#label
  • revisionId (type: String.t, default: nil) - The revision ID of the label.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Drive.V3.Model.Label{
  fields:
    %{optional(String.t()) => GoogleApi.Drive.V3.Model.LabelField.t()} | nil,
  id: String.t() | nil,
  kind: String.t() | nil,
  revisionId: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.