Class: Google::Apis::BooksV1::AnnotationsSummary
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::AnnotationsSummary
- 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: Layer
Instance Attribute Summary collapse
-
#kind ⇒ String
Corresponds to the JSON property
kind
. -
#layers ⇒ Array<Google::Apis::BooksV1::AnnotationsSummary::Layer>
Corresponds to the JSON property
layers
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AnnotationsSummary
constructor
A new instance of AnnotationsSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AnnotationsSummary
Returns a new instance of AnnotationsSummary.
382 383 384 |
# File 'generated/google/apis/books_v1/classes.rb', line 382 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Corresponds to the JSON property kind
375 376 377 |
# File 'generated/google/apis/books_v1/classes.rb', line 375 def kind @kind end |
#layers ⇒ Array<Google::Apis::BooksV1::AnnotationsSummary::Layer>
Corresponds to the JSON property layers
380 381 382 |
# File 'generated/google/apis/books_v1/classes.rb', line 380 def layers @layers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
387 388 389 390 |
# File 'generated/google/apis/books_v1/classes.rb', line 387 def update!(**args) @kind = args[:kind] if args.key?(:kind) @layers = args[:layers] if args.key?(:layers) end |