public class MembersDeactivateArg extends Object
Modifier and Type | Field and Description |
---|---|
protected UserSelectorArg |
user |
protected boolean |
wipeData |
Constructor and Description |
---|
MembersDeactivateArg(UserSelectorArg user)
Exactly one of team_member_id, email, or external_id must be provided to
identify the user account.
|
MembersDeactivateArg(UserSelectorArg user,
boolean wipeData)
Exactly one of team_member_id, email, or external_id must be provided to
identify the user account.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
UserSelectorArg |
getUser()
Identity of user to remove/suspend.
|
boolean |
getWipeData()
If provided, controls if the user's data will be deleted on their linked
devices.
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final UserSelectorArg user
protected final boolean wipeData
public MembersDeactivateArg(UserSelectorArg user, boolean wipeData)
user
- Identity of user to remove/suspend. Must not be null
.wipeData
- If provided, controls if the user's data will be deleted
on their linked devices.IllegalArgumentException
- If any argument does not meet its
preconditions.public MembersDeactivateArg(UserSelectorArg user)
The default values for unset fields will be used.
user
- Identity of user to remove/suspend. Must not be null
.IllegalArgumentException
- If any argument does not meet its
preconditions.public UserSelectorArg getUser()
null
.public boolean getWipeData()
null
if not present. Defaults to
true.public String toStringMultiline()
The returned String may contain newlines.