Class: Google::Apis::YoutubeV3::CommentThreadReplies
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::CommentThreadReplies
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_v3/classes.rb,
generated/google/apis/youtube_v3/representations.rb,
generated/google/apis/youtube_v3/representations.rb
Overview
Comments written in (direct or indirect) reply to the top level comment.
Instance Attribute Summary collapse
-
#comments ⇒ Array<Google::Apis::YoutubeV3::Comment>
A limited number of replies.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CommentThreadReplies
constructor
A new instance of CommentThreadReplies.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CommentThreadReplies
Returns a new instance of CommentThreadReplies
2223 2224 2225 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 2223 def initialize(**args) update!(**args) end |
Instance Attribute Details
#comments ⇒ Array<Google::Apis::YoutubeV3::Comment>
A limited number of replies. Unless the number of replies returned equals
total_reply_count in the snippet the returned replies are only a subset of the
total number of replies.
Corresponds to the JSON property comments
2221 2222 2223 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 2221 def comments @comments end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2228 2229 2230 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 2228 def update!(**args) @comments = args[:comments] if args.key?(:comments) end |