Class ContainerCreateResponse

java.lang.Object
io.github.alersrt.pod4j.openapi.model.ContainerCreateResponse
All Implemented Interfaces:
Serializable

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ContainerCreateResponse extends Object implements Serializable
ContainerCreateResponse is the response struct for creating a container
See Also:
  • Field Details

  • Constructor Details

    • ContainerCreateResponse

      public ContainerCreateResponse()
  • Method Details

    • id

    • getId

      @Nonnull @NotNull public @NotNull String getId()
      ID of the container created
      Returns:
      id
    • setId

      public void setId(String id)
    • warnings

      public ContainerCreateResponse warnings(List<String> warnings)
    • addWarningsItem

      public ContainerCreateResponse addWarningsItem(String warningsItem)
    • getWarnings

      @Nonnull @NotNull public @NotNull List<String> getWarnings()
      Warnings during container creation
      Returns:
      warnings
    • setWarnings

      public void setWarnings(List<String> warnings)
    • 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 ContainerCreateResponse
    • fromJson

      public static ContainerCreateResponse fromJson(String jsonString) throws IOException
      Create an instance of ContainerCreateResponse given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of ContainerCreateResponse
      Throws:
      IOException - if the JSON string is invalid with respect to ContainerCreateResponse
    • toJson

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