DBTEAMLOGSharedLinkSettingsChangeExpirationDetails

Objective-C

@interface DBTEAMLOGSharedLinkSettingsChangeExpirationDetails
    : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGSharedLinkSettingsChangeExpirationDetails : NSObject, DBSerializable, NSCopying

The SharedLinkSettingsChangeExpirationDetails struct.

Changed the expiration date of the shared link.

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

Instance fields

  • Shared content access level.

    Declaration

    Objective-C

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

    Swift

    var sharedContentAccessLevel: DBSHARINGAccessLevel { get }
  • Shared content link.

    Declaration

    Objective-C

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

    Swift

    var sharedContentLink: String? { get }
  • New shared content link expiration date. Might be missing due to historical data gap.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSDate *dNewValue;

    Swift

    var dNewValue: Date? { get }
  • Previous shared content link expiration date. Might be missing due to historical data gap.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSDate *previousValue;

    Swift

    var previousValue: Date? { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)
        initWithSharedContentAccessLevel:
            (nonnull DBSHARINGAccessLevel *)sharedContentAccessLevel
                       sharedContentLink:(nullable NSString *)sharedContentLink
                               dNewValue:(nullable NSDate *)dNewValue
                           previousValue:(nullable NSDate *)previousValue;

    Swift

    init(sharedContentAccessLevel: DBSHARINGAccessLevel, sharedContentLink: String?, dNewValue: Date?, previousValue: Date?)

    Parameters

    sharedContentAccessLevel

    Shared content access level.

    sharedContentLink

    Shared content link.

    dNewValue

    New shared content link expiration date. Might be missing due to historical data gap.

    previousValue

    Previous shared content link expiration date. 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)initWithSharedContentAccessLevel:
        (nonnull DBSHARINGAccessLevel *)sharedContentAccessLevel;

    Swift

    init(sharedContentAccessLevel: DBSHARINGAccessLevel)

    Parameters

    sharedContentAccessLevel

    Shared content access level.

    Return Value

    An initialized instance.