DBTEAMLOGPaperDocChangeSubscriptionDetails
Objective-C
@interface DBTEAMLOGPaperDocChangeSubscriptionDetails
: NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMLOGPaperDocChangeSubscriptionDetails : NSObject, DBSerializable, NSCopying
The PaperDocChangeSubscriptionDetails
struct.
Followed/unfollowed Paper doc.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Event unique identifier.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull eventUuid;
Swift
var eventUuid: String { get }
-
New doc subscription level.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull dNewSubscriptionLevel;
Swift
var dNewSubscriptionLevel: String { get }
-
Previous doc 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 }
-
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 doc subscription level.
previousSubscriptionLevel
Previous doc 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 doc subscription level.
Return Value
An initialized instance.