Class: Google::Apis::BooksV1::Series

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/books_v1/classes.rb,
lib/google/apis/books_v1/representations.rb,
lib/google/apis/books_v1/representations.rb

Defined Under Namespace

Classes: Series

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Series

Returns a new instance of Series.



2572
2573
2574
# File 'lib/google/apis/books_v1/classes.rb', line 2572

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

Instance Attribute Details

#kindString

Resource type. Corresponds to the JSON property kind

Returns:

  • (String)


2565
2566
2567
# File 'lib/google/apis/books_v1/classes.rb', line 2565

def kind
  @kind
end

#seriesArray<Google::Apis::BooksV1::Series::Series>

Corresponds to the JSON property series



2570
2571
2572
# File 'lib/google/apis/books_v1/classes.rb', line 2570

def series
  @series
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2577
2578
2579
2580
# File 'lib/google/apis/books_v1/classes.rb', line 2577

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