Class: Google::Apis::BooksV1::Volume::UserInfo::Copy
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::Volume::UserInfo::Copy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/books_v1/classes.rb,
lib/google/apis/books_v1/representations.rb,
lib/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 ⇒ String
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.
Constructor Details
#initialize(**args) ⇒ Copy
Returns a new instance of Copy.
3752 3753 3754 |
# File 'lib/google/apis/books_v1/classes.rb', line 3752 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_character_count ⇒ Fixnum
Corresponds to the JSON property allowedCharacterCount
3735 3736 3737 |
# File 'lib/google/apis/books_v1/classes.rb', line 3735 def allowed_character_count @allowed_character_count end |
#limit_type ⇒ String
Corresponds to the JSON property limitType
3740 3741 3742 |
# File 'lib/google/apis/books_v1/classes.rb', line 3740 def limit_type @limit_type end |
#remaining_character_count ⇒ Fixnum
Corresponds to the JSON property remainingCharacterCount
3745 3746 3747 |
# File 'lib/google/apis/books_v1/classes.rb', line 3745 def remaining_character_count @remaining_character_count end |
#updated ⇒ String
Corresponds to the JSON property updated
3750 3751 3752 |
# File 'lib/google/apis/books_v1/classes.rb', line 3750 def updated @updated end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3757 3758 3759 3760 3761 3762 |
# File 'lib/google/apis/books_v1/classes.rb', line 3757 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 |