Class CommentsResource
The "comments" collection of methods.
Inheritance
System.Object
CommentsResource
Inherited Members
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.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 |
|---|---|---|
| System.String | blogId | |
| System.String | postId | |
| System.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 |
|---|---|---|
| System.String | blogId | |
| System.String | postId | |
| System.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 |
|---|---|---|
| System.String | blogId | |
| System.String | postId | |
| System.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 |
|---|---|---|
| System.String | blogId | |
| System.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 |
|---|---|---|
| System.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 |
|---|---|---|
| System.String | blogId | |
| System.String | postId | |
| System.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 |
|---|---|---|
| System.String | blogId | |
| System.String | postId | |
| System.String | commentId |
Returns
| Type | Description |
|---|---|
| CommentsResource.RemoveContentRequest |