DBTEAMGroupMembersRemoveError
Objective-C
@interface DBTEAMGroupMembersRemoveError : NSObject <DBSerializable, NSCopying>
                Swift
class DBTEAMGroupMembersRemoveError : NSObject, DBSerializable, NSCopying
                The GroupMembersRemoveError union.
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
- 
                  
                  
Represents the union’s current tag state.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMGroupMembersRemoveErrorTag tag;Swift
var tag: DBTEAMGroupMembersRemoveErrorTag { get } - 
                  
                  
These members are not part of your team. - note: Ensure the
isMembersNotInTeammethod returns true before accessing, otherwise a runtime exception will be raised.Declaration
Objective-C
@property (nonatomic, readonly) NSArray<NSString *> *_Nonnull membersNotInTeam;Swift
var membersNotInTeam: [String] { get } - 
                  
                  
These users were not found in Dropbox. - note: Ensure the
isUsersNotFoundmethod returns true before accessing, otherwise a runtime exception will be raised.Declaration
Objective-C
@property (nonatomic, readonly) NSArray<NSString *> *_Nonnull usersNotFound;Swift
var usersNotFound: [String] { get } 
- 
                  
                  
Initializes union class with tag state of “group_not_found”.
Description of the “group_not_found” tag state: No matching group found. No groups match the specified group ID.
Declaration
Objective-C
- (nonnull instancetype)initWithGroupNotFound;Swift
init(groupNotFound: ())Return Value
An initialized instance.
 - 
                  
                  
Initializes union class with tag state of “other”.
Declaration
Objective-C
- (nonnull instancetype)initWithOther;Swift
init(other: ())Return Value
An initialized instance.
 - 
                  
                  
Initializes union class with tag state of “system_managed_group_disallowed”.
Description of the “system_managed_group_disallowed” tag state: This operation is not supported on system-managed groups.
Declaration
Objective-C
- (nonnull instancetype)initWithSystemManagedGroupDisallowed;Swift
init(systemManagedGroupDisallowed: ())Return Value
An initialized instance.
 - 
                  
                  
Initializes union class with tag state of “member_not_in_group”.
Description of the “member_not_in_group” tag state: At least one of the specified users is not a member of the group.
Declaration
Objective-C
- (nonnull instancetype)initWithMemberNotInGroup;Swift
init(memberNotInGroup: ())Return Value
An initialized instance.
 - 
                  
                  
Initializes union class with tag state of “group_not_in_team”.
Description of the “group_not_in_team” tag state: Group is not in this team. You cannot remove members from a group that is outside of your team.
Declaration
Objective-C
- (nonnull instancetype)initWithGroupNotInTeam;Swift
init(groupNotInTeam: ())Return Value
An initialized instance.
 - 
                  
                  
Initializes union class with tag state of “members_not_in_team”.
Description of the “members_not_in_team” tag state: These members are not part of your team.
Declaration
Objective-C
- (nonnull instancetype)initWithMembersNotInTeam: (nonnull NSArray<NSString *> *)membersNotInTeam;Swift
init(membersNotInTeam: [String])Parameters
membersNotInTeamThese members are not part of your team.
Return Value
An initialized instance.
 - 
                  
                  
Initializes union class with tag state of “users_not_found”.
Description of the “users_not_found” tag state: These users were not found in Dropbox.
Declaration
Objective-C
- (nonnull instancetype)initWithUsersNotFound: (nonnull NSArray<NSString *> *)usersNotFound;Swift
init(usersNotFound: [String])Parameters
usersNotFoundThese users were not found in Dropbox.
Return Value
An initialized instance.
 
- 
                  
                  
Retrieves whether the union’s current tag state has value “group_not_found”.
Declaration
Objective-C
- (BOOL)isGroupNotFound;Swift
func isGroupNotFound() -> BoolReturn Value
Whether the union’s current tag state has value “group_not_found”.
 - 
                  
                  
Retrieves whether the union’s current tag state has value “other”.
Declaration
Objective-C
- (BOOL)isOther;Swift
func isOther() -> BoolReturn Value
Whether the union’s current tag state has value “other”.
 - 
                  
                  
Retrieves whether the union’s current tag state has value “system_managed_group_disallowed”.
Declaration
Objective-C
- (BOOL)isSystemManagedGroupDisallowed;Swift
func isSystemManagedGroupDisallowed() -> BoolReturn Value
Whether the union’s current tag state has value “system_managed_group_disallowed”.
 - 
                  
                  
Retrieves whether the union’s current tag state has value “member_not_in_group”.
Declaration
Objective-C
- (BOOL)isMemberNotInGroup;Swift
func isMemberNotInGroup() -> BoolReturn Value
Whether the union’s current tag state has value “member_not_in_group”.
 - 
                  
                  
Retrieves whether the union’s current tag state has value “group_not_in_team”.
Declaration
Objective-C
- (BOOL)isGroupNotInTeam;Swift
func isGroupNotInTeam() -> BoolReturn Value
Whether the union’s current tag state has value “group_not_in_team”.
 - 
                  
                  
Retrieves whether the union’s current tag state has value “members_not_in_team”.
Note
Call this method and ensure it returns true before accessing the
membersNotInTeamproperty, otherwise a runtime exception will be thrown.Declaration
Objective-C
- (BOOL)isMembersNotInTeam;Swift
func isMembersNotInTeam() -> BoolReturn Value
Whether the union’s current tag state has value “members_not_in_team”.
 - 
                  
                  
Retrieves whether the union’s current tag state has value “users_not_found”.
Note
Call this method and ensure it returns true before accessing the
usersNotFoundproperty, otherwise a runtime exception will be thrown.Declaration
Objective-C
- (BOOL)isUsersNotFound;Swift
func isUsersNotFound() -> BoolReturn Value
Whether the union’s current tag state has value “users_not_found”.
 - 
                  
                  
Retrieves string value of union’s current tag state.
Declaration
Objective-C
- (nonnull NSString *)tagName;Swift
func tagName() -> StringReturn Value
A human-readable string representing the union’s current tag state.
 
View on GitHub
        DBTEAMGroupMembersRemoveError Class Reference