Class InspectDevice
java.lang.Object
io.github.alersrt.pod4j.openapi.model.InspectDevice
@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 InspectDevice
extends Object
InspectDevice
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncgroupPermissions(String cgroupPermissions) booleanstatic InspectDeviceCreate an instance of InspectDevice given an JSON stringCgroupPermissions is the permissions of the mounted device.PathInContainer is the path of the device within the container.PathOnHost is the path of the device on the host.inthashCode()pathInContainer(String pathInContainer) pathOnHost(String pathOnHost) voidsetCgroupPermissions(String cgroupPermissions) voidsetPathInContainer(String pathInContainer) voidsetPathOnHost(String pathOnHost) toJson()Convert an instance of InspectDevice 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_CGROUP_PERMISSIONS
- See Also:
-
SERIALIZED_NAME_PATH_IN_CONTAINER
- See Also:
-
SERIALIZED_NAME_PATH_ON_HOST
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
InspectDevice
public InspectDevice()
-
-
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 InspectDevice
-
fromJson
Create an instance of InspectDevice given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of InspectDevice
- Throws:
IOException- if the JSON string is invalid with respect to InspectDevice
-
cgroupPermissions
-
getCgroupPermissions
CgroupPermissions is the permissions of the mounted device. Presently not populated. TODO.- Returns:
- cgroupPermissions
-
setCgroupPermissions
-
pathInContainer
-
getPathInContainer
PathInContainer is the path of the device within the container.- Returns:
- pathInContainer
-
setPathInContainer
-
pathOnHost
-
getPathOnHost
PathOnHost is the path of the device on the host.- Returns:
- pathOnHost
-
setPathOnHost
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of InspectDevice to an JSON string- Returns:
- JSON string
-