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

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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.