Show / Hide Table of Contents

Class CommentThreadsResource.ListRequest

Retrieves a list of resources, possibly filtered.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<CommentThreadListResponse>
YouTubeBaseServiceRequest<CommentThreadListResponse>
CommentThreadsResource.ListRequest
Implements
IClientServiceRequest<CommentThreadListResponse>
IClientServiceRequest
Inherited Members
YouTubeBaseServiceRequest<CommentThreadListResponse>.Xgafv
YouTubeBaseServiceRequest<CommentThreadListResponse>.AccessToken
YouTubeBaseServiceRequest<CommentThreadListResponse>.Alt
YouTubeBaseServiceRequest<CommentThreadListResponse>.Callback
YouTubeBaseServiceRequest<CommentThreadListResponse>.Fields
YouTubeBaseServiceRequest<CommentThreadListResponse>.Key
YouTubeBaseServiceRequest<CommentThreadListResponse>.OauthToken
YouTubeBaseServiceRequest<CommentThreadListResponse>.PrettyPrint
YouTubeBaseServiceRequest<CommentThreadListResponse>.QuotaUser
YouTubeBaseServiceRequest<CommentThreadListResponse>.UploadType
YouTubeBaseServiceRequest<CommentThreadListResponse>.UploadProtocol
ClientServiceRequest<CommentThreadListResponse>.Execute()
ClientServiceRequest<CommentThreadListResponse>.ExecuteAsStream()
ClientServiceRequest<CommentThreadListResponse>.ExecuteAsync()
ClientServiceRequest<CommentThreadListResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<CommentThreadListResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<CommentThreadListResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<CommentThreadListResponse>.CreateRequest(bool?)
ClientServiceRequest<CommentThreadListResponse>.GenerateRequestUri()
ClientServiceRequest<CommentThreadListResponse>.GetBody()
ClientServiceRequest<CommentThreadListResponse>.GetDefaultETagAction(string)
ClientServiceRequest<CommentThreadListResponse>.ETagAction
ClientServiceRequest<CommentThreadListResponse>.ModifyRequest
ClientServiceRequest<CommentThreadListResponse>.ValidateParameters
ClientServiceRequest<CommentThreadListResponse>.ApiVersion
ClientServiceRequest<CommentThreadListResponse>.RequestParameters
ClientServiceRequest<CommentThreadListResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
ClientServiceRequest<CommentThreadListResponse>.HttpMethod

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
ClientServiceRequest<CommentThreadListResponse>.MethodName

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>

PostId

Returns the comment threads of the specified post.

Declaration
[RequestParameter("postId", RequestParameterType.Query)]
public virtual string PostId { get; set; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<CommentThreadListResponse>.RestPath

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()
Overrides
YouTubeBaseServiceRequest<CommentThreadListResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX