Class PluginConfigLinux
java.lang.Object
io.github.alersrt.pod4j.openapi.model.PluginConfigLinux
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-29T01:29:49.168634544+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class PluginConfigLinux
extends Object
PluginConfigLinux plugin config linux
-
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<@Valid PluginDevice> devices) booleanstatic PluginConfigLinuxCreate an instance of PluginConfigLinux given an JSON string@NotNull Booleanallow all devicescapabilities@NotNull @Valid List<@Valid PluginDevice>devicesinthashCode()voidsetAllowAllDevices(Boolean allowAllDevices) voidsetCapabilities(List<String> capabilities) voidsetDevices(List<@Valid PluginDevice> devices) toJson()Convert an instance of PluginConfigLinux 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_ALLOW_ALL_DEVICES
- See Also:
-
SERIALIZED_NAME_CAPABILITIES
- See Also:
-
SERIALIZED_NAME_DEVICES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PluginConfigLinux
public PluginConfigLinux()
-
-
Method Details
-
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 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
-
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
-
toJson
Convert an instance of PluginConfigLinux to an JSON string- Returns:
- JSON string
-