Class Schema2ListPublic
java.lang.Object
io.github.alersrt.pod4j.openapi.model.Schema2ListPublic
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class Schema2ListPublic
extends Object
implements Serializable
This is publicly visible as c/image/manifest.Schema2List. Internal users should usually use Schema2List instead.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddManifestsItem(Schema2ManifestDescriptor manifestsItem) booleanstatic Schema2ListPublicCreate an instance of Schema2ListPublic given an JSON string@Valid List<Schema2ManifestDescriptor>Get manifestsGet mediaTypeGet schemaVersioninthashCode()manifests(List<Schema2ManifestDescriptor> manifests) schemaVersion(Long schemaVersion) voidsetManifests(List<Schema2ManifestDescriptor> manifests) voidsetMediaType(String mediaType) voidsetSchemaVersion(Long schemaVersion) toJson()Convert an instance of Schema2ListPublic 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_MANIFESTS
- See Also:
-
SERIALIZED_NAME_MEDIA_TYPE
- See Also:
-
SERIALIZED_NAME_SCHEMA_VERSION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Schema2ListPublic
public Schema2ListPublic()
-
-
Method Details
-
manifests
-
addManifestsItem
-
getManifests
Get manifests- Returns:
- manifests
-
setManifests
-
mediaType
-
getMediaType
Get mediaType- Returns:
- mediaType
-
setMediaType
-
schemaVersion
-
getSchemaVersion
Get schemaVersion- Returns:
- schemaVersion
-
setSchemaVersion
-
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 Schema2ListPublic
-
fromJson
Create an instance of Schema2ListPublic given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Schema2ListPublic
- Throws:
IOException- if the JSON string is invalid with respect to Schema2ListPublic
-
toJson
Convert an instance of Schema2ListPublic to an JSON string- Returns:
- JSON string
-