
    "                     >    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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 Zd Zd Zd Zd Zy)V1ReplicationControllerStatuszw
    NOTE: This class is auto generated by the swagger code generator program.
    Do not edit the class manually.
    intz&list[V1ReplicationControllerCondition])available_replicas
conditionsfully_labeled_replicasobserved_generationready_replicasreplicasavailableReplicasr	   fullyLabeledReplicasobservedGenerationreadyReplicasr   Nc                     d| _         d| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _	        ||| _
        ||| _        || _        y)zL
        V1ReplicationControllerStatus - a model defined in Swagger
        N)_available_replicas_conditions_fully_labeled_replicas_observed_generation_ready_replicas	_replicasdiscriminatorr   r	   r
   r   r   r   )selfr   r	   r
   r   r   r   s          Llib/third_party/kubernetes/client/models/v1_replication_controller_status.py__init__z&V1ReplicationControllerStatus.__init__0   s      $DD#'D  $DDDND% 2d"do)$:d!&!4d!*dDM    c                     | j                   S )a/  
        Gets the available_replicas of this V1ReplicationControllerStatus.
        The number of available replicas (ready for at least minReadySeconds)
        for this replication controller.

        :return: The available_replicas of this V1ReplicationControllerStatus.
        :rtype: int
        r   r   s    r   r   z0V1ReplicationControllerStatus.available_replicasO   s     ###r   c                     || _         y)aH  
        Sets the available_replicas of this V1ReplicationControllerStatus.
        The number of available replicas (ready for at least minReadySeconds)
        for this replication controller.

        :param available_replicas: The available_replicas of this
        V1ReplicationControllerStatus.
        :type: int
        Nr   )r   r   s     r   r   z0V1ReplicationControllerStatus.available_replicas[   s      2Dr   c                     | j                   S )a5  
        Gets the conditions of this V1ReplicationControllerStatus.
        Represents the latest available observations of a replication
        controller's current state.

        :return: The conditions of this V1ReplicationControllerStatus.
        :rtype: list[V1ReplicationControllerCondition]
        r   r    s    r   r	   z(V1ReplicationControllerStatus.conditionsi   s     r   c                     || _         y)a>  
        Sets the conditions of this V1ReplicationControllerStatus.
        Represents the latest available observations of a replication
        controller's current state.

        :param conditions: The conditions of this V1ReplicationControllerStatus.
        :type: list[V1ReplicationControllerCondition]
        Nr#   )r   r	   s     r   r	   z(V1ReplicationControllerStatus.conditionsu   s     "Dr   c                     | j                   S )aC  
        Gets the fully_labeled_replicas of this V1ReplicationControllerStatus.
        The number of pods that have labels matching the labels of the pod
        template of the replication controller.

        :return: The fully_labeled_replicas of this
        V1ReplicationControllerStatus.
        :rtype: int
        r   r    s    r   r
   z4V1ReplicationControllerStatus.fully_labeled_replicas   s     '''r   c                     || _         y)aX  
        Sets the fully_labeled_replicas of this V1ReplicationControllerStatus.
        The number of pods that have labels matching the labels of the pod
        template of the replication controller.

        :param fully_labeled_replicas: The fully_labeled_replicas of this
        V1ReplicationControllerStatus.
        :type: int
        Nr&   )r   r
   s     r   r
   z4V1ReplicationControllerStatus.fully_labeled_replicas   s     $:D r   c                     | j                   S )a+  
        Gets the observed_generation of this V1ReplicationControllerStatus.
        ObservedGeneration reflects the generation of the most recently observed
        replication controller.

        :return: The observed_generation of this V1ReplicationControllerStatus.
        :rtype: int
        r   r    s    r   r   z1V1ReplicationControllerStatus.observed_generation   s     $$$r   c                     || _         y)aE  
        Sets the observed_generation of this V1ReplicationControllerStatus.
        ObservedGeneration reflects the generation of the most recently observed
        replication controller.

        :param observed_generation: The observed_generation of this
        V1ReplicationControllerStatus.
        :type: int
        Nr)   )r   r   s     r   r   z1V1ReplicationControllerStatus.observed_generation   s     !4Dr   c                     | j                   S )z
        Gets the ready_replicas of this V1ReplicationControllerStatus.
        The number of ready replicas for this replication controller.

        :return: The ready_replicas of this V1ReplicationControllerStatus.
        :rtype: int
        r   r    s    r   r   z,V1ReplicationControllerStatus.ready_replicas   s     r   c                     || _         y)a  
        Sets the ready_replicas of this V1ReplicationControllerStatus.
        The number of ready replicas for this replication controller.

        :param ready_replicas: The ready_replicas of this
        V1ReplicationControllerStatus.
        :type: int
        Nr,   )r   r   s     r   r   z,V1ReplicationControllerStatus.ready_replicas   s     *Dr   c                     | j                   S )ai  
        Gets the replicas of this V1ReplicationControllerStatus.
        Replicas is the most recently oberved number of replicas. More info:
        https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller

        :return: The replicas of this V1ReplicationControllerStatus.
        :rtype: int
        )r   r    s    r   r   z&V1ReplicationControllerStatus.replicas   s     >>r   c                 ,    |t        d      || _        y)ap  
        Sets the replicas of this V1ReplicationControllerStatus.
        Replicas is the most recently oberved number of replicas. More info:
        https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller

        :param replicas: The replicas of this V1ReplicationControllerStatus.
        :type: int
        Nz0Invalid value for `replicas`, must not be `None`)
ValueErrorr   )r   r   s     r   r   z&V1ReplicationControllerStatus.replicas   s     IJJDNr   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hasattrr3   )xs    r   <lambda>z7V1ReplicationControllerStatus.to_dict.<locals>.<lambda>   s    I)>!))+EAEr   r3   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r3   r   r4   )items    r   r7   z7V1ReplicationControllerStatus.to_dict.<locals>.<lambda>   s6    47I. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr5   r3   dictitems)r   resultattr_values        r   r3   z%V1ReplicationControllerStatus.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   r3   r    s    r   to_strz$V1ReplicationControllerStatus.to_str  s     4<<>""r   c                 "    | j                         S )z*
        For `print` and `pprint`
        )rG   r    s    r   __repr__z&V1ReplicationControllerStatus.__repr__  s     ;;=r   c                 V    t        |t              sy| j                  |j                  k(  S )z8
        Returns true if both objects are equal
        F)r=   r   __dict__r   others     r   __eq__z$V1ReplicationControllerStatus.__eq__  s%     e:;==ENN**r   c                     | |k(   S )z<
        Returns true if both objects are not equal
         rL   s     r   __ne__z$V1ReplicationControllerStatus.__ne__  s     u}r   )NNNNNN)__name__
__module____qualname____doc__r;   attribute_mapr   propertyr   setterr	   r
   r   r   r   r3   rG   rI   rN   rQ   rP   r   r   r   r      s    "< %"- 0  61'- #'&*#'"> 	$ 	$ 2 2 	 	 
" 
" 
( 
(   : !: 	% 	% 4 4     
* 
* 	 	 ?? .#+r   r   )rU   pprintr   sixr   reobjectr   rP   r   r   <module>r]      s#   	   	HF Hr   