UploadStatus

public enum UploadStatus : Int, Codable

Describes the upload status of the file to storage servers

  • The file upload has not yet been triggered or is not expected

    Declaration

    Swift

    case unknown
  • The file upload has been triggered but the complete notification from storage serers has not yet been received.

    Declaration

    Swift

    case pending
  • The file upload has been triggered and the complete notification from storage serers has been received.

    Declaration

    Swift

    case uploaded
  • The file is not meant to be uploaded to storage servers.

    Declaration

    Swift

    case external
  • Creates a UploadStatus instance based on the string representation from QED REST API response

  • uploadStatus: A string representing the status
  • Note

    When an invalid string is passed as uploadStatus the created instance will default to unknown

    Declaration

    Swift

    public init(fromAPIString uploadStatus: String)
  • The string value used to represent the status on QEDAPI transactions

    Declaration

    Swift

    public var string: String { get }