Class: Google::Apis::PlusV1::Activity::Object::Replies

Inherits:
Object
  • Object
show all
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

Comments in reply to this activity.

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

Returns a new instance of Replies.



840
841
842
# File 'generated/google/apis/plus_v1/classes.rb', line 840

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

Instance Attribute Details

The URL for the collection of comments in reply to this activity. Corresponds to the JSON property selfLink

Returns:

  • (String)


833
834
835
# File 'generated/google/apis/plus_v1/classes.rb', line 833

def self_link
  @self_link
end

#total_itemsFixnum

Total number of comments on this activity. Corresponds to the JSON property totalItems

Returns:

  • (Fixnum)


838
839
840
# File 'generated/google/apis/plus_v1/classes.rb', line 838

def total_items
  @total_items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



845
846
847
848
# File 'generated/google/apis/plus_v1/classes.rb', line 845

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