
    <g$7                     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),V1StatefulSetStatuszNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    intzlist[V1StatefulSetCondition]str)
available_replicascollision_count
conditionscurrent_replicascurrent_revisionobserved_generationready_replicasreplicasupdate_revisionupdated_replicasavailableReplicascollisionCountr
   currentReplicascurrentRevisionobservedGenerationreadyReplicasr   updateRevisionupdatedReplicasNc                 v   |
t               }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        || _        |	|	| _        |
|
| _        yy)z0V1StatefulSetStatus - a model defined in OpenAPIN)r   local_vars_configuration_available_replicas_collision_count_conditions_current_replicas_current_revision_observed_generation_ready_replicas	_replicas_update_revision_updated_replicasdiscriminatorr   r	   r
   r   r   r   r   r   r   r   )selfr   r	   r
   r   r   r   r   r   r   r   r   s               d/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_stateful_set_status.py__init__zV1StatefulSetStatus.__init__=   s    #+'4$(@%#'  $!%!%$(!# $!%!)&8D#&#2D !(DO'$4D!'$4D!*':D$%"0D &#2D '$4D! (    c                     | j                   S )a0  Gets the available_replicas of this V1StatefulSetStatus.  # noqa: E501

        Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.  # noqa: E501

        :return: The available_replicas of this V1StatefulSetStatus.  # noqa: E501
        :rtype: int
        r   r'   s    r(   r   z&V1StatefulSetStatus.available_replicasc   s     '''r*   c                     || _         y)a3  Sets the available_replicas of this V1StatefulSetStatus.

        Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.  # noqa: E501

        :param available_replicas: The available_replicas of this V1StatefulSetStatus.  # noqa: E501
        :type: int
        Nr,   )r'   r   s     r(   r   z&V1StatefulSetStatus.available_replicasn   s     $6 r*   c                     | j                   S )a  Gets the collision_count of this V1StatefulSetStatus.  # noqa: E501

        collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet 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 V1StatefulSetStatus.  # noqa: E501
        :rtype: int
        r   r-   s    r(   r	   z#V1StatefulSetStatus.collision_countz        $$$r*   c                     || _         y)a  Sets the collision_count of this V1StatefulSetStatus.

        collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet 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 V1StatefulSetStatus.  # noqa: E501
        :type: int
        Nr0   )r'   r	   s     r(   r	   z#V1StatefulSetStatus.collision_count        !0r*   c                     | j                   S )a&  Gets the conditions of this V1StatefulSetStatus.  # noqa: E501

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

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

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

        :param conditions: The conditions of this V1StatefulSetStatus.  # noqa: E501
        :type: list[V1StatefulSetCondition]
        Nr5   )r'   r
   s     r(   r
   zV1StatefulSetStatus.conditions   s     &r*   c                     | j                   S )aQ  Gets the current_replicas of this V1StatefulSetStatus.  # noqa: E501

        currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.  # noqa: E501

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

        currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.  # noqa: E501

        :param current_replicas: The current_replicas of this V1StatefulSetStatus.  # noqa: E501
        :type: int
        Nr8   )r'   r   s     r(   r   z$V1StatefulSetStatus.current_replicas        "2r*   c                     | j                   S )aM  Gets the current_revision of this V1StatefulSetStatus.  # noqa: E501

        currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).  # noqa: E501

        :return: The current_revision of this V1StatefulSetStatus.  # noqa: E501
        :rtype: str
        r    r-   s    r(   r   z$V1StatefulSetStatus.current_revision   r9   r*   c                     || _         y)aN  Sets the current_revision of this V1StatefulSetStatus.

        currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).  # noqa: E501

        :param current_revision: The current_revision of this V1StatefulSetStatus.  # noqa: E501
        :type: str
        Nr=   )r'   r   s     r(   r   z$V1StatefulSetStatus.current_revision   r;   r*   c                     | j                   S )a  Gets the observed_generation of this V1StatefulSetStatus.  # noqa: E501

        observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.  # noqa: E501

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

        observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.  # noqa: E501

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

        readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.  # noqa: E501

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

        readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.  # noqa: E501

        :param ready_replicas: The ready_replicas of this V1StatefulSetStatus.  # noqa: E501
        :type: int
        NrC   )r'   r   s     r(   r   z"V1StatefulSetStatus.ready_replicas   s      .r*   c                     | j                   S )a   Gets the replicas of this V1StatefulSetStatus.  # noqa: E501

        replicas is the number of Pods created by the StatefulSet controller.  # noqa: E501

        :return: The replicas of this V1StatefulSetStatus.  # noqa: E501
        :rtype: int
        )r#   r-   s    r(   r   zV1StatefulSetStatus.replicas  s     ~~r*   c                 X    | j                   j                  r|t        d      || _        y)zSets the replicas of this V1StatefulSetStatus.

        replicas is the number of Pods created by the StatefulSet controller.  # noqa: E501

        :param replicas: The replicas of this V1StatefulSetStatus.  # noqa: E501
        :type: int
        Nz0Invalid value for `replicas`, must not be `None`)r   client_side_validation
ValueErrorr#   )r'   r   s     r(   r   zV1StatefulSetStatus.replicas  s+     ((??HDTOPP!r*   c                     | j                   S )aY  Gets the update_revision of this V1StatefulSetStatus.  # noqa: E501

        updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)  # noqa: E501

        :return: The update_revision of this V1StatefulSetStatus.  # noqa: E501
        :rtype: str
        r$   r-   s    r(   r   z#V1StatefulSetStatus.update_revision  r1   r*   c                     || _         y)aY  Sets the update_revision of this V1StatefulSetStatus.

        updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)  # noqa: E501

        :param update_revision: The update_revision of this V1StatefulSetStatus.  # noqa: E501
        :type: str
        NrJ   )r'   r   s     r(   r   z#V1StatefulSetStatus.update_revision(  r3   r*   c                     | j                   S )aP  Gets the updated_replicas of this V1StatefulSetStatus.  # noqa: E501

        updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.  # noqa: E501

        :return: The updated_replicas of this V1StatefulSetStatus.  # noqa: E501
        :rtype: int
        r%   r-   s    r(   r   z$V1StatefulSetStatus.updated_replicas4  r9   r*   c                     || _         y)aQ  Sets the updated_replicas of this V1StatefulSetStatus.

        updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.  # noqa: E501

        :param updated_replicas: The updated_replicas of this V1StatefulSetStatus.  # noqa: E501
        :type: int
        NrM   )r'   r   s     r(   r   z$V1StatefulSetStatus.updated_replicas?  r;   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hasattrrQ   )xs    r(   <lambda>z-V1StatefulSetStatus.to_dict.<locals>.<lambda>S  s    WQ	-BaiikIIr*   rQ   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   rQ   r   rR   )items    r(   rU   z-V1StatefulSetStatus.to_dict.<locals>.<lambda>Z  s6    tAw	2 #'q'47??+<!= "=8<"=r*   )six	iteritemsopenapi_typesgetattr
isinstancelistmaprS   rQ   dictitems)r'   resultattr_values        r(   rQ   zV1StatefulSetStatus.to_dictK  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pformatrQ   r-   s    r(   to_strzV1StatefulSetStatus.to_strc  s    ~~dlln--r*   c                 "    | j                         S )zFor `print` and `pprint`)ri   r-   s    r(   __repr__zV1StatefulSetStatus.__repr__g  s    {{}r*   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFr]   r   rQ   r'   others     r(   __eq__zV1StatefulSetStatus.__eq__k  s'    %!45||~00r*   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTrm   rn   s     r(   __ne__zV1StatefulSetStatus.__ne__r  s'    %!45||~00r*   )NNNNNNNNNNN)__name__
__module____qualname____doc__r[   attribute_mapr)   propertyr   setterr	   r
   r   r   r   r   r   r   r   rQ   ri   rk   rp   rr    r*   r(   r   r      sC    $ 4!!$ !M 2+"--3)+-M$5L ( ( 	6 	6 % % 	0 	0     	& 	& & & 	2 	2 & & 	2 	2 ) ) 	8  	8 $ $ 	. 	.   __" " % % 	0 	0 & & 	2 	20.11r*   r   )rv   rg   rerY   kubernetes.client.configurationr   objectr   rz   r*   r(   <module>r~      s&     	 
 9b1& b1r*   