
    <g-                     B    d Z ddlZddlZddlZddlmZ  G d de      Zy)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.32
    Generated by: https://openapi-generator.tech
    N)Configurationc            	          e Zd ZdZ	 dddddddddZ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d Zd  Zd! Zd" Zd# Zy)%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unavailable_replicasupdated_replicasavailableReplicascollisionCountr	   observedGenerationreadyReplicasr   unavailableReplicasupdatedReplicasNc
                 :   |	
t               }	|	| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        yy)z/V1DeploymentStatus - a model defined in OpenAPIN)r   local_vars_configuration_available_replicas_collision_count_conditions_observed_generation_ready_replicas	_replicas_unavailable_replicas_updated_replicasdiscriminatorr   r   r	   r
   r   r   r   r   )
selfr   r   r	   r
   r   r   r   r   r   s
             b/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_deployment_status.py__init__zV1DeploymentStatus.__init__9   s    #+'4$(@%#'  $$(!#%)"!%!)&8D#&#2D !(DO*':D$%"0D$DM+(<D%'$4D! (    c                     | j                   S )a-  Gets the available_replicas of this V1DeploymentStatus.  # noqa: E501

        Total number of available 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_replicasZ   s     '''r#   c                     || _         y)a0  Sets the available_replicas of this V1DeploymentStatus.

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

        :param available_replicas: The available_replicas of this V1DeploymentStatus.  # noqa: E501
        :type: int
        Nr%   )r    r   s     r!   r   z%V1DeploymentStatus.available_replicase   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_countq   s     $$$r#   c                     || _         y)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: 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                     || _         y)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: list[V1DeploymentCondition]
        Nr,   )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                     || _         y)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: int
        Nr/   )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

        readyReplicas is the number of 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                     || _         y)a  Sets the ready_replicas of this V1DeploymentStatus.

        readyReplicas is the number of pods targeted by this Deployment with a Ready Condition.  # noqa: E501

        :param ready_replicas: The ready_replicas of this V1DeploymentStatus.  # noqa: E501
        :type: int
        Nr2   )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-terminated 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                     || _         y)a  Sets the replicas of this V1DeploymentStatus.

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

        :param replicas: The replicas of this V1DeploymentStatus.  # noqa: E501
        :type: int
        Nr5   )r    r   s     r!   r   zV1DeploymentStatus.replicas   s     "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   s     )))r#   c                     || _         y)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: int
        Nr8   )r    r   s     r!   r   z'V1DeploymentStatus.unavailable_replicas   s     &:"r#   c                     | j                   S )a-  Gets the updated_replicas of this V1DeploymentStatus.  # noqa: E501

        Total number of non-terminated 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                     || _         y)a.  Sets the updated_replicas of this V1DeploymentStatus.

        Total number of non-terminated 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: int
        Nr;   )r    r   s     r!   r   z#V1DeploymentStatus.updated_replicas  s     "2r#   c                 ~   i }t        j                  | j                        D ]  \  }}t        | |      }t	        |t
              rt        t        d |            ||<   <t        |d      r|j                         ||<   \t	        |t              r(t        t        d |j                                     ||<   |||<    |S )z&Returns the model properties as a dictc                 >    t        | d      r| j                         S | S )Nto_dicthasattrr?   )xs    r!   <lambda>z,V1DeploymentStatus.to_dict.<locals>.<lambda>  s    WQ	-BaiikIIr#   r?   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r?   r   r@   )items    r!   rC   z,V1DeploymentStatus.to_dict.<locals>.<lambda>!  s6    tAw	2 #'q'47??+<!= "=8<"=r#   )six	iteritemsopenapi_typesgetattr
isinstancelistmaprA   r?   dictitems)r    resultattr_values        r!   r?   zV1DeploymentStatus.to_dict  s    }}T%7%78GD!D$'E%&#CI%  t 	*$}}tE4(#C=KKM%  t  %t! 9$ r#   c                 H    t        j                  | j                               S )z.Returns the string representation of the model)pprintpformatr?   r&   s    r!   to_strzV1DeploymentStatus.to_str*  s    ~~dlln--r#   c                 "    | j                         S )zFor `print` and `pprint`)rW   r&   s    r!   __repr__zV1DeploymentStatus.__repr__.  s    {{}r#   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFrK   r   r?   r    others     r!   __eq__zV1DeploymentStatus.__eq__2  s'    %!34||~00r#   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTr[   r\   s     r!   __ne__zV1DeploymentStatus.__ne__9  s'    %!34||~00r#   )	NNNNNNNNN)__name__
__module____qualname____doc__rI   attribute_mapr"   propertyr   setterr   r	   r
   r   r   r   r   r?   rW   rY   r^   r`    r#   r!   r   r      s    $ 3$ %!	M 2+"3) 5-	M5B ( ( 	6 	6 % % 	0 	0     	& 	& ) ) 	8  	8 $ $ 	. 	.   __	" 	" * *   	: !	: & & 	2 	20.11r#   r   )rd   rU   rerG   kubernetes.client.configurationr   objectr   rh   r#   r!   <module>rl      s&     	 
 9i1 i1r#   