Class ChangeCommentRequest

  • All Implemented Interfaces:
    Serializable

    public class ChangeCommentRequest
    extends Object
    implements Serializable
    The properties of the comment to be changed
    See Also:
    Serialized Form
    • Constructor Detail

      • ChangeCommentRequest

        public ChangeCommentRequest()
    • Method Detail

      • 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 class Object
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Overrides:
        toString in class Object