Class CommentsResource
The "comments" collection of methods.
Inherited Members
Namespace: Google.Apis.Blogger.v3
Assembly: Google.Apis.Blogger.v3.dll
Syntax
public class CommentsResource
Constructors
CommentsResource(IClientService)
Constructs a new resource.
Declaration
public CommentsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Approve(string, string, string)
Marks a comment as not spam by blog id, post id and comment id.
Declaration
public virtual CommentsResource.ApproveRequest Approve(string blogId, string postId, string commentId)
Parameters
Type | Name | Description |
---|---|---|
string | blogId |
|
string | postId |
|
string | commentId |
|
Returns
Type | Description |
---|---|
CommentsResource.ApproveRequest |
Delete(string, string, string)
Deletes a comment by blog id, post id and comment id.
Declaration
public virtual CommentsResource.DeleteRequest Delete(string blogId, string postId, string commentId)
Parameters
Type | Name | Description |
---|---|---|
string | blogId |
|
string | postId |
|
string | commentId |
|
Returns
Type | Description |
---|---|
CommentsResource.DeleteRequest |
Get(string, string, string)
Gets a comment by id.
Declaration
public virtual CommentsResource.GetRequest Get(string blogId, string postId, string commentId)
Parameters
Type | Name | Description |
---|---|---|
string | blogId |
|
string | postId |
|
string | commentId |
|
Returns
Type | Description |
---|---|
CommentsResource.GetRequest |
List(string, string)
Lists comments.
Declaration
public virtual CommentsResource.ListRequest List(string blogId, string postId)
Parameters
Type | Name | Description |
---|---|---|
string | blogId |
|
string | postId |
|
Returns
Type | Description |
---|---|
CommentsResource.ListRequest |
ListByBlog(string)
Lists comments by blog.
Declaration
public virtual CommentsResource.ListByBlogRequest ListByBlog(string blogId)
Parameters
Type | Name | Description |
---|---|---|
string | blogId |
|
Returns
Type | Description |
---|---|
CommentsResource.ListByBlogRequest |
MarkAsSpam(string, string, string)
Marks a comment as spam by blog id, post id and comment id.
Declaration
public virtual CommentsResource.MarkAsSpamRequest MarkAsSpam(string blogId, string postId, string commentId)
Parameters
Type | Name | Description |
---|---|---|
string | blogId |
|
string | postId |
|
string | commentId |
|
Returns
Type | Description |
---|---|
CommentsResource.MarkAsSpamRequest |
RemoveContent(string, string, string)
Removes the content of a comment by blog id, post id and comment id.
Declaration
public virtual CommentsResource.RemoveContentRequest RemoveContent(string blogId, string postId, string commentId)
Parameters
Type | Name | Description |
---|---|---|
string | blogId |
|
string | postId |
|
string | commentId |
|
Returns
Type | Description |
---|---|
CommentsResource.RemoveContentRequest |