google_api_calendar v0.5.0 GoogleApi.Calendar.V3.Model.Colors View Source

Attributes

  • calendar (%{optional(String.t) => GoogleApi.Calendar.V3.Model.ColorDefinition.t}): 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 color field. Read-only. Defaults to nil.
  • event (%{optional(String.t) => GoogleApi.Calendar.V3.Model.ColorDefinition.t}): 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 color field. Read-only. Defaults to nil.
  • kind (String.t): Type of the resource ("calendar#colors"). Defaults to calendar#colors.
  • updated (DateTime.t): Last modification time of the color palette (as a RFC3339 timestamp). Read-only. Defaults to nil.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

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

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.