DBTEAMTeamFolderMetadata

@interface 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.

  • The ID of the team folder.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var contentSyncSettings: [DBFILESContentSyncSetting] { get }
  • 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.