Class PluginEnv

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

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

  • Constructor Details

    • PluginEnv

      public PluginEnv()
  • Method Details

    • description

      public PluginEnv description(String description)
    • getDescription

      @Nonnull @NotNull public @NotNull String getDescription()
      description
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • name

      public PluginEnv name(String name)
    • getName

      @Nonnull @NotNull public @NotNull String getName()
      name
      Returns:
      name
    • setName

      public void setName(String name)
    • settable

      public PluginEnv settable(List<String> settable)
    • addSettableItem

      public PluginEnv addSettableItem(String settableItem)
    • getSettable

      @Nonnull @NotNull public @NotNull List<String> getSettable()
      settable
      Returns:
      settable
    • setSettable

      public void setSettable(List<String> settable)
    • value

      public PluginEnv value(String value)
    • getValue

      @Nonnull @NotNull public @NotNull String getValue()
      value
      Returns:
      value
    • setValue

      public void setValue(String value)
    • 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 PluginEnv
    • fromJson

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

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