
    [j+                     |    d Z 	 ddlmZ n# e$ r	 ddlmZ Y nw xY wddlZddlZddlZddlm	Z	  G d de
          ZdS )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.36
    Generated by: https://openapi-generator.tech
    )getfullargspec)
getargspecN)Configurationc                      e Zd ZdZ	 ddddddddZddd	d
ddddZd$dZed             Zej	        d             Zed             Z
e
j	        d             Z
ed             Zej	        d             Zed             Zej	        d             Zed             Zej	        d             Zed             Zej	        d             Zed             Zej	        d             Zd%dZd  Zd! Zd" Zd# ZdS )&V1beta2AllocatedDeviceStatuszNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    zlist[V1Condition]objectstrV1beta2NetworkDeviceData)
conditionsdatadevicedrivernetwork_datapoolshare_idr   r   r   r   networkDatar   shareIDNc	                 $   |t          j                    }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        ||| _        ||| _        || _        || _        ||| _        || _        |	|| _        dS dS )z9V1beta2AllocatedDeviceStatus - a model defined in OpenAPIN)r   get_default_copylocal_vars_configuration_conditions_data_device_driver_network_data_pool	_share_iddiscriminatorr   r   r   r   r   r   r   )	selfr   r   r   r   r   r   r   r   s	            u/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes/client/models/v1beta2_allocated_device_status.py__init__z%V1beta2AllocatedDeviceStatus.__init__:   s    #+'4'E'G'G$(@%
!
!!(DODI# ,D	$DMMM      c                     | j         S )a  Gets the conditions of this V1beta2AllocatedDeviceStatus.  # noqa: E501

        Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.  Must not contain more than 8 entries.  # noqa: E501

        :return: The conditions of this V1beta2AllocatedDeviceStatus.  # noqa: E501
        :rtype: list[V1Condition]
        r   r   s    r    r   z'V1beta2AllocatedDeviceStatus.conditionsU   s     r"   c                     || _         dS )a  Sets the conditions of this V1beta2AllocatedDeviceStatus.

        Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.  Must not contain more than 8 entries.  # noqa: E501

        :param conditions: The conditions of this V1beta2AllocatedDeviceStatus.  # noqa: E501
        :type conditions: list[V1Condition]
        Nr$   )r   r   s     r    r   z'V1beta2AllocatedDeviceStatus.conditions`   s     &r"   c                     | j         S )a4  Gets the data of this V1beta2AllocatedDeviceStatus.  # noqa: E501

        Data contains arbitrary driver-specific data.  The length of the raw data must be smaller or equal to 10 Ki.  # noqa: E501

        :return: The data of this V1beta2AllocatedDeviceStatus.  # noqa: E501
        :rtype: object
        r   r%   s    r    r   z!V1beta2AllocatedDeviceStatus.datal        zr"   c                     || _         dS )a.  Sets the data of this V1beta2AllocatedDeviceStatus.

        Data contains arbitrary driver-specific data.  The length of the raw data must be smaller or equal to 10 Ki.  # noqa: E501

        :param data: The data of this V1beta2AllocatedDeviceStatus.  # noqa: E501
        :type data: object
        Nr(   )r   r   s     r    r   z!V1beta2AllocatedDeviceStatus.dataw   s     


r"   c                     | j         S )a2  Gets the device of this V1beta2AllocatedDeviceStatus.  # noqa: E501

        Device references one device instance via its name in the driver's resource pool. It must be a DNS label.  # noqa: E501

        :return: The device of this V1beta2AllocatedDeviceStatus.  # noqa: E501
        :rtype: str
        )r   r%   s    r    r   z#V1beta2AllocatedDeviceStatus.device        |r"   c                 N    | j         j        r|t          d          || _        dS )a0  Sets the device of this V1beta2AllocatedDeviceStatus.

        Device references one device instance via its name in the driver's resource pool. It must be a DNS label.  # noqa: E501

        :param device: The device of this V1beta2AllocatedDeviceStatus.  # noqa: E501
        :type device: str
        Nz.Invalid value for `device`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r    r   z#V1beta2AllocatedDeviceStatus.device   1     (? 	OFNMNNNr"   c                     | j         S )a  Gets the driver of this V1beta2AllocatedDeviceStatus.  # noqa: E501

        Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.  Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. It should use only lower case characters.  # noqa: E501

        :return: The driver of this V1beta2AllocatedDeviceStatus.  # noqa: E501
        :rtype: str
        )r   r%   s    r    r   z#V1beta2AllocatedDeviceStatus.driver   r,   r"   c                 N    | j         j        r|t          d          || _        dS )a  Sets the driver of this V1beta2AllocatedDeviceStatus.

        Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.  Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. It should use only lower case characters.  # noqa: E501

        :param driver: The driver of this V1beta2AllocatedDeviceStatus.  # noqa: E501
        :type driver: str
        Nz.Invalid value for `driver`, must not be `None`)r   r.   r/   r   )r   r   s     r    r   z#V1beta2AllocatedDeviceStatus.driver   r0   r"   c                     | j         S )zGets the network_data of this V1beta2AllocatedDeviceStatus.  # noqa: E501


        :return: The network_data of this V1beta2AllocatedDeviceStatus.  # noqa: E501
        :rtype: V1beta2NetworkDeviceData
        r   r%   s    r    r   z)V1beta2AllocatedDeviceStatus.network_data   s     !!r"   c                     || _         dS )zSets the network_data of this V1beta2AllocatedDeviceStatus.


        :param network_data: The network_data of this V1beta2AllocatedDeviceStatus.  # noqa: E501
        :type network_data: V1beta2NetworkDeviceData
        Nr4   )r   r   s     r    r   z)V1beta2AllocatedDeviceStatus.network_data   s     *r"   c                     | j         S )a  Gets the pool of this V1beta2AllocatedDeviceStatus.  # noqa: E501

        This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).  Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.  # noqa: E501

        :return: The pool of this V1beta2AllocatedDeviceStatus.  # noqa: E501
        :rtype: str
        )r   r%   s    r    r   z!V1beta2AllocatedDeviceStatus.pool   r)   r"   c                 N    | j         j        r|t          d          || _        dS )a  Sets the pool of this V1beta2AllocatedDeviceStatus.

        This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).  Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.  # noqa: E501

        :param pool: The pool of this V1beta2AllocatedDeviceStatus.  # noqa: E501
        :type pool: str
        Nz,Invalid value for `pool`, must not be `None`)r   r.   r/   r   )r   r   s     r    r   z!V1beta2AllocatedDeviceStatus.pool   s1     (? 	MDLKLLL


r"   c                     | j         S )a  Gets the share_id of this V1beta2AllocatedDeviceStatus.  # noqa: E501

        ShareID uniquely identifies an individual allocation share of the device.  # noqa: E501

        :return: The share_id of this V1beta2AllocatedDeviceStatus.  # noqa: E501
        :rtype: str
        r   r%   s    r    r   z%V1beta2AllocatedDeviceStatus.share_id   s     ~r"   c                     || _         dS )a  Sets the share_id of this V1beta2AllocatedDeviceStatus.

        ShareID uniquely identifies an individual allocation share of the device.  # noqa: E501

        :param share_id: The share_id of this V1beta2AllocatedDeviceStatus.  # noqa: E501
        :type share_id: str
        Nr9   )r   r   s     r    r   z%V1beta2AllocatedDeviceStatus.share_id   s     "r"   Fc                    i }fdt          j        | j                  D ]\  }}t          | |          }r| j                            ||          n|}t          |t                    r$t          t          fd|                    ||<   mt          |t                    r6t          t          fd|
                                                    ||<    |          ||<   |S )z&Returns the model properties as a dictc                     t          | d          rUt          | j                  j        }t	          |          dk    r|                                 S |                               S | S )Nto_dict   )hasattrr   r=   argslen)xr@   	serializes     r    convertz5V1beta2AllocatedDeviceStatus.to_dict.<locals>.convert   s[    q)$$ %ai005t99>>99;;&99Y///r"   c                      |           S )N )rB   rD   s    r    <lambda>z6V1beta2AllocatedDeviceStatus.to_dict.<locals>.<lambda>  s    ggajj r"   c                 6    | d          | d                   fS )Nr   r>   rF   )itemrD   s    r    rG   z6V1beta2AllocatedDeviceStatus.to_dict.<locals>.<lambda>  s    $q'7747+;+;!< r"   )six	iteritemsopenapi_typesgetattrattribute_mapget
isinstancelistmapdictitems)r   rC   resultattr_valuerD   s    `    @r    r=   z$V1beta2AllocatedDeviceStatus.to_dict   s   	 	 	 	 	 }T%788 	. 	.GD!D$''E9BL4%))$555D%&& .#C((((% %    t E4(( .#C<<<<KKMM% %    t
  'wu~~tr"   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr=   r%   s    r    to_strz#V1beta2AllocatedDeviceStatus.to_str  s    ~dllnn---r"   c                 *    |                                  S )zFor `print` and `pprint`)r\   r%   s    r    __repr__z%V1beta2AllocatedDeviceStatus.__repr__  s    {{}}r"   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrP   r   r=   r   others     r    __eq__z#V1beta2AllocatedDeviceStatus.__eq__"  s5    %!=>> 	5||~~00r"   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr`   ra   s     r    __ne__z#V1beta2AllocatedDeviceStatus.__ne__)  s5    %!=>> 	4||~~00r"   )NNNNNNNN)F)__name__
__module____qualname____doc__rL   rN   r!   propertyr   setterr   r   r   r   r   r   r=   r\   r^   rc   re   rF   r"   r    r   r      sZ         *2 M #% M% % % %6     X  	& 	& 	&   X 
[	 	 [	   X ]  ]   X ]  ] " " X" * * *   X 
[  [   X _	" 	" _	"   @. . .  1 1 11 1 1 1 1r"   r   )ri   inspectr   ImportErrorr   rZ   rerJ   kubernetes.client.configurationr   r   r   rF   r"   r    <module>rp      s    5&&&&&&& 5 5 5444444445  				 



 9 9 9 9 9 9V1 V1 V1 V1 V16 V1 V1 V1 V1 V1s    