DBTEAMLOGPaperFolderChangeSubscriptionDetails

Objective-C

@interface DBTEAMLOGPaperFolderChangeSubscriptionDetails
    : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGPaperFolderChangeSubscriptionDetails : NSObject, DBSerializable, NSCopying

The PaperFolderChangeSubscriptionDetails struct.

Followed/unfollowed Paper folder.

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

Instance fields

  • Event unique identifier.

    Declaration

    Objective-C

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

    Swift

    var eventUuid: String { get }
  • New folder subscription level.

    Declaration

    Objective-C

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

    Swift

    var dNewSubscriptionLevel: String { get }
  • Previous folder subscription level. Might be missing due to historical data gap.

    Declaration

    Objective-C

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

    Swift

    var previousSubscriptionLevel: String? { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)
                initWithEventUuid:(nonnull NSString *)eventUuid
            dNewSubscriptionLevel:(nonnull NSString *)dNewSubscriptionLevel
        previousSubscriptionLevel:(nullable NSString *)previousSubscriptionLevel;

    Swift

    init(eventUuid: String, dNewSubscriptionLevel: String, previousSubscriptionLevel: String?)

    Parameters

    eventUuid

    Event unique identifier.

    dNewSubscriptionLevel

    New folder subscription level.

    previousSubscriptionLevel

    Previous folder subscription 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)initWithEventUuid:(nonnull NSString *)eventUuid
                        dNewSubscriptionLevel:
                            (nonnull NSString *)dNewSubscriptionLevel;

    Swift

    init(eventUuid: String, dNewSubscriptionLevel: String)

    Parameters

    eventUuid

    Event unique identifier.

    dNewSubscriptionLevel

    New folder subscription level.

    Return Value

    An initialized instance.