DBTEAMTeamFolderCreateArg
Objective-C
@interface DBTEAMTeamFolderCreateArg : NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMTeamFolderCreateArg : NSObject, DBSerializable, NSCopying
The TeamFolderCreateArg
struct.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Name for the new team folder.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull name;
Swift
var name: String { get }
-
The sync setting to apply to this team folder. Only permitted if the team has team selective sync enabled.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) DBFILESSyncSettingArg *syncSetting;
Swift
var syncSetting: DBFILESSyncSettingArg? { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithName:(nonnull NSString *)name syncSetting: (nullable DBFILESSyncSettingArg *)syncSetting;
Swift
init(name: String, syncSetting: DBFILESSyncSettingArg?)
Parameters
name
Name for the new team folder.
syncSetting
The sync setting to apply to this team folder. Only permitted if the team has team selective sync enabled.
Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initWithName:(nonnull NSString *)name;
Swift
init(name: String)
Parameters
name
Name for the new team folder.
Return Value
An initialized instance.