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



4146
4147
4148
# File 'generated/google/apis/books_v1/classes.rb', line 4146

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



4128
4129
4130
# File 'generated/google/apis/books_v1/classes.rb', line 4128

def issue
  @issue
end

#order_numberFixnum

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

Returns:

  • (Fixnum)


4133
4134
4135
# File 'generated/google/apis/books_v1/classes.rb', line 4133

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)


4139
4140
4141
# File 'generated/google/apis/books_v1/classes.rb', line 4139

def series_book_type
  @series_book_type
end

#series_idString

The series id. Corresponds to the JSON property seriesId

Returns:

  • (String)


4144
4145
4146
# File 'generated/google/apis/books_v1/classes.rb', line 4144

def series_id
  @series_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4151
4152
4153
4154
4155
4156
# File 'generated/google/apis/books_v1/classes.rb', line 4151

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