Class: Google::Apis::BloggerV2::Post::Replies

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

Overview

The container of comments on this Post.

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



780
781
782
# File 'generated/google/apis/blogger_v2/classes.rb', line 780

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

Instance Attribute Details

The URL of the comments on this post. Corresponds to the JSON property selfLink

Returns:

  • (String)


773
774
775
# File 'generated/google/apis/blogger_v2/classes.rb', line 773

def self_link
  @self_link
end

#total_itemsFixnum

The count of comments on this post. Corresponds to the JSON property totalItems

Returns:

  • (Fixnum)


778
779
780
# File 'generated/google/apis/blogger_v2/classes.rb', line 778

def total_items
  @total_items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



785
786
787
788
# File 'generated/google/apis/blogger_v2/classes.rb', line 785

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