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



4242
4243
4244
# File 'generated/google/apis/books_v1/classes.rb', line 4242

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)


4225
4226
4227
# File 'generated/google/apis/books_v1/classes.rb', line 4225

def book_display_number
  @book_display_number
end

#kindString

Resource type. Corresponds to the JSON property kind

Returns:

  • (String)


4230
4231
4232
# File 'generated/google/apis/books_v1/classes.rb', line 4230

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)


4235
4236
4237
# File 'generated/google/apis/books_v1/classes.rb', line 4235

def short_series_book_title
  @short_series_book_title
end

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

Corresponds to the JSON property volumeSeries



4240
4241
4242
# File 'generated/google/apis/books_v1/classes.rb', line 4240

def volume_series
  @volume_series
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4247
4248
4249
4250
4251
4252
# File 'generated/google/apis/books_v1/classes.rb', line 4247

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