Class PluginConfigInterface

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

@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 PluginConfigInterface extends Object
PluginConfigInterface The interface between Docker and the plugin
  • Field Details

  • Constructor Details

    • PluginConfigInterface

      public PluginConfigInterface()
  • Method Details

    • protocolScheme

      public PluginConfigInterface protocolScheme(String protocolScheme)
    • getProtocolScheme

      @Nullable public String getProtocolScheme()
      Protocol to use for clients connecting to the plugin.
      Returns:
      protocolScheme
    • setProtocolScheme

      public void setProtocolScheme(String protocolScheme)
    • socket

      public PluginConfigInterface socket(String socket)
    • getSocket

      @Nonnull public String getSocket()
      socket
      Returns:
      socket
    • setSocket

      public void setSocket(String socket)
    • types

    • addTypesItem

      public PluginConfigInterface addTypesItem(PluginInterfaceType typesItem)
    • getTypes

      @Nonnull public List<PluginInterfaceType> getTypes()
      types
      Returns:
      types
    • setTypes

      public void setTypes(List<PluginInterfaceType> types)
    • 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 PluginConfigInterface
    • fromJson

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

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