class Google::Apis::BooksV1::Discoveryclusters::Cluster::BannerWithContentContainer

Attributes

fill_color_argb[RW]

Corresponds to the JSON property `fillColorArgb` @return [String]

image_url[RW]

Corresponds to the JSON property `imageUrl` @return [String]

mask_color_argb[RW]

Corresponds to the JSON property `maskColorArgb` @return [String]

more_button_text[RW]

Corresponds to the JSON property `moreButtonText` @return [String]

more_button_url[RW]

Corresponds to the JSON property `moreButtonUrl` @return [String]

text_color_argb[RW]

Corresponds to the JSON property `textColorArgb` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/books_v1/classes.rb, line 1426
def update!(**args)
  @fill_color_argb = args[:fill_color_argb] if args.key?(:fill_color_argb)
  @image_url = args[:image_url] if args.key?(:image_url)
  @mask_color_argb = args[:mask_color_argb] if args.key?(:mask_color_argb)
  @more_button_text = args[:more_button_text] if args.key?(:more_button_text)
  @more_button_url = args[:more_button_url] if args.key?(:more_button_url)
  @text_color_argb = args[:text_color_argb] if args.key?(:text_color_argb)
end