Class InspectBlkioThrottleDevice
java.lang.Object
io.github.alersrt.pod4j.openapi.model.InspectBlkioThrottleDevice
@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 InspectBlkioThrottleDevice
extends Object
InspectBlkioThrottleDevice holds information about a speed cap for a device node. This cap
applies to a specific operation (read, write, etc) on the given node.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic InspectBlkioThrottleDeviceCreate an instance of InspectBlkioThrottleDevice given an JSON stringgetPath()Path is the path to the device this applies to.getRate()Rate is the maximum rate.inthashCode()voidvoidtoJson()Convert an instance of InspectBlkioThrottleDevice 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_PATH
- See Also:
-
SERIALIZED_NAME_RATE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
InspectBlkioThrottleDevice
public InspectBlkioThrottleDevice()
-
-
Method Details
-
path
-
getPath
Path is the path to the device this applies to.- Returns:
- path
-
setPath
-
rate
-
getRate
Rate is the maximum rate. It is in either bytes per second or iops per second, determined by where it is used - documentation will indicate which is appropriate.- Returns:
- rate
-
setRate
-
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 InspectBlkioThrottleDevice
-
fromJson
Create an instance of InspectBlkioThrottleDevice given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of InspectBlkioThrottleDevice
- Throws:
IOException- if the JSON string is invalid with respect to InspectBlkioThrottleDevice
-
toJson
Convert an instance of InspectBlkioThrottleDevice to an JSON string- Returns:
- JSON string
-