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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Layer

Returns a new instance of Layer.



353
354
355
# File 'generated/google/apis/books_v1/classes.rb', line 353

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

Instance Attribute Details

#allowed_character_countFixnum

Corresponds to the JSON property allowedCharacterCount

Returns:

  • (Fixnum)


331
332
333
# File 'generated/google/apis/books_v1/classes.rb', line 331

def allowed_character_count
  @allowed_character_count
end

#layer_idString

Corresponds to the JSON property layerId

Returns:

  • (String)


336
337
338
# File 'generated/google/apis/books_v1/classes.rb', line 336

def layer_id
  @layer_id
end

#limit_typeString

Corresponds to the JSON property limitType

Returns:

  • (String)


341
342
343
# File 'generated/google/apis/books_v1/classes.rb', line 341

def limit_type
  @limit_type
end

#remaining_character_countFixnum

Corresponds to the JSON property remainingCharacterCount

Returns:

  • (Fixnum)


346
347
348
# File 'generated/google/apis/books_v1/classes.rb', line 346

def remaining_character_count
  @remaining_character_count
end

#updatedString

Corresponds to the JSON property updated

Returns:

  • (String)


351
352
353
# File 'generated/google/apis/books_v1/classes.rb', line 351

def updated
  @updated
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



358
359
360
361
362
363
364
# File 'generated/google/apis/books_v1/classes.rb', line 358

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