DBTEAMLOGMemberRemoveActionType

Objective-C

@interface DBTEAMLOGMemberRemoveActionType
    : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGMemberRemoveActionType : NSObject, DBSerializable, NSCopying

The MemberRemoveActionType 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 “delete”.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDelete_;

    Swift

    init(delete_: ())

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithLeave;

    Swift

    init(leave: ())

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithOffboard;

    Swift

    init(offboard: ())

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithOffboardAndRetainTeamFolders;

    Swift

    init(offboardAndRetainTeamFolders: ())

    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.

Tag state methods

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

    Declaration

    Objective-C

    - (BOOL)isDelete_;

    Swift

    func isDelete_() -> Bool

    Return Value

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

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

    Declaration

    Objective-C

    - (BOOL)isLeave;

    Swift

    func isLeave() -> Bool

    Return Value

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

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

    Declaration

    Objective-C

    - (BOOL)isOffboard;

    Swift

    func isOffboard() -> Bool

    Return Value

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

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

    Declaration

    Objective-C

    - (BOOL)isOffboardAndRetainTeamFolders;

    Swift

    func isOffboardAndRetainTeamFolders() -> Bool

    Return Value

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

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