Class Schema2ListPublic

java.lang.Object
io.github.alersrt.pod4j.openapi.model.Schema2ListPublic

@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 Schema2ListPublic extends Object
This is publicly visible as c/image/manifest.Schema2List. Internal users should usually use Schema2List instead.
  • Field Details

  • Constructor Details

    • Schema2ListPublic

      public Schema2ListPublic()
  • Method Details

    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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 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
    • manifests

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

      public Schema2ListPublic addManifestsItem(Schema2ManifestDescriptor manifestsItem)
    • getManifests

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

      public void setManifests(List<@Valid 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
    • toJson

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