DBTEAMLOGTeamInviteDetails

Objective-C

@interface DBTEAMLOGTeamInviteDetails : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGTeamInviteDetails : NSObject, DBSerializable, NSCopying

The TeamInviteDetails struct.

Details about team invites

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

Instance fields

  • How the user was invited to the team.

    Declaration

    Objective-C

    @property (nonatomic, readonly) DBTEAMLOGInviteMethod *_Nonnull inviteMethod;

    Swift

    var inviteMethod: DBTEAMLOGInviteMethod { get }
  • True if the invitation incurred an additional license purchase.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSNumber *additionalLicensePurchase;

    Swift

    var additionalLicensePurchase: NSNumber? { get }

Constructors

  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)
             initWithInviteMethod:(nonnull DBTEAMLOGInviteMethod *)inviteMethod
        additionalLicensePurchase:(nullable NSNumber *)additionalLicensePurchase;

    Swift

    init(inviteMethod: DBTEAMLOGInviteMethod, additionalLicensePurchase: NSNumber?)

    Parameters

    inviteMethod

    How the user was invited to the team.

    additionalLicensePurchase

    True if the invitation incurred an additional license purchase.

    Return Value

    An initialized instance.

  • Convenience constructor (exposes only non-nullable instance variables with no default value).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithInviteMethod:
        (nonnull DBTEAMLOGInviteMethod *)inviteMethod;

    Swift

    init(inviteMethod: DBTEAMLOGInviteMethod)

    Parameters

    inviteMethod

    How the user was invited to the team.

    Return Value

    An initialized instance.