Class: Google::Apis::BooksV1::Volumeseriesinfo::VolumeSeries

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: Issue

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) ⇒ VolumeSeries

Returns a new instance of VolumeSeries.


4518
4519
4520
# File 'generated/google/apis/books_v1/classes.rb', line 4518

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

Instance Attribute Details

#issueArray<Google::Apis::BooksV1::Volumeseriesinfo::VolumeSeries::Issue>

List of issues. Applicable only for Collection Edition and Omnibus. Corresponds to the JSON property issue


4500
4501
4502
# File 'generated/google/apis/books_v1/classes.rb', line 4500

def issue
  @issue
end

#order_numberFixnum

The book order number in the series. Corresponds to the JSON property orderNumber

Returns:

  • (Fixnum)

4505
4506
4507
# File 'generated/google/apis/books_v1/classes.rb', line 4505

def order_number
  @order_number
end

#series_book_typeString

The book type in the context of series. Examples - Single Issue, Collection Edition, etc. Corresponds to the JSON property seriesBookType

Returns:

  • (String)

4511
4512
4513
# File 'generated/google/apis/books_v1/classes.rb', line 4511

def series_book_type
  @series_book_type
end

#series_idString

The series id. Corresponds to the JSON property seriesId

Returns:

  • (String)

4516
4517
4518
# File 'generated/google/apis/books_v1/classes.rb', line 4516

def series_id
  @series_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


4523
4524
4525
4526
4527
4528
# File 'generated/google/apis/books_v1/classes.rb', line 4523

def update!(**args)
  @issue = args[:issue] if args.key?(:issue)
  @order_number = args[:order_number] if args.key?(:order_number)
  @series_book_type = args[:series_book_type] if args.key?(:series_book_type)
  @series_id = args[:series_id] if args.key?(:series_id)
end