DBSHARINGCreateSharedLinkWithSettingsArg
Objective-C
@interface DBSHARINGCreateSharedLinkWithSettingsArg
: NSObject <DBSerializable, NSCopying>
Swift
class DBSHARINGCreateSharedLinkWithSettingsArg : NSObject, DBSerializable, NSCopying
The CreateSharedLinkWithSettingsArg struct.
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
The path to be shared by the shared link.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull path;Swift
var path: String { get } -
The requested settings for the newly created shared link.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) DBSHARINGSharedLinkSettings *settings;Swift
var settings: DBSHARINGSharedLinkSettings? { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithPath:(nonnull NSString *)path settings:(nullable DBSHARINGSharedLinkSettings *) settings;Swift
init(path: String, settings: DBSHARINGSharedLinkSettings?)Parameters
pathThe path to be shared by the shared link.
settingsThe requested settings for the newly created shared link.
Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initWithPath:(nonnull NSString *)path;Swift
init(path: String)Parameters
pathThe path to be shared by the shared link.
Return Value
An initialized instance.
View on GitHub
DBSHARINGCreateSharedLinkWithSettingsArg Class Reference