Skip to main content

GetUploadPartsResponse Constructors

An object defining constructors for the GetUploadPartsResponse class.

GetUploadPartsResponse(objectId, branchId, commitId, uploadParts)

Initializes a new instance of the GetUploadPartsResponse class with the specified identifiers and upload parts.

Parameters:

objectId (required): long?
The optional identifier of the document management object.

branchId (required): long?
The optional identifier of the branch.

commitId (required): long?
The optional identifier of the commit.

uploadParts (required): List<UploadPart>
The list of upload parts for the multi-part file upload.

This constructor is marked with [JsonConstructor] and initializes a new response with both the upload parts and their associated identifiers. It calls the base constructor with uploadParts and then sets the additional identifier properties.


GetUploadPartsResponse()

Initializes a new instance of the GetUploadPartsResponse class.


GetUploadPartsResponse(uploadParts)

Initializes a new instance of the GetUploadPartsResponse class with the specified upload parts.

Parameters:

uploadParts (required): List<UploadPart>
The list of upload parts for the multi-part file upload.

This constructor initializes a new response containing only the upload parts information. The object, branch, and commit identifiers will be null.