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

Representation of field, which is a typed key-value pair.

Attributes

  • dateString (type: list(Date.t), default: nil) - Only present if valueType is dateString. RFC 3339 formatted date: YYYY-MM-DD.
  • id (type: String.t, default: nil) - The identifier of this label field.
  • integer (type: list(String.t), default: nil) - Only present if valueType is integer.
  • kind (type: String.t, default: nil) - This is always drive#labelField.
  • selection (type: list(String.t), default: nil) - Only present if valueType is selection
  • text (type: list(String.t), default: nil) - Only present if valueType is text.
  • user (type: list(GoogleApi.Drive.V3.Model.User.t), default: nil) - Only present if valueType is user.
  • valueType (type: String.t, default: nil) - The field type. While new values may be supported in the future, the following are currently allowed: dateString integer selection text * user

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Drive.V3.Model.LabelField{
  dateString: [Date.t()] | nil,
  id: String.t() | nil,
  integer: [String.t()] | nil,
  kind: String.t() | nil,
  selection: [String.t()] | nil,
  text: [String.t()] | nil,
  user: [GoogleApi.Drive.V3.Model.User.t()] | nil,
  valueType: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.