Class: Google::Apis::YoutubeV3::CommentThreadReplies

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

Overview

Comments written in (direct or indirect) reply to the top level comment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CommentThreadReplies

Returns a new instance of CommentThreadReplies.



2348
2349
2350
# File 'lib/google/apis/youtube_v3/classes.rb', line 2348

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

Instance Attribute Details

#commentsArray<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



2346
2347
2348
# File 'lib/google/apis/youtube_v3/classes.rb', line 2346

def comments
  @comments
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2353
2354
2355
# File 'lib/google/apis/youtube_v3/classes.rb', line 2353

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