Class PluginConfigLinux
java.lang.Object
io.github.alersrt.pod4j.openapi.model.PluginConfigLinux
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class PluginConfigLinux
extends Object
implements Serializable
PluginConfigLinux plugin config linux
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCapabilitiesItem(String capabilitiesItem) addDevicesItem(PluginDevice devicesItem) allowAllDevices(Boolean allowAllDevices) capabilities(List<String> capabilities) devices(List<PluginDevice> devices) booleanstatic PluginConfigLinuxCreate an instance of PluginConfigLinux given an JSON string@NotNull Booleanallow all devicescapabilities@NotNull @Valid List<PluginDevice>devicesinthashCode()voidsetAllowAllDevices(Boolean allowAllDevices) voidsetCapabilities(List<String> capabilities) voidsetDevices(List<PluginDevice> devices) toJson()Convert an instance of PluginConfigLinux 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_ALLOW_ALL_DEVICES
- See Also:
-
SERIALIZED_NAME_CAPABILITIES
- See Also:
-
SERIALIZED_NAME_DEVICES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PluginConfigLinux
public PluginConfigLinux()
-
-
Method Details
-
allowAllDevices
-
getAllowAllDevices
allow all devices- Returns:
- allowAllDevices
-
setAllowAllDevices
-
capabilities
-
addCapabilitiesItem
-
getCapabilities
capabilities- Returns:
- capabilities
-
setCapabilities
-
devices
-
addDevicesItem
-
getDevices
devices- Returns:
- devices
-
setDevices
-
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 PluginConfigLinux
-
fromJson
Create an instance of PluginConfigLinux given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PluginConfigLinux
- Throws:
IOException- if the JSON string is invalid with respect to PluginConfigLinux
-
toJson
Convert an instance of PluginConfigLinux to an JSON string- Returns:
- JSON string
-