UpdateCommentPostRequest class
Updates a Post in a CommentThread or SuggestionThread.
Returns a 400 bad request error if: - The post is the headPost of a SuggestionThread. - The requesting user is not the author of the post.
Constructors
- UpdateCommentPostRequest({String? commentId, String? content, String? postId, String? suggestionId})
- UpdateCommentPostRequest.fromJson(Map json_)
Properties
- commentId ↔ String?
-
The ID of the CommentThread which the post belongs to.
getter/setter pair
- content ↔ String?
-
The new text of the comment, as plain text.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- postId ↔ String?
-
The ID of the post being updated.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- suggestionId ↔ String?
-
The ID of the SuggestionThread which the post belongs to.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited