Package com.dropbox.core.v2.teamlog
Class DashRenamedStackDetails
java.lang.Object
com.dropbox.core.v2.teamlog.DashRenamedStackDetails
Renamed a stack.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDashRenamedStackDetails(String oldName, String newName) Renamed a stack.DashRenamedStackDetails(String oldName, String newName, DashStackType stackType) Renamed a stack. -
Method Summary
-
Field Details
-
oldName
-
newName
-
stackType
-
-
Constructor Details
-
DashRenamedStackDetails
public DashRenamedStackDetails(@Nonnull String oldName, @Nonnull String newName, @Nullable DashStackType stackType) Renamed a stack.- Parameters:
oldName- The old name of the stack. Must not benull.newName- The new name of the stack. Must not benull.stackType- The type of stack backend.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
DashRenamedStackDetails
Renamed a stack.The default values for unset fields will be used.
- Parameters:
oldName- The old name of the stack. Must not benull.newName- The new name of the stack. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getOldName
The old name of the stack.- Returns:
- value for this field, never
null.
-
getNewName
The new name of the stack.- Returns:
- value for this field, never
null.
-
getStackType
The type of stack backend.- Returns:
- value for this field, or
nullif not present.
-
hashCode
public int hashCode() -
equals
-
toString
-
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
-