Class ChangeCommentRequest.Builder
- Object
-
- Builder
-
- Enclosing class:
- ChangeCommentRequest
public static class ChangeCommentRequest.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ChangeCommentRequest
build()
ChangeCommentRequest.Builder
but()
Deprecated.This method will be removed in the future.ChangeCommentRequest.Builder
content(@NotNull String content)
Required. The new content of the comment to be changed.ChangeCommentRequest.Builder
id(@NotNull UUID id)
Required. The ID of the comment to be changed.String
toString()
-
-
-
Method Detail
-
but
@Deprecated public ChangeCommentRequest.Builder but()
Deprecated.This method will be removed in the future. Please, useChangeCommentRequest.builder()
Clone method for this Builder.
-
id
public ChangeCommentRequest.Builder id(@NotNull @NotNull UUID id)
Required. The ID of the comment to be changed.- Returns:
this
.
-
content
public ChangeCommentRequest.Builder content(@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.- Returns:
this
.
-
build
public ChangeCommentRequest build()
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-