Class LinuxBlockIODevice
java.lang.Object
io.github.alersrt.pod4j.openapi.model.LinuxBlockIODevice
@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 LinuxBlockIODevice
extends Object
LinuxBlockIODevice holds major:minor format supported in blkio cgroup
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic LinuxBlockIODeviceCreate an instance of LinuxBlockIODevice given an JSON stringgetMajor()Major is the device's major number.getMinor()Minor is the device's minor number.inthashCode()voidvoidtoJson()Convert an instance of LinuxBlockIODevice 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_MAJOR
- See Also:
-
SERIALIZED_NAME_MINOR
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LinuxBlockIODevice
public LinuxBlockIODevice()
-
-
Method Details
-
major
-
getMajor
Major is the device's major number.- Returns:
- major
-
setMajor
-
minor
-
getMinor
Minor is the device's minor number.- Returns:
- minor
-
setMinor
-
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 LinuxBlockIODevice
-
fromJson
Create an instance of LinuxBlockIODevice given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LinuxBlockIODevice
- Throws:
IOException- if the JSON string is invalid with respect to LinuxBlockIODevice
-
toJson
Convert an instance of LinuxBlockIODevice to an JSON string- Returns:
- JSON string
-