Class PluginConfigInterface

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class PluginConfigInterface extends Object implements Serializable
PluginConfigInterface The interface between Docker and the plugin
See Also:
  • Field Details

  • Constructor Details

    • PluginConfigInterface

      public PluginConfigInterface()
  • Method Details

    • socket

      public PluginConfigInterface socket(String socket)
    • getSocket

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

      public void setSocket(String socket)
    • types

    • addTypesItem

      public PluginConfigInterface addTypesItem(PluginInterfaceType typesItem)
    • getTypes

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

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