ZipDownloadStatus

public class ZipDownloadStatus : BoxModel

Status of a Zip download

Properties

  • Declaration

    Swift

    public private(set) var rawData: [String : Any] { get }
  • The total number of files in the zip

    Declaration

    Swift

    public let totalFileCount: Int
  • The number of files in the zip that were downloaded

    Declaration

    Swift

    public let downloadedFileCount: Int
  • The number of files that were skipped when downloading

    Declaration

    Swift

    public let skippedFileCount: Int
  • The number of folders that were skipped when downloading

    Declaration

    Swift

    public let skippedFolderCount: Int
  • State of the download for the zip file

    Declaration

    Swift

    public let state: String
  • Conflicts that occur between items that have the same name. This is always initially nil and updated manually later, via the FilesModule.getZipDownloadStatus() method.

    Declaration

    Swift

    public var nameConflicts: [ZipDownloadConflict]?
  • Initializer.

    Throws

    Decoding error.

    Declaration

    Swift

    public required init(json: [String : Any]) throws

    Parameters

    json

    JSON dictionary.