§
    Štj…<  ã                   ó|   — 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dddœ
Zddd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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 )-ÚV1alpha3PoolStatuszŠNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    ÚintÚstr)
Úallocated_devicesÚavailable_devicesÚdriverÚ
generationÚ	node_nameÚ	pool_nameÚresource_slice_countÚtotal_devicesÚunavailable_devicesÚvalidation_errorÚallocatedDevicesÚavailableDevicesr   r   ÚnodeNameÚpoolNameÚresourceSliceCountÚtotalDevicesÚunavailableDevicesÚvalidationErrorNc                 ó„  — |€t          j        ¦   «         }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        |�|| _        |�|| _        || _        || _        |�|| _        || _        |�|| _        |�|| _        |	�|	| _        |
�	|
| _        dS dS )z/V1alpha3PoolStatus - a model defined in OpenAPIN)r   Úget_default_copyÚlocal_vars_configurationÚ_allocated_devicesÚ_available_devicesÚ_driverÚ_generationÚ
_node_nameÚ
_pool_nameÚ_resource_slice_countÚ_total_devicesÚ_unavailable_devicesÚ_validation_errorÚdiscriminatorr
   r   r   r   r   r   r   r   r   r   )Úselfr
   r   r   r   r   r   r   r   r   r   r   s               úk/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/kubernetes/client/models/v1alpha3_pool_status.pyÚ__init__zV1alpha3PoolStatus.__init__@   sø   € à#Ð+Ý'4Ô'EÑ'GÔ'GÐ$Ø(@ˆÔ%à"&ˆÔØ"&ˆÔØˆŒØˆÔØˆŒØˆŒØ%)ˆÔ"Ø"ˆÔØ$(ˆÔ!Ø!%ˆÔØ!ˆÔàÐ(Ø%6ˆDÔ"ØÐ(Ø%6ˆDÔ"ØˆŒØ$ˆŒØÐ Ø&ˆDŒNØ"ˆŒØÐ+Ø(<ˆDÔ%ØÐ$Ø!.ˆDÔØÐ*Ø':ˆDÔ$ØÐ'Ø$4ˆDÔ!Ð!Ð!ð (Ð'ó    c                 ó   — | j         S )aj  Gets the allocated_devices of this V1alpha3PoolStatus.  # noqa: E501

        AllocatedDevices is the number of devices currently allocated to claims. A value of 0 means no devices are allocated. May be unset when validationError is set.  # noqa: E501

        :return: The allocated_devices of this V1alpha3PoolStatus.  # noqa: E501
        :rtype: int
        ©r   ©r*   s    r+   r
   z$V1alpha3PoolStatus.allocated_devicesd   ó   € ð Ô&Ð&r-   c                 ó   — || _         dS )a~  Sets the allocated_devices of this V1alpha3PoolStatus.

        AllocatedDevices is the number of devices currently allocated to claims. A value of 0 means no devices are allocated. May be unset when validationError is set.  # noqa: E501

        :param allocated_devices: The allocated_devices of this V1alpha3PoolStatus.  # noqa: E501
        :type allocated_devices: int
        Nr/   )r*   r
   s     r+   r
   z$V1alpha3PoolStatus.allocated_deviceso   ó   € ð #4ˆÔÐÐr-   c                 ó   — | j         S )a±  Gets the available_devices of this V1alpha3PoolStatus.  # noqa: E501

        AvailableDevices is the number of devices available for allocation. This equals TotalDevices - AllocatedDevices - UnavailableDevices. A value of 0 means no devices are currently available. May be unset when validationError is set.  # noqa: E501

        :return: The available_devices of this V1alpha3PoolStatus.  # noqa: E501
        :rtype: int
        ©r    r0   s    r+   r   z$V1alpha3PoolStatus.available_devices{   r1   r-   c                 ó   — || _         dS )aÅ  Sets the available_devices of this V1alpha3PoolStatus.

        AvailableDevices is the number of devices available for allocation. This equals TotalDevices - AllocatedDevices - UnavailableDevices. A value of 0 means no devices are currently available. May be unset when validationError is set.  # noqa: E501

        :param available_devices: The available_devices of this V1alpha3PoolStatus.  # noqa: E501
        :type available_devices: int
        Nr5   )r*   r   s     r+   r   z$V1alpha3PoolStatus.available_devices†   r3   r-   c                 ó   — | j         S )a  Gets the driver of this V1alpha3PoolStatus.  # noqa: E501

        Driver is the DRA driver name for this pool. Must be a DNS subdomain (e.g., "gpu.example.com").  # noqa: E501

        :return: The driver of this V1alpha3PoolStatus.  # noqa: E501
        :rtype: str
        )r!   r0   s    r+   r   zV1alpha3PoolStatus.driver’   s   € ð Œ|Ðr-   c                 óN   — | j         j        r|€t          d¦  «        ‚|| _        dS )a  Sets the driver of this V1alpha3PoolStatus.

        Driver is the DRA driver name for this pool. Must be a DNS subdomain (e.g., "gpu.example.com").  # noqa: E501

        :param driver: The driver of this V1alpha3PoolStatus.  # noqa: E501
        :type driver: str
        Nz.Invalid value for `driver`, must not be `None`)r   Úclient_side_validationÚ
ValueErrorr!   )r*   r   s     r+   r   zV1alpha3PoolStatus.driver�   s1   € ð Ô(Ô?ð 	OÀFÀNÝÐMÑNÔNÐNàˆŒˆˆr-   c                 ó   — | j         S )aÙ  Gets the generation of this V1alpha3PoolStatus.  # noqa: E501

        Generation is the pool generation observed across all ResourceSlices in this pool. Only the latest generation is reported. During a generation rollout, if not all slices at the latest generation have been published, the pool is included with a validationError and device counts unset.  # noqa: E501

        :return: The generation of this V1alpha3PoolStatus.  # noqa: E501
        :rtype: int
        )r"   r0   s    r+   r   zV1alpha3PoolStatus.generation«   s   € ð ÔÐr-   c                 óN   — | j         j        r|€t          d¦  «        ‚|| _        dS )aß  Sets the generation of this V1alpha3PoolStatus.

        Generation is the pool generation observed across all ResourceSlices in this pool. Only the latest generation is reported. During a generation rollout, if not all slices at the latest generation have been published, the pool is included with a validationError and device counts unset.  # noqa: E501

        :param generation: The generation of this V1alpha3PoolStatus.  # noqa: E501
        :type generation: int
        Nz2Invalid value for `generation`, must not be `None`)r   r9   r:   r"   )r*   r   s     r+   r   zV1alpha3PoolStatus.generation¶   s5   € ð Ô(Ô?ð 	SÀJÐDVÝÐQÑRÔRÐRà%ˆÔÐÐr-   c                 ó   — | j         S )aZ  Gets the node_name of this V1alpha3PoolStatus.  # noqa: E501

        NodeName is the node this pool is associated with. When omitted, the pool is not associated with a specific node. Must be a valid DNS subdomain name (RFC1123).  # noqa: E501

        :return: The node_name of this V1alpha3PoolStatus.  # noqa: E501
        :rtype: str
        ©r#   r0   s    r+   r   zV1alpha3PoolStatus.node_nameÄ   ó   € ð ŒÐr-   c                 ó   — || _         dS )a^  Sets the node_name of this V1alpha3PoolStatus.

        NodeName is the node this pool is associated with. When omitted, the pool is not associated with a specific node. Must be a valid DNS subdomain name (RFC1123).  # noqa: E501

        :param node_name: The node_name of this V1alpha3PoolStatus.  # noqa: E501
        :type node_name: str
        Nr>   )r*   r   s     r+   r   zV1alpha3PoolStatus.node_nameÏ   s   € ð $ˆŒˆˆr-   c                 ó   — | j         S )a"  Gets the pool_name of this V1alpha3PoolStatus.  # noqa: E501

        PoolName is the name of the pool. Must be a valid resource pool name (DNS subdomains separated by "/").  # noqa: E501

        :return: The pool_name of this V1alpha3PoolStatus.  # noqa: E501
        :rtype: str
        )r$   r0   s    r+   r   zV1alpha3PoolStatus.pool_nameÛ   r?   r-   c                 óN   — | j         j        r|€t          d¦  «        ‚|| _        dS )a&  Sets the pool_name of this V1alpha3PoolStatus.

        PoolName is the name of the pool. Must be a valid resource pool name (DNS subdomains separated by "/").  # noqa: E501

        :param pool_name: The pool_name of this V1alpha3PoolStatus.  # noqa: E501
        :type pool_name: str
        Nz1Invalid value for `pool_name`, must not be `None`)r   r9   r:   r$   )r*   r   s     r+   r   zV1alpha3PoolStatus.pool_nameæ   s2   € ð Ô(Ô?ð 	RÀIÐDUÝÐPÑQÔQÐQà#ˆŒˆˆr-   c                 ó   — | j         S )aE  Gets the resource_slice_count of this V1alpha3PoolStatus.  # noqa: E501

        ResourceSliceCount is the number of ResourceSlices that make up this pool. May be unset when validationError is set.  # noqa: E501

        :return: The resource_slice_count of this V1alpha3PoolStatus.  # noqa: E501
        :rtype: int
        ©r%   r0   s    r+   r   z'V1alpha3PoolStatus.resource_slice_countô   s   € ð Ô)Ð)r-   c                 ó   — || _         dS )a_  Sets the resource_slice_count of this V1alpha3PoolStatus.

        ResourceSliceCount is the number of ResourceSlices that make up this pool. May be unset when validationError is set.  # noqa: E501

        :param resource_slice_count: The resource_slice_count of this V1alpha3PoolStatus.  # noqa: E501
        :type resource_slice_count: int
        NrD   )r*   r   s     r+   r   z'V1alpha3PoolStatus.resource_slice_countÿ   s   € ð &:ˆÔ"Ð"Ð"r-   c                 ó   — | j         S )ac  Gets the total_devices of this V1alpha3PoolStatus.  # noqa: E501

        TotalDevices is the total number of devices in the pool across all slices. A value of 0 means the pool has no devices. May be unset when validationError is set.  # noqa: E501

        :return: The total_devices of this V1alpha3PoolStatus.  # noqa: E501
        :rtype: int
        ©r&   r0   s    r+   r   z V1alpha3PoolStatus.total_devices  s   € ð Ô"Ð"r-   c                 ó   — || _         dS )ao  Sets the total_devices of this V1alpha3PoolStatus.

        TotalDevices is the total number of devices in the pool across all slices. A value of 0 means the pool has no devices. May be unset when validationError is set.  # noqa: E501

        :param total_devices: The total_devices of this V1alpha3PoolStatus.  # noqa: E501
        :type total_devices: int
        NrG   )r*   r   s     r+   r   z V1alpha3PoolStatus.total_devices  s   € ð ,ˆÔÐÐr-   c                 ó   — | j         S )a¯  Gets the unavailable_devices of this V1alpha3PoolStatus.  # noqa: E501

        UnavailableDevices is the number of devices that are not available due to taints or other conditions, but are not allocated. A value of 0 means all unallocated devices are available. May be unset when validationError is set.  # noqa: E501

        :return: The unavailable_devices of this V1alpha3PoolStatus.  # noqa: E501
        :rtype: int
        ©r'   r0   s    r+   r   z&V1alpha3PoolStatus.unavailable_devices"  s   € ð Ô(Ð(r-   c                 ó   — || _         dS )aÇ  Sets the unavailable_devices of this V1alpha3PoolStatus.

        UnavailableDevices is the number of devices that are not available due to taints or other conditions, but are not allocated. A value of 0 means all unallocated devices are available. May be unset when validationError is set.  # noqa: E501

        :param unavailable_devices: The unavailable_devices of this V1alpha3PoolStatus.  # noqa: E501
        :type unavailable_devices: int
        NrJ   )r*   r   s     r+   r   z&V1alpha3PoolStatus.unavailable_devices-  s   € ð %8ˆÔ!Ð!Ð!r-   c                 ó   — | j         S )az  Gets the validation_error of this V1alpha3PoolStatus.  # noqa: E501

        ValidationError is set when the pool's data could not be fully validated (e.g., incomplete slice publication). When set, device count fields and ResourceSliceCount may be unset.  # noqa: E501

        :return: The validation_error of this V1alpha3PoolStatus.  # noqa: E501
        :rtype: str
        ©r(   r0   s    r+   r   z#V1alpha3PoolStatus.validation_error9  s   € ð Ô%Ð%r-   c                 ó   — || _         dS )aŒ  Sets the validation_error of this V1alpha3PoolStatus.

        ValidationError is set when the pool's data could not be fully validated (e.g., incomplete slice publication). When set, device count fields and ResourceSliceCount may be unset.  # noqa: E501

        :param validation_error: The validation_error of this V1alpha3PoolStatus.  # noqa: E501
        :type validation_error: str
        NrM   )r*   r   s     r+   r   z#V1alpha3PoolStatus.validation_errorD  s   € ð "2ˆÔÐÐ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   rQ   ÚargsÚlen)ÚxrT   Ú	serializes     €r+   Úconvertz+V1alpha3PoolStatus.to_dict.<locals>.convertT  s[   ø€ Ý�q˜)Ñ$Ô$ð Ý% a¤iÑ0Ô0Ô5�Ý�t‘9”9 ’>�>ØŸ9š9™;œ;Ð&àŸ9š9 YÑ/Ô/Ð/à�r-   c                 ó   •—  ‰| ¦  «        S )N© )rV   rX   s    €r+   ú<lambda>z,V1alpha3PoolStatus.to_dict.<locals>.<lambda>c  s   ø€ ˜g˜g a™jœj€ r-   c                 ó6   •— | d          ‰| d         ¦  «        fS )Nr   rR   rZ   )ÚitemrX   s    €r+   r[   z,V1alpha3PoolStatus.to_dict.<locals>.<lambda>h  s   ø€  $ q¤'¨7¨7°4¸´7Ñ+;Ô+;Ð!<€ r-   )ÚsixÚ	iteritemsÚopenapi_typesÚgetattrÚattribute_mapÚgetÚ
isinstanceÚlistÚmapÚdictÚitems)r*   rW   ÚresultÚattrÚ_ÚvaluerX   s    `    @r+   rQ   zV1alpha3PoolStatus.to_dictP  s  øø€ àˆð	ð 	ð 	ð 	ð 	õ ”} TÔ%7Ñ8Ô8ð 	.ð 	.‰GˆD�!Ý˜D $Ñ'Ô'ˆEØ9BÐL�4Ô%×)Ò)¨$°Ñ5Ô5Ð5ÈˆDÝ˜%¥Ñ&Ô&ð .Ý#¥CØ(Ð(Ð(Ð(Øñ%ô %ñ  ô  ��t‘�õ ˜E¥4Ñ(Ô(ð .Ý#¥CØ<Ð<Ð<Ð<Ø—K’K‘M”Mñ%ô %ñ  ô  ��t‘�ð
  '˜w u™~œ~��t‘�àˆr-   c                 óN   — t          j        |                      ¦   «         ¦  «        S )z.Returns the string representation of the model)ÚpprintÚpformatrQ   r0   s    r+   Úto_strzV1alpha3PoolStatus.to_strp  s   € åŒ~˜dŸlšl™nœnÑ-Ô-Ð-r-   c                 ó*   — |                       ¦   «         S )zFor `print` and `pprint`)rp   r0   s    r+   Ú__repr__zV1alpha3PoolStatus.__repr__t  s   € à�{Š{‰}Œ}Ðr-   c                 ó„   — t          |t          ¦  «        sdS |                      ¦   «         |                     ¦   «         k    S )z&Returns true if both objects are equalF©rd   r   rQ   ©r*   Úothers     r+   Ú__eq__zV1alpha3PoolStatus.__eq__x  s5   € å˜%Õ!3Ñ4Ô4ð 	Ø�5à�|Š|‰~Œ~ §¢¡¤Ò0Ð0r-   c                 ó„   — t          |t          ¦  «        sdS |                      ¦   «         |                     ¦   «         k    S )z*Returns true if both objects are not equalTrt   ru   s     r+   Ú__ne__zV1alpha3PoolStatus.__ne__  s5   € å˜%Õ!3Ñ4Ô4ð 	Ø�4à�|Š|‰~Œ~ §¢¡¤Ò0Ð0r-   )NNNNNNNNNNN)F)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r`   rb   r,   Úpropertyr
   Úsetterr   r   r   r   r   r   r   r   r   rQ   rp   rr   rw   ry   rZ   r-   r+   r   r      s#  € € € € € ðð ðð #Ø"ØØØØØ %ØØ$Ø!ðð €Mð 0Ø/ØØ"ØØØ 4Ø'Ø3Ø-ðð €Mð"5ð "5ð "5ð "5ðH ð'ð 'ñ „Xð'ð Ôð	4ð 	4ñ Ôð	4ð ð'ð 'ñ „Xð'ð Ôð	4ð 	4ñ Ôð	4ð ðð ñ „Xðð „]ðð ñ „]ðð ð ð  ñ „Xð ð Ôð&ð &ñ Ôð&ð ðð ñ „Xðð Ôð	$ð 	$ñ Ôð	$ð ðð ñ „Xðð Ôð$ð $ñ Ôð$ð ð*ð *ñ „Xð*ð Ô ð	:ð 	:ñ !Ô ð	:ð ð#ð #ñ „Xð#ð Ôð	,ð 	,ñ Ôð	,ð ð)ð )ñ „Xð)ð Ôð	8ð 	8ñ  Ôð	8ð ð&ð &ñ „Xð&ð Ôð	2ð 	2ñ Ôð	2ðð ð ð ð@.ð .ð .ðð ð ð1ð 1ð 1ð1ð 1ð 1ð 1ð 1r-   r   )r}   Úinspectr   ÚImportErrorr   rn   Úrer^   Úkubernetes.client.configurationr   Úobjectr   rZ   r-   r+   ú<module>r…      sÇ   ððð ð5Ø&Ð&Ð&Ð&Ð&Ð&Ð&øØð 5ð 5ð 5Ø4Ð4Ð4Ð4Ð4Ð4Ð4Ð4ð5øøøà €€€Ø 	€	€	€	Ø 
€
€
€
à 9Ð 9Ð 9Ð 9Ð 9Ð 9ðl1ð l1ð l1ð l1ð l1˜ñ l1ô l1ð l1ð l1ð l1s   „ ‹˜