DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails

Objective-C

@interface DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails
    : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails : NSObject, DBSerializable, NSCopying

The SharedLinkSettingsRemoveExpirationDetails struct.

Removed the expiration date from 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 }
  • Previous shared 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
                           previousValue:(nullable NSDate *)previousValue;

    Swift

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

    Parameters

    sharedContentAccessLevel

    Shared content access level.

    sharedContentLink

    Shared content link.

    previousValue

    Previous shared 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.