Class V1DeviceAllocationResult
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1DeviceAllocationResult
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1DeviceAllocationResult
extends Object
DeviceAllocationResult is the result of allocating devices.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConfigItem(V1DeviceAllocationConfiguration configItem) Add an item to the config property in a chainable fashion.addResultsItem(V1DeviceRequestAllocationResult resultsItem) Add an item to the results property in a chainable fashion.config(List<@Valid V1DeviceAllocationConfiguration> config) Set config in a chainable fashion.booleanList<@Valid V1DeviceAllocationConfiguration> This field is a combination of all the claim and class configuration parameters.List<@Valid V1DeviceRequestAllocationResult> Results lists all allocated devices.inthashCode()results(List<@Valid V1DeviceRequestAllocationResult> results) Set results in a chainable fashion.voidsetConfig(List<@Valid V1DeviceAllocationConfiguration> config) Set the config property valuevoidsetResults(List<@Valid V1DeviceRequestAllocationResult> results) Set the results property valuetoString()
-
Field Details
-
JSON_PROPERTY_CONFIG
- See Also:
-
JSON_PROPERTY_RESULTS
- See Also:
-
-
Constructor Details
-
V1DeviceAllocationResult
public V1DeviceAllocationResult()
-
-
Method Details
-
getConfig
This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag. This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.- Returns:
- the config property value
-
setConfig
Set the config property value- Parameters:
config- property value to set
-
config
Set config in a chainable fashion.- Returns:
- The same instance of V1DeviceAllocationResult for chaining.
-
addConfigItem
Add an item to the config property in a chainable fashion.- Returns:
- The same instance of V1DeviceAllocationResult for chaining.
-
getResults
Results lists all allocated devices.- Returns:
- the results property value
-
setResults
Set the results property value- Parameters:
results- property value to set
-
results
Set results in a chainable fashion.- Returns:
- The same instance of V1DeviceAllocationResult for chaining.
-
addResultsItem
Add an item to the results property in a chainable fashion.- Returns:
- The same instance of V1DeviceAllocationResult for chaining.
-
equals
-
hashCode
-
toString
-