Class InspectDevice
java.lang.Object
io.github.alersrt.pod4j.openapi.model.InspectDevice
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class InspectDevice
extends Object
implements Serializable
InspectDevice
- See Also:
-
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 voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object 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
-
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
-
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 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
-
toJson
Convert an instance of InspectDevice to an JSON string- Returns:
- JSON string
-