
    [j#9                     |    d Z 	 ddlmZ n# e$ r	 ddlmZ Y nw xY wddlZddlZddlZddlm	Z	  G d de
          ZdS )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.36
    Generated by: https://openapi-generator.tech
    )getfullargspec)
getargspecN)Configurationc                      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-d'Zd( Zd) Zd* Zd+ ZdS ).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                    |t          j                    }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        || _        |	|	| _        |
	|
| _        dS dS )z0V1StatefulSetStatus - a model defined in OpenAPIN)r   get_default_copy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               l/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes/client/models/v1_stateful_set_status.py__init__zV1StatefulSetStatus.__init__@   s   #+'4'E'G'G$(@%#'  $!%!%$(!# $!%!)&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_replicasf   s     ''r-   c                     || _         dS )aF  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 available_replicas: int
        Nr/   )r*   r
   s     r+   r
   z&V1StatefulSetStatus.available_replicasq   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    r0   s    r+   r   z#V1StatefulSetStatus.collision_count}        $$r-   c                     || _         dS )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 collision_count: int
        Nr3   )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!   r0   s    r+   r   zV1StatefulSetStatus.conditions   s     r-   c                     || _         dS )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 conditions: list[V1StatefulSetCondition]
        Nr8   )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"   r0   s    r+   r   z$V1StatefulSetStatus.current_replicas        %%r-   c                     || _         dS )ac  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 current_replicas: int
        Nr;   )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#   r0   s    r+   r   z$V1StatefulSetStatus.current_revision   r<   r-   c                     || _         dS )a_  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 current_revision: 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$   r0   s    r+   r   z'V1StatefulSetStatus.observed_generation   s     ((r-   c                     || _         dS )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 observed_generation: int
        NrC   )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%   r0   s    r+   r   z"V1StatefulSetStatus.ready_replicas   s     ##r-   c                     || _         dS )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 ready_replicas: int
        NrF   )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&   r0   s    r+   r   zV1StatefulSetStatus.replicas  s     ~r-   c                 N    | j         j        r|t          d          || _        dS )a  Sets 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 replicas: int
        Nz0Invalid value for `replicas`, must not be `None`)r   client_side_validation
ValueErrorr&   )r*   r   s     r+   r   zV1StatefulSetStatus.replicas  s2     (? 	QHDTOP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'   r0   s    r+   r   z#V1StatefulSetStatus.update_revision   r4   r-   c                     || _         dS )ai  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 update_revision: str
        NrM   )r*   r   s     r+   r   z#V1StatefulSetStatus.update_revision+  r6   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(   r0   s    r+   r   z$V1StatefulSetStatus.updated_replicas7  r<   r-   c                     || _         dS )ab  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 updated_replicas: int
        NrP   )r*   r   s     r+   r   z$V1StatefulSetStatus.updated_replicasB  r>   r-   Fc                    i }fdt          j        | j                  D ]\  }}t          | |          }r| j                            ||          n|}t          |t                    r$t          t          fd|                    ||<   mt          |t                    r6t          t          fd|
                                                    ||<    |          ||<   |S )z&Returns the model properties as a dictc                     t          | d          rUt          | j                  j        }t	          |          dk    r|                                 S |                               S | S )Nto_dict   )hasattrr   rT   argslen)xrW   	serializes     r+   convertz,V1StatefulSetStatus.to_dict.<locals>.convertR  s[    q)$$ %ai005t99>>99;;&99Y///r-   c                      |           S )N )rY   r[   s    r+   <lambda>z-V1StatefulSetStatus.to_dict.<locals>.<lambda>a  s    ggajj r-   c                 6    | d          | d                   fS )Nr   rU   r]   )itemr[   s    r+   r^   z-V1StatefulSetStatus.to_dict.<locals>.<lambda>f  s    $q'7747+;+;!< r-   )six	iteritemsopenapi_typesgetattrattribute_mapget
isinstancelistmapdictitems)r*   rZ   resultattr_valuer[   s    `    @r+   rT   zV1StatefulSetStatus.to_dictN  s   	 	 	 	 	 }T%788 	. 	.GD!D$''E9BL4%))$555D%&& .#C((((% %    t E4(( .#C<<<<KKMM% %    t
  'wu~~tr-   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatrT   r0   s    r+   to_strzV1StatefulSetStatus.to_strn  s    ~dllnn---r-   c                 *    |                                  S )zFor `print` and `pprint`)rs   r0   s    r+   __repr__zV1StatefulSetStatus.__repr__r  s    {{}}r-   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrg   r   rT   r*   others     r+   __eq__zV1StatefulSetStatus.__eq__v  s5    %!455 	5||~~00r-   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrw   rx   s     r+   __ne__zV1StatefulSetStatus.__ne__}  s5    %!455 	4||~~00r-   )NNNNNNNNNNN)F)__name__
__module____qualname____doc__rc   re   r,   propertyr
   setterr   r   r   r   r   r   r   r   r   rT   rs   ru   rz   r|   r]   r-   r+   r   r      s#         $ 4!!$ ! M 2+"--3)+- M$5 $5 $5 $5L ( ( X( 	6 	6 	6 % % X% 	0 	0 	0     X  	& 	& 	& & & X& 	2 	2 	2 & & X& 	2 	2 	2 ) ) X) 	8 	8  	8 $ $ X$ 	. 	. 	.   X _" " _" % % X% 	0 	0 	0 & & X& 	2 	2 	2   @. . .  1 1 11 1 1 1 1r-   r   )r   inspectr   ImportErrorr   rq   rera   kubernetes.client.configurationr   objectr   r]   r-   r+   <module>r      s    5&&&&&&& 5 5 5444444445  				 



 9 9 9 9 9 9j1 j1 j1 j1 j1& j1 j1 j1 j1 j1s    