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