Class: Google::Apis::BooksV1::AnnotationsSummary::Layer
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::AnnotationsSummary::Layer
- 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
Instance Attribute Summary collapse
-
#allowed_character_count ⇒ Fixnum
Corresponds to the JSON property
allowedCharacterCount
. -
#layer_id ⇒ String
Corresponds to the JSON property
layerId
. -
#limit_type ⇒ String
Corresponds to the JSON property
limitType
. -
#remaining_character_count ⇒ Fixnum
Corresponds to the JSON property
remainingCharacterCount
. -
#updated ⇒ DateTime
Corresponds to the JSON property
updated
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Layer
constructor
A new instance of Layer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Layer
Returns a new instance of Layer.
421 422 423 |
# File 'generated/google/apis/books_v1/classes.rb', line 421 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_character_count ⇒ Fixnum
Corresponds to the JSON property allowedCharacterCount
399 400 401 |
# File 'generated/google/apis/books_v1/classes.rb', line 399 def allowed_character_count @allowed_character_count end |
#layer_id ⇒ String
Corresponds to the JSON property layerId
404 405 406 |
# File 'generated/google/apis/books_v1/classes.rb', line 404 def layer_id @layer_id end |
#limit_type ⇒ String
Corresponds to the JSON property limitType
409 410 411 |
# File 'generated/google/apis/books_v1/classes.rb', line 409 def limit_type @limit_type end |
#remaining_character_count ⇒ Fixnum
Corresponds to the JSON property remainingCharacterCount
414 415 416 |
# File 'generated/google/apis/books_v1/classes.rb', line 414 def remaining_character_count @remaining_character_count end |
#updated ⇒ DateTime
Corresponds to the JSON property updated
419 420 421 |
# File 'generated/google/apis/books_v1/classes.rb', line 419 def updated @updated end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
426 427 428 429 430 431 432 |
# File 'generated/google/apis/books_v1/classes.rb', line 426 def update!(**args) @allowed_character_count = args[:allowed_character_count] if args.key?(:allowed_character_count) @layer_id = args[:layer_id] if args.key?(:layer_id) @limit_type = args[:limit_type] if args.key?(:limit_type) @remaining_character_count = args[:remaining_character_count] if args.key?(:remaining_character_count) @updated = args[:updated] if args.key?(:updated) end |