Class CortexCliApi.DownloadLink
java.lang.Object
org.jenkinsci.plugins.cortexcloud.api.CortexCliApi.DownloadLink
- All Implemented Interfaces:
Serializable
- Enclosing class:
CortexCliApi
Response body of CortexConstants.DOWNLOAD_LINK_PATH.
Shape (verified against a live tenant):
{ "signed_url": "...", "checksum": "...", "file_name": "...", "expiration": ... }.
Note: the tenant returns the checksum as an MD5 hex digest in practice (32
chars), not SHA-256. The verifier in CliProvisioner infers the algorithm
from the hex length, so it handles MD5, SHA-1, or SHA-256 transparently.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Field Details
-
signedUrl
-
checksum
@SerializedName(value="checksum", alternate={"md5","md5Checksum","sha256","sha256Checksum"}) public String checksum -
fileName
-
expiration
-
-
Constructor Details
-
DownloadLink
public DownloadLink()
-
-
Method Details
-
getSignedUrl
-
getChecksum
-
getFileName
-
getExpiration
-