
    *                     >    d Z ddlmZ ddlmZ ddlZ G d de      Zy)z
    Kubernetes

    No description provided (generated by Swagger Codegen
    https://github.com/swagger-api/swagger-codegen)

    OpenAPI spec version: v1.14.4

    Generated by: https://github.com/swagger-api/swagger-codegen.git
    )pformat)	iteritemsNc            	          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)%AppsV1beta1DeploymentStatuszw
    NOTE: This class is auto generated by the swagger code generator program.
    Do not edit the class manually.
    intz$list[AppsV1beta1DeploymentCondition])available_replicascollision_count
conditionsobserved_generationready_replicasreplicasunavailable_replicasupdated_replicasavailableReplicascollisionCountr
   observedGenerationreadyReplicasr   unavailableReplicasupdatedReplicasNc	                    d| _         d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _	        ||| _
        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        yy)zJ
        AppsV1beta1DeploymentStatus - a model defined in Swagger
        N)_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   s	            Jlib/third_party/kubernetes/client/models/apps_v1beta1_deployment_status.py__init__z$AppsV1beta1DeploymentStatus.__init__4   s      $D DD $DDDN!%D!DD% 2d",d"do&!4d!*ddm'"6d#.d $    c                     | j                   S )a%  
        Gets the available_replicas of this AppsV1beta1DeploymentStatus.
        Total number of available pods (ready for at least minReadySeconds)
        targeted by this deployment.

        :return: The available_replicas of this AppsV1beta1DeploymentStatus.
        :rtype: int
        r   r    s    r!   r   z.AppsV1beta1DeploymentStatus.available_replicas\   s     ###r#   c                     || _         y)a>  
        Sets the available_replicas of this AppsV1beta1DeploymentStatus.
        Total number of available pods (ready for at least minReadySeconds)
        targeted by this deployment.

        :param available_replicas: The available_replicas of this
        AppsV1beta1DeploymentStatus.
        :type: int
        Nr%   )r    r   s     r!   r   z.AppsV1beta1DeploymentStatus.available_replicash   s      2Dr#   c                     | j                   S )a|  
        Gets the collision_count of this AppsV1beta1DeploymentStatus.
        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.

        :return: The collision_count of this AppsV1beta1DeploymentStatus.
        :rtype: int
        r   r&   s    r!   r	   z+AppsV1beta1DeploymentStatus.collision_countv   s        r#   c                     || _         y)a  
        Sets the collision_count of this AppsV1beta1DeploymentStatus.
        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.

        :param collision_count: The collision_count of this
        AppsV1beta1DeploymentStatus.
        :type: int
        Nr)   )r    r	   s     r!   r	   z+AppsV1beta1DeploymentStatus.collision_count   s     ,Dr#   c                     | j                   S )a#  
        Gets the conditions of this AppsV1beta1DeploymentStatus.
        Represents the latest available observations of a deployment's current
        state.

        :return: The conditions of this AppsV1beta1DeploymentStatus.
        :rtype: list[AppsV1beta1DeploymentCondition]
        r   r&   s    r!   r
   z&AppsV1beta1DeploymentStatus.conditions   s     r#   c                     || _         y)a,  
        Sets the conditions of this AppsV1beta1DeploymentStatus.
        Represents the latest available observations of a deployment's current
        state.

        :param conditions: The conditions of this AppsV1beta1DeploymentStatus.
        :type: list[AppsV1beta1DeploymentCondition]
        Nr,   )r    r
   s     r!   r
   z&AppsV1beta1DeploymentStatus.conditions   s     "Dr#   c                     | j                   S )z
        Gets the observed_generation of this AppsV1beta1DeploymentStatus.
        The generation observed by the deployment controller.

        :return: The observed_generation of this AppsV1beta1DeploymentStatus.
        :rtype: int
        r   r&   s    r!   r   z/AppsV1beta1DeploymentStatus.observed_generation   s     $$$r#   c                     || _         y)a  
        Sets the observed_generation of this AppsV1beta1DeploymentStatus.
        The generation observed by the deployment controller.

        :param observed_generation: The observed_generation of this
        AppsV1beta1DeploymentStatus.
        :type: int
        Nr/   )r    r   s     r!   r   z/AppsV1beta1DeploymentStatus.observed_generation   s     !4Dr#   c                     | j                   S )z
        Gets the ready_replicas of this AppsV1beta1DeploymentStatus.
        Total number of ready pods targeted by this deployment.

        :return: The ready_replicas of this AppsV1beta1DeploymentStatus.
        :rtype: int
        r   r&   s    r!   r   z*AppsV1beta1DeploymentStatus.ready_replicas   s     r#   c                     || _         y)a  
        Sets the ready_replicas of this AppsV1beta1DeploymentStatus.
        Total number of ready pods targeted by this deployment.

        :param ready_replicas: The ready_replicas of this
        AppsV1beta1DeploymentStatus.
        :type: int
        Nr2   )r    r   s     r!   r   z*AppsV1beta1DeploymentStatus.ready_replicas   s     *Dr#   c                     | j                   S )a  
        Gets the replicas of this AppsV1beta1DeploymentStatus.
        Total number of non-terminated pods targeted by this deployment (their
        labels match the selector).

        :return: The replicas of this AppsV1beta1DeploymentStatus.
        :rtype: int
        r   r&   s    r!   r   z$AppsV1beta1DeploymentStatus.replicas   s     >>r#   c                     || _         y)a  
        Sets the replicas of this AppsV1beta1DeploymentStatus.
        Total number of non-terminated pods targeted by this deployment (their
        labels match the selector).

        :param replicas: The replicas of this AppsV1beta1DeploymentStatus.
        :type: int
        Nr5   )r    r   s     r!   r   z$AppsV1beta1DeploymentStatus.replicas   s     DNr#   c                     | j                   S )a  
        Gets the unavailable_replicas of this AppsV1beta1DeploymentStatus.
        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.

        :return: The unavailable_replicas of this AppsV1beta1DeploymentStatus.
        :rtype: int
        r   r&   s    r!   r   z0AppsV1beta1DeploymentStatus.unavailable_replicas   s     %%%r#   c                     || _         y)a  
        Sets the unavailable_replicas of this AppsV1beta1DeploymentStatus.
        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.

        :param unavailable_replicas: The unavailable_replicas of this
        AppsV1beta1DeploymentStatus.
        :type: int
        Nr8   )r    r   s     r!   r   z0AppsV1beta1DeploymentStatus.unavailable_replicas  s     "6Dr#   c                     | j                   S )a%  
        Gets the updated_replicas of this AppsV1beta1DeploymentStatus.
        Total number of non-terminated pods targeted by this deployment that
        have the desired template spec.

        :return: The updated_replicas of this AppsV1beta1DeploymentStatus.
        :rtype: int
        r   r&   s    r!   r   z,AppsV1beta1DeploymentStatus.updated_replicas  s     !!!r#   c                     || _         y)a<  
        Sets the updated_replicas of this AppsV1beta1DeploymentStatus.
        Total number of non-terminated pods targeted by this deployment that
        have the desired template spec.

        :param updated_replicas: The updated_replicas of this
        AppsV1beta1DeploymentStatus.
        :type: int
        Nr;   )r    r   s     r!   r   z,AppsV1beta1DeploymentStatus.updated_replicas  s     .Dr#   c                 j   i }t        | j                        D ]  \  }}t        | |      }t        |t              rt	        t        d |            ||<   <t        |d      r|j                         ||<   \t        |t              r(t        t        d |j                                     ||<   |||<    |S )z8
        Returns the model properties as a dict
        c                 >    t        | d      r| j                         S | S )Nto_dicthasattrr?   )xs    r!   <lambda>z5AppsV1beta1DeploymentStatus.to_dict.<locals>.<lambda>6  s    I)>!))+EAEr#   r?   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r?   r   r@   )items    r!   rC   z5AppsV1beta1DeploymentStatus.to_dict.<locals>.<lambda><  s6    47I. #1gtAw'89 9489r#   )
r   swagger_typesgetattr
isinstancelistmaprA   r?   dictitems)r    resultattr_values        r!   r?   z#AppsV1beta1DeploymentStatus.to_dict,  s     FT//0adD!e	E4	 EuMOt5)$}}teT"9:?++-IJt
 t 1 Mr#   c                 4    t        | j                               S )z@
        Returns the string representation of the model
        )r   r?   r&   s    r!   to_strz"AppsV1beta1DeploymentStatus.to_strC  s     4<<>""r#   c                 "    | j                         S )z*
        For `print` and `pprint`
        )rS   r&   s    r!   __repr__z$AppsV1beta1DeploymentStatus.__repr__I  s     ;;=r#   c                 V    t        |t              sy| j                  |j                  k(  S )z8
        Returns true if both objects are equal
        F)rI   r   __dict__r    others     r!   __eq__z"AppsV1beta1DeploymentStatus.__eq__O  s%     e89==ENN**r#   c                     | |k(   S )z<
        Returns true if both objects are not equal
         rX   s     r!   __ne__z"AppsV1beta1DeploymentStatus.__ne__X  s     u}r#   )NNNNNNNN)__name__
__module____qualname____doc__rG   attribute_mapr"   propertyr   setterr	   r
   r   r   r   r   r   r?   rS   rU   rZ   r]   r\   r#   r!   r   r      s    ":"#	- 0) 1'3+	- #'##'"$( $&/P 	$ 	$ 2 2 
! 
! , , 	 	 
" 
" % % 
4 
4     
* 
* 	 	 ??
 
 & & 6 6 	" 	" . ..#+r#   r   )ra   pprintr   sixr   reobjectr   r\   r#   r!   <module>ri      s#   	   	J& Jr#   