Class: Google::Apis::BooksV1::Volume::UserInfo::Copy

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

Overview

Copy/Paste accounting information.

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

Returns a new instance of Copy.



3653
3654
3655
# File 'generated/google/apis/books_v1/classes.rb', line 3653

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

Instance Attribute Details

#allowed_character_countFixnum

Corresponds to the JSON property allowedCharacterCount

Returns:

  • (Fixnum)


3636
3637
3638
# File 'generated/google/apis/books_v1/classes.rb', line 3636

def allowed_character_count
  @allowed_character_count
end

#limit_typeString

Corresponds to the JSON property limitType

Returns:

  • (String)


3641
3642
3643
# File 'generated/google/apis/books_v1/classes.rb', line 3641

def limit_type
  @limit_type
end

#remaining_character_countFixnum

Corresponds to the JSON property remainingCharacterCount

Returns:

  • (Fixnum)


3646
3647
3648
# File 'generated/google/apis/books_v1/classes.rb', line 3646

def remaining_character_count
  @remaining_character_count
end

#updatedDateTime

Corresponds to the JSON property updated

Returns:

  • (DateTime)


3651
3652
3653
# File 'generated/google/apis/books_v1/classes.rb', line 3651

def updated
  @updated
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3658
3659
3660
3661
3662
3663
# File 'generated/google/apis/books_v1/classes.rb', line 3658

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