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

delete(String id, {String? $fields}) Future<void>
Deletes a resource.
insert(Comment request, List<String> part, {String? $fields}) Future<Comment>
Inserts a new resource into this collection.
list(List<String> part, {List<String>? id, int? maxResults, String? pageToken, String? parentId, String? textFormat, String? $fields}) Future<CommentListResponse>
Retrieves a list of resources, possibly filtered.
markAsSpam(List<String> id, {String? $fields}) Future<void>
Expresses the caller's opinion that one or more comments should be flagged as spam.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setModerationStatus(List<String> id, String moderationStatus, {bool? banAuthor, String? $fields}) Future<void>
Sets the moderation status of one or more comments.
toString() String
A string representation of this object.
inherited
update(Comment request, List<String> part, {String? $fields}) Future<Comment>
Updates an existing resource.

Operators

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