| Modifier and Type | Class and Description | 
|---|---|
| static class  | GroupMembersAddError.TagDiscriminating tag type for  GroupMembersAddError. | 
| Modifier and Type | Field and Description | 
|---|---|
| static GroupMembersAddError | DUPLICATE_USERYou cannot add duplicate users. | 
| static GroupMembersAddError | GROUP_NOT_FOUNDNo matching group found. | 
| static GroupMembersAddError | GROUP_NOT_IN_TEAMGroup is not in this team. | 
| static GroupMembersAddError | OTHER | 
| static GroupMembersAddError | USER_MUST_BE_ACTIVE_TO_BE_OWNERA suspended user cannot be added to a group as  GroupAccessType.OWNER. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj) | 
| List<String> | getMembersNotInTeamValue()These members are not part of your team. | 
| List<String> | getUserCannotBeManagerOfCompanyManagedGroupValue()A company-managed group cannot be managed by a user. | 
| List<String> | getUsersNotFoundValue()These users were not found in Dropbox. | 
| int | hashCode() | 
| boolean | isDuplicateUser() | 
| boolean | isGroupNotFound()Returns  trueif this instance has the tagGroupMembersAddError.Tag.GROUP_NOT_FOUND,falseotherwise. | 
| boolean | isGroupNotInTeam()Returns  trueif this instance has the tagGroupMembersAddError.Tag.GROUP_NOT_IN_TEAM,falseotherwise. | 
| boolean | isMembersNotInTeam()Returns  trueif this instance has the tagGroupMembersAddError.Tag.MEMBERS_NOT_IN_TEAM,falseotherwise. | 
| boolean | isOther() | 
| boolean | isUserCannotBeManagerOfCompanyManagedGroup()Returns  trueif this instance has the tagGroupMembersAddError.Tag.USER_CANNOT_BE_MANAGER_OF_COMPANY_MANAGED_GROUP,falseotherwise. | 
| boolean | isUserMustBeActiveToBeOwner()Returns  trueif this instance has the tagGroupMembersAddError.Tag.USER_MUST_BE_ACTIVE_TO_BE_OWNER,falseotherwise. | 
| boolean | isUsersNotFound()Returns  trueif this instance has the tagGroupMembersAddError.Tag.USERS_NOT_FOUND,falseotherwise. | 
| static GroupMembersAddError | membersNotInTeam(List<String> value)Returns an instance of  GroupMembersAddErrorthat has its tag set
 toGroupMembersAddError.Tag.MEMBERS_NOT_IN_TEAM. | 
| GroupMembersAddError.Tag | tag()Returns the tag for this instance. | 
| String | toString() | 
| String | toStringMultiline()Returns a String representation of this object formatted for easier
 readability. | 
| static GroupMembersAddError | userCannotBeManagerOfCompanyManagedGroup(List<String> value)Returns an instance of  GroupMembersAddErrorthat has its tag set
 toGroupMembersAddError.Tag.USER_CANNOT_BE_MANAGER_OF_COMPANY_MANAGED_GROUP. | 
| static GroupMembersAddError | usersNotFound(List<String> value)Returns an instance of  GroupMembersAddErrorthat has its tag set
 toGroupMembersAddError.Tag.USERS_NOT_FOUND. | 
public static final GroupMembersAddError GROUP_NOT_FOUND
public static final GroupMembersAddError OTHER
public static final GroupMembersAddError DUPLICATE_USER
public static final GroupMembersAddError GROUP_NOT_IN_TEAM
public static final GroupMembersAddError USER_MUST_BE_ACTIVE_TO_BE_OWNER
GroupAccessType.OWNER.public GroupMembersAddError.Tag tag()
 This class is a tagged union.  Tagged unions instances are always
 associated to a specific tag.  This means only one of the isXyz()
 methods will return true. Callers are recommended to use the tag
 value in a switch statement to properly handle the different
 values for this GroupMembersAddError. 
public boolean isGroupNotFound()
true if this instance has the tag GroupMembersAddError.Tag.GROUP_NOT_FOUND, false otherwise.true if this instance is tagged as GroupMembersAddError.Tag.GROUP_NOT_FOUND, false otherwise.public boolean isOther()
true if this instance is tagged as GroupMembersAddError.Tag.OTHER,
     false otherwise.public boolean isDuplicateUser()
true if this instance is tagged as GroupMembersAddError.Tag.DUPLICATE_USER, false otherwise.public boolean isGroupNotInTeam()
true if this instance has the tag GroupMembersAddError.Tag.GROUP_NOT_IN_TEAM, false otherwise.true if this instance is tagged as GroupMembersAddError.Tag.GROUP_NOT_IN_TEAM, false otherwise.public boolean isMembersNotInTeam()
true if this instance has the tag GroupMembersAddError.Tag.MEMBERS_NOT_IN_TEAM, false otherwise.true if this instance is tagged as GroupMembersAddError.Tag.MEMBERS_NOT_IN_TEAM, false otherwise.public static GroupMembersAddError membersNotInTeam(List<String> value)
GroupMembersAddError that has its tag set
 to GroupMembersAddError.Tag.MEMBERS_NOT_IN_TEAM.
  These members are not part of your team. Currently, you cannot add
 members to a group if they are not part of your team, though this may
 change in a subsequent version. To add new members to your Dropbox
 Business team, use the DbxTeamTeamRequests.membersAdd(List)
 endpoint. 
value - value to assign to this instance.GroupMembersAddError with its tag set to
     GroupMembersAddError.Tag.MEMBERS_NOT_IN_TEAM.IllegalArgumentException - if value contains a null item or is null.public List<String> getMembersNotInTeamValue()
DbxTeamTeamRequests.membersAdd(List)
 endpoint.
  This instance must be tagged as GroupMembersAddError.Tag.MEMBERS_NOT_IN_TEAM. 
membersNotInTeam(java.util.List<java.lang.String>) value
     associated with this instance if isMembersNotInTeam() is
     true.IllegalStateException - If isMembersNotInTeam() is false.public boolean isUsersNotFound()
true if this instance has the tag GroupMembersAddError.Tag.USERS_NOT_FOUND, false otherwise.true if this instance is tagged as GroupMembersAddError.Tag.USERS_NOT_FOUND, false otherwise.public static GroupMembersAddError usersNotFound(List<String> value)
GroupMembersAddError that has its tag set
 to GroupMembersAddError.Tag.USERS_NOT_FOUND.
 These users were not found in Dropbox.
value - value to assign to this instance.GroupMembersAddError with its tag set to
     GroupMembersAddError.Tag.USERS_NOT_FOUND.IllegalArgumentException - if value contains a null item or is null.public List<String> getUsersNotFoundValue()
 This instance must be tagged as GroupMembersAddError.Tag.USERS_NOT_FOUND. 
usersNotFound(java.util.List<java.lang.String>) value associated
     with this instance if isUsersNotFound() is true.IllegalStateException - If isUsersNotFound() is false.public boolean isUserMustBeActiveToBeOwner()
true if this instance has the tag GroupMembersAddError.Tag.USER_MUST_BE_ACTIVE_TO_BE_OWNER, false otherwise.true if this instance is tagged as GroupMembersAddError.Tag.USER_MUST_BE_ACTIVE_TO_BE_OWNER, false otherwise.public boolean isUserCannotBeManagerOfCompanyManagedGroup()
true if this instance has the tag GroupMembersAddError.Tag.USER_CANNOT_BE_MANAGER_OF_COMPANY_MANAGED_GROUP, false
 otherwise.true if this instance is tagged as GroupMembersAddError.Tag.USER_CANNOT_BE_MANAGER_OF_COMPANY_MANAGED_GROUP, false
     otherwise.public static GroupMembersAddError userCannotBeManagerOfCompanyManagedGroup(List<String> value)
GroupMembersAddError that has its tag set
 to GroupMembersAddError.Tag.USER_CANNOT_BE_MANAGER_OF_COMPANY_MANAGED_GROUP.
 A company-managed group cannot be managed by a user.
value - value to assign to this instance.GroupMembersAddError with its tag set to
     GroupMembersAddError.Tag.USER_CANNOT_BE_MANAGER_OF_COMPANY_MANAGED_GROUP.IllegalArgumentException - if value contains a null item or is null.public List<String> getUserCannotBeManagerOfCompanyManagedGroupValue()
 This instance must be tagged as GroupMembersAddError.Tag.USER_CANNOT_BE_MANAGER_OF_COMPANY_MANAGED_GROUP. 
userCannotBeManagerOfCompanyManagedGroup(java.util.List<java.lang.String>) value
     associated with this instance if isUserCannotBeManagerOfCompanyManagedGroup() is true.IllegalStateException - If isUserCannotBeManagerOfCompanyManagedGroup() is false.public String toStringMultiline()
The returned String may contain newlines.