DBTEAMLOGMemberChangeAdminRoleDetails

Objective-C

@interface DBTEAMLOGMemberChangeAdminRoleDetails
    : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGMemberChangeAdminRoleDetails : NSObject, DBSerializable, NSCopying

The MemberChangeAdminRoleDetails struct.

Changed team member admin role.

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

Instance fields

  • New admin role. This field is relevant when the admin role is changed or whenthe user role changes from no admin rights to with admin rights.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) DBTEAMLOGAdminRole *dNewValue;

    Swift

    var dNewValue: DBTEAMLOGAdminRole? { get }
  • Previous admin role. This field is relevant when the admin role is changed or when the admin role is removed.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) DBTEAMLOGAdminRole *previousValue;

    Swift

    var previousValue: DBTEAMLOGAdminRole? { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)
        initWithDNewValue:(nullable DBTEAMLOGAdminRole *)dNewValue
            previousValue:(nullable DBTEAMLOGAdminRole *)previousValue;

    Swift

    init(dNewValue: DBTEAMLOGAdminRole?, previousValue: DBTEAMLOGAdminRole?)

    Parameters

    dNewValue

    New admin role. This field is relevant when the admin role is changed or whenthe user role changes from no admin rights to with admin rights.

    previousValue

    Previous admin role. This field is relevant when the admin role is changed or when the admin role is removed.

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initDefault;

    Swift

    init(default: ())

    Return Value

    An initialized instance.