Class ManifestSummary
java.lang.Object
io.github.alersrt.pod4j.openapi.model.ManifestSummary
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManifestSummary
extends Object
implements Serializable
ManifestSummary
- See Also:
-
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 string@Valid AttestationPropertiesGet attestationData@NotNull BooleanIndicates whether all the child content (image config, layers) is fully available locally@NotNull @Valid DescriptorGet descriptor@NotNull StringgetID()ID is the content-addressable ID of an image and is the same as the digest of the image manifest.@Valid ImagePropertiesGet imageData@NotNull StringgetKind()Get kind@NotNull @Valid ManifestSummarySizegetSize()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 voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_AVAILABLE
- See Also:
-
SERIALIZED_NAME_DESCRIPTOR
- See Also:
-
SERIALIZED_NAME_I_D
- See Also:
-
SERIALIZED_NAME_KIND
- See Also:
-
SERIALIZED_NAME_SIZE
- See Also:
-
SERIALIZED_NAME_ATTESTATION_DATA
- See Also:
-
SERIALIZED_NAME_IMAGE_DATA
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ManifestSummary
public ManifestSummary()
-
-
Method Details
-
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
-
kind
-
getKind
Get kind- Returns:
- kind
-
setKind
-
size
-
getSize
Get size- Returns:
- size
-
setSize
-
attestationData
-
getAttestationData
Get attestationData- Returns:
- attestationData
-
setAttestationData
-
imageData
-
getImageData
Get imageData- Returns:
- imageData
-
setImageData
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object 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
-