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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VolumeSeries

Returns a new instance of VolumeSeries.



4517
4518
4519
# File 'lib/google/apis/books_v1/classes.rb', line 4517

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



4499
4500
4501
# File 'lib/google/apis/books_v1/classes.rb', line 4499

def issue
  @issue
end

#order_numberFixnum

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

Returns:

  • (Fixnum)


4504
4505
4506
# File 'lib/google/apis/books_v1/classes.rb', line 4504

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)


4510
4511
4512
# File 'lib/google/apis/books_v1/classes.rb', line 4510

def series_book_type
  @series_book_type
end

#series_idString

The series id. Corresponds to the JSON property seriesId

Returns:

  • (String)


4515
4516
4517
# File 'lib/google/apis/books_v1/classes.rb', line 4515

def series_id
  @series_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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