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



4228
4229
4230
# File 'generated/google/apis/books_v1/classes.rb', line 4228

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)


4211
4212
4213
# File 'generated/google/apis/books_v1/classes.rb', line 4211

def book_display_number
  @book_display_number
end

#kindString

Resource type. Corresponds to the JSON property kind

Returns:

  • (String)


4216
4217
4218
# File 'generated/google/apis/books_v1/classes.rb', line 4216

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)


4221
4222
4223
# File 'generated/google/apis/books_v1/classes.rb', line 4221

def short_series_book_title
  @short_series_book_title
end

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

Corresponds to the JSON property volumeSeries



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

def volume_series
  @volume_series
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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