summaryrefslogtreecommitdiffstats
path: root/contrib/python/kubernetes/kubernetes/client/models/v1beta2_device_sub_request.py
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2025-10-14 13:58:45 +0300
committerrobot-piglet <[email protected]>2025-10-14 14:26:06 +0300
commit09cc5fe0eb0747ac9ce1444c9acc944838a8cfa2 (patch)
tree61e19f6a3c904d77e58ff647f4c9473378d6954b /contrib/python/kubernetes/kubernetes/client/models/v1beta2_device_sub_request.py
parente9146d8a4d0ee112c89906f9fc8ce23b92250439 (diff)
Intermediate changes
commit_hash:bc75ab7ba0ee5a6571045c99062e8d4a996d16dd
Diffstat (limited to 'contrib/python/kubernetes/kubernetes/client/models/v1beta2_device_sub_request.py')
-rw-r--r--contrib/python/kubernetes/kubernetes/client/models/v1beta2_device_sub_request.py30
1 files changed, 28 insertions, 2 deletions
diff --git a/contrib/python/kubernetes/kubernetes/client/models/v1beta2_device_sub_request.py b/contrib/python/kubernetes/kubernetes/client/models/v1beta2_device_sub_request.py
index 62344df3c9a..380cb38b3dc 100644
--- a/contrib/python/kubernetes/kubernetes/client/models/v1beta2_device_sub_request.py
+++ b/contrib/python/kubernetes/kubernetes/client/models/v1beta2_device_sub_request.py
@@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
- The version of the OpenAPI document: release-1.33
+ The version of the OpenAPI document: release-1.34
Generated by: https://openapi-generator.tech
"""
@@ -34,6 +34,7 @@ class V1beta2DeviceSubRequest(object):
"""
openapi_types = {
'allocation_mode': 'str',
+ 'capacity': 'V1beta2CapacityRequirements',
'count': 'int',
'device_class_name': 'str',
'name': 'str',
@@ -43,6 +44,7 @@ class V1beta2DeviceSubRequest(object):
attribute_map = {
'allocation_mode': 'allocationMode',
+ 'capacity': 'capacity',
'count': 'count',
'device_class_name': 'deviceClassName',
'name': 'name',
@@ -50,13 +52,14 @@ class V1beta2DeviceSubRequest(object):
'tolerations': 'tolerations'
}
- def __init__(self, allocation_mode=None, count=None, device_class_name=None, name=None, selectors=None, tolerations=None, local_vars_configuration=None): # noqa: E501
+ def __init__(self, allocation_mode=None, capacity=None, count=None, device_class_name=None, name=None, selectors=None, tolerations=None, local_vars_configuration=None): # noqa: E501
"""V1beta2DeviceSubRequest - a model defined in OpenAPI""" # noqa: E501
if local_vars_configuration is None:
local_vars_configuration = Configuration()
self.local_vars_configuration = local_vars_configuration
self._allocation_mode = None
+ self._capacity = None
self._count = None
self._device_class_name = None
self._name = None
@@ -66,6 +69,8 @@ class V1beta2DeviceSubRequest(object):
if allocation_mode is not None:
self.allocation_mode = allocation_mode
+ if capacity is not None:
+ self.capacity = capacity
if count is not None:
self.count = count
self.device_class_name = device_class_name
@@ -99,6 +104,27 @@ class V1beta2DeviceSubRequest(object):
self._allocation_mode = allocation_mode
@property
+ def capacity(self):
+ """Gets the capacity of this V1beta2DeviceSubRequest. # noqa: E501
+
+
+ :return: The capacity of this V1beta2DeviceSubRequest. # noqa: E501
+ :rtype: V1beta2CapacityRequirements
+ """
+ return self._capacity
+
+ @capacity.setter
+ def capacity(self, capacity):
+ """Sets the capacity of this V1beta2DeviceSubRequest.
+
+
+ :param capacity: The capacity of this V1beta2DeviceSubRequest. # noqa: E501
+ :type: V1beta2CapacityRequirements
+ """
+
+ self._capacity = capacity
+
+ @property
def count(self):
"""Gets the count of this V1beta2DeviceSubRequest. # noqa: E501