public class MembersSetPermissionsResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected AdminTier |
role |
protected java.lang.String |
teamMemberId |
Constructor and Description |
---|
MembersSetPermissionsResult(java.lang.String teamMemberId,
AdminTier role) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
AdminTier |
getRole()
The role after the change.
|
java.lang.String |
getTeamMemberId()
The member ID of the user to which the change was applied.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final java.lang.String teamMemberId
protected final AdminTier role
public MembersSetPermissionsResult(java.lang.String teamMemberId, AdminTier role)
teamMemberId
- The member ID of the user to which the change was
applied. Must not be null
.role
- The role after the change. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.lang.String getTeamMemberId()
null
.public AdminTier getRole()
null
.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.