DBTEAMMembersTransferFilesError

Objective-C

@interface DBTEAMMembersTransferFilesError
    : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMMembersTransferFilesError : NSObject, DBSerializable, NSCopying

The MembersTransferFilesError 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.

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 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.