DBTEAMTeamFolderUpdateSyncSettingsArg

@interface DBTEAMTeamFolderUpdateSyncSettingsArg
    : DBTEAMTeamFolderIdArg <DBSerializable, NSCopying>

The TeamFolderUpdateSyncSettingsArg struct.

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

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

    Declaration

    Objective-C

    - (nonnull instancetype)
    initWithTeamFolderId:(nonnull NSString *)teamFolderId
             syncSetting:(nullable DBFILESSyncSettingArg *)syncSetting
     contentSyncSettings:
         (nullable NSArray<DBFILESContentSyncSettingArg *> *)contentSyncSettings;

    Swift

    init(teamFolderId: String, syncSetting: DBFILESSyncSettingArg?, contentSyncSettings: [DBFILESContentSyncSettingArg]?)

    Parameters

    teamFolderId

    The ID of the team folder.

    syncSetting

    Sync setting to apply to the team folder itself. Only meaningful if the team folder is not a shared team root.

    contentSyncSettings

    Sync settings to apply to contents of this team folder.

    Return Value

    An initialized instance.

  • Convenience constructor (exposes only non-nullable instance variables with no default value).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithTeamFolderId:(nonnull NSString *)teamFolderId;

    Swift

    init(teamFolderId: String)

    Parameters

    teamFolderId

    The ID of the team folder.

    Return Value

    An initialized instance.