Class ChangeCommentRequest
- Object
-
- ChangeCommentRequest
-
- All Implemented Interfaces:
Serializable
public class ChangeCommentRequest extends Object implements Serializable
The properties of the comment to be changed- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChangeCommentRequest.Builder
-
Constructor Summary
Constructors Constructor Description ChangeCommentRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChangeCommentRequest.Builder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
@NotNull String
getContent()
Required. The new content of the comment to be changed.@NotNull UUID
getId()
Required. The ID of the comment to be changed.int
hashCode()
void
setContent(@NotNull String content)
Required. The new content of the comment to be changed.void
setId(@NotNull UUID id)
Required. The ID of the comment to be changed.String
toString()
-
-
-
Method Detail
-
builder
public static ChangeCommentRequest.Builder builder()
-
getId
@NotNull public @NotNull UUID getId()
Required. The ID of the comment to be changed.
-
getContent
@NotNull public @NotNull String getContent()
Required. The new content of the comment to be changed. Can contain user mentions using syntax[@User:$userId]
where $userId is the ID of mentioned user.
-
setId
public void setId(@NotNull @NotNull UUID id)
Required. The ID of the comment to be changed.
-
setContent
public void setContent(@NotNull @NotNull String content)
Required. The new content of the comment to be changed. Can contain user mentions using syntax[@User:$userId]
where $userId is the ID of mentioned user.
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classObject
-
canEqual
protected boolean canEqual(Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classObject
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-