DBTEAMTeamFolderArchiveArg

Objective-C

@interface DBTEAMTeamFolderArchiveArg
    : DBTEAMTeamFolderIdArg <DBSerializable, NSCopying>

Swift

class DBTEAMTeamFolderArchiveArg : DBTEAMTeamFolderIdArg, DBSerializable, NSCopying

The TeamFolderArchiveArg struct.

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

Instance fields

  • Whether to force the archive to happen synchronously.

    Declaration

    Objective-C

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

    Swift

    var forceAsyncOff: NSNumber { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithTeamFolderId:(nonnull NSString *)teamFolderId
                                   forceAsyncOff:(nullable NSNumber *)forceAsyncOff;

    Swift

    init(teamFolderId: String, forceAsyncOff: NSNumber?)

    Parameters

    teamFolderId

    The ID of the team folder.

    forceAsyncOff

    Whether to force the archive to happen synchronously.

    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.