Class: Google::Apis::PlusV1::Activity::Object::Plusoners
- Inherits:
-
Object
- Object
- Google::Apis::PlusV1::Activity::Object::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 activity.
Instance Attribute Summary collapse
-
#self_link ⇒ String
The URL for the collection of people who +1'd this activity.
-
#total_items ⇒ Fixnum
Total number of people who +1'd this activity.
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.
815 816 817 |
# File 'generated/google/apis/plus_v1/classes.rb', line 815 def initialize(**args) update!(**args) end |
Instance Attribute Details
#self_link ⇒ String
The URL for the collection of people who +1'd this activity.
Corresponds to the JSON property selfLink
808 809 810 |
# File 'generated/google/apis/plus_v1/classes.rb', line 808 def self_link @self_link end |
#total_items ⇒ Fixnum
Total number of people who +1'd this activity.
Corresponds to the JSON property totalItems
813 814 815 |
# File 'generated/google/apis/plus_v1/classes.rb', line 813 def total_items @total_items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
820 821 822 823 |
# File 'generated/google/apis/plus_v1/classes.rb', line 820 def update!(**args) @self_link = args[:self_link] if args.key?(:self_link) @total_items = args[:total_items] if args.key?(:total_items) end |