Class Schema2ManifestDescriptor
java.lang.Object
io.github.alersrt.pod4j.openapi.model.Schema2ManifestDescriptor
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class Schema2ManifestDescriptor
extends Object
implements Serializable
This is publicly visible as c/image/manifest.Schema2ManifestDescriptor.
- See Also:
-
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 voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object 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
-
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
-
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 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
-
toJson
Convert an instance of Schema2ManifestDescriptor to an JSON string- Returns:
- JSON string
-