
    Bvh*                     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.33
    Generated by: https://openapi-generator.tech
    N)Configurationc                      e Zd ZdZ	 ddddddddZ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d Zd Zd Zd Zd  Zy)"V1ReplicaSetStatuszNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    intzlist[V1ReplicaSetCondition])available_replicas
conditionsfully_labeled_replicasobserved_generationready_replicasreplicasterminating_replicasavailableReplicasr   fullyLabeledReplicasobservedGenerationreadyReplicasr   terminatingReplicasNc	                    |
t               }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        ||| _
        ||| _        ||| _        ||| _        ||| _        || _        ||| _        yy)z/V1ReplicaSetStatus - a model defined in OpenAPIN)r   local_vars_configuration_available_replicas_conditions_fully_labeled_replicas_observed_generation_ready_replicas	_replicas_terminating_replicasdiscriminatorr   r   r	   r
   r   r   r   )	selfr   r   r	   r
   r   r   r   r   s	            X/RAG/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_replica_set_status.py__init__zV1ReplicaSetStatus.__init__7   s    #+'4$(@%#' '+$$(!#%)"!)&8D#!(DO!-*@D'*':D$%"0D +(<D% ,    c                     | j                   S )a4  Gets the available_replicas of this V1ReplicaSetStatus.  # noqa: E501

        The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.  # noqa: E501

        :return: The available_replicas of this V1ReplicaSetStatus.  # noqa: E501
        :rtype: int
        r   r   s    r   r   z%V1ReplicaSetStatus.available_replicasT   s     '''r    c                     || _         y)a7  Sets the available_replicas of this V1ReplicaSetStatus.

        The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.  # noqa: E501

        :param available_replicas: The available_replicas of this V1ReplicaSetStatus.  # noqa: E501
        :type: int
        Nr"   )r   r   s     r   r   z%V1ReplicaSetStatus.available_replicas_   s     $6 r    c                     | j                   S )a#  Gets the conditions of this V1ReplicaSetStatus.  # noqa: E501

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

        :return: The conditions of this V1ReplicaSetStatus.  # noqa: E501
        :rtype: list[V1ReplicaSetCondition]
        r   r#   s    r   r   zV1ReplicaSetStatus.conditionsk   s     r    c                     || _         y)a  Sets the conditions of this V1ReplicaSetStatus.

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

        :param conditions: The conditions of this V1ReplicaSetStatus.  # noqa: E501
        :type: list[V1ReplicaSetCondition]
        Nr&   )r   r   s     r   r   zV1ReplicaSetStatus.conditionsv   s     &r    c                     | j                   S )aC  Gets the fully_labeled_replicas of this V1ReplicaSetStatus.  # noqa: E501

        The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.  # noqa: E501

        :return: The fully_labeled_replicas of this V1ReplicaSetStatus.  # noqa: E501
        :rtype: int
        r   r#   s    r   r	   z)V1ReplicaSetStatus.fully_labeled_replicas   s     +++r    c                     || _         y)aJ  Sets the fully_labeled_replicas of this V1ReplicaSetStatus.

        The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.  # noqa: E501

        :param fully_labeled_replicas: The fully_labeled_replicas of this V1ReplicaSetStatus.  # noqa: E501
        :type: int
        Nr)   )r   r	   s     r   r	   z)V1ReplicaSetStatus.fully_labeled_replicas   s     (>$r    c                     | j                   S )a#  Gets the observed_generation of this V1ReplicaSetStatus.  # noqa: E501

        ObservedGeneration reflects the generation of the most recently observed ReplicaSet.  # noqa: E501

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

        ObservedGeneration reflects the generation of the most recently observed ReplicaSet.  # noqa: E501

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

        The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.  # noqa: E501

        :return: The ready_replicas of this V1ReplicaSetStatus.  # noqa: E501
        :rtype: int
        r   r#   s    r   r   z!V1ReplicaSetStatus.ready_replicas   s     ###r    c                     || _         y)a  Sets the ready_replicas of this V1ReplicaSetStatus.

        The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.  # noqa: E501

        :param ready_replicas: The ready_replicas of this V1ReplicaSetStatus.  # noqa: E501
        :type: int
        Nr/   )r   r   s     r   r   z!V1ReplicaSetStatus.ready_replicas   s      .r    c                     | j                   S )aO  Gets the replicas of this V1ReplicaSetStatus.  # noqa: E501

        Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset  # noqa: E501

        :return: The replicas of this V1ReplicaSetStatus.  # noqa: E501
        :rtype: int
        )r   r#   s    r   r   zV1ReplicaSetStatus.replicas   s     ~~r    c                 X    | j                   j                  r|t        d      || _        y)aH  Sets the replicas of this V1ReplicaSetStatus.

        Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset  # noqa: E501

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

        The number of terminating pods for this replica set. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.  This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.  # noqa: E501

        :return: The terminating_replicas of this V1ReplicaSetStatus.  # noqa: E501
        :rtype: int
        r   r#   s    r   r   z'V1ReplicaSetStatus.terminating_replicas   s     )))r    c                     || _         y)a  Sets the terminating_replicas of this V1ReplicaSetStatus.

        The number of terminating pods for this replica set. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.  This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.  # noqa: E501

        :param terminating_replicas: The terminating_replicas of this V1ReplicaSetStatus.  # noqa: E501
        :type: int
        Nr6   )r   r   s     r   r   z'V1ReplicaSetStatus.terminating_replicas   s     &:"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hasattrr:   )xs    r   <lambda>z,V1ReplicaSetStatus.to_dict.<locals>.<lambda>   s    WQ	-BaiikIIr    r:   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r:   r   r;   )items    r   r>   z,V1ReplicaSetStatus.to_dict.<locals>.<lambda>  s6    tAw	2 #'q'47??+<!= "=8<"=r    )six	iteritemsopenapi_typesgetattr
isinstancelistmapr<   r:   dictitems)r   resultattr_values        r   r:   zV1ReplicaSetStatus.to_dict   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pformatr:   r#   s    r   to_strzV1ReplicaSetStatus.to_str  s    ~~dlln--r    c                 "    | j                         S )zFor `print` and `pprint`)rR   r#   s    r   __repr__zV1ReplicaSetStatus.__repr__  s    {{}r    c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFrF   r   r:   r   others     r   __eq__zV1ReplicaSetStatus.__eq__  s'    %!34||~00r    c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTrV   rW   s     r   __ne__zV1ReplicaSetStatus.__ne__  s'    %!34||~00r    )NNNNNNNN)__name__
__module____qualname____doc__rD   attribute_mapr   propertyr   setterr   r	   r
   r   r   r   r:   rR   rT   rY   r[    r    r   r   r      s    $3"'$ %M 2""83) 5M=: ( ( 	6 	6     	& 	& , , ""	> #	> ) ) 	8  	8 $ $ 	. 	.   __" " * *   	: !	:0.11r    r   )r_   rP   rerB   kubernetes.client.configurationr   objectr   rc   r    r   <module>rg      s&     	 
 9N1 N1r    