Class ExecStartRequest

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ExecStartRequest extends Object implements Serializable
ExecStartRequest
See Also:
  • Field Details

  • Constructor Details

    • ExecStartRequest

      public ExecStartRequest()
  • Method Details

    • detach

      public ExecStartRequest detach(Boolean detach)
    • getDetach

      @Nullable public Boolean getDetach()
      Detach from the command. Not presently supported.
      Returns:
      detach
    • setDetach

      public void setDetach(Boolean detach)
    • tty

      public ExecStartRequest tty(Boolean tty)
    • getTty

      @Nullable public Boolean getTty()
      Allocate a pseudo-TTY. Presently ignored.
      Returns:
      tty
    • setTty

      public void setTty(Boolean tty)
    • 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 ExecStartRequest
    • fromJson

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

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