Class: Google::Apis::BooksV1::Series::Series
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::Series::Series
- 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
-
#banner_image_url ⇒ String
Corresponds to the JSON property
bannerImageUrl
. -
#image_url ⇒ String
Corresponds to the JSON property
imageUrl
. -
#series_id ⇒ String
Corresponds to the JSON property
seriesId
. -
#series_type ⇒ String
Corresponds to the JSON property
seriesType
. -
#title ⇒ String
Corresponds to the JSON property
title
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Series
constructor
A new instance of Series.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Series
Returns a new instance of Series.
2461 2462 2463 |
# File 'generated/google/apis/books_v1/classes.rb', line 2461 def initialize(**args) update!(**args) end |
Instance Attribute Details
#banner_image_url ⇒ String
Corresponds to the JSON property bannerImageUrl
2439 2440 2441 |
# File 'generated/google/apis/books_v1/classes.rb', line 2439 def @banner_image_url end |
#image_url ⇒ String
Corresponds to the JSON property imageUrl
2444 2445 2446 |
# File 'generated/google/apis/books_v1/classes.rb', line 2444 def image_url @image_url end |
#series_id ⇒ String
Corresponds to the JSON property seriesId
2449 2450 2451 |
# File 'generated/google/apis/books_v1/classes.rb', line 2449 def series_id @series_id end |
#series_type ⇒ String
Corresponds to the JSON property seriesType
2454 2455 2456 |
# File 'generated/google/apis/books_v1/classes.rb', line 2454 def series_type @series_type end |
#title ⇒ String
Corresponds to the JSON property title
2459 2460 2461 |
# File 'generated/google/apis/books_v1/classes.rb', line 2459 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2466 2467 2468 2469 2470 2471 2472 |
# File 'generated/google/apis/books_v1/classes.rb', line 2466 def update!(**args) @banner_image_url = args[:banner_image_url] if args.key?(:banner_image_url) @image_url = args[:image_url] if args.key?(:image_url) @series_id = args[:series_id] if args.key?(:series_id) @series_type = args[:series_type] if args.key?(:series_type) @title = args[:title] if args.key?(:title) end |