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:
  • Field Details

  • Constructor Details

    • Schema2ListPublic

      public Schema2ListPublic()
  • Method Details

    • manifests

      public Schema2ListPublic manifests(List<Schema2ManifestDescriptor> manifests)
    • addManifestsItem

      public Schema2ListPublic addManifestsItem(Schema2ManifestDescriptor manifestsItem)
    • getManifests

      @Nullable @Valid public @Valid List<Schema2ManifestDescriptor> getManifests()
      Get manifests
      Returns:
      manifests
    • setManifests

      public void setManifests(List<Schema2ManifestDescriptor> manifests)
    • mediaType

      public Schema2ListPublic mediaType(String mediaType)
    • getMediaType

      @Nullable public String getMediaType()
      Get mediaType
      Returns:
      mediaType
    • setMediaType

      public void setMediaType(String mediaType)
    • schemaVersion

      public Schema2ListPublic schemaVersion(Long schemaVersion)
    • getSchemaVersion

      @Nullable public Long getSchemaVersion()
      Get schemaVersion
      Returns:
      schemaVersion
    • setSchemaVersion

      public void setSchemaVersion(Long schemaVersion)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonObject

      public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
      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

      public static Schema2ListPublic fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of Schema2ListPublic to an JSON string
      Returns:
      JSON string