DBTEAMTeamFolderMetadata

Objective-C

@interface DBTEAMTeamFolderMetadata : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMTeamFolderMetadata : NSObject, DBSerializable, NSCopying

The TeamFolderMetadata struct.

Properties of a team folder.

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

Instance fields

  • The ID of the team folder.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull teamFolderId;

    Swift

    var teamFolderId: String { get }
  • The name of the team folder.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull name;

    Swift

    var name: String { get }
  • The status of the team folder.

    Declaration

    Objective-C

    @property (nonatomic, readonly) DBTEAMTeamFolderStatus *_Nonnull status;

    Swift

    var status: DBTEAMTeamFolderStatus { get }
  • True if this team folder is a shared team root.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *_Nonnull isTeamSharedDropbox;

    Swift

    var isTeamSharedDropbox: NSNumber { get }
  • The sync setting applied to this team folder.

    Declaration

    Objective-C

    @property (nonatomic, readonly) DBFILESSyncSetting *_Nonnull syncSetting;

    Swift

    var syncSetting: DBFILESSyncSetting { get }
  • Sync settings applied to contents of this team folder.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<DBFILESContentSyncSetting *> *_Nonnull contentSyncSettings;

    Swift

    var contentSyncSettings: [DBFILESContentSyncSetting] { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)
        initWithTeamFolderId:(nonnull NSString *)teamFolderId
                        name:(nonnull NSString *)name
                      status:(nonnull DBTEAMTeamFolderStatus *)status
         isTeamSharedDropbox:(nonnull NSNumber *)isTeamSharedDropbox
                 syncSetting:(nonnull DBFILESSyncSetting *)syncSetting
         contentSyncSettings:
             (nonnull NSArray<DBFILESContentSyncSetting *> *)contentSyncSettings;

    Swift

    init(teamFolderId: String, name: String, status: DBTEAMTeamFolderStatus, isTeamSharedDropbox: NSNumber, syncSetting: DBFILESSyncSetting, contentSyncSettings: [DBFILESContentSyncSetting])

    Parameters

    teamFolderId

    The ID of the team folder.

    name

    The name of the team folder.

    status

    The status of the team folder.

    isTeamSharedDropbox

    True if this team folder is a shared team root.

    syncSetting

    The sync setting applied to this team folder.

    contentSyncSettings

    Sync settings applied to contents of this team folder.

    Return Value

    An initialized instance.