
    [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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 )%V2MetricStatuszNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    V2ContainerResourceMetricStatusV2ExternalMetricStatusV2ObjectMetricStatusV2PodsMetricStatusV2ResourceMetricStatus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+V2MetricStatus - a model defined in OpenAPIN)r   get_defaultlocal_vars_configuration_container_resource	_external_object_pods	_resource_typediscriminatorr   r   r   r   r   r   )selfr   r   r   r   r   r   r   s           n/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes_asyncio/client/models/v2_metric_status.py__init__zV2MetricStatus.__init__8   s    #+'4'@'B'B$(@%#' 

!)&8D#$DM DKDI$DM			    c                     | j         S )zGets the container_resource of this V2MetricStatus.  # noqa: E501


        :return: The container_resource of this V2MetricStatus.  # noqa: E501
        :rtype: V2ContainerResourceMetricStatus
        r   r   s    r    r   z!V2MetricStatus.container_resourceR   s     ''r"   c                     || _         dS )zSets the container_resource of this V2MetricStatus.


        :param container_resource: The container_resource of this V2MetricStatus.  # noqa: E501
        :type container_resource: V2ContainerResourceMetricStatus
        Nr$   )r   r   s     r    r   z!V2MetricStatus.container_resource\   s     $6   r"   c                     | j         S )zGets the external of this V2MetricStatus.  # noqa: E501


        :return: The external of this V2MetricStatus.  # noqa: E501
        :rtype: V2ExternalMetricStatus
        r   r%   s    r    r   zV2MetricStatus.externalg        ~r"   c                     || _         dS )zSets the external of this V2MetricStatus.


        :param external: The external of this V2MetricStatus.  # noqa: E501
        :type external: V2ExternalMetricStatus
        Nr(   )r   r   s     r    r   zV2MetricStatus.externalq        "r"   c                     | j         S )zGets the object of this V2MetricStatus.  # noqa: E501


        :return: The object of this V2MetricStatus.  # noqa: E501
        :rtype: V2ObjectMetricStatus
        r   r%   s    r    r   zV2MetricStatus.object|   s     |r"   c                     || _         dS )zSets the object of this V2MetricStatus.


        :param object: The object of this V2MetricStatus.  # noqa: E501
        :type object: V2ObjectMetricStatus
        Nr-   )r   r   s     r    r   zV2MetricStatus.object   s     r"   c                     | j         S )zGets the pods of this V2MetricStatus.  # noqa: E501


        :return: The pods of this V2MetricStatus.  # noqa: E501
        :rtype: V2PodsMetricStatus
        r   r%   s    r    r   zV2MetricStatus.pods   s     zr"   c                     || _         dS )zSets the pods of this V2MetricStatus.


        :param pods: The pods of this V2MetricStatus.  # noqa: E501
        :type pods: V2PodsMetricStatus
        Nr0   )r   r   s     r    r   zV2MetricStatus.pods   s     


r"   c                     | j         S )zGets the resource of this V2MetricStatus.  # noqa: E501


        :return: The resource of this V2MetricStatus.  # noqa: E501
        :rtype: V2ResourceMetricStatus
        r   r%   s    r    r   zV2MetricStatus.resource   r)   r"   c                     || _         dS )zSets the resource of this V2MetricStatus.


        :param resource: The resource of this V2MetricStatus.  # noqa: E501
        :type resource: V2ResourceMetricStatus
        Nr3   )r   r   s     r    r   zV2MetricStatus.resource   r+   r"   c                     | j         S )aS  Gets the type of this V2MetricStatus.  # noqa: E501

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

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

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

        :param type: The type of this V2MetricStatus.  # 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V2MetricStatus.type   s1     (? 	MDL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'V2MetricStatus.to_dict.<locals>.convert   s[    q)$$ %ai005t99>>99;;&99Y///r"   c                      |           S )N )r@   rB   s    r    <lambda>z(V2MetricStatus.to_dict.<locals>.<lambda>   s    ggajj r"   c                 6    | d          | d                   fS )Nr   r<   rD   )itemrB   s    r    rE   z(V2MetricStatus.to_dict.<locals>.<lambda>   s    $q'7747+;+;!< r"   )six	iteritemsopenapi_typesgetattrattribute_mapget
isinstancelistmapdictitems)r   rA   resultattr_valuerB   s    `    @r    r;   zV2MetricStatus.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V2MetricStatus.to_str   s    ~dllnn---r"   c                 *    |                                  S )zFor `print` and `pprint`)rZ   r%   s    r    __repr__zV2MetricStatus.__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V2MetricStatus.__eq__   s4    %00 	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V2MetricStatus.__ne__  s4    %00 	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_asyncio.client.configurationr   r   r   rD   r"   r    <module>rn      s    5&&&&&&& 5 5 5444444445  				 



 A A A A A Ap1 p1 p1 p1 p1V p1 p1 p1 p1 p1s    