Class CommentsResource.MarkAsSpamRequest
Marks a comment as spam by blog id, post id and comment id.
Inheritance
CommentsResource.MarkAsSpamRequest
Inherited Members
Namespace: Google.Apis.Blogger.v3
Assembly: Google.Apis.Blogger.v3.dll
Syntax
public class CommentsResource.MarkAsSpamRequest : BloggerBaseServiceRequest<Comment>, IClientServiceRequest<Comment>, IClientServiceRequest
Constructors
MarkAsSpamRequest(IClientService, string, string, string)
Constructs a new MarkAsSpam request.
Declaration
public MarkAsSpamRequest(IClientService service, string blogId, string postId, string commentId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | blogId | |
string | postId | |
string | commentId |
Properties
BlogId
Declaration
[RequestParameter("blogId", RequestParameterType.Path)]
public virtual string BlogId { get; }
Property Value
Type | Description |
---|---|
string |
CommentId
Declaration
[RequestParameter("commentId", RequestParameterType.Path)]
public virtual string CommentId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Blogger.v3.Data.Comment>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Blogger.v3.Data.Comment>.MethodName
PostId
Declaration
[RequestParameter("postId", RequestParameterType.Path)]
public virtual string PostId { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Blogger.v3.Data.Comment>.RestPath
Methods
InitParameters()
Initializes MarkAsSpam parameter list.
Declaration
protected override void InitParameters()