DBTEAMLOGPaperDocOwnershipChangedDetails

Objective-C

@interface DBTEAMLOGPaperDocOwnershipChangedDetails
    : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGPaperDocOwnershipChangedDetails : NSObject, DBSerializable, NSCopying

The PaperDocOwnershipChangedDetails struct.

Transferred ownership of Paper doc.

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 }
  • Previous owner.

    Declaration

    Objective-C

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

    Swift

    var oldOwnerUserId: String? { get }
  • New owner.

    Declaration

    Objective-C

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

    Swift

    var dNewOwnerUserId: String { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithEventUuid:(nonnull NSString *)eventUuid
                              dNewOwnerUserId:(nonnull NSString *)dNewOwnerUserId
                               oldOwnerUserId:(nullable NSString *)oldOwnerUserId;

    Swift

    init(eventUuid: String, dNewOwnerUserId: String, oldOwnerUserId: String?)

    Parameters

    eventUuid

    Event unique identifier.

    dNewOwnerUserId

    New owner.

    oldOwnerUserId

    Previous owner.

    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
                              dNewOwnerUserId:(nonnull NSString *)dNewOwnerUserId;

    Swift

    init(eventUuid: String, dNewOwnerUserId: String)

    Parameters

    eventUuid

    Event unique identifier.

    dNewOwnerUserId

    New owner.

    Return Value

    An initialized instance.