Package com.dropbox.core.v2.teamlog
Class ChangedEnterpriseAdminRoleDetails
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.ChangedEnterpriseAdminRoleDetails
-
public class ChangedEnterpriseAdminRoleDetails extends java.lang.Object
Changed enterprise admin role.
-
-
Field Summary
Fields Modifier and Type Field Description protected FedAdminRole
newValue
protected FedAdminRole
previousValue
protected java.lang.String
teamName
-
Constructor Summary
Constructors Constructor Description ChangedEnterpriseAdminRoleDetails(FedAdminRole previousValue, FedAdminRole newValue, java.lang.String teamName)
Changed enterprise admin role.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
FedAdminRole
getNewValue()
The member’s new enterprise admin role.FedAdminRole
getPreviousValue()
The member’s previous enterprise admin role.java.lang.String
getTeamName()
The name of the member’s team.int
hashCode()
java.lang.String
toString()
java.lang.String
toStringMultiline()
Returns a String representation of this object formatted for easier readability.
-
-
-
Field Detail
-
previousValue
protected final FedAdminRole previousValue
-
newValue
protected final FedAdminRole newValue
-
teamName
protected final java.lang.String teamName
-
-
Constructor Detail
-
ChangedEnterpriseAdminRoleDetails
public ChangedEnterpriseAdminRoleDetails(FedAdminRole previousValue, FedAdminRole newValue, java.lang.String teamName)
Changed enterprise admin role.- Parameters:
previousValue
- The member’s previous enterprise admin role. Must not benull
.newValue
- The member’s new enterprise admin role. Must not benull
.teamName
- The name of the member’s team. Must not benull
.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
-
Method Detail
-
getPreviousValue
public FedAdminRole getPreviousValue()
The member’s previous enterprise admin role.- Returns:
- value for this field, never
null
.
-
getNewValue
public FedAdminRole getNewValue()
The member’s new enterprise admin role.- Returns:
- value for this field, never
null
.
-
getTeamName
public java.lang.String getTeamName()
The name of the member’s team.- Returns:
- value for this field, never
null
.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toStringMultiline
public java.lang.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
-
-