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



4279
4280
4281
# File 'generated/google/apis/books_v1/classes.rb', line 4279

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



4261
4262
4263
# File 'generated/google/apis/books_v1/classes.rb', line 4261

def issue
  @issue
end

#order_numberFixnum

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

Returns:

  • (Fixnum)


4266
4267
4268
# File 'generated/google/apis/books_v1/classes.rb', line 4266

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)


4272
4273
4274
# File 'generated/google/apis/books_v1/classes.rb', line 4272

def series_book_type
  @series_book_type
end

#series_idString

The series id. Corresponds to the JSON property seriesId

Returns:

  • (String)


4277
4278
4279
# File 'generated/google/apis/books_v1/classes.rb', line 4277

def series_id
  @series_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4284
4285
4286
4287
4288
4289
# File 'generated/google/apis/books_v1/classes.rb', line 4284

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