DBTEAMMemberAddArg

@interface DBTEAMMemberAddArg : NSObject <DBSerializable, NSCopying>

The MemberAddArg struct.

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

  • (no description).

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSString *_Nonnull memberEmail;

    Swift

    var memberEmail: String { get }
  • Member’s first name.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *memberGivenName;

    Swift

    var memberGivenName: String? { get }
  • Member’s last name.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *memberSurname;

    Swift

    var memberSurname: String? { get }
  • External ID for member.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *memberExternalId;

    Swift

    var memberExternalId: String? { get }
  • Persistent ID for member. This field is only available to teams using persistent ID SAML configuration.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *memberPersistentId;

    Swift

    var memberPersistentId: String? { get }
  • Whether to send a welcome email to the member. If send_welcome_email is false, no email invitation will be sent to the user. This may be useful for apps using single sign-on (SSO) flows for onboarding that want to handle announcements themselves.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSNumber *_Nonnull sendWelcomeEmail;

    Swift

    var sendWelcomeEmail: NSNumber { get }
  • (no description).

    Declaration

    Objective-C

    @property (readonly, nonatomic) DBTEAMAdminTier *_Nonnull role;

    Swift

    var role: DBTEAMAdminTier { get }
  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)
    initWithMemberEmail:(nonnull NSString *)memberEmail
        memberGivenName:(nullable NSString *)memberGivenName
          memberSurname:(nullable NSString *)memberSurname
       memberExternalId:(nullable NSString *)memberExternalId
     memberPersistentId:(nullable NSString *)memberPersistentId
       sendWelcomeEmail:(nullable NSNumber *)sendWelcomeEmail
                   role:(nullable DBTEAMAdminTier *)role;

    Swift

    init(memberEmail: String, memberGivenName: String?, memberSurname: String?, memberExternalId: String?, memberPersistentId: String?, sendWelcomeEmail: NSNumber?, role: DBTEAMAdminTier?)

    Parameters

    memberEmail

    (no description).

    memberGivenName

    Member’s first name.

    memberSurname

    Member’s last name.

    memberExternalId

    External ID for member.

    memberPersistentId

    Persistent ID for member. This field is only available to teams using persistent ID SAML configuration.

    sendWelcomeEmail

    Whether to send a welcome email to the member. If send_welcome_email is false, no email invitation will be sent to the user. This may be useful for apps using single sign-on (SSO) flows for onboarding that want to handle announcements themselves.

    role

    (no description).

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithMemberEmail:(nonnull NSString *)memberEmail;

    Swift

    init(memberEmail: String)

    Parameters

    memberEmail

    (no description).

    Return Value

    An initialized instance.