Class ManifestSummary
java.lang.Object
io.github.alersrt.pod4j.openapi.model.ManifestSummary
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-19T11:19:05.435500352+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class ManifestSummary
extends Object
ManifestSummary
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattestationData(AttestationProperties attestationData) descriptor(Descriptor descriptor) booleanstatic ManifestSummaryCreate an instance of ManifestSummary given an JSON stringGet attestationDataIndicates whether all the child content (image config, layers) is fully available locallyGet descriptorgetID()ID is the content-addressable ID of an image and is the same as the digest of the image manifest.Get imageDatagetKind()Get kindgetSize()Get sizeinthashCode()imageData(ImageProperties imageData) voidsetAttestationData(AttestationProperties attestationData) voidsetAvailable(Boolean available) voidsetDescriptor(Descriptor descriptor) voidvoidsetImageData(ImageProperties imageData) voidvoidsetSize(ManifestSummarySize size) size(ManifestSummarySize size) toJson()Convert an instance of ManifestSummary to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ATTESTATION_DATA
- See Also:
-
SERIALIZED_NAME_AVAILABLE
- See Also:
-
SERIALIZED_NAME_DESCRIPTOR
- See Also:
-
SERIALIZED_NAME_I_D
- See Also:
-
SERIALIZED_NAME_IMAGE_DATA
- See Also:
-
SERIALIZED_NAME_KIND
- See Also:
-
SERIALIZED_NAME_SIZE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ManifestSummary
public ManifestSummary()
-
-
Method Details
-
attestationData
-
getAttestationData
Get attestationData- Returns:
- attestationData
-
setAttestationData
-
available
-
getAvailable
Indicates whether all the child content (image config, layers) is fully available locally- Returns:
- available
-
setAvailable
-
descriptor
-
getDescriptor
Get descriptor- Returns:
- descriptor
-
setDescriptor
-
ID
-
getID
ID is the content-addressable ID of an image and is the same as the digest of the image manifest.- Returns:
- ID
-
setID
-
imageData
-
getImageData
Get imageData- Returns:
- imageData
-
setImageData
-
kind
-
getKind
Get kind- Returns:
- kind
-
setKind
-
size
-
getSize
Get size- Returns:
- size
-
setSize
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to ManifestSummary
-
fromJson
Create an instance of ManifestSummary given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ManifestSummary
- Throws:
IOException- if the JSON string is invalid with respect to ManifestSummary
-
toJson
Convert an instance of ManifestSummary to an JSON string- Returns:
- JSON string
-