Class V1beta1BasicDevice
java.lang.Object
io.kubernetes.client.openapi.models.V1beta1BasicDevice
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T23:08:31.638427Z[Etc/UTC]")
public class V1beta1BasicDevice
extends Object
BasicDevice defines one device instance.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes
(Map<String, V1beta1DeviceAttribute> attributes) capacity
(Map<String, V1beta1DeviceCapacity> capacity) boolean
Attributes defines the set of attributes for this device.Capacity defines the set of capacities for this device.int
hashCode()
putAttributesItem
(String key, V1beta1DeviceAttribute attributesItem) putCapacityItem
(String key, V1beta1DeviceCapacity capacityItem) void
setAttributes
(Map<String, V1beta1DeviceAttribute> attributes) void
setCapacity
(Map<String, V1beta1DeviceCapacity> capacity) toString()
-
Field Details
-
SERIALIZED_NAME_ATTRIBUTES
- See Also:
-
SERIALIZED_NAME_CAPACITY
- See Also:
-
-
Constructor Details
-
V1beta1BasicDevice
public V1beta1BasicDevice()
-
-
Method Details
-
attributes
-
putAttributesItem
-
getAttributes
Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set. The maximum number of attributes and capacities combined is 32.- Returns:
- attributes
-
setAttributes
-
capacity
-
putCapacityItem
-
getCapacity
Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set. The maximum number of attributes and capacities combined is 32.- Returns:
- capacity
-
setCapacity
-
equals
-
hashCode
public int hashCode() -
toString
-