View Source GoogleApi.Calendar.V3.Model.Colors (google_api_calendar v0.23.1)

Attributes

  • calendar (type: %{optional(String.t) => GoogleApi.Calendar.V3.Model.ColorDefinition.t}, default: nil) - A global palette of calendar colors, mapping from the color ID to its definition. A calendarListEntry resource refers to one of these color IDs in its colorId field. Read-only.
  • event (type: %{optional(String.t) => GoogleApi.Calendar.V3.Model.ColorDefinition.t}, default: nil) - A global palette of event colors, mapping from the color ID to its definition. An event resource may refer to one of these color IDs in its colorId field. Read-only.
  • kind (type: String.t, default: calendar#colors) - Type of the resource ("calendar#colors").
  • updated (type: DateTime.t, default: nil) - Last modification time of the color palette (as a RFC3339 timestamp). Read-only.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Calendar.V3.Model.Colors{
  calendar:
    %{optional(String.t()) => GoogleApi.Calendar.V3.Model.ColorDefinition.t()}
    | nil,
  event:
    %{optional(String.t()) => GoogleApi.Calendar.V3.Model.ColorDefinition.t()}
    | nil,
  kind: String.t() | nil,
  updated: DateTime.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.