Class: Google::Apis::BooksV1::Series::Series::SeriesSubscriptionReleaseInfo::CurrentReleaseInfo
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::Series::Series::SeriesSubscriptionReleaseInfo::CurrentReleaseInfo
- 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
Instance Attribute Summary collapse
-
#amount_in_micros ⇒ Float
Corresponds to the JSON property
amountInMicros
. -
#currency_code ⇒ String
Corresponds to the JSON property
currencyCode
. -
#release_number ⇒ String
Corresponds to the JSON property
releaseNumber
. -
#release_time ⇒ String
Corresponds to the JSON property
releaseTime
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CurrentReleaseInfo
constructor
A new instance of CurrentReleaseInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CurrentReleaseInfo
Returns a new instance of CurrentReleaseInfo.
2716 2717 2718 |
# File 'lib/google/apis/books_v1/classes.rb', line 2716 def initialize(**args) update!(**args) end |
Instance Attribute Details
#amount_in_micros ⇒ Float
Corresponds to the JSON property amountInMicros
2699 2700 2701 |
# File 'lib/google/apis/books_v1/classes.rb', line 2699 def amount_in_micros @amount_in_micros end |
#currency_code ⇒ String
Corresponds to the JSON property currencyCode
2704 2705 2706 |
# File 'lib/google/apis/books_v1/classes.rb', line 2704 def currency_code @currency_code end |
#release_number ⇒ String
Corresponds to the JSON property releaseNumber
2709 2710 2711 |
# File 'lib/google/apis/books_v1/classes.rb', line 2709 def release_number @release_number end |
#release_time ⇒ String
Corresponds to the JSON property releaseTime
2714 2715 2716 |
# File 'lib/google/apis/books_v1/classes.rb', line 2714 def release_time @release_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2721 2722 2723 2724 2725 2726 |
# File 'lib/google/apis/books_v1/classes.rb', line 2721 def update!(**args) @amount_in_micros = args[:amount_in_micros] if args.key?(:amount_in_micros) @currency_code = args[:currency_code] if args.key?(:currency_code) @release_number = args[:release_number] if args.key?(:release_number) @release_time = args[:release_time] if args.key?(:release_time) end |