
    3iF                     B    S r SSKrSSKrSSKrSSKJr   " S S\5      rg)z
Kubernetes

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

The version of the OpenAPI document: release-1.34
Generated by: https://openapi-generator.tech
    N)Configurationc                      \ rS rSrSr SSSSSSSSSS	S
S.rSSSSSSSSSSSS.rS5S jr\S 5       r	\	R                  S 5       r	\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S  5       r\S! 5       r\R                  S" 5       r\S# 5       r\R                  S$ 5       r\S% 5       r\R                  S& 5       r\S' 5       r\R                  S( 5       r\S) 5       r\R                  S* 5       r\S+ 5       r\R                  S, 5       r\S- 5       r\R                  S. 5       rS/ rS0 rS1 rS2 rS3 rS4rg)6V1beta1BasicDevice   z~NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech

Do not edit the class manually.
boolz!dict(str, V1beta1DeviceAttribute)z	list[str]z dict(str, V1beta1DeviceCapacity)z%list[V1beta1DeviceCounterConsumption]strV1NodeSelectorzlist[V1beta1DeviceTaint])	all_nodesallow_multiple_allocations
attributesbinding_conditionsbinding_failure_conditionsbinds_to_nodecapacityconsumes_counters	node_namenode_selectortaintsallNodesallowMultipleAllocationsr   bindingConditionsbindingFailureConditionsbindsToNoder   consumesCountersnodeNamenodeSelectorr   Nc                    Uc
  [        5       nXl        SU l        SU l        SU l        SU l        SU l        SU l        SU l        SU l	        SU l
        SU l        SU l        SU l        Ub  Xl        Ub  X l        Ub  X0l        Ub  X@l        Ub  XPl        Ub  X`l        Ub  Xpl        Ub  Xl        U	b  Xl        U
b  Xl        Ub  Xl        gg)z/V1beta1BasicDevice - a model defined in OpenAPIN)r   local_vars_configuration
_all_nodes_allow_multiple_allocations_attributes_binding_conditions_binding_failure_conditions_binds_to_node	_capacity_consumes_counters
_node_name_node_selector_taintsdiscriminatorr
   r   r   r   r   r   r   r   r   r   r   )selfr
   r   r   r   r   r   r   r   r   r   r   r   s                g/home/james-whalen/.local/lib/python3.13/site-packages/kubernetes/client/models/v1beta1_basic_device.py__init__V1beta1BasicDevice.__init__?   s    #+'4$(@%+/(#' +/(""&"! &N%1.H+!(O)&8#%1.H+$!.$M(%6" &N$!. K     c                     U R                   $ )aX  Gets the all_nodes of this V1beta1BasicDevice.  # noqa: E501

AllNodes indicates that all nodes have access to the device.  Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.  # noqa: E501

:return: The all_nodes of this V1beta1BasicDevice.  # noqa: E501
:rtype: bool
r   r+   s    r,   r
   V1beta1BasicDevice.all_nodesi        r/   c                     Xl         g)aR  Sets the all_nodes of this V1beta1BasicDevice.

AllNodes indicates that all nodes have access to the device.  Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.  # noqa: E501

:param all_nodes: The all_nodes of this V1beta1BasicDevice.  # noqa: E501
:type: bool
Nr1   )r+   r
   s     r,   r
   r3   t   	     $r/   c                     U R                   $ )a  Gets the allow_multiple_allocations of this V1beta1BasicDevice.  # noqa: E501

AllowMultipleAllocations marks whether the device is allowed to be allocated to multiple DeviceRequests.  If AllowMultipleAllocations is set to true, the device can be allocated more than once, and all of its capacity is consumable, regardless of whether the requestPolicy is defined or not.  # noqa: E501

:return: The allow_multiple_allocations of this V1beta1BasicDevice.  # noqa: E501
:rtype: bool
r    r2   s    r,   r   -V1beta1BasicDevice.allow_multiple_allocations        ///r/   c                     Xl         g)a  Sets the allow_multiple_allocations of this V1beta1BasicDevice.

AllowMultipleAllocations marks whether the device is allowed to be allocated to multiple DeviceRequests.  If AllowMultipleAllocations is set to true, the device can be allocated more than once, and all of its capacity is consumable, regardless of whether the requestPolicy is defined or not.  # noqa: E501

:param allow_multiple_allocations: The allow_multiple_allocations of this V1beta1BasicDevice.  # noqa: E501
:type: bool
Nr8   )r+   r   s     r,   r   r9           ,F(r/   c                     U R                   $ )al  Gets the attributes of this V1beta1BasicDevice.  # noqa: E501

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.  # noqa: E501

:return: The attributes of this V1beta1BasicDevice.  # noqa: E501
:rtype: dict(str, V1beta1DeviceAttribute)
r!   r2   s    r,   r   V1beta1BasicDevice.attributes   s     r/   c                     Xl         g)ag  Sets the attributes of this V1beta1BasicDevice.

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.  # noqa: E501

:param attributes: The attributes of this V1beta1BasicDevice.  # noqa: E501
:type: dict(str, V1beta1DeviceAttribute)
Nr>   )r+   r   s     r,   r   r?      s
     &r/   c                     U R                   $ )a  Gets the binding_conditions of this V1beta1BasicDevice.  # noqa: E501

BindingConditions defines the conditions for proceeding with binding. All of these conditions must be set in the per-device status conditions with a value of True to proceed with binding the pod to the node while scheduling the pod.  The maximum number of binding conditions is 4.  The conditions must be a valid condition type string.  This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.  # noqa: E501

:return: The binding_conditions of this V1beta1BasicDevice.  # noqa: E501
:rtype: list[str]
r"   r2   s    r,   r   %V1beta1BasicDevice.binding_conditions   s     '''r/   c                     Xl         g)a  Sets the binding_conditions of this V1beta1BasicDevice.

BindingConditions defines the conditions for proceeding with binding. All of these conditions must be set in the per-device status conditions with a value of True to proceed with binding the pod to the node while scheduling the pod.  The maximum number of binding conditions is 4.  The conditions must be a valid condition type string.  This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.  # noqa: E501

:param binding_conditions: The binding_conditions of this V1beta1BasicDevice.  # noqa: E501
:type: list[str]
NrB   )r+   r   s     r,   r   rC      s
     $6 r/   c                     U R                   $ )aT  Gets the binding_failure_conditions of this V1beta1BasicDevice.  # noqa: E501

BindingFailureConditions defines the conditions for binding failure. They may be set in the per-device status conditions. If any is true, a binding failure occurred.  The maximum number of binding failure conditions is 4.  The conditions must be a valid condition type string.  This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.  # noqa: E501

:return: The binding_failure_conditions of this V1beta1BasicDevice.  # noqa: E501
:rtype: list[str]
r#   r2   s    r,   r   -V1beta1BasicDevice.binding_failure_conditions   r:   r/   c                     Xl         g)a_  Sets the binding_failure_conditions of this V1beta1BasicDevice.

BindingFailureConditions defines the conditions for binding failure. They may be set in the per-device status conditions. If any is true, a binding failure occurred.  The maximum number of binding failure conditions is 4.  The conditions must be a valid condition type string.  This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.  # noqa: E501

:param binding_failure_conditions: The binding_failure_conditions of this V1beta1BasicDevice.  # noqa: E501
:type: list[str]
NrF   )r+   r   s     r,   r   rG      r<   r/   c                     U R                   $ )aD  Gets the binds_to_node of this V1beta1BasicDevice.  # noqa: E501

BindsToNode indicates if the usage of an allocation involving this device has to be limited to exactly the node that was chosen when allocating the claim. If set to true, the scheduler will set the ResourceClaim.Status.Allocation.NodeSelector to match the node where the allocation was made.  This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.  # noqa: E501

:return: The binds_to_node of this V1beta1BasicDevice.  # noqa: E501
:rtype: bool
r$   r2   s    r,   r    V1beta1BasicDevice.binds_to_node   s     """r/   c                     Xl         g)aB  Sets the binds_to_node of this V1beta1BasicDevice.

BindsToNode indicates if the usage of an allocation involving this device has to be limited to exactly the node that was chosen when allocating the claim. If set to true, the scheduler will set the ResourceClaim.Status.Allocation.NodeSelector to match the node where the allocation was made.  This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.  # noqa: E501

:param binds_to_node: The binds_to_node of this V1beta1BasicDevice.  # noqa: E501
:type: bool
NrJ   )r+   r   s     r,   r   rK      s
     ,r/   c                     U R                   $ )ad  Gets the capacity of this V1beta1BasicDevice.  # noqa: E501

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.  # noqa: E501

:return: The capacity of this V1beta1BasicDevice.  # noqa: E501
:rtype: dict(str, V1beta1DeviceCapacity)
r%   r2   s    r,   r   V1beta1BasicDevice.capacity   s     ~~r/   c                     Xl         g)a]  Sets the capacity of this V1beta1BasicDevice.

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.  # noqa: E501

:param capacity: The capacity of this V1beta1BasicDevice.  # noqa: E501
:type: dict(str, V1beta1DeviceCapacity)
NrN   )r+   r   s     r,   r   rO      s	     "r/   c                     U R                   $ )aN  Gets the consumes_counters of this V1beta1BasicDevice.  # noqa: E501

ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets.  There can only be a single entry per counterSet.  The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).  # noqa: E501

:return: The consumes_counters of this V1beta1BasicDevice.  # noqa: E501
:rtype: list[V1beta1DeviceCounterConsumption]
r&   r2   s    r,   r   $V1beta1BasicDevice.consumes_counters
  s     &&&r/   c                     Xl         g)aP  Sets the consumes_counters of this V1beta1BasicDevice.

ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets.  There can only be a single entry per counterSet.  The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).  # noqa: E501

:param consumes_counters: The consumes_counters of this V1beta1BasicDevice.  # noqa: E501
:type: list[V1beta1DeviceCounterConsumption]
NrR   )r+   r   s     r,   r   rS     s
     #4r/   c                     U R                   $ )aV  Gets the node_name of this V1beta1BasicDevice.  # noqa: E501

NodeName identifies the node where the device is available.  Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.  # noqa: E501

:return: The node_name of this V1beta1BasicDevice.  # noqa: E501
:rtype: str
r'   r2   s    r,   r   V1beta1BasicDevice.node_name!  r4   r/   c                     Xl         g)aP  Sets the node_name of this V1beta1BasicDevice.

NodeName identifies the node where the device is available.  Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.  # noqa: E501

:param node_name: The node_name of this V1beta1BasicDevice.  # noqa: E501
:type: str
NrV   )r+   r   s     r,   r   rW   ,  r6   r/   c                     U R                   $ )zGets the node_selector of this V1beta1BasicDevice.  # noqa: E501


:return: The node_selector of this V1beta1BasicDevice.  # noqa: E501
:rtype: V1NodeSelector
r(   r2   s    r,   r    V1beta1BasicDevice.node_selector8  s     """r/   c                     Xl         g)zSets the node_selector of this V1beta1BasicDevice.


:param node_selector: The node_selector of this V1beta1BasicDevice.  # noqa: E501
:type: V1NodeSelector
NrZ   )r+   r   s     r,   r   r[   B  s
     ,r/   c                     U R                   $ )aP  Gets the taints of this V1beta1BasicDevice.  # noqa: E501

If specified, these are the driver-defined taints.  The maximum number of taints is 4.  This is an alpha field and requires enabling the DRADeviceTaints feature gate.  # noqa: E501

:return: The taints of this V1beta1BasicDevice.  # noqa: E501
:rtype: list[V1beta1DeviceTaint]
r)   r2   s    r,   r   V1beta1BasicDevice.taintsM  s     ||r/   c                     Xl         g)aG  Sets the taints of this V1beta1BasicDevice.

If specified, these are the driver-defined taints.  The maximum number of taints is 4.  This is an alpha field and requires enabling the DRADeviceTaints feature gate.  # noqa: E501

:param taints: The taints of this V1beta1BasicDevice.  # noqa: E501
:type: list[V1beta1DeviceTaint]
Nr^   )r+   r   s     r,   r   r_   X  s	     r/   c                    0 n[         R                  " U R                  5       H  u  p#[        X5      n[	        U[
        5      (       a  [        [        S U5      5      X'   M?  [        US5      (       a  UR                  5       X'   Md  [	        U[        5      (       a(  [        [        S UR                  5       5      5      X'   M  XAU'   M     U$ )z&Returns the model properties as a dictc                 H    [        U S5      (       a  U R                  5       $ U $ )Nto_dicthasattrrc   )xs    r,   <lambda>,V1beta1BasicDevice.to_dict.<locals>.<lambda>l  s    WQ	-B-BaiikIIr/   rc   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   rc   r   rd   )items    r,   rg   rh   s  s9    tAw	22 #'q'47??+<!= "=8<"=r/   )six	iteritemsopenapi_typesgetattr
isinstancelistmapre   rc   dictitems)r+   resultattr_values        r,   rc   V1beta1BasicDevice.to_dictd  s    }}T%7%78GDD'E%&&#CI%   	**$}}E4((#C=KKM%    %t! 9$ r/   c                 J    [         R                  " U R                  5       5      $ )z.Returns the string representation of the model)pprintpformatrc   r2   s    r,   to_strV1beta1BasicDevice.to_str|  s    ~~dlln--r/   c                 "    U R                  5       $ )zFor `print` and `pprint`)r}   r2   s    r,   __repr__V1beta1BasicDevice.__repr__  s    {{}r/   c                 p    [        U[        5      (       d  gU R                  5       UR                  5       :H  $ )z&Returns true if both objects are equalFrp   r   rc   r+   others     r,   __eq__V1beta1BasicDevice.__eq__  s*    %!344||~00r/   c                 p    [        U[        5      (       d  gU R                  5       UR                  5       :g  $ )z*Returns true if both objects are not equalTr   r   s     r,   __ne__V1beta1BasicDevice.__ne__  s*    %!344||~00r/   )r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r
   r   r   r   r   r   r   r   r*   r   r   r   r   )NNNNNNNNNNNN)__name__
__module____qualname____firstlineno____doc__rn   attribute_mapr-   propertyr
   setterr   r   r   r   r   r   r   r   r   r   rc   r}   r   r   r   __static_attributes__ r/   r,   r   r      sy    &,9)&16D),M  &@"1&@&/'M(!T   	$ 	$ 0 0  &&	F '	F     	& 	& ( ( 	6 	6 0 0  &&	F '	F # # 	, 	,   __	" 	" ' ' 	4 	4   	$ 	$ # # , ,   ]]	 	0.11r/   r   )r   r{   rerl   kubernetes.client.configurationr   objectr   r   r/   r,   <module>r      s&     	 
 9{1 {1r/   