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.



4115
4116
4117
# File 'generated/google/apis/books_v1/classes.rb', line 4115

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



4097
4098
4099
# File 'generated/google/apis/books_v1/classes.rb', line 4097

def issue
  @issue
end

#order_numberFixnum

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

Returns:

  • (Fixnum)


4102
4103
4104
# File 'generated/google/apis/books_v1/classes.rb', line 4102

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)


4108
4109
4110
# File 'generated/google/apis/books_v1/classes.rb', line 4108

def series_book_type
  @series_book_type
end

#series_idString

The series id. Corresponds to the JSON property seriesId

Returns:

  • (String)


4113
4114
4115
# File 'generated/google/apis/books_v1/classes.rb', line 4113

def series_id
  @series_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4120
4121
4122
4123
4124
4125
# File 'generated/google/apis/books_v1/classes.rb', line 4120

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