DBTEAMLOGPaperDocChangeSharingPolicyDetails

Objective-C

@interface DBTEAMLOGPaperDocChangeSharingPolicyDetails
    : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGPaperDocChangeSharingPolicyDetails : NSObject, DBSerializable, NSCopying

The PaperDocChangeSharingPolicyDetails struct.

Changed sharing setting for 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 }
  • Sharing policy with external users.

    Declaration

    Objective-C

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

    Swift

    var publicSharingPolicy: String? { get }
  • Sharing policy with team.

    Declaration

    Objective-C

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

    Swift

    var teamSharingPolicy: String? { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)
          initWithEventUuid:(nonnull NSString *)eventUuid
        publicSharingPolicy:(nullable NSString *)publicSharingPolicy
          teamSharingPolicy:(nullable NSString *)teamSharingPolicy;

    Swift

    init(eventUuid: String, publicSharingPolicy: String?, teamSharingPolicy: String?)

    Parameters

    eventUuid

    Event unique identifier.

    publicSharingPolicy

    Sharing policy with external users.

    teamSharingPolicy

    Sharing policy with team.

    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;

    Swift

    init(eventUuid: String)

    Parameters

    eventUuid

    Event unique identifier.

    Return Value

    An initialized instance.