Class: Google::Apis::BooksV1::Discoveryclusters::Cluster::BannerWithContentContainer
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::Discoveryclusters::Cluster::BannerWithContentContainer
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/books_v1/classes.rb,
generated/google/apis/books_v1/representations.rb,
generated/google/apis/books_v1/representations.rb
Instance Attribute Summary collapse
-
#fill_color_argb ⇒ String
Corresponds to the JSON property
fillColorArgb
. -
#image_url ⇒ String
Corresponds to the JSON property
imageUrl
. -
#mask_color_argb ⇒ String
Corresponds to the JSON property
maskColorArgb
. -
#more_button_text ⇒ String
Corresponds to the JSON property
moreButtonText
. -
#more_button_url ⇒ String
Corresponds to the JSON property
moreButtonUrl
. -
#text_color_argb ⇒ String
Corresponds to the JSON property
textColorArgb
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BannerWithContentContainer
constructor
A new instance of BannerWithContentContainer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BannerWithContentContainer
Returns a new instance of BannerWithContentContainer.
1457 1458 1459 |
# File 'generated/google/apis/books_v1/classes.rb', line 1457 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fill_color_argb ⇒ String
Corresponds to the JSON property fillColorArgb
1430 1431 1432 |
# File 'generated/google/apis/books_v1/classes.rb', line 1430 def fill_color_argb @fill_color_argb end |
#image_url ⇒ String
Corresponds to the JSON property imageUrl
1435 1436 1437 |
# File 'generated/google/apis/books_v1/classes.rb', line 1435 def image_url @image_url end |
#mask_color_argb ⇒ String
Corresponds to the JSON property maskColorArgb
1440 1441 1442 |
# File 'generated/google/apis/books_v1/classes.rb', line 1440 def mask_color_argb @mask_color_argb end |
#more_button_text ⇒ String
Corresponds to the JSON property moreButtonText
1445 1446 1447 |
# File 'generated/google/apis/books_v1/classes.rb', line 1445 def @more_button_text end |
#more_button_url ⇒ String
Corresponds to the JSON property moreButtonUrl
1450 1451 1452 |
# File 'generated/google/apis/books_v1/classes.rb', line 1450 def @more_button_url end |
#text_color_argb ⇒ String
Corresponds to the JSON property textColorArgb
1455 1456 1457 |
# File 'generated/google/apis/books_v1/classes.rb', line 1455 def text_color_argb @text_color_argb end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1462 1463 1464 1465 1466 1467 1468 1469 |
# File 'generated/google/apis/books_v1/classes.rb', line 1462 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 |