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

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

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

Returns a new instance of Volumeseriesinfo.


4481
4482
4483
# File 'generated/google/apis/books_v1/classes.rb', line 4481

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

Instance Attribute Details

#book_display_numberString

The display number string. This should be used only for display purposes and the actual sequence should be inferred from the below orderNumber. Corresponds to the JSON property bookDisplayNumber

Returns:

  • (String)

4464
4465
4466
# File 'generated/google/apis/books_v1/classes.rb', line 4464

def book_display_number
  @book_display_number
end

#kindString

Resource type. Corresponds to the JSON property kind

Returns:

  • (String)

4469
4470
4471
# File 'generated/google/apis/books_v1/classes.rb', line 4469

def kind
  @kind
end

#short_series_book_titleString

Short book title in the context of the series. Corresponds to the JSON property shortSeriesBookTitle

Returns:

  • (String)

4474
4475
4476
# File 'generated/google/apis/books_v1/classes.rb', line 4474

def short_series_book_title
  @short_series_book_title
end

#volume_seriesArray<Google::Apis::BooksV1::Volumeseriesinfo::VolumeSeries>

Corresponds to the JSON property volumeSeries


4479
4480
4481
# File 'generated/google/apis/books_v1/classes.rb', line 4479

def volume_series
  @volume_series
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


4486
4487
4488
4489
4490
4491
# File 'generated/google/apis/books_v1/classes.rb', line 4486

def update!(**args)
  @book_display_number = args[:book_display_number] if args.key?(:book_display_number)
  @kind = args[:kind] if args.key?(:kind)
  @short_series_book_title = args[:short_series_book_title] if args.key?(:short_series_book_title)
  @volume_series = args[:volume_series] if args.key?(:volume_series)
end