Class Schema2ManifestDescriptor
java.lang.Object
io.github.alersrt.pod4j.openapi.model.Schema2ManifestDescriptor
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-29T01:29:49.168634544+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class Schema2ManifestDescriptor
extends Object
This is publicly visible as c/image/manifest.Schema2ManifestDescriptor.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddUrlsItem(String urlsItem) booleanstatic Schema2ManifestDescriptorCreate an instance of Schema2ManifestDescriptor given an JSON stringThe following is an example of the contents of Digest types: sha256:7173b809ca12ec5dee4506cd86be934c4596dd234ee82c0662eac04a8c2c71dc This allows to abstract the digest behind this type and work only in those terms.Get mediaType@Valid Schema2PlatformSpecGet platformgetSize()Get sizegetUrls()Get urlsinthashCode()platform(Schema2PlatformSpec platform) voidvoidsetMediaType(String mediaType) voidsetPlatform(Schema2PlatformSpec platform) voidvoidtoJson()Convert an instance of Schema2ManifestDescriptor 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_DIGEST
- See Also:
-
SERIALIZED_NAME_MEDIA_TYPE
- See Also:
-
SERIALIZED_NAME_PLATFORM
- See Also:
-
SERIALIZED_NAME_SIZE
- See Also:
-
SERIALIZED_NAME_URLS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Schema2ManifestDescriptor
public Schema2ManifestDescriptor()
-
-
Method Details
-
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 Schema2ManifestDescriptor
-
fromJson
Create an instance of Schema2ManifestDescriptor given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Schema2ManifestDescriptor
- Throws:
IOException- if the JSON string is invalid with respect to Schema2ManifestDescriptor
-
digest
-
getDigest
The following is an example of the contents of Digest types: sha256:7173b809ca12ec5dee4506cd86be934c4596dd234ee82c0662eac04a8c2c71dc This allows to abstract the digest behind this type and work only in those terms.- Returns:
- digest
-
setDigest
-
mediaType
-
getMediaType
Get mediaType- Returns:
- mediaType
-
setMediaType
-
platform
-
getPlatform
Get platform- Returns:
- platform
-
setPlatform
-
size
-
getSize
Get size- Returns:
- size
-
setSize
-
urls
-
addUrlsItem
-
getUrls
Get urls- Returns:
- urls
-
setUrls
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of Schema2ManifestDescriptor to an JSON string- Returns:
- JSON string
-