Class: Google::Apis::PlusV1::Comment::Plusoners
- Inherits:
-
Object
- Object
- Google::Apis::PlusV1::Comment::Plusoners
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/plus_v1/classes.rb,
generated/google/apis/plus_v1/representations.rb,
generated/google/apis/plus_v1/representations.rb
Overview
People who +1'd this comment.
Instance Attribute Summary collapse
-
#total_items ⇒ Fixnum
Total number of people who +1'd this comment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Plusoners
constructor
A new instance of Plusoners.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Plusoners
Returns a new instance of Plusoners
1245 1246 1247 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1245 def initialize(**args) update!(**args) end |
Instance Attribute Details
#total_items ⇒ Fixnum
Total number of people who +1'd this comment.
Corresponds to the JSON property totalItems
1243 1244 1245 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1243 def total_items @total_items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1250 1251 1252 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1250 def update!(**args) @total_items = args[:total_items] if args.key?(:total_items) end |