Class CommentsResource.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 CommentsResource.ListRequest : YouTubeBaseServiceRequest<CommentListResponse>, IClientServiceRequest<CommentListResponse>, IClientServiceRequestConstructors
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
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }Property Value
| Type | Description | 
|---|---|
| string | 
Overrides
Id
Returns the comments with the given IDs for One Platform.
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
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 | 
ParentId
Returns replies to the specified comment. Note, currently YouTube features only one level of replies (ie replies to top level comments). However replies to replies may be supported in the future.
Declaration
[RequestParameter("parentId", RequestParameterType.Query)]
public virtual string ParentId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
Part
The part parameter specifies a comma-separated list of one or more comment 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
TextFormat
The requested text format for the returned comments.
Declaration
[RequestParameter("textFormat", RequestParameterType.Query)]
public virtual CommentsResource.ListRequest.TextFormatEnum? TextFormat { get; set; }Property Value
| Type | Description | 
|---|---|
| CommentsResource.ListRequest.TextFormatEnum? | 
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()