Class Plugin
java.lang.Object
io.github.alersrt.pod4j.openapi.model.Plugin
@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 Plugin
extends Object
Plugin A plugin for the Engine API
-
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 stringGet configTrue if the plugin is running.getId()IdgetName()nameplugin remote reference used to push/pull the pluginGet 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 voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CONFIG
- See Also:
-
SERIALIZED_NAME_ENABLED
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_PLUGIN_REFERENCE
- See Also:
-
SERIALIZED_NAME_SETTINGS
- 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
-
id
-
getId
Id- Returns:
- id
-
setId
-
name
-
getName
name- Returns:
- name
-
setName
-
pluginReference
-
getPluginReference
plugin remote reference used to push/pull the plugin- Returns:
- pluginReference
-
setPluginReference
-
settings
-
getSettings
Get settings- Returns:
- settings
-
setSettings
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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 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
-