Class: Google::Apis::BooksV1::Series::Series::SeriesSubscriptionReleaseInfo
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::Series::Series::SeriesSubscriptionReleaseInfo
- 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: CurrentReleaseInfo, NextReleaseInfo
Instance Attribute Summary collapse
-
#cancel_time ⇒ String
Corresponds to the JSON property
cancelTime
. -
#current_release_info ⇒ Google::Apis::BooksV1::Series::Series::SeriesSubscriptionReleaseInfo::CurrentReleaseInfo
Corresponds to the JSON property
currentReleaseInfo
. -
#next_release_info ⇒ Google::Apis::BooksV1::Series::Series::SeriesSubscriptionReleaseInfo::NextReleaseInfo
Corresponds to the JSON property
nextReleaseInfo
. -
#series_subscription_type ⇒ String
Corresponds to the JSON property
seriesSubscriptionType
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SeriesSubscriptionReleaseInfo
constructor
A new instance of SeriesSubscriptionReleaseInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SeriesSubscriptionReleaseInfo
Returns a new instance of SeriesSubscriptionReleaseInfo.
2680 2681 2682 |
# File 'lib/google/apis/books_v1/classes.rb', line 2680 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cancel_time ⇒ String
Corresponds to the JSON property cancelTime
2663 2664 2665 |
# File 'lib/google/apis/books_v1/classes.rb', line 2663 def cancel_time @cancel_time end |
#current_release_info ⇒ Google::Apis::BooksV1::Series::Series::SeriesSubscriptionReleaseInfo::CurrentReleaseInfo
Corresponds to the JSON property currentReleaseInfo
2668 2669 2670 |
# File 'lib/google/apis/books_v1/classes.rb', line 2668 def current_release_info @current_release_info end |
#next_release_info ⇒ Google::Apis::BooksV1::Series::Series::SeriesSubscriptionReleaseInfo::NextReleaseInfo
Corresponds to the JSON property nextReleaseInfo
2673 2674 2675 |
# File 'lib/google/apis/books_v1/classes.rb', line 2673 def next_release_info @next_release_info end |
#series_subscription_type ⇒ String
Corresponds to the JSON property seriesSubscriptionType
2678 2679 2680 |
# File 'lib/google/apis/books_v1/classes.rb', line 2678 def series_subscription_type @series_subscription_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2685 2686 2687 2688 2689 2690 |
# File 'lib/google/apis/books_v1/classes.rb', line 2685 def update!(**args) @cancel_time = args[:cancel_time] if args.key?(:cancel_time) @current_release_info = args[:current_release_info] if args.key?(:current_release_info) @next_release_info = args[:next_release_info] if args.key?(:next_release_info) @series_subscription_type = args[:series_subscription_type] if args.key?(:series_subscription_type) end |