class Google::Apis::SlidesV1::ThemeColorPair

A pair mapping a theme color type to the concrete color it represents.

Attributes

color[RW]

An RGB color. Corresponds to the JSON property `color` @return [Google::Apis::SlidesV1::RgbColor]

type[RW]

The type of the theme color. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/slides_v1/classes.rb, line 4297
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/slides_v1/classes.rb, line 4302
def update!(**args)
  @color = args[:color] if args.key?(:color)
  @type = args[:type] if args.key?(:type)
end