Class: Google::Apis::BooksV1::Series::Series::SeriesSubscriptionReleaseInfo

Inherits:
Object
  • Object
show all
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

Defined Under Namespace

Classes: CurrentReleaseInfo, NextReleaseInfo

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SeriesSubscriptionReleaseInfo

Returns a new instance of SeriesSubscriptionReleaseInfo.



2689
2690
2691
# File 'generated/google/apis/books_v1/classes.rb', line 2689

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cancel_timeString

Corresponds to the JSON property cancelTime

Returns:

  • (String)


2672
2673
2674
# File 'generated/google/apis/books_v1/classes.rb', line 2672

def cancel_time
  @cancel_time
end

#current_release_infoGoogle::Apis::BooksV1::Series::Series::SeriesSubscriptionReleaseInfo::CurrentReleaseInfo

Corresponds to the JSON property currentReleaseInfo



2677
2678
2679
# File 'generated/google/apis/books_v1/classes.rb', line 2677

def current_release_info
  @current_release_info
end

#next_release_infoGoogle::Apis::BooksV1::Series::Series::SeriesSubscriptionReleaseInfo::NextReleaseInfo

Corresponds to the JSON property nextReleaseInfo



2682
2683
2684
# File 'generated/google/apis/books_v1/classes.rb', line 2682

def next_release_info
  @next_release_info
end

#series_subscription_typeString

Corresponds to the JSON property seriesSubscriptionType

Returns:

  • (String)


2687
2688
2689
# File 'generated/google/apis/books_v1/classes.rb', line 2687

def series_subscription_type
  @series_subscription_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2694
2695
2696
2697
2698
2699
# File 'generated/google/apis/books_v1/classes.rb', line 2694

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