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

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

Overview

The container of comments on this Post.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Replies

Returns a new instance of Replies.



1036
1037
1038
# File 'lib/google/apis/blogger_v2/classes.rb', line 1036

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

Instance Attribute Details

#itemsArray<Google::Apis::BloggerV2::Comment>

The List of Comments for this Post. Corresponds to the JSON property items



1024
1025
1026
# File 'lib/google/apis/blogger_v2/classes.rb', line 1024

def items
  @items
end

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

Returns:

  • (String)


1029
1030
1031
# File 'lib/google/apis/blogger_v2/classes.rb', line 1029

def self_link
  @self_link
end

#total_itemsFixnum

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

Returns:

  • (Fixnum)


1034
1035
1036
# File 'lib/google/apis/blogger_v2/classes.rb', line 1034

def total_items
  @total_items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1041
1042
1043
1044
1045
# File 'lib/google/apis/blogger_v2/classes.rb', line 1041

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