Show / Hide Table of Contents

Class CommentThreadsResource.ListRequest

Retrieves a list of resources, possibly filtered.

Inheritance
System.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(Nullable<Boolean>)
ClientServiceRequest<CommentThreadListResponse>.GenerateRequestUri()
ClientServiceRequest<CommentThreadListResponse>.GetBody()
ClientServiceRequest<CommentThreadListResponse>.GetDefaultETagAction(String)
ClientServiceRequest<CommentThreadListResponse>.ETagAction
ClientServiceRequest<CommentThreadListResponse>.ModifyRequest
ClientServiceRequest<CommentThreadListResponse>.RequestParameters
ClientServiceRequest<CommentThreadListResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.YouTube.v3
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class 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<System.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
System.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
System.String

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.YouTube.v3.Data.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<System.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
System.Nullable<System.Int64>

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.YouTube.v3.Data.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
System.Nullable<CommentThreadsResource.ListRequest.ModerationStatusEnum>

Order

Declaration
[RequestParameter("order", RequestParameterType.Query)]
public virtual CommentThreadsResource.ListRequest.OrderEnum? Order { get; set; }
Property Value
Type Description
System.Nullable<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
System.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<System.String>

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.YouTube.v3.Data.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
System.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
System.Nullable<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
System.String

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.YouTube.v3.YouTubeBaseServiceRequest<Google.Apis.YouTube.v3.Data.CommentThreadListResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top