UploadPartDescription

public struct UploadPartDescription : BoxModel

Description of uploaded part

  • Part Id

    Declaration

    Swift

    public let partId: String
  • Part offset

    Declaration

    Swift

    public let offset: Int
  • Part size

    Declaration

    Swift

    public let size: Int
  • Part SHA hash

    Declaration

    Swift

    public let sha1: String?
  • Initializer

    Declaration

    Swift

    init(json: [String : Any]) throws

    Parameters

    json

    The json representation of the description of the upload part

  • The upload part description’s raw data

    Declaration

    Swift

    var rawData: [String : Any] { get }
  • Get the upload part description in JSON

    Declaration

    Swift

    func jsonRepresentation() -> [String : Any]