Class: Google::Apis::BloggerV3::Post::Replies
- Inherits:
-
Object
- Object
- Google::Apis::BloggerV3::Post::Replies
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/blogger_v3/classes.rb,
lib/google/apis/blogger_v3/representations.rb,
lib/google/apis/blogger_v3/representations.rb
Overview
The container of comments on this Post.
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::BloggerV3::Comment>
The List of Comments for this Post.
-
#self_link ⇒ String
The URL of the comments on this post.
-
#total_items ⇒ Fixnum
The count of comments on this post.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Replies
constructor
A new instance of Replies.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Replies
Returns a new instance of Replies.
1092 1093 1094 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 1092 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::BloggerV3::Comment>
The List of Comments for this Post.
Corresponds to the JSON property items
1080 1081 1082 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 1080 def items @items end |
#self_link ⇒ String
The URL of the comments on this post.
Corresponds to the JSON property selfLink
1085 1086 1087 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 1085 def self_link @self_link end |
#total_items ⇒ Fixnum
The count of comments on this post.
Corresponds to the JSON property totalItems
1090 1091 1092 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 1090 def total_items @total_items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1097 1098 1099 1100 1101 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 1097 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 |