Class UpdateContainerDevicesLimits
java.lang.Object
io.github.alersrt.pod4j.openapi.model.UpdateContainerDevicesLimits
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class UpdateContainerDevicesLimits
extends Object
implements Serializable
UpdateContainerDevicesLimits
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBlkIOWeightDeviceItem(WeightDevice blkIOWeightDeviceItem) addDeviceReadBPsItem(ThrottleDevice deviceReadBPsItem) addDeviceReadIOPsItem(ThrottleDevice deviceReadIOPsItem) addDeviceWriteBPsItem(ThrottleDevice deviceWriteBPsItem) addDeviceWriteIOPsItem(ThrottleDevice deviceWriteIOPsItem) blkIOWeightDevice(List<WeightDevice> blkIOWeightDevice) deviceReadBPs(List<ThrottleDevice> deviceReadBPs) deviceReadIOPs(List<ThrottleDevice> deviceReadIOPs) deviceWriteBPs(List<ThrottleDevice> deviceWriteBPs) deviceWriteIOPs(List<ThrottleDevice> deviceWriteIOPs) booleanstatic UpdateContainerDevicesLimitsCreate an instance of UpdateContainerDevicesLimits given an JSON string@Valid List<WeightDevice>Block IO weight (relative device weight) in the form: ```[{\"Path\": \"device_path\", \"Weight\": weight}]```@Valid List<ThrottleDevice>Limit read rate (bytes per second) from a device, in the form: ```[{\"Path\": \"device_path\", \"Rate\": rate}]```@Valid List<ThrottleDevice>Limit read rate (IO per second) from a device, in the form: ```[{\"Path\": \"device_path\", \"Rate\": rate}]```@Valid List<ThrottleDevice>Limit write rate (bytes per second) to a device, in the form: ```[{\"Path\": \"device_path\", \"Rate\": rate}]```@Valid List<ThrottleDevice>Limit write rate (IO per second) to a device, in the form: ```[{\"Path\": \"device_path\", \"Rate\": rate}]```inthashCode()voidsetBlkIOWeightDevice(List<WeightDevice> blkIOWeightDevice) voidsetDeviceReadBPs(List<ThrottleDevice> deviceReadBPs) voidsetDeviceReadIOPs(List<ThrottleDevice> deviceReadIOPs) voidsetDeviceWriteBPs(List<ThrottleDevice> deviceWriteBPs) voidsetDeviceWriteIOPs(List<ThrottleDevice> deviceWriteIOPs) toJson()Convert an instance of UpdateContainerDevicesLimits 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_BLK_I_O_WEIGHT_DEVICE
- See Also:
-
SERIALIZED_NAME_DEVICE_READ_B_PS
- See Also:
-
SERIALIZED_NAME_DEVICE_READ_I_O_PS
- See Also:
-
SERIALIZED_NAME_DEVICE_WRITE_B_PS
- See Also:
-
SERIALIZED_NAME_DEVICE_WRITE_I_O_PS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
UpdateContainerDevicesLimits
public UpdateContainerDevicesLimits()
-
-
Method Details
-
blkIOWeightDevice
-
addBlkIOWeightDeviceItem
-
getBlkIOWeightDevice
Block IO weight (relative device weight) in the form: ```[{\"Path\": \"device_path\", \"Weight\": weight}]```- Returns:
- blkIOWeightDevice
-
setBlkIOWeightDevice
-
deviceReadBPs
-
addDeviceReadBPsItem
-
getDeviceReadBPs
Limit read rate (bytes per second) from a device, in the form: ```[{\"Path\": \"device_path\", \"Rate\": rate}]```- Returns:
- deviceReadBPs
-
setDeviceReadBPs
-
deviceReadIOPs
-
addDeviceReadIOPsItem
-
getDeviceReadIOPs
Limit read rate (IO per second) from a device, in the form: ```[{\"Path\": \"device_path\", \"Rate\": rate}]```- Returns:
- deviceReadIOPs
-
setDeviceReadIOPs
-
deviceWriteBPs
-
addDeviceWriteBPsItem
-
getDeviceWriteBPs
Limit write rate (bytes per second) to a device, in the form: ```[{\"Path\": \"device_path\", \"Rate\": rate}]```- Returns:
- deviceWriteBPs
-
setDeviceWriteBPs
-
deviceWriteIOPs
-
addDeviceWriteIOPsItem
-
getDeviceWriteIOPs
Limit write rate (IO per second) to a device, in the form: ```[{\"Path\": \"device_path\", \"Rate\": rate}]```- Returns:
- deviceWriteIOPs
-
setDeviceWriteIOPs
-
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 UpdateContainerDevicesLimits
-
fromJson
Create an instance of UpdateContainerDevicesLimits given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateContainerDevicesLimits
- Throws:
IOException- if the JSON string is invalid with respect to UpdateContainerDevicesLimits
-
toJson
Convert an instance of UpdateContainerDevicesLimits to an JSON string- Returns:
- JSON string
-