CommentsResource class

Constructors

CommentsResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

approve(String blogId, String postId, String commentId, {String? $fields}) Future<Comment>
Marks a comment as not spam by blog id, post id and comment id.
delete(String blogId, String postId, String commentId, {String? $fields}) Future<void>
Deletes a comment by blog id, post id and comment id.
get(String blogId, String postId, String commentId, {String? view, String? $fields}) Future<Comment>
Gets a comment by id.
list(String blogId, String postId, {String? endDate, bool? fetchBodies, int? maxResults, String? pageToken, String? startDate, String? status, String? view, String? $fields}) Future<CommentList>
Lists comments.
listByBlog(String blogId, {String? endDate, bool? fetchBodies, int? maxResults, String? pageToken, String? startDate, List<String>? status, String? $fields}) Future<CommentList>
Lists comments by blog.
markAsSpam(String blogId, String postId, String commentId, {String? $fields}) Future<Comment>
Marks a comment as spam by blog id, post id and comment id.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeContent(String blogId, String postId, String commentId, {String? $fields}) Future<Comment>
Removes the content of a comment by blog id, post id and comment id.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited