
    7                     >    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dd
Zd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ed#        Zej                  d$        Zd% Zd& Zd' Zd( Zd) Zy)+V1beta1DaemonSetStatuszw
    NOTE: This class is auto generated by the swagger code generator program.
    Do not edit the class manually.
    intzlist[V1beta1DaemonSetCondition])
collision_count
conditionscurrent_number_scheduleddesired_number_schedulednumber_availablenumber_misschedulednumber_readynumber_unavailableobserved_generationupdated_number_scheduledcollisionCountr	   currentNumberScheduleddesiredNumberSchedulednumberAvailablenumberMisschedulednumberReadynumberUnavailableobservedGenerationupdatedNumberScheduledNc                 D   d| _         d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        ||| _        ||| _        || _        || _        ||| _        || _        || _        ||| _        |	|	| _        |
|
| _        yy)zE
        V1beta1DaemonSetStatus - a model defined in Swagger
        N)_collision_count_conditions_current_number_scheduled_desired_number_scheduled_number_available_number_misscheduled_number_ready_number_unavailable_observed_generation_updated_number_scheduleddiscriminatorr   r	   r
   r   r   r   r   r   r   r   )selfr   r	   r
   r   r   r   r   r   r   r   s              Elib/third_party/kubernetes/client/models/v1beta1_daemon_set_status.py__init__zV1beta1DaemonSetStatus.__init__8   s     !DD%)D"%)D"!D $DD#D $D%)D"D",d"do$<D!$<D!#.d2D$D% 2d&!4d+&>d# ,    c                     | j                   S )ax  
        Gets the collision_count of this V1beta1DaemonSetStatus.
        Count of hash collisions for the DaemonSet. The DaemonSet controller
        uses this field as a collision avoidance mechanism when it needs to
        create the name for the newest ControllerRevision.

        :return: The collision_count of this V1beta1DaemonSetStatus.
        :rtype: int
        r   r'   s    r(   r   z&V1beta1DaemonSetStatus.collision_countd   s        r*   c                     || _         y)a  
        Sets the collision_count of this V1beta1DaemonSetStatus.
        Count of hash collisions for the DaemonSet. The DaemonSet controller
        uses this field as a collision avoidance mechanism when it needs to
        create the name for the newest ControllerRevision.

        :param collision_count: The collision_count of this
        V1beta1DaemonSetStatus.
        :type: int
        Nr,   )r'   r   s     r(   r   z&V1beta1DaemonSetStatus.collision_countq   s     ,Dr*   c                     | j                   S )a  
        Gets the conditions of this V1beta1DaemonSetStatus.
        Represents the latest available observations of a DaemonSet's current
        state.

        :return: The conditions of this V1beta1DaemonSetStatus.
        :rtype: list[V1beta1DaemonSetCondition]
        r   r-   s    r(   r	   z!V1beta1DaemonSetStatus.conditions   s     r*   c                     || _         y)a  
        Sets the conditions of this V1beta1DaemonSetStatus.
        Represents the latest available observations of a DaemonSet's current
        state.

        :param conditions: The conditions of this V1beta1DaemonSetStatus.
        :type: list[V1beta1DaemonSetCondition]
        Nr0   )r'   r	   s     r(   r	   z!V1beta1DaemonSetStatus.conditions   s     "Dr*   c                     | j                   S )a  
        Gets the current_number_scheduled of this V1beta1DaemonSetStatus.
        The number of nodes that are running at least 1 daemon pod and are
        supposed to run the daemon pod. More info:
        https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/

        :return: The current_number_scheduled of this V1beta1DaemonSetStatus.
        :rtype: int
        )r   r-   s    r(   r
   z/V1beta1DaemonSetStatus.current_number_scheduled        )))r*   c                 ,    |t        d      || _        y)a  
        Sets the current_number_scheduled of this V1beta1DaemonSetStatus.
        The number of nodes that are running at least 1 daemon pod and are
        supposed to run the daemon pod. More info:
        https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/

        :param current_number_scheduled: The current_number_scheduled of this
        V1beta1DaemonSetStatus.
        :type: int
        Nz@Invalid value for `current_number_scheduled`, must not be `None`)
ValueErrorr   )r'   r
   s     r(   r
   z/V1beta1DaemonSetStatus.current_number_scheduled   &      '
LN N &>D"r*   c                     | j                   S )a  
        Gets the desired_number_scheduled of this V1beta1DaemonSetStatus.
        The total number of nodes that should be running the daemon pod
        (including nodes correctly running the daemon pod). More info:
        https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/

        :return: The desired_number_scheduled of this V1beta1DaemonSetStatus.
        :rtype: int
        )r   r-   s    r(   r   z/V1beta1DaemonSetStatus.desired_number_scheduled   r3   r*   c                 ,    |t        d      || _        y)a  
        Sets the desired_number_scheduled of this V1beta1DaemonSetStatus.
        The total number of nodes that should be running the daemon pod
        (including nodes correctly running the daemon pod). More info:
        https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/

        :param desired_number_scheduled: The desired_number_scheduled of this
        V1beta1DaemonSetStatus.
        :type: int
        Nz@Invalid value for `desired_number_scheduled`, must not be `None`)r5   r   )r'   r   s     r(   r   z/V1beta1DaemonSetStatus.desired_number_scheduled   r6   r*   c                     | j                   S )a_  
        Gets the number_available of this V1beta1DaemonSetStatus.
        The number of nodes that should be running the daemon pod and have one
        or more of the daemon pod running and available (ready for at least
        spec.minReadySeconds)

        :return: The number_available of this V1beta1DaemonSetStatus.
        :rtype: int
        r    r-   s    r(   r   z'V1beta1DaemonSetStatus.number_available   s     !!!r*   c                     || _         y)av  
        Sets the number_available of this V1beta1DaemonSetStatus.
        The number of nodes that should be running the daemon pod and have one
        or more of the daemon pod running and available (ready for at least
        spec.minReadySeconds)

        :param number_available: The number_available of this
        V1beta1DaemonSetStatus.
        :type: int
        Nr:   )r'   r   s     r(   r   z'V1beta1DaemonSetStatus.number_available   s     .Dr*   c                     | j                   S )au  
        Gets the number_misscheduled of this V1beta1DaemonSetStatus.
        The number of nodes that are running the daemon pod, but are not
        supposed to run the daemon pod. More info:
        https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/

        :return: The number_misscheduled of this V1beta1DaemonSetStatus.
        :rtype: int
        )r!   r-   s    r(   r   z*V1beta1DaemonSetStatus.number_misscheduled   s     $$$r*   c                 ,    |t        d      || _        y)a  
        Sets the number_misscheduled of this V1beta1DaemonSetStatus.
        The number of nodes that are running the daemon pod, but are not
        supposed to run the daemon pod. More info:
        https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/

        :param number_misscheduled: The number_misscheduled of this
        V1beta1DaemonSetStatus.
        :type: int
        Nz;Invalid value for `number_misscheduled`, must not be `None`)r5   r!   )r'   r   s     r(   r   z*V1beta1DaemonSetStatus.number_misscheduled   s&     "
GI I !4Dr*   c                     | j                   S )a"  
        Gets the number_ready of this V1beta1DaemonSetStatus.
        The number of nodes that should be running the daemon pod and have one
        or more of the daemon pod running and ready.

        :return: The number_ready of this V1beta1DaemonSetStatus.
        :rtype: int
        )r"   r-   s    r(   r   z#V1beta1DaemonSetStatus.number_ready  s     r*   c                 ,    |t        d      || _        y)a-  
        Sets the number_ready of this V1beta1DaemonSetStatus.
        The number of nodes that should be running the daemon pod and have one
        or more of the daemon pod running and ready.

        :param number_ready: The number_ready of this V1beta1DaemonSetStatus.
        :type: int
        Nz4Invalid value for `number_ready`, must not be `None`)r5   r"   )r'   r   s     r(   r   z#V1beta1DaemonSetStatus.number_ready  s     MNN%Dr*   c                     | j                   S )a\  
        Gets the number_unavailable of this V1beta1DaemonSetStatus.
        The number of nodes that should be running the daemon pod and have none
        of the daemon pod running and available (ready for at least
        spec.minReadySeconds)

        :return: The number_unavailable of this V1beta1DaemonSetStatus.
        :rtype: int
        r#   r-   s    r(   r   z)V1beta1DaemonSetStatus.number_unavailable-  s     ###r*   c                     || _         y)au  
        Sets the number_unavailable of this V1beta1DaemonSetStatus.
        The number of nodes that should be running the daemon pod and have none
        of the daemon pod running and available (ready for at least
        spec.minReadySeconds)

        :param number_unavailable: The number_unavailable of this
        V1beta1DaemonSetStatus.
        :type: int
        NrA   )r'   r   s     r(   r   z)V1beta1DaemonSetStatus.number_unavailable:  s      2Dr*   c                     | j                   S )z
        Gets the observed_generation of this V1beta1DaemonSetStatus.
        The most recent generation observed by the daemon set controller.

        :return: The observed_generation of this V1beta1DaemonSetStatus.
        :rtype: int
        r$   r-   s    r(   r   z*V1beta1DaemonSetStatus.observed_generationI  s     $$$r*   c                     || _         y)a  
        Sets the observed_generation of this V1beta1DaemonSetStatus.
        The most recent generation observed by the daemon set controller.

        :param observed_generation: The observed_generation of this
        V1beta1DaemonSetStatus.
        :type: int
        NrD   )r'   r   s     r(   r   z*V1beta1DaemonSetStatus.observed_generationT  s     !4Dr*   c                     | j                   S )z
        Gets the updated_number_scheduled of this V1beta1DaemonSetStatus.
        The total number of nodes that are running updated daemon pod

        :return: The updated_number_scheduled of this V1beta1DaemonSetStatus.
        :rtype: int
        r%   r-   s    r(   r   z/V1beta1DaemonSetStatus.updated_number_scheduleda  s     )))r*   c                     || _         y)a  
        Sets the updated_number_scheduled of this V1beta1DaemonSetStatus.
        The total number of nodes that are running updated daemon pod

        :param updated_number_scheduled: The updated_number_scheduled of this
        V1beta1DaemonSetStatus.
        :type: int
        NrG   )r'   r   s     r(   r   z/V1beta1DaemonSetStatus.updated_number_scheduledl  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hasattrrK   )xs    r(   <lambda>z0V1beta1DaemonSetStatus.to_dict.<locals>.<lambda>  s    I)>!))+EAEr*   rK   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   rK   r   rL   )items    r(   rO   z0V1beta1DaemonSetStatus.to_dict.<locals>.<lambda>  s6    47I. #1gtAw'89 9489r*   )
r   swagger_typesgetattr
isinstancelistmaprM   rK   dictitems)r'   resultattr_values        r(   rK   zV1beta1DaemonSetStatus.to_dicty  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   rK   r-   s    r(   to_strzV1beta1DaemonSetStatus.to_str  s     4<<>""r*   c                 "    | j                         S )z*
        For `print` and `pprint`
        )r_   r-   s    r(   __repr__zV1beta1DaemonSetStatus.__repr__  s     ;;=r*   c                 V    t        |t              sy| j                  |j                  k(  S )z8
        Returns true if both objects are equal
        F)rU   r   __dict__r'   others     r(   __eq__zV1beta1DaemonSetStatus.__eq__  s%     e34==ENN**r*   c                     | |k(   S )z<
        Returns true if both objects are not equal
         rd   s     r(   __ne__zV1beta1DaemonSetStatus.__ne__  s     u}r*   )
NNNNNNNNNN)__name__
__module____qualname____doc__rS   attribute_mapr)   propertyr   setterr	   r
   r   r   r   r   r   r   r   rK   r_   ra   rf   ri   rh   r*   r(   r   r      se    5"'"'"!""'- * ":":+1#/1":-  $(,(, $#' "&#'(,*?X 
! 
! , , 	 	 
" 
" 
* 
* ""> #>" 
* 
* ""> #>" 
" 
" . . 
% 
% 4 4" 	 	 & & 
$ 
$ 2 2 % % 
4 
4 * * ""
> #
>.#+r*   r   )rm   pprintr   sixr   reobjectr   rh   r*   r(   <module>ru      s#   	   	WV Wr*   