Package com.dropbox.core.v2.team
Class MembersSetPermissions2Result
java.lang.Object
com.dropbox.core.v2.team.MembersSetPermissions2Result
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMembersSetPermissions2Result(String teamMemberId) NoneMembersSetPermissions2Result(String teamMemberId, List<TeamMemberRole> roles) -
Method Summary
-
Field Details
-
teamMemberId
-
roles
-
-
Constructor Details
-
MembersSetPermissions2Result
public MembersSetPermissions2Result(@Nonnull String teamMemberId, @Nullable List<TeamMemberRole> roles) - Parameters:
teamMemberId- The member ID of the user to which the change was applied. Must not benull.roles- The roles after the change. Empty in case the user become a non-admin. Must not contain anullitem.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
MembersSetPermissions2Result
NoneThe default values for unset fields will be used.
- Parameters:
teamMemberId- The member ID of the user to which the change was applied. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getTeamMemberId
The member ID of the user to which the change was applied.- Returns:
- value for this field, never
null.
-
getRoles
The roles after the change. Empty in case the user become a non-admin.- 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
-