
    [j5                     |    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            
       R   e Zd ZdZ	 dddddddddd	Z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d)d#Zd$ Zd% Zd& Zd' ZdS )*V1DeploymentStatuszNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    intzlist[V1DeploymentCondition])	available_replicascollision_count
conditionsobserved_generationready_replicasreplicasterminating_replicasunavailable_replicasupdated_replicasavailableReplicascollisionCountr   observedGenerationreadyReplicasr   terminatingReplicasunavailableReplicasupdatedReplicasNc                 p   |
t          j                    }
|
| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        |		|	| _        dS dS )z/V1DeploymentStatus - a model defined in OpenAPIN)r   get_defaultlocal_vars_configuration_available_replicas_collision_count_conditions_observed_generation_ready_replicas	_replicas_terminating_replicas_unavailable_replicas_updated_replicasdiscriminatorr	   r
   r   r   r   r   r   r   r   )selfr	   r
   r   r   r   r   r   r   r   r   s              r/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes_asyncio/client/models/v1_deployment_status.py__init__zV1DeploymentStatus.__init__>   s    #+'4'@'B'B$(@%#'  $$(!#%)"%)"!%!)&8D#&#2D !(DO*':D$%"0D$DM+(<D%+(<D%'$4D!!! ('    c                     | j         S )a=  Gets the available_replicas of this V1DeploymentStatus.  # noqa: E501

        Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.  # noqa: E501

        :return: The available_replicas of this V1DeploymentStatus.  # noqa: E501
        :rtype: int
        r   r&   s    r'   r	   z%V1DeploymentStatus.available_replicasb   s     ''r)   c                     || _         dS )aS  Sets the available_replicas of this V1DeploymentStatus.

        Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.  # noqa: E501

        :param available_replicas: The available_replicas of this V1DeploymentStatus.  # noqa: E501
        :type available_replicas: int
        Nr+   )r&   r	   s     r'   r	   z%V1DeploymentStatus.available_replicasm   s     $6   r)   c                     | j         S )a|  Gets the collision_count of this V1DeploymentStatus.  # noqa: E501

        Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.  # noqa: E501

        :return: The collision_count of this V1DeploymentStatus.  # noqa: E501
        :rtype: int
        r   r,   s    r'   r
   z"V1DeploymentStatus.collision_county   s     $$r)   c                     || _         dS )a  Sets the collision_count of this V1DeploymentStatus.

        Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.  # noqa: E501

        :param collision_count: The collision_count of this V1DeploymentStatus.  # noqa: E501
        :type collision_count: int
        Nr/   )r&   r
   s     r'   r
   z"V1DeploymentStatus.collision_count   s     !0r)   c                     | j         S )a"  Gets the conditions of this V1DeploymentStatus.  # noqa: E501

        Represents the latest available observations of a deployment's current state.  # noqa: E501

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

        Represents the latest available observations of a deployment's current state.  # noqa: E501

        :param conditions: The conditions of this V1DeploymentStatus.  # noqa: E501
        :type conditions: list[V1DeploymentCondition]
        Nr2   )r&   r   s     r'   r   zV1DeploymentStatus.conditions   s     &r)   c                     | j         S )a  Gets the observed_generation of this V1DeploymentStatus.  # noqa: E501

        The generation observed by the deployment controller.  # noqa: E501

        :return: The observed_generation of this V1DeploymentStatus.  # noqa: E501
        :rtype: int
        r   r,   s    r'   r   z&V1DeploymentStatus.observed_generation   s     ((r)   c                     || _         dS )a  Sets the observed_generation of this V1DeploymentStatus.

        The generation observed by the deployment controller.  # noqa: E501

        :param observed_generation: The observed_generation of this V1DeploymentStatus.  # noqa: E501
        :type observed_generation: int
        Nr5   )r&   r   s     r'   r   z&V1DeploymentStatus.observed_generation   s     %8!!!r)   c                     | j         S )a  Gets the ready_replicas of this V1DeploymentStatus.  # noqa: E501

        Total number of non-terminating pods targeted by this Deployment with a Ready Condition.  # noqa: E501

        :return: The ready_replicas of this V1DeploymentStatus.  # noqa: E501
        :rtype: int
        r    r,   s    r'   r   z!V1DeploymentStatus.ready_replicas   s     ##r)   c                     || _         dS )a+  Sets the ready_replicas of this V1DeploymentStatus.

        Total number of non-terminating pods targeted by this Deployment with a Ready Condition.  # noqa: E501

        :param ready_replicas: The ready_replicas of this V1DeploymentStatus.  # noqa: E501
        :type ready_replicas: int
        Nr8   )r&   r   s     r'   r   z!V1DeploymentStatus.ready_replicas   s      .r)   c                     | j         S )a  Gets the replicas of this V1DeploymentStatus.  # noqa: E501

        Total number of non-terminating pods targeted by this deployment (their labels match the selector).  # noqa: E501

        :return: The replicas of this V1DeploymentStatus.  # noqa: E501
        :rtype: int
        r!   r,   s    r'   r   zV1DeploymentStatus.replicas   s     ~r)   c                     || _         dS )a  Sets the replicas of this V1DeploymentStatus.

        Total number of non-terminating pods targeted by this deployment (their labels match the selector).  # noqa: E501

        :param replicas: The replicas of this V1DeploymentStatus.  # noqa: E501
        :type replicas: int
        Nr;   )r&   r   s     r'   r   zV1DeploymentStatus.replicas   s     "r)   c                     | j         S )a  Gets the terminating_replicas of this V1DeploymentStatus.  # noqa: E501

        Total number of terminating pods targeted by this deployment. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.  This is a beta field and requires enabling DeploymentReplicaSetTerminatingReplicas feature (enabled by default).  # noqa: E501

        :return: The terminating_replicas of this V1DeploymentStatus.  # noqa: E501
        :rtype: int
        r"   r,   s    r'   r   z'V1DeploymentStatus.terminating_replicas        ))r)   c                     || _         dS )a  Sets the terminating_replicas of this V1DeploymentStatus.

        Total number of terminating pods targeted by this deployment. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.  This is a beta field and requires enabling DeploymentReplicaSetTerminatingReplicas feature (enabled by default).  # noqa: E501

        :param terminating_replicas: The terminating_replicas of this V1DeploymentStatus.  # noqa: E501
        :type terminating_replicas: int
        Nr>   )r&   r   s     r'   r   z'V1DeploymentStatus.terminating_replicas        &:"""r)   c                     | j         S )a  Gets the unavailable_replicas of this V1DeploymentStatus.  # noqa: E501

        Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.  # noqa: E501

        :return: The unavailable_replicas of this V1DeploymentStatus.  # noqa: E501
        :rtype: int
        r#   r,   s    r'   r   z'V1DeploymentStatus.unavailable_replicas  r?   r)   c                     || _         dS )a  Sets the unavailable_replicas of this V1DeploymentStatus.

        Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.  # noqa: E501

        :param unavailable_replicas: The unavailable_replicas of this V1DeploymentStatus.  # noqa: E501
        :type unavailable_replicas: int
        NrC   )r&   r   s     r'   r   z'V1DeploymentStatus.unavailable_replicas  rA   r)   c                     | j         S )a.  Gets the updated_replicas of this V1DeploymentStatus.  # noqa: E501

        Total number of non-terminating pods targeted by this deployment that have the desired template spec.  # noqa: E501

        :return: The updated_replicas of this V1DeploymentStatus.  # noqa: E501
        :rtype: int
        r$   r,   s    r'   r   z#V1DeploymentStatus.updated_replicas  s     %%r)   c                     || _         dS )a@  Sets the updated_replicas of this V1DeploymentStatus.

        Total number of non-terminating pods targeted by this deployment that have the desired template spec.  # noqa: E501

        :param updated_replicas: The updated_replicas of this V1DeploymentStatus.  # noqa: E501
        :type updated_replicas: int
        NrF   )r&   r   s     r'   r   z#V1DeploymentStatus.updated_replicas%  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   rJ   argslen)xrM   	serializes     r'   convertz+V1DeploymentStatus.to_dict.<locals>.convert5  s[    q)$$ %ai005t99>>99;;&99Y///r)   c                      |           S )N )rO   rQ   s    r'   <lambda>z,V1DeploymentStatus.to_dict.<locals>.<lambda>D  s    ggajj r)   c                 6    | d          | d                   fS )Nr   rK   rS   )itemrQ   s    r'   rT   z,V1DeploymentStatus.to_dict.<locals>.<lambda>I  s    $q'7747+;+;!< r)   )six	iteritemsopenapi_typesgetattrattribute_mapget
isinstancelistmapdictitems)r&   rP   resultattr_valuerQ   s    `    @r'   rJ   zV1DeploymentStatus.to_dict1  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pformatrJ   r,   s    r'   to_strzV1DeploymentStatus.to_strQ  s    ~dllnn---r)   c                 *    |                                  S )zFor `print` and `pprint`)ri   r,   s    r'   __repr__zV1DeploymentStatus.__repr__U  s    {{}}r)   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr]   r   rJ   r&   others     r'   __eq__zV1DeploymentStatus.__eq__Y  s5    %!344 	5||~~00r)   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrm   rn   s     r'   __ne__zV1DeploymentStatus.__ne__`  s5    %!344 	4||~~00r)   )
NNNNNNNNNN)F)__name__
__module____qualname____doc__rY   r[   r(   propertyr	   setterr
   r   r   r   r   r   r   r   rJ   ri   rk   rp   rr   rS   r)   r'   r   r      s         $ 3$ % %!
 
M 2+"3) 5 5-
 
M"5 "5 "5 "5H ( ( X( 	6 	6 	6 % % X% 	0 	0 	0     X  	& 	& 	& ) ) X) 	8 	8  	8 $ $ X$ 	. 	. 	.   X _	" 	" _	" * * X*  	: 	: ! 	: * * X*  	: 	: ! 	: & & X& 	2 	2 	2   @. . .  1 1 11 1 1 1 1r)   r   )rv   inspectr   ImportErrorr   rg   rerW   'kubernetes_asyncio.client.configurationr   objectr   rS   r)   r'   <module>r~      s    5&&&&&&& 5 5 5444444445  				 



 A A A A A AM1 M1 M1 M1 M1 M1 M1 M1 M1 M1s    