Class Plugin
java.lang.Object
io.github.alersrt.pod4j.openapi.model.Plugin
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class Plugin
extends Object
implements Serializable
Plugin A plugin for the Engine API
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfig(PluginConfig config) booleanstatic PluginCreate an instance of Plugin given an JSON string@NotNull @Valid PluginConfigGet config@NotNull BooleanTrue if the plugin is running.getId()Id@NotNull StringgetName()nameplugin remote reference used to push/pull the plugin@NotNull @Valid PluginSettingsGet settingsinthashCode()pluginReference(String pluginReference) voidsetConfig(PluginConfig config) voidsetEnabled(Boolean enabled) voidvoidvoidsetPluginReference(String pluginReference) voidsetSettings(PluginSettings settings) settings(PluginSettings settings) toJson()Convert an instance of Plugin to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CONFIG
- See Also:
-
SERIALIZED_NAME_ENABLED
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_SETTINGS
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_PLUGIN_REFERENCE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Plugin
public Plugin()
-
-
Method Details
-
config
-
getConfig
Get config- Returns:
- config
-
setConfig
-
enabled
-
getEnabled
True if the plugin is running. False if the plugin is not running, only installed.- Returns:
- enabled
-
setEnabled
-
name
-
getName
name- Returns:
- name
-
setName
-
settings
-
getSettings
Get settings- Returns:
- settings
-
setSettings
-
id
-
getId
Id- Returns:
- id
-
setId
-
pluginReference
-
getPluginReference
plugin remote reference used to push/pull the plugin- Returns:
- pluginReference
-
setPluginReference
-
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 Plugin
-
fromJson
Create an instance of Plugin given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Plugin
- Throws:
IOException- if the JSON string is invalid with respect to Plugin
-
toJson
Convert an instance of Plugin to an JSON string- Returns:
- JSON string
-