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
. -
#eligible_for_subscription ⇒ Boolean
(also: #eligible_for_subscription?)
Corresponds to the JSON property
eligibleForSubscription
. -
#image_url ⇒ String
Corresponds to the JSON property
imageUrl
. -
#is_complete ⇒ Boolean
(also: #is_complete?)
Corresponds to the JSON property
isComplete
. -
#series_id ⇒ String
Corresponds to the JSON property
seriesId
. -
#series_type ⇒ String
Corresponds to the JSON property
seriesType
. -
#subscription_id ⇒ String
Corresponds to the JSON property
subscriptionId
. -
#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.
2566 2567 2568 |
# File 'generated/google/apis/books_v1/classes.rb', line 2566 def initialize(**args) update!(**args) end |
Instance Attribute Details
#banner_image_url ⇒ String
Corresponds to the JSON property bannerImageUrl
2527 2528 2529 |
# File 'generated/google/apis/books_v1/classes.rb', line 2527 def @banner_image_url end |
#eligible_for_subscription ⇒ Boolean Also known as: eligible_for_subscription?
Corresponds to the JSON property eligibleForSubscription
2532 2533 2534 |
# File 'generated/google/apis/books_v1/classes.rb', line 2532 def eligible_for_subscription @eligible_for_subscription end |
#image_url ⇒ String
Corresponds to the JSON property imageUrl
2538 2539 2540 |
# File 'generated/google/apis/books_v1/classes.rb', line 2538 def image_url @image_url end |
#is_complete ⇒ Boolean Also known as: is_complete?
Corresponds to the JSON property isComplete
2543 2544 2545 |
# File 'generated/google/apis/books_v1/classes.rb', line 2543 def is_complete @is_complete end |
#series_id ⇒ String
Corresponds to the JSON property seriesId
2549 2550 2551 |
# File 'generated/google/apis/books_v1/classes.rb', line 2549 def series_id @series_id end |
#series_type ⇒ String
Corresponds to the JSON property seriesType
2554 2555 2556 |
# File 'generated/google/apis/books_v1/classes.rb', line 2554 def series_type @series_type end |
#subscription_id ⇒ String
Corresponds to the JSON property subscriptionId
2559 2560 2561 |
# File 'generated/google/apis/books_v1/classes.rb', line 2559 def subscription_id @subscription_id end |
#title ⇒ String
Corresponds to the JSON property title
2564 2565 2566 |
# File 'generated/google/apis/books_v1/classes.rb', line 2564 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 |
# File 'generated/google/apis/books_v1/classes.rb', line 2571 def update!(**args) @banner_image_url = args[:banner_image_url] if args.key?(:banner_image_url) @eligible_for_subscription = args[:eligible_for_subscription] if args.key?(:eligible_for_subscription) @image_url = args[:image_url] if args.key?(:image_url) @is_complete = args[:is_complete] if args.key?(:is_complete) @series_id = args[:series_id] if args.key?(:series_id) @series_type = args[:series_type] if args.key?(:series_type) @subscription_id = args[:subscription_id] if args.key?(:subscription_id) @title = args[:title] if args.key?(:title) end |