Class PluginInterfaceType

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

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

  • Constructor Details

    • PluginInterfaceType

      public PluginInterfaceType()
  • Method Details

    • capability

      public PluginInterfaceType capability(String capability)
    • getCapability

      @Nonnull @NotNull public @NotNull String getCapability()
      capability
      Returns:
      capability
    • setCapability

      public void setCapability(String capability)
    • prefix

      public PluginInterfaceType prefix(String prefix)
    • getPrefix

      @Nonnull @NotNull public @NotNull String getPrefix()
      prefix
      Returns:
      prefix
    • setPrefix

      public void setPrefix(String prefix)
    • version

      public PluginInterfaceType version(String version)
    • getVersion

      @Nonnull @NotNull public @NotNull String getVersion()
      version
      Returns:
      version
    • setVersion

      public void setVersion(String version)
    • 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 PluginInterfaceType
    • fromJson

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

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