DBTEAMLOGChangedEnterpriseAdminRoleDetails

Objective-C

@interface DBTEAMLOGChangedEnterpriseAdminRoleDetails
    : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGChangedEnterpriseAdminRoleDetails : NSObject, DBSerializable, NSCopying

The ChangedEnterpriseAdminRoleDetails struct.

Changed enterprise 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

  • The member&#x2019s previous enterprise admin role.

    Declaration

    Objective-C

    @property (nonatomic, readonly) DBTEAMLOGFedAdminRole *_Nonnull previousValue;

    Swift

    var previousValue: DBTEAMLOGFedAdminRole { get }
  • The member&#x2019s new enterprise admin role.

    Declaration

    Objective-C

    @property (nonatomic, readonly) DBTEAMLOGFedAdminRole *_Nonnull dNewValue;

    Swift

    var dNewValue: DBTEAMLOGFedAdminRole { get }
  • The name of the member&#x2019s team.

    Declaration

    Objective-C

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

    Swift

    var teamName: String { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)
        initWithPreviousValue:(nonnull DBTEAMLOGFedAdminRole *)previousValue
                    dNewValue:(nonnull DBTEAMLOGFedAdminRole *)dNewValue
                     teamName:(nonnull NSString *)teamName;

    Swift

    init(previousValue: DBTEAMLOGFedAdminRole, dNewValue: DBTEAMLOGFedAdminRole, teamName: String)

    Parameters

    previousValue

    The member&#x2019s previous enterprise admin role.

    dNewValue

    The member&#x2019s new enterprise admin role.

    teamName

    The name of the member&#x2019s team.

    Return Value

    An initialized instance.