Class PluginDevice

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-11-19T11:19:05.435500352+07:00[Asia/Barnaul]", comments="Generator version: 7.7.0") public class PluginDevice extends Object
PluginDevice plugin device
  • Field Details

  • Constructor Details

    • PluginDevice

      public PluginDevice()
  • Method Details

    • description

      public PluginDevice description(String description)
    • getDescription

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

      public void setDescription(String description)
    • name

      public PluginDevice name(String name)
    • getName

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

      public void setName(String name)
    • path

      public PluginDevice path(String path)
    • getPath

      @Nonnull public String getPath()
      path
      Returns:
      path
    • setPath

      public void setPath(String path)
    • settable

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

      public PluginDevice addSettableItem(String settableItem)
    • getSettable

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

      public void setSettable(List<String> settable)
    • 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 PluginDevice
    • fromJson

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

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