DBTEAMMembersTransferFormerMembersFilesError

Objective-C

@interface DBTEAMMembersTransferFormerMembersFilesError
    : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMMembersTransferFormerMembersFilesError : NSObject, DBSerializable, NSCopying

The MembersTransferFormerMembersFilesError union.

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

Instance fields

Constructors

  • Initializes union class with tag state of “user_not_found”.

    Description of the “user_not_found” tag state: No matching user found. The provided team_member_id, email, or external_id does not exist on this team.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithUserNotFound;

    Swift

    init(userNotFound: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “user_not_in_team”.

    Description of the “user_not_in_team” tag state: The user is not a member of the team.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithUserNotInTeam;

    Swift

    init(userNotInTeam: ())

    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 “removed_and_transfer_dest_should_differ”.

    Description of the “removed_and_transfer_dest_should_differ” tag state: Expected removed user and transfer_dest user to be different.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithRemovedAndTransferDestShouldDiffer;

    Swift

    init(removedAndTransferDestShouldDiffer: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “removed_and_transfer_admin_should_differ”.

    Description of the “removed_and_transfer_admin_should_differ” tag state: Expected removed user and transfer_admin user to be different.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithRemovedAndTransferAdminShouldDiffer;

    Swift

    init(removedAndTransferAdminShouldDiffer: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “transfer_dest_user_not_found”.

    Description of the “transfer_dest_user_not_found” tag state: No matching user found for the argument transfer_dest_id.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithTransferDestUserNotFound;

    Swift

    init(transferDestUserNotFound: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “transfer_dest_user_not_in_team”.

    Description of the “transfer_dest_user_not_in_team” tag state: The provided transfer_dest_id does not exist on this team.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithTransferDestUserNotInTeam;

    Swift

    init(transferDestUserNotInTeam: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “transfer_admin_user_not_in_team”.

    Description of the “transfer_admin_user_not_in_team” tag state: The provided transfer_admin_id does not exist on this team.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithTransferAdminUserNotInTeam;

    Swift

    init(transferAdminUserNotInTeam: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “transfer_admin_user_not_found”.

    Description of the “transfer_admin_user_not_found” tag state: No matching user found for the argument transfer_admin_id.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithTransferAdminUserNotFound;

    Swift

    init(transferAdminUserNotFound: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “unspecified_transfer_admin_id”.

    Description of the “unspecified_transfer_admin_id” tag state: The transfer_admin_id argument must be provided when file transfer is requested.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithUnspecifiedTransferAdminId;

    Swift

    init(unspecifiedTransferAdminId: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “transfer_admin_is_not_admin”.

    Description of the “transfer_admin_is_not_admin” tag state: Specified transfer_admin user is not a team admin.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithTransferAdminIsNotAdmin;

    Swift

    init(transferAdminIsNotAdmin: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “recipient_not_verified”.

    Description of the “recipient_not_verified” tag state: The recipient user’s email is not verified.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithRecipientNotVerified;

    Swift

    init(recipientNotVerified: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “user_data_is_being_transferred”.

    Description of the “user_data_is_being_transferred” tag state: The user’s data is being transferred. Please wait some time before retrying.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithUserDataIsBeingTransferred;

    Swift

    init(userDataIsBeingTransferred: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “user_not_removed”.

    Description of the “user_not_removed” tag state: No matching removed user found for the argument user.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithUserNotRemoved;

    Swift

    init(userNotRemoved: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “user_data_cannot_be_transferred”.

    Description of the “user_data_cannot_be_transferred” tag state: User files aren’t transferable anymore.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithUserDataCannotBeTransferred;

    Swift

    init(userDataCannotBeTransferred: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “user_data_already_transferred”.

    Description of the “user_data_already_transferred” tag state: User’s data has already been transferred to another user.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithUserDataAlreadyTransferred;

    Swift

    init(userDataAlreadyTransferred: ())

    Return Value

    An initialized instance.

Tag state methods

  • Retrieves whether the union’s current tag state has value “user_not_found”.

    Declaration

    Objective-C

    - (BOOL)isUserNotFound;

    Swift

    func isUserNotFound() -> Bool

    Return Value

    Whether the union’s current tag state has value “user_not_found”.

  • Retrieves whether the union’s current tag state has value “user_not_in_team”.

    Declaration

    Objective-C

    - (BOOL)isUserNotInTeam;

    Swift

    func isUserNotInTeam() -> Bool

    Return Value

    Whether the union’s current tag state has value “user_not_in_team”.

  • Retrieves whether the union’s current tag state has value “other”.

    Declaration

    Objective-C

    - (BOOL)isOther;

    Swift

    func isOther() -> Bool

    Return Value

    Whether the union’s current tag state has value “other”.

  • Retrieves whether the union’s current tag state has value “removed_and_transfer_dest_should_differ”.

    Declaration

    Objective-C

    - (BOOL)isRemovedAndTransferDestShouldDiffer;

    Swift

    func isRemovedAndTransferDestShouldDiffer() -> Bool

    Return Value

    Whether the union’s current tag state has value “removed_and_transfer_dest_should_differ”.

  • Retrieves whether the union’s current tag state has value “removed_and_transfer_admin_should_differ”.

    Declaration

    Objective-C

    - (BOOL)isRemovedAndTransferAdminShouldDiffer;

    Swift

    func isRemovedAndTransferAdminShouldDiffer() -> Bool

    Return Value

    Whether the union’s current tag state has value “removed_and_transfer_admin_should_differ”.

  • Retrieves whether the union’s current tag state has value “transfer_dest_user_not_found”.

    Declaration

    Objective-C

    - (BOOL)isTransferDestUserNotFound;

    Swift

    func isTransferDestUserNotFound() -> Bool

    Return Value

    Whether the union’s current tag state has value “transfer_dest_user_not_found”.

  • Retrieves whether the union’s current tag state has value “transfer_dest_user_not_in_team”.

    Declaration

    Objective-C

    - (BOOL)isTransferDestUserNotInTeam;

    Swift

    func isTransferDestUserNotInTeam() -> Bool

    Return Value

    Whether the union’s current tag state has value “transfer_dest_user_not_in_team”.

  • Retrieves whether the union’s current tag state has value “transfer_admin_user_not_in_team”.

    Declaration

    Objective-C

    - (BOOL)isTransferAdminUserNotInTeam;

    Swift

    func isTransferAdminUserNotInTeam() -> Bool

    Return Value

    Whether the union’s current tag state has value “transfer_admin_user_not_in_team”.

  • Retrieves whether the union’s current tag state has value “transfer_admin_user_not_found”.

    Declaration

    Objective-C

    - (BOOL)isTransferAdminUserNotFound;

    Swift

    func isTransferAdminUserNotFound() -> Bool

    Return Value

    Whether the union’s current tag state has value “transfer_admin_user_not_found”.

  • Retrieves whether the union’s current tag state has value “unspecified_transfer_admin_id”.

    Declaration

    Objective-C

    - (BOOL)isUnspecifiedTransferAdminId;

    Swift

    func isUnspecifiedTransferAdminId() -> Bool

    Return Value

    Whether the union’s current tag state has value “unspecified_transfer_admin_id”.

  • Retrieves whether the union’s current tag state has value “transfer_admin_is_not_admin”.

    Declaration

    Objective-C

    - (BOOL)isTransferAdminIsNotAdmin;

    Swift

    func isTransferAdminIsNotAdmin() -> Bool

    Return Value

    Whether the union’s current tag state has value “transfer_admin_is_not_admin”.

  • Retrieves whether the union’s current tag state has value “recipient_not_verified”.

    Declaration

    Objective-C

    - (BOOL)isRecipientNotVerified;

    Swift

    func isRecipientNotVerified() -> Bool

    Return Value

    Whether the union’s current tag state has value “recipient_not_verified”.

  • Retrieves whether the union’s current tag state has value “user_data_is_being_transferred”.

    Declaration

    Objective-C

    - (BOOL)isUserDataIsBeingTransferred;

    Swift

    func isUserDataIsBeingTransferred() -> Bool

    Return Value

    Whether the union’s current tag state has value “user_data_is_being_transferred”.

  • Retrieves whether the union’s current tag state has value “user_not_removed”.

    Declaration

    Objective-C

    - (BOOL)isUserNotRemoved;

    Swift

    func isUserNotRemoved() -> Bool

    Return Value

    Whether the union’s current tag state has value “user_not_removed”.

  • Retrieves whether the union’s current tag state has value “user_data_cannot_be_transferred”.

    Declaration

    Objective-C

    - (BOOL)isUserDataCannotBeTransferred;

    Swift

    func isUserDataCannotBeTransferred() -> Bool

    Return Value

    Whether the union’s current tag state has value “user_data_cannot_be_transferred”.

  • Retrieves whether the union’s current tag state has value “user_data_already_transferred”.

    Declaration

    Objective-C

    - (BOOL)isUserDataAlreadyTransferred;

    Swift

    func isUserDataAlreadyTransferred() -> Bool

    Return Value

    Whether the union’s current tag state has value “user_data_already_transferred”.

  • Retrieves string value of union’s current tag state.

    Declaration

    Objective-C

    - (nonnull NSString *)tagName;

    Swift

    func tagName() -> String

    Return Value

    A human-readable string representing the union’s current tag state.