View Source GoogleApi.Docs.V1.Model.OptionalColor (google_api_docs v0.17.0)

A color that can either be fully opaque or fully transparent.

Attributes

  • color (type: GoogleApi.Docs.V1.Model.Color.t, default: nil) - If set, this will be used as an opaque color. If unset, this represents a transparent color.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Docs.V1.Model.OptionalColor{
  color: GoogleApi.Docs.V1.Model.Color.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.