Class: Google::Apis::PlusDomainsV1::Comment::Plusoners

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/plus_domains_v1/classes.rb,
generated/google/apis/plus_domains_v1/representations.rb,
generated/google/apis/plus_domains_v1/representations.rb

Overview

People who +1'd this comment.

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

Returns a new instance of Plusoners.


1564
1565
1566
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1564

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

Instance Attribute Details

#total_itemsFixnum

Total number of people who +1'd this comment. Corresponds to the JSON property totalItems

Returns:

  • (Fixnum)

1562
1563
1564
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1562

def total_items
  @total_items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1569
1570
1571
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1569

def update!(**args)
  @total_items = args[:total_items] if args.key?(:total_items)
end