Package com.dropbox.core.v2.teamlog
Class TeamProfileChangeNameDetails
java.lang.Object
com.dropbox.core.v2.teamlog.TeamProfileChangeNameDetails
Changed team name.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTeamProfileChangeNameDetails(TeamName newValue) Changed team name.TeamProfileChangeNameDetails(TeamName newValue, TeamName previousValue) Changed team name. -
Method Summary
-
Field Details
-
previousValue
-
newValue
-
-
Constructor Details
-
TeamProfileChangeNameDetails
Changed team name.- Parameters:
newValue- New team name. Must not benull.previousValue- Previous teams name. Might be missing due to historical data gap.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
TeamProfileChangeNameDetails
Changed team name.The default values for unset fields will be used.
- Parameters:
newValue- New team name. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getNewValue
New team name.- Returns:
- value for this field, never
null.
-
getPreviousValue
Previous teams name. Might be missing due to historical data gap.- 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
-