Class: Google::Apis::BooksV1::Volume::UserInfo::Copy
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::Volume::UserInfo::Copy
- 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
Overview
Copy/Paste accounting information.
Instance Attribute Summary collapse
-
#allowed_character_count ⇒ Fixnum
Corresponds to the JSON property
allowedCharacterCount
. -
#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) ⇒ Copy
constructor
A new instance of Copy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Copy
Returns a new instance of Copy
3415 3416 3417 |
# File 'generated/google/apis/books_v1/classes.rb', line 3415 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_character_count ⇒ Fixnum
Corresponds to the JSON property allowedCharacterCount
3398 3399 3400 |
# File 'generated/google/apis/books_v1/classes.rb', line 3398 def allowed_character_count @allowed_character_count end |
#limit_type ⇒ String
Corresponds to the JSON property limitType
3403 3404 3405 |
# File 'generated/google/apis/books_v1/classes.rb', line 3403 def limit_type @limit_type end |
#remaining_character_count ⇒ Fixnum
Corresponds to the JSON property remainingCharacterCount
3408 3409 3410 |
# File 'generated/google/apis/books_v1/classes.rb', line 3408 def remaining_character_count @remaining_character_count end |
#updated ⇒ DateTime
Corresponds to the JSON property updated
3413 3414 3415 |
# File 'generated/google/apis/books_v1/classes.rb', line 3413 def updated @updated end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3420 3421 3422 3423 3424 3425 |
# File 'generated/google/apis/books_v1/classes.rb', line 3420 def update!(**args) @allowed_character_count = args[:allowed_character_count] if args.key?(:allowed_character_count) @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 |