Class: Google::Apis::BooksV1::Series::Series
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::Series::Series
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/books_v1/classes.rb,
lib/google/apis/books_v1/representations.rb,
lib/google/apis/books_v1/representations.rb
Defined Under Namespace
Classes: SeriesSubscriptionReleaseInfo
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_format_type ⇒ String
Corresponds to the JSON property
seriesFormatType
. -
#series_id ⇒ String
Corresponds to the JSON property
seriesId
. -
#series_subscription_release_info ⇒ Google::Apis::BooksV1::Series::Series::SeriesSubscriptionReleaseInfo
Corresponds to the JSON property
seriesSubscriptionReleaseInfo
. -
#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.
Constructor Details
#initialize(**args) ⇒ Series
Returns a new instance of Series.
2638 2639 2640 |
# File 'lib/google/apis/books_v1/classes.rb', line 2638 def initialize(**args) update!(**args) end |
Instance Attribute Details
#banner_image_url ⇒ String
Corresponds to the JSON property bannerImageUrl
2589 2590 2591 |
# File 'lib/google/apis/books_v1/classes.rb', line 2589 def @banner_image_url end |
#eligible_for_subscription ⇒ Boolean Also known as: eligible_for_subscription?
Corresponds to the JSON property eligibleForSubscription
2594 2595 2596 |
# File 'lib/google/apis/books_v1/classes.rb', line 2594 def eligible_for_subscription @eligible_for_subscription end |
#image_url ⇒ String
Corresponds to the JSON property imageUrl
2600 2601 2602 |
# File 'lib/google/apis/books_v1/classes.rb', line 2600 def image_url @image_url end |
#is_complete ⇒ Boolean Also known as: is_complete?
Corresponds to the JSON property isComplete
2605 2606 2607 |
# File 'lib/google/apis/books_v1/classes.rb', line 2605 def is_complete @is_complete end |
#series_format_type ⇒ String
Corresponds to the JSON property seriesFormatType
2611 2612 2613 |
# File 'lib/google/apis/books_v1/classes.rb', line 2611 def series_format_type @series_format_type end |
#series_id ⇒ String
Corresponds to the JSON property seriesId
2616 2617 2618 |
# File 'lib/google/apis/books_v1/classes.rb', line 2616 def series_id @series_id end |
#series_subscription_release_info ⇒ Google::Apis::BooksV1::Series::Series::SeriesSubscriptionReleaseInfo
Corresponds to the JSON property seriesSubscriptionReleaseInfo
2621 2622 2623 |
# File 'lib/google/apis/books_v1/classes.rb', line 2621 def series_subscription_release_info @series_subscription_release_info end |
#series_type ⇒ String
Corresponds to the JSON property seriesType
2626 2627 2628 |
# File 'lib/google/apis/books_v1/classes.rb', line 2626 def series_type @series_type end |
#subscription_id ⇒ String
Corresponds to the JSON property subscriptionId
2631 2632 2633 |
# File 'lib/google/apis/books_v1/classes.rb', line 2631 def subscription_id @subscription_id end |
#title ⇒ String
Corresponds to the JSON property title
2636 2637 2638 |
# File 'lib/google/apis/books_v1/classes.rb', line 2636 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 |
# File 'lib/google/apis/books_v1/classes.rb', line 2643 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_format_type = args[:series_format_type] if args.key?(:series_format_type) @series_id = args[:series_id] if args.key?(:series_id) @series_subscription_release_info = args[:series_subscription_release_info] if args.key?(:series_subscription_release_info) @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 |