DBTEAMLOGSharedContentChangeInviteeRoleDetails

Objective-C

@interface DBTEAMLOGSharedContentChangeInviteeRoleDetails
    : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGSharedContentChangeInviteeRoleDetails : NSObject, DBSerializable, NSCopying

The SharedContentChangeInviteeRoleDetails struct.

Changed access type of invitee to shared file/folder before invite was accepted.

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

Instance fields

  • Previous access level. Might be missing due to historical data gap.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) DBSHARINGAccessLevel *previousAccessLevel;

    Swift

    var previousAccessLevel: DBSHARINGAccessLevel? { get }
  • New access level.

    Declaration

    Objective-C

    @property (nonatomic, readonly) DBSHARINGAccessLevel *_Nonnull dNewAccessLevel;

    Swift

    var dNewAccessLevel: DBSHARINGAccessLevel { get }
  • The invitee whose role was changed.

    Declaration

    Objective-C

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

    Swift

    var invitee: String { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)
        initWithDNewAccessLevel:(nonnull DBSHARINGAccessLevel *)dNewAccessLevel
                        invitee:(nonnull NSString *)invitee
            previousAccessLevel:
                (nullable DBSHARINGAccessLevel *)previousAccessLevel;

    Swift

    init(dNewAccessLevel: DBSHARINGAccessLevel, invitee: String, previousAccessLevel: DBSHARINGAccessLevel?)

    Parameters

    dNewAccessLevel

    New access level.

    invitee

    The invitee whose role was changed.

    previousAccessLevel

    Previous access level. Might be missing due to historical data gap.

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDNewAccessLevel:
                                (nonnull DBSHARINGAccessLevel *)dNewAccessLevel
                                            invitee:(nonnull NSString *)invitee;

    Swift

    init(dNewAccessLevel: DBSHARINGAccessLevel, invitee: String)

    Parameters

    dNewAccessLevel

    New access level.

    invitee

    The invitee whose role was changed.

    Return Value

    An initialized instance.