Class SetKillswitchValueResponse

java.lang.Object
ai.shipeasy.admin.model.SetKillswitchValueResponse

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.23.0") public class SetKillswitchValueResponse extends Object
SetKillswitchValueResponse
  • Field Details

  • Constructor Details

    • SetKillswitchValueResponse

      public SetKillswitchValueResponse()
  • Method Details

    • id

      public SetKillswitchValueResponse id(@Nonnull String id)
    • getId

      @Nonnull public String getId()
      Get id
      Returns:
      id
    • setId

      public void setId(@Nonnull String id)
    • env

      public SetKillswitchValueResponse env(@Nonnull Env env)
    • getEnv

      @Nonnull public Env getEnv()
      Get env
      Returns:
      env
    • setEnv

      public void setEnv(@Nonnull Env env)
    • version

      public SetKillswitchValueResponse version(@Nonnull Integer version)
    • getVersion

      @Nonnull public Integer getVersion()
      Newly published version on `env`. minimum: -9007199254740991 maximum: 9007199254740991
      Returns:
      version
    • setVersion

      public void setVersion(@Nonnull Integer version)
    • published

      public SetKillswitchValueResponse published(@Nonnull KillswitchValue published)
    • getPublished

      @Nonnull public KillswitchValue getPublished()
      Get published
      Returns:
      published
    • setPublished

      public void setPublished(@Nonnull KillswitchValue published)
    • 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
    • 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 SetKillswitchValueResponse
    • fromJson

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

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