DBTEAMLOGInviteMethod
Objective-C
@interface DBTEAMLOGInviteMethod : NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMLOGInviteMethod : NSObject, DBSerializable, NSCopying
The InviteMethod 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) DBTEAMLOGInviteMethodTag tag;Swift
var tag: DBTEAMLOGInviteMethodTag { get }
-
Initializes union class with tag state of “auto_approve”.
Declaration
Objective-C
- (nonnull instancetype)initWithAutoApprove;Swift
init(autoApprove: ())Return Value
An initialized instance.
-
Initializes union class with tag state of “invite_link”.
Declaration
Objective-C
- (nonnull instancetype)initWithInviteLink;Swift
init(inviteLink: ())Return Value
An initialized instance.
-
Initializes union class with tag state of “member_invite”.
Declaration
Objective-C
- (nonnull instancetype)initWithMemberInvite;Swift
init(memberInvite: ())Return Value
An initialized instance.
-
Initializes union class with tag state of “moved_from_another_team”.
Declaration
Objective-C
- (nonnull instancetype)initWithMovedFromAnotherTeam;Swift
init(movedFromAnotherTeam: ())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.
-
Retrieves whether the union’s current tag state has value “auto_approve”.
Declaration
Objective-C
- (BOOL)isAutoApprove;Swift
func isAutoApprove() -> BoolReturn Value
Whether the union’s current tag state has value “auto_approve”.
-
Retrieves whether the union’s current tag state has value “invite_link”.
Declaration
Objective-C
- (BOOL)isInviteLink;Swift
func isInviteLink() -> BoolReturn Value
Whether the union’s current tag state has value “invite_link”.
-
Retrieves whether the union’s current tag state has value “member_invite”.
Declaration
Objective-C
- (BOOL)isMemberInvite;Swift
func isMemberInvite() -> BoolReturn Value
Whether the union’s current tag state has value “member_invite”.
-
Retrieves whether the union’s current tag state has value “moved_from_another_team”.
Declaration
Objective-C
- (BOOL)isMovedFromAnotherTeam;Swift
func isMovedFromAnotherTeam() -> BoolReturn Value
Whether the union’s current tag state has value “moved_from_another_team”.
-
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 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
DBTEAMLOGInviteMethod Class Reference