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:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTypesItem(PluginInterfaceType typesItem) booleanstatic PluginConfigInterfaceCreate an instance of PluginConfigInterface given an JSON stringProtocol to use for clients connecting to the plugin.@NotNull Stringsocket@NotNull @Valid List<PluginInterfaceType>getTypes()typesinthashCode()protocolScheme(String protocolScheme) voidsetProtocolScheme(String protocolScheme) voidvoidsetTypes(List<PluginInterfaceType> types) toJson()Convert an instance of PluginConfigInterface to an JSON stringtoString()types(List<PluginInterfaceType> types) static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_SOCKET
- See Also:
-
SERIALIZED_NAME_TYPES
- See Also:
-
SERIALIZED_NAME_PROTOCOL_SCHEME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PluginConfigInterface
public PluginConfigInterface()
-
-
Method Details
-
socket
-
getSocket
socket- Returns:
- socket
-
setSocket
-
types
-
addTypesItem
-
getTypes
types- Returns:
- types
-
setTypes
-
protocolScheme
-
getProtocolScheme
Protocol to use for clients connecting to the plugin.- Returns:
- protocolScheme
-
setProtocolScheme
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
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
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
Convert an instance of PluginConfigInterface to an JSON string- Returns:
- JSON string
-