Class: Google::Apis::BooksV1::Series
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::Series
- 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: Series
Instance Attribute Summary collapse
-
#kind ⇒ String
Resource type.
-
#series ⇒ Array<Google::Apis::BooksV1::Series::Series>
Corresponds to the JSON property
series
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Series
constructor
A new instance of Series.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Series
Returns a new instance of Series
2510 2511 2512 |
# File 'generated/google/apis/books_v1/classes.rb', line 2510 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Resource type.
Corresponds to the JSON property kind
2503 2504 2505 |
# File 'generated/google/apis/books_v1/classes.rb', line 2503 def kind @kind end |
#series ⇒ Array<Google::Apis::BooksV1::Series::Series>
Corresponds to the JSON property series
2508 2509 2510 |
# File 'generated/google/apis/books_v1/classes.rb', line 2508 def series @series end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2515 2516 2517 2518 |
# File 'generated/google/apis/books_v1/classes.rb', line 2515 def update!(**args) @kind = args[:kind] if args.key?(:kind) @series = args[:series] if args.key?(:series) end |