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

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

Instance Method Summary collapse

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_timeString

Corresponds to the JSON property cancelTime

Returns:

  • (String)


2663
2664
2665
# File 'lib/google/apis/books_v1/classes.rb', line 2663

def cancel_time
  @cancel_time
end

#current_release_infoGoogle::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_infoGoogle::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_typeString

Corresponds to the JSON property seriesSubscriptionType

Returns:

  • (String)


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