Class DashOpenedStackDetails

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

public class DashOpenedStackDetails extends Object
Opened a stack.
  • Field Details

    • stackName

      @Nonnull protected final String stackName
    • stackType

      @Nullable protected final DashStackType stackType
  • Constructor Details

    • DashOpenedStackDetails

      public DashOpenedStackDetails(@Nonnull String stackName, @Nullable DashStackType stackType)
      Opened a stack.
      Parameters:
      stackName - The name of the stack. Must not be null.
      stackType - The type of stack backend.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
    • DashOpenedStackDetails

      public DashOpenedStackDetails(@Nonnull String stackName)
      Opened a stack.

      The default values for unset fields will be used.

      Parameters:
      stackName - The name of the stack. 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.
      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