
    <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                      e Zd ZdZ	 dddddddZ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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availableReplicasr   fullyLabeledReplicasobservedGenerationreadyReplicasr   Nc                     |
t               }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _	        ||| _
        ||| _        ||| _        ||| _        || _        y)z/V1ReplicaSetStatus - a model defined in OpenAPIN)r   local_vars_configuration_available_replicas_conditions_fully_labeled_replicas_observed_generation_ready_replicas	_replicasdiscriminatorr   r   r	   r
   r   r   )selfr   r   r	   r
   r   r   r   s           c/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_replica_set_status.py__init__zV1ReplicaSetStatus.__init__5   s    #+'4$(@%#' '+$$(!#!)&8D#!(DO!-*@D'*':D$%"0D     c                     | j                   S )a(  Gets the available_replicas of this V1ReplicaSetStatus.  # noqa: E501

        The number of available replicas (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_replicasO   s     '''r   c                     || _         y)a+  Sets the available_replicas of this V1ReplicaSetStatus.

        The number of available replicas (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_replicasZ   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.conditionsf   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.conditionsq   s     &r   c                     | j                   S )a3  Gets the fully_labeled_replicas of this V1ReplicaSetStatus.  # noqa: E501

        The number of 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)a:  Sets the fully_labeled_replicas of this V1ReplicaSetStatus.

        The number of 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

        readyReplicas is the number of 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.

        readyReplicas is the number of 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 replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller  # 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 replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller  # 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                 ~   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hasattrr4   )xs    r   <lambda>z,V1ReplicaSetStatus.to_dict.<locals>.<lambda>   s    WQ	-BaiikIIr   r4   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r4   r   r5   )items    r   r8   z,V1ReplicaSetStatus.to_dict.<locals>.<lambda>   s6    tAw	2 #'q'47??+<!= "=8<"=r   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr6   r4   dictitems)r   resultattr_values        r   r4   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pformatr4   r    s    r   to_strzV1ReplicaSetStatus.to_str   s    ~~dlln--r   c                 "    | j                         S )zFor `print` and `pprint`)rL   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r@   r   r4   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 equalTrP   rQ   s     r   __ne__zV1ReplicaSetStatus.__ne__  s'    %!34||~00r   )NNNNNNN)__name__
__module____qualname____doc__r>   attribute_mapr   propertyr   setterr   r	   r
   r   r   r4   rL   rN   rS   rU    r   r   r   r      sr    $3"'$M 2""83)M!4 ( ( 	6 	6     	& 	& , , ""	> #	> ) ) 	8  	8 $ $ 	. 	.   __" "0.11r   r   )rY   rJ   rer<   kubernetes.client.configurationr   objectr   r]   r   r   <module>ra      s&     	 
 9r1 r1r   