§
    Š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œZ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d$d„Zd„ Zd „ Zd!„ Zd"„ ZdS )%ÚV2MetricSpeczŠNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    ÚV2ContainerResourceMetricSourceÚV2ExternalMetricSourceÚV2ObjectMetricSourceÚV2PodsMetricSourceÚV2ResourceMetricSourceÚstr)Úcontainer_resourceÚexternalÚobjectÚpodsÚresourceÚtypeÚcontainerResourcer   r   r   r   r   Nc                 ó  — |€t          j        ¦   «         }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        |�|| _
        |�|| _        |�|| _        |�|| _        |�|| _        || _        dS )z)V2MetricSpec - a model defined in OpenAPIN)r   Úget_default_copyÚlocal_vars_configurationÚ_container_resourceÚ	_externalÚ_objectÚ_podsÚ	_resourceÚ_typeÚdiscriminatorr   r   r   r   r   r   )Úselfr   r   r   r   r   r   r   s           úe/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/kubernetes/client/models/v2_metric_spec.pyÚ__init__zV2MetricSpec.__init__8   sŸ   € à#Ð+Ý'4Ô'EÑ'GÔ'GÐ$Ø(@ˆÔ%à#'ˆÔ ØˆŒØˆŒØˆŒ
ØˆŒØˆŒ
Ø!ˆÔàÐ)Ø&8ˆDÔ#ØÐØ$ˆDŒMØÐØ ˆDŒKØÐØˆDŒIØÐØ$ˆDŒMØˆŒ	ˆ	ˆ	ó    c                 ó   — | j         S )zÆGets the container_resource of this V2MetricSpec.  # noqa: E501


        :return: The container_resource of this V2MetricSpec.  # noqa: E501
        :rtype: V2ContainerResourceMetricSource
        ©r   ©r   s    r    r   zV2MetricSpec.container_resourceR   s   € ð Ô'Ð'r"   c                 ó   — || _         dS )zÜSets the container_resource of this V2MetricSpec.


        :param container_resource: The container_resource of this V2MetricSpec.  # noqa: E501
        :type container_resource: V2ContainerResourceMetricSource
        Nr$   )r   r   s     r    r   zV2MetricSpec.container_resource\   s   € ð $6ˆÔ Ð Ð r"   c                 ó   — | j         S )z©Gets the external of this V2MetricSpec.  # noqa: E501


        :return: The external of this V2MetricSpec.  # noqa: E501
        :rtype: V2ExternalMetricSource
        ©r   r%   s    r    r   zV2MetricSpec.externalg   ó   € ð Œ~Ðr"   c                 ó   — || _         dS )z«Sets the external of this V2MetricSpec.


        :param external: The external of this V2MetricSpec.  # noqa: E501
        :type external: V2ExternalMetricSource
        Nr(   )r   r   s     r    r   zV2MetricSpec.externalq   ó   € ð "ˆŒˆˆr"   c                 ó   — | j         S )z£Gets the object of this V2MetricSpec.  # noqa: E501


        :return: The object of this V2MetricSpec.  # noqa: E501
        :rtype: V2ObjectMetricSource
        ©r   r%   s    r    r   zV2MetricSpec.object|   s   € ð Œ|Ðr"   c                 ó   — || _         dS )z¡Sets the object of this V2MetricSpec.


        :param object: The object of this V2MetricSpec.  # noqa: E501
        :type object: V2ObjectMetricSource
        Nr-   )r   r   s     r    r   zV2MetricSpec.object†   s   € ð ˆŒˆˆr"   c                 ó   — | j         S )z�Gets the pods of this V2MetricSpec.  # noqa: E501


        :return: The pods of this V2MetricSpec.  # noqa: E501
        :rtype: V2PodsMetricSource
        ©r   r%   s    r    r   zV2MetricSpec.pods‘   s   € ð ŒzÐr"   c                 ó   — || _         dS )z—Sets the pods of this V2MetricSpec.


        :param pods: The pods of this V2MetricSpec.  # noqa: E501
        :type pods: V2PodsMetricSource
        Nr0   )r   r   s     r    r   zV2MetricSpec.pods›   s   € ð ˆŒ
ˆ
ˆ
r"   c                 ó   — | j         S )z©Gets the resource of this V2MetricSpec.  # noqa: E501


        :return: The resource of this V2MetricSpec.  # noqa: E501
        :rtype: V2ResourceMetricSource
        ©r   r%   s    r    r   zV2MetricSpec.resource¦   r)   r"   c                 ó   — || _         dS )z«Sets the resource of this V2MetricSpec.


        :param resource: The resource of this V2MetricSpec.  # noqa: E501
        :type resource: V2ResourceMetricSource
        Nr3   )r   r   s     r    r   zV2MetricSpec.resource°   r+   r"   c                 ó   — | j         S )aM  Gets the type of this V2MetricSpec.  # noqa: E501

        type is the type of metric source.  It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.  # noqa: E501

        :return: The type of this V2MetricSpec.  # noqa: E501
        :rtype: str
        )r   r%   s    r    r   zV2MetricSpec.type»   s   € ð ŒzÐr"   c                 óN   — | j         j        r|€t          d¦  «        ‚|| _        dS )aG  Sets the type of this V2MetricSpec.

        type is the type of metric source.  It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.  # noqa: E501

        :param type: The type of this V2MetricSpec.  # noqa: E501
        :type type: str
        Nz,Invalid value for `type`, must not be `None`)r   Úclient_side_validationÚ
ValueErrorr   )r   r   s     r    r   zV2MetricSpec.typeÆ   s1   € ð Ô(Ô?ð 	MÀDÀLÝÐKÑLÔLÐLàˆŒ
ˆ
ˆ
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    Úconvertz%V2MetricSpec.to_dict.<locals>.convertØ   s[   ø€ Ý�q˜)Ñ$Ô$ð Ý% a¤iÑ0Ô0Ô5�Ý�t‘9”9 ’>�>ØŸ9š9™;œ;Ð&àŸ9š9 YÑ/Ô/Ð/à�r"   c                 ó   •—  ‰| ¦  «        S )N© )r@   rB   s    €r    ú<lambda>z&V2MetricSpec.to_dict.<locals>.<lambda>ç   s   ø€ ˜g˜g a™jœj€ r"   c                 ó6   •— | d          ‰| d         ¦  «        fS )Nr   r<   rD   )ÚitemrB   s    €r    rE   z&V2MetricSpec.to_dict.<locals>.<lambda>ì   s   ø€  $ q¤'¨7¨7°4¸´7Ñ+;Ô+;Ð!<€ r"   )ÚsixÚ	iteritemsÚopenapi_typesÚgetattrÚattribute_mapÚgetÚ
isinstanceÚlistÚmapÚdictÚitems)r   rA   ÚresultÚattrÚ_ÚvaluerB   s    `    @r    r;   zV2MetricSpec.to_dictÔ   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Úpformatr;   r%   s    r    Úto_strzV2MetricSpec.to_strô   s   € åŒ~˜dŸlšl™nœnÑ-Ô-Ð-r"   c                 ó*   — |                       ¦   «         S )zFor `print` and `pprint`)rZ   r%   s    r    Ú__repr__zV2MetricSpec.__repr__ø   s   € à�{Š{‰}Œ}Ðr"   c                 ó„   — t          |t          ¦  «        sdS |                      ¦   «         |                     ¦   «         k    S )z&Returns true if both objects are equalF©rN   r   r;   ©r   Úothers     r    Ú__eq__zV2MetricSpec.__eq__ü   s4   € å˜%¥Ñ.Ô.ð 	Ø�5à�|Š|‰~Œ~ §¢¡¤Ò0Ð0r"   c                 ó„   — t          |t          ¦  «        sdS |                      ¦   «         |                     ¦   «         k    S )z*Returns true if both objects are not equalTr^   r_   s     r    Ú__ne__zV2MetricSpec.__ne__  s4   € å˜%¥Ñ.Ô.ð 	Ø�4à�|Š|‰~Œ~ §¢¡¤Ò0Ð0r"   )NNNNNNN)F)Ú__name__Ú
__module__Ú__qualname__Ú__doc__rJ   rL   r!   Úpropertyr   Úsetterr   r   r   r   r   r;   rZ   r\   ra   rc   rD   r"   r    r   r      s  € € € € € ðð ðð @Ø,Ø(Ø$Ø,Øðð €Mð 2ØØØØØðð €Mðð ð ð ð4 ð(ð (ñ „Xð(ð Ôð6ð 6ñ Ôð6ð ðð ñ „Xðð „_ð"ð "ñ „_ð"ð ðð ñ „Xðð „]ðð ñ „]ðð ðð ñ „Xðð 
„[ðð ñ „[ðð ðð ñ „Xðð „_ð"ð "ñ „_ð"ð ðð ñ „Xðð 
„[ðð ñ „[ððð ð ð ð@.ð .ð .ðð ð ð1ð 1ð 1ð1ð 1ð 1ð 1ð 1r"   r   )rg   Úinspectr   ÚImportErrorr   rX   ÚrerH   Úkubernetes.client.configurationr   r   r   rD   r"   r    ú<module>rn      sÇ   ððð ð5Ø&Ð&Ð&Ð&Ð&Ð&Ð&øØð 5ð 5ð 5Ø4Ð4Ð4Ð4Ð4Ð4Ð4Ð4ð5øøøà €€€Ø 	€	€	€	Ø 
€
€
€
à 9Ð 9Ð 9Ð 9Ð 9Ð 9ðp1ð p1ð p1ð p1ð p1�6ñ p1ô p1ð p1ð p1ð p1s   „ ‹˜