
    <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                   t   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)+V1DaemonSetStatuszNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    intzlist[V1DaemonSetCondition])
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                 j   |
t               }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        ||| _        ||| _        || _        || _        ||| _        || _        || _        ||| _        |	|	| _        |
|
| _        yy)z.V1DaemonSetStatus - a model defined in OpenAPIN)r   local_vars_configuration_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   r   s               b/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_daemon_set_status.py__init__zV1DaemonSetStatus.__init__=   s    #+'4$(@% $)-&)-&!%$(!!#' $(!)-&!&#2D !(DO(@%(@%'$4D!#6 ()&8D#*':D$#/,DD) 0    c                     | j                   S )a  Gets the collision_count of this V1DaemonSetStatus.  # noqa: E501

        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.  # noqa: E501

        :return: The collision_count of this V1DaemonSetStatus.  # noqa: E501
        :rtype: int
        r   r'   s    r(   r   z!V1DaemonSetStatus.collision_count`   s     $$$r*   c                     || _         y)a  Sets the collision_count of this V1DaemonSetStatus.

        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.  # noqa: E501

        :param collision_count: The collision_count of this V1DaemonSetStatus.  # noqa: E501
        :type: int
        Nr,   )r'   r   s     r(   r   z!V1DaemonSetStatus.collision_countk   s     !0r*   c                     | j                   S )a  Gets the conditions of this V1DaemonSetStatus.  # noqa: E501

        Represents the latest available observations of a DaemonSet's current state.  # noqa: E501

        :return: The conditions of this V1DaemonSetStatus.  # noqa: E501
        :rtype: list[V1DaemonSetCondition]
        r   r-   s    r(   r   zV1DaemonSetStatus.conditionsw   s     r*   c                     || _         y)a  Sets the conditions of this V1DaemonSetStatus.

        Represents the latest available observations of a DaemonSet's current state.  # noqa: E501

        :param conditions: The conditions of this V1DaemonSetStatus.  # noqa: E501
        :type: list[V1DaemonSetCondition]
        Nr0   )r'   r   s     r(   r   zV1DaemonSetStatus.conditions   s     &r*   c                     | j                   S )a  Gets the current_number_scheduled of this V1DaemonSetStatus.  # noqa: E501

        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/  # noqa: E501

        :return: The current_number_scheduled of this V1DaemonSetStatus.  # noqa: E501
        :rtype: int
        )r   r-   s    r(   r	   z*V1DaemonSetStatus.current_number_scheduled        ---r*   c                 X    | j                   j                  r|t        d      || _        y)a  Sets the current_number_scheduled of this V1DaemonSetStatus.

        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/  # noqa: E501

        :param current_number_scheduled: The current_number_scheduled of this V1DaemonSetStatus.  # noqa: E501
        :type: int
        Nz@Invalid value for `current_number_scheduled`, must not be `None`)r   client_side_validation
ValueErrorr   )r'   r	   s     r(   r	   z*V1DaemonSetStatus.current_number_scheduled   -     ((??D\Dd_``)A&r*   c                     | j                   S )a  Gets the desired_number_scheduled of this V1DaemonSetStatus.  # noqa: E501

        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/  # noqa: E501

        :return: The desired_number_scheduled of this V1DaemonSetStatus.  # noqa: E501
        :rtype: int
        )r   r-   s    r(   r
   z*V1DaemonSetStatus.desired_number_scheduled   r3   r*   c                 X    | j                   j                  r|t        d      || _        y)a  Sets the desired_number_scheduled of this V1DaemonSetStatus.

        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/  # noqa: E501

        :param desired_number_scheduled: The desired_number_scheduled of this V1DaemonSetStatus.  # noqa: E501
        :type: int
        Nz@Invalid value for `desired_number_scheduled`, must not be `None`)r   r5   r6   r   )r'   r
   s     r(   r
   z*V1DaemonSetStatus.desired_number_scheduled   r7   r*   c                     | j                   S )ag  Gets the number_available of this V1DaemonSetStatus.  # noqa: E501

        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)  # noqa: E501

        :return: The number_available of this V1DaemonSetStatus.  # noqa: E501
        :rtype: int
        r    r-   s    r(   r   z"V1DaemonSetStatus.number_available   s     %%%r*   c                     || _         y)ah  Sets the number_available of this V1DaemonSetStatus.

        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)  # noqa: E501

        :param number_available: The number_available of this V1DaemonSetStatus.  # noqa: E501
        :type: int
        Nr;   )r'   r   s     r(   r   z"V1DaemonSetStatus.number_available   s     "2r*   c                     | j                   S )a}  Gets the number_misscheduled of this V1DaemonSetStatus.  # noqa: E501

        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/  # noqa: E501

        :return: The number_misscheduled of this V1DaemonSetStatus.  # noqa: E501
        :rtype: int
        )r!   r-   s    r(   r   z%V1DaemonSetStatus.number_misscheduled        (((r*   c                 X    | j                   j                  r|t        d      || _        y)a  Sets the number_misscheduled of this V1DaemonSetStatus.

        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/  # noqa: E501

        :param number_misscheduled: The number_misscheduled of this V1DaemonSetStatus.  # noqa: E501
        :type: int
        Nz;Invalid value for `number_misscheduled`, must not be `None`)r   r5   r6   r!   )r'   r   s     r(   r   z%V1DaemonSetStatus.number_misscheduled   s-     ((??DWD_Z[[$7!r*   c                     | j                   S )aN  Gets the number_ready of this V1DaemonSetStatus.  # noqa: E501

        numberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running with a Ready Condition.  # noqa: E501

        :return: The number_ready of this V1DaemonSetStatus.  # noqa: E501
        :rtype: int
        )r"   r-   s    r(   r   zV1DaemonSetStatus.number_ready   s     !!!r*   c                 X    | j                   j                  r|t        d      || _        y)aK  Sets the number_ready of this V1DaemonSetStatus.

        numberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running with a Ready Condition.  # noqa: E501

        :param number_ready: The number_ready of this V1DaemonSetStatus.  # noqa: E501
        :type: int
        Nz4Invalid value for `number_ready`, must not be `None`)r   r5   r6   r"   )r'   r   s     r(   r   zV1DaemonSetStatus.number_ready   s,     ((??LDXSTT)r*   c                     | j                   S )ad  Gets the number_unavailable of this V1DaemonSetStatus.  # noqa: E501

        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)  # noqa: E501

        :return: The number_unavailable of this V1DaemonSetStatus.  # noqa: E501
        :rtype: int
        r#   r-   s    r(   r   z$V1DaemonSetStatus.number_unavailable	  s     '''r*   c                     || _         y)ag  Sets the number_unavailable of this V1DaemonSetStatus.

        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)  # noqa: E501

        :param number_unavailable: The number_unavailable of this V1DaemonSetStatus.  # noqa: E501
        :type: int
        NrC   )r'   r   s     r(   r   z$V1DaemonSetStatus.number_unavailable  s     $6 r*   c                     | j                   S )a  Gets the observed_generation of this V1DaemonSetStatus.  # noqa: E501

        The most recent generation observed by the daemon set controller.  # noqa: E501

        :return: The observed_generation of this V1DaemonSetStatus.  # noqa: E501
        :rtype: int
        r$   r-   s    r(   r   z%V1DaemonSetStatus.observed_generation   r>   r*   c                     || _         y)a  Sets the observed_generation of this V1DaemonSetStatus.

        The most recent generation observed by the daemon set controller.  # noqa: E501

        :param observed_generation: The observed_generation of this V1DaemonSetStatus.  # noqa: E501
        :type: int
        NrF   )r'   r   s     r(   r   z%V1DaemonSetStatus.observed_generation+  s     %8!r*   c                     | j                   S )a  Gets the updated_number_scheduled of this V1DaemonSetStatus.  # noqa: E501

        The total number of nodes that are running updated daemon pod  # noqa: E501

        :return: The updated_number_scheduled of this V1DaemonSetStatus.  # noqa: E501
        :rtype: int
        r%   r-   s    r(   r   z*V1DaemonSetStatus.updated_number_scheduled7  r3   r*   c                     || _         y)a  Sets the updated_number_scheduled of this V1DaemonSetStatus.

        The total number of nodes that are running updated daemon pod  # noqa: E501

        :param updated_number_scheduled: The updated_number_scheduled of this V1DaemonSetStatus.  # noqa: E501
        :type: int
        NrI   )r'   r   s     r(   r   z*V1DaemonSetStatus.updated_number_scheduledB  s     *B&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hasattrrM   )xs    r(   <lambda>z+V1DaemonSetStatus.to_dict.<locals>.<lambda>V  s    WQ	-BaiikIIr*   rM   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   rM   r   rN   )items    r(   rQ   z+V1DaemonSetStatus.to_dict.<locals>.<lambda>]  s6    tAw	2 #'q'47??+<!= "=8<"=r*   )six	iteritemsopenapi_typesgetattr
isinstancelistmaprO   rM   dictitems)r'   resultattr_values        r(   rM   zV1DaemonSetStatus.to_dictN  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pformatrM   r-   s    r(   to_strzV1DaemonSetStatus.to_strf  s    ~~dlln--r*   c                 "    | j                         S )zFor `print` and `pprint`)re   r-   s    r(   __repr__zV1DaemonSetStatus.__repr__j  s    {{}r*   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFrY   r   rM   r'   others     r(   __eq__zV1DaemonSetStatus.__eq__n  s'    %!23||~00r*   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTri   rj   s     r(   __ne__zV1DaemonSetStatus.__ne__u  s'    %!23||~00r*   )NNNNNNNNNNN)__name__
__module____qualname____doc__rW   attribute_mapr)   propertyr   setterr   r	   r
   r   r   r   r   r   r   rM   re   rg   rl   rn    r*   r(   r   r      sL    !2$)$)!$#$$)M ,"$<$<-3%13$<M!EF % % 	0 	0     	& 	& . . $$B %B . . $$B %B & & 	2 	2 ) ) 8  8 " " * * ( ( 	6 	6 ) ) 	8  	8 . . $$	B %	B0.11r*   r   )rr   rc   rerU   kubernetes.client.configurationr   objectr   rv   r*   r(   <module>rz      s&     	 
 9e1 e1r*   