Class DashEditedCommentInStackDetails

java.lang.Object
com.dropbox.core.v2.teamlog.DashEditedCommentInStackDetails

public class DashEditedCommentInStackDetails extends Object
Edited a comment in a stack.
  • Field Details

    • stackName

      @Nonnull protected final String stackName
    • stackItemName

      @Nonnull protected final String stackItemName
    • commentText

      @Nonnull protected final String commentText
    • stackType

      @Nullable protected final DashStackType stackType
  • Constructor Details

    • DashEditedCommentInStackDetails

      public DashEditedCommentInStackDetails(@Nonnull String stackName, @Nonnull String stackItemName, @Nonnull String commentText, @Nullable DashStackType stackType)
      Edited a comment in a stack.
      Parameters:
      stackName - The name of the stack where the comment exists. Must not be null.
      stackItemName - The name of the stack item that the comment is tied to. Must not be null.
      commentText - The text of the comment. Must not be null.
      stackType - The type of stack backend.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
    • DashEditedCommentInStackDetails

      public DashEditedCommentInStackDetails(@Nonnull String stackName, @Nonnull String stackItemName, @Nonnull String commentText)
      Edited a comment in a stack.

      The default values for unset fields will be used.

      Parameters:
      stackName - The name of the stack where the comment exists. Must not be null.
      stackItemName - The name of the stack item that the comment is tied to. Must not be null.
      commentText - The text of the comment. Must not be null.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getStackName

      @Nonnull public String getStackName()
      The name of the stack where the comment exists.
      Returns:
      value for this field, never null.
    • getStackItemName

      @Nonnull public String getStackItemName()
      The name of the stack item that the comment is tied to.
      Returns:
      value for this field, never null.
    • getCommentText

      @Nonnull public String getCommentText()
      The text of the comment.
      Returns:
      value for this field, never null.
    • getStackType

      @Nullable public DashStackType getStackType()
      The type of stack backend.
      Returns:
      value for this field, or null if not present.
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toStringMultiline

      public String toStringMultiline()
      Returns a String representation of this object formatted for easier readability.

      The returned String may contain newlines.

      Returns:
      Formatted, multiline String representation of this object