Class CommentThreadsResource.ListRequest
Retrieves a list of resources, possibly filtered.
Inheritance
Inherited Members
Namespace: Google.Apis.YouTube.v3
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class CommentThreadsResource.ListRequest : YouTubeBaseServiceRequest<CommentThreadListResponse>, IClientServiceRequest<CommentThreadListResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, Repeatable<string>)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, Repeatable<string> part)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Repeatable<string> | part |
Properties
AllThreadsRelatedToChannelId
Returns the comment threads of all videos of the channel and the channel comments as well.
Declaration
[RequestParameter("allThreadsRelatedToChannelId", RequestParameterType.Query)]
public virtual string AllThreadsRelatedToChannelId { get; set; }
Property Value
Type | Description |
---|---|
string |
ChannelId
Returns the comment threads for all the channel comments (ie does not include comments left on videos).
Declaration
[RequestParameter("channelId", RequestParameterType.Query)]
public virtual string ChannelId { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Id
Returns the comment threads with the given IDs for Stubby or Apiary.
Declaration
[RequestParameter("id", RequestParameterType.Query)]
public virtual Repeatable<string> Id { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<string> |
MaxResults
The maxResults parameter specifies the maximum number of items that should be returned in the result set.
Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual long? MaxResults { get; set; }
Property Value
Type | Description |
---|---|
long? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ModerationStatus
Limits the returned comment threads to those with the specified moderation status. Not compatible with the 'id' filter. Valid values: published, heldForReview, likelySpam.
Declaration
[RequestParameter("moderationStatus", RequestParameterType.Query)]
public virtual CommentThreadsResource.ListRequest.ModerationStatusEnum? ModerationStatus { get; set; }
Property Value
Type | Description |
---|---|
CommentThreadsResource.ListRequest.ModerationStatusEnum? |
Order
Declaration
[RequestParameter("order", RequestParameterType.Query)]
public virtual CommentThreadsResource.ListRequest.OrderEnum? Order { get; set; }
Property Value
Type | Description |
---|---|
CommentThreadsResource.ListRequest.OrderEnum? |
PageToken
The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Part
The part parameter specifies a comma-separated list of one or more commentThread resource properties that the API response will include.
Declaration
[RequestParameter("part", RequestParameterType.Query)]
public virtual Repeatable<string> Part { get; }
Property Value
Type | Description |
---|---|
Repeatable<string> |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
SearchTerms
Limits the returned comment threads to those matching the specified key words. Not compatible with the 'id' filter.
Declaration
[RequestParameter("searchTerms", RequestParameterType.Query)]
public virtual string SearchTerms { get; set; }
Property Value
Type | Description |
---|---|
string |
TextFormat
The requested text format for the returned comments.
Declaration
[RequestParameter("textFormat", RequestParameterType.Query)]
public virtual CommentThreadsResource.ListRequest.TextFormatEnum? TextFormat { get; set; }
Property Value
Type | Description |
---|---|
CommentThreadsResource.ListRequest.TextFormatEnum? |
VideoId
Returns the comment threads of the specified video.
Declaration
[RequestParameter("videoId", RequestParameterType.Query)]
public virtual string VideoId { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()