
                          >    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)V1beta1ReplicaSetStatuszw
    NOTE: This class is auto generated by the swagger code generator program.
    Do not edit the class manually.
    intz list[V1beta1ReplicaSetCondition])available_replicas
conditionsfully_labeled_replicasobserved_generationready_replicasreplicasavailableReplicasr	   fullyLabeledReplicasobservedGenerationreadyReplicasr   Nc                     d| _         d| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _	        ||| _
        ||| _        || _        y)zF
        V1beta1ReplicaSetStatus - 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          Flib/third_party/kubernetes/client/models/v1beta1_replica_set_status.py__init__z V1beta1ReplicaSetStatus.__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 V1beta1ReplicaSetStatus.
        The number of available replicas (ready for at least minReadySeconds)
        for this replica set.

        :return: The available_replicas of this V1beta1ReplicaSetStatus.
        :rtype: int
        r   r   s    r   r   z*V1beta1ReplicaSetStatus.available_replicasO   s     ###r   c                     || _         y)a1  
        Sets the available_replicas of this V1beta1ReplicaSetStatus.
        The number of available replicas (ready for at least minReadySeconds)
        for this replica set.

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

        :return: The conditions of this V1beta1ReplicaSetStatus.
        :rtype: list[V1beta1ReplicaSetCondition]
        r   r    s    r   r	   z"V1beta1ReplicaSetStatus.conditionsi   s     r   c                     || _         y)a!  
        Sets the conditions of this V1beta1ReplicaSetStatus.
        Represents the latest available observations of a replica set's current
        state.

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

        :return: The fully_labeled_replicas of this V1beta1ReplicaSetStatus.
        :rtype: int
        r   r    s    r   r
   z.V1beta1ReplicaSetStatus.fully_labeled_replicas   s     '''r   c                     || _         y)a@  
        Sets the fully_labeled_replicas of this V1beta1ReplicaSetStatus.
        The number of pods that have labels matching the labels of the pod
        template of the replicaset.

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

        :return: The observed_generation of this V1beta1ReplicaSetStatus.
        :rtype: int
        r   r    s    r   r   z+V1beta1ReplicaSetStatus.observed_generation   s     $$$r   c                     || _         y)a-  
        Sets the observed_generation of this V1beta1ReplicaSetStatus.
        ObservedGeneration reflects the generation of the most recently observed
        ReplicaSet.

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

        :return: The ready_replicas of this V1beta1ReplicaSetStatus.
        :rtype: int
        r   r    s    r   r   z&V1beta1ReplicaSetStatus.ready_replicas   s     r   c                     || _         y)z
        Sets the ready_replicas of this V1beta1ReplicaSetStatus.
        The number of ready replicas for this replica set.

        :param ready_replicas: The ready_replicas of this
        V1beta1ReplicaSetStatus.
        :type: int
        Nr,   )r   r   s     r   r   z&V1beta1ReplicaSetStatus.ready_replicas   s     *Dr   c                     | j                   S )a^  
        Gets the replicas of this V1beta1ReplicaSetStatus.
        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 V1beta1ReplicaSetStatus.
        :rtype: int
        )r   r    s    r   r   z V1beta1ReplicaSetStatus.replicas   s     >>r   c                 ,    |t        d      || _        y)ae  
        Sets the replicas of this V1beta1ReplicaSetStatus.
        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 V1beta1ReplicaSetStatus.
        :type: int
        Nz0Invalid value for `replicas`, must not be `None`)
ValueErrorr   )r   r   s     r   r   z V1beta1ReplicaSetStatus.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>z1V1beta1ReplicaSetStatus.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   z1V1beta1ReplicaSetStatus.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V1beta1ReplicaSetStatus.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V1beta1ReplicaSetStatus.to_str   s     4<<>""r   c                 "    | j                         S )z*
        For `print` and `pprint`
        )rG   r    s    r   __repr__z V1beta1ReplicaSetStatus.__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V1beta1ReplicaSetStatus.__eq__  s%     e45==ENN**r   c                     | |k(   S )z<
        Returns true if both objects are not equal
         rL   s     r   __ne__zV1beta1ReplicaSetStatus.__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    "6 %"- 0  61'- #'&*#'"> 	$ 	$ 2 2 	 	 
" 
" 	( 	(   : !: 	% 	% 4 4     
* 
* 	 	 ?? .#+r   r   )rU   pprintr   sixr   reobjectr   rP   r   r   <module>r]      s#   	   	Gf Gr   