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


4078
4079
4080
# File 'generated/google/apis/books_v1/classes.rb', line 4078

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


4061
4062
4063
# File 'generated/google/apis/books_v1/classes.rb', line 4061

def book_display_number
  @book_display_number
end

#kindString

Resource type. Corresponds to the JSON property kind


4066
4067
4068
# File 'generated/google/apis/books_v1/classes.rb', line 4066

def kind
  @kind
end

#short_series_book_titleString

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


4071
4072
4073
# File 'generated/google/apis/books_v1/classes.rb', line 4071

def short_series_book_title
  @short_series_book_title
end

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

Corresponds to the JSON property volumeSeries


4076
4077
4078
# File 'generated/google/apis/books_v1/classes.rb', line 4076

def volume_series
  @volume_series
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


4083
4084
4085
4086
4087
4088
# File 'generated/google/apis/books_v1/classes.rb', line 4083

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