Class: Google::Apis::BooksV1::AnnotationsSummary

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: Layer

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) ⇒ AnnotationsSummary

Returns a new instance of AnnotationsSummary.



316
317
318
# File 'generated/google/apis/books_v1/classes.rb', line 316

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

Instance Attribute Details

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


309
310
311
# File 'generated/google/apis/books_v1/classes.rb', line 309

def kind
  @kind
end

#layersArray<Google::Apis::BooksV1::AnnotationsSummary::Layer>

Corresponds to the JSON property layers



314
315
316
# File 'generated/google/apis/books_v1/classes.rb', line 314

def layers
  @layers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



321
322
323
324
# File 'generated/google/apis/books_v1/classes.rb', line 321

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