DBTEAMLOGSharedLinkSettingsAddExpirationDetails
Objective-C
@interface DBTEAMLOGSharedLinkSettingsAddExpirationDetails
: NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMLOGSharedLinkSettingsAddExpirationDetails : NSObject, DBSerializable, NSCopying
The SharedLinkSettingsAddExpirationDetails
struct.
Added an expiration date to 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.
-
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 }
-
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;
Swift
init(sharedContentAccessLevel: DBSHARINGAccessLevel, sharedContentLink: String?, dNewValue: 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.
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.