
    <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)V1ReplicationControllerStatuszNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    intz&list[V1ReplicationControllerCondition])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:V1ReplicationControllerStatus - 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           n/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_replication_controller_status.py__init__z&V1ReplicationControllerStatus.__init__5   s    #+'4$(@%#' '+$$(!#!)&8D#!(DO!-*@D'*':D$%"0D     c                     | j                   S )aI  Gets the available_replicas of this V1ReplicationControllerStatus.  # noqa: E501

        The number of available replicas (ready for at least minReadySeconds) for this replication controller.  # noqa: E501

        :return: The available_replicas of this V1ReplicationControllerStatus.  # noqa: E501
        :rtype: int
        r   r   s    r   r   z0V1ReplicationControllerStatus.available_replicasO   s     '''r   c                     || _         y)aL  Sets the available_replicas of this V1ReplicationControllerStatus.

        The number of available replicas (ready for at least minReadySeconds) for this replication controller.  # noqa: E501

        :param available_replicas: The available_replicas of this V1ReplicationControllerStatus.  # noqa: E501
        :type: int
        Nr   )r   r   s     r   r   z0V1ReplicationControllerStatus.available_replicasZ   s     $6 r   c                     | j                   S )aO  Gets the conditions of this V1ReplicationControllerStatus.  # noqa: E501

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

        :return: The conditions of this V1ReplicationControllerStatus.  # noqa: E501
        :rtype: list[V1ReplicationControllerCondition]
        r   r    s    r   r   z(V1ReplicationControllerStatus.conditionsf   s     r   c                     || _         y)aJ  Sets the conditions of this V1ReplicationControllerStatus.

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

        :param conditions: The conditions of this V1ReplicationControllerStatus.  # noqa: E501
        :type: list[V1ReplicationControllerCondition]
        Nr#   )r   r   s     r   r   z(V1ReplicationControllerStatus.conditionsq   s     &r   c                     | j                   S )aU  Gets the fully_labeled_replicas of this V1ReplicationControllerStatus.  # noqa: E501

        The number of pods that have labels matching the labels of the pod template of the replication controller.  # noqa: E501

        :return: The fully_labeled_replicas of this V1ReplicationControllerStatus.  # noqa: E501
        :rtype: int
        r   r    s    r   r	   z4V1ReplicationControllerStatus.fully_labeled_replicas}   s     +++r   c                     || _         y)a\  Sets the fully_labeled_replicas of this V1ReplicationControllerStatus.

        The number of pods that have labels matching the labels of the pod template of the replication controller.  # noqa: E501

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

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

        :return: The observed_generation of this V1ReplicationControllerStatus.  # noqa: E501
        :rtype: int
        r   r    s    r   r
   z1V1ReplicationControllerStatus.observed_generation   s     (((r   c                     || _         y)aI  Sets the observed_generation of this V1ReplicationControllerStatus.

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

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

        The number of ready replicas for this replication controller.  # noqa: E501

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

        The number of ready replicas for this replication controller.  # noqa: E501

        :param ready_replicas: The ready_replicas of this V1ReplicationControllerStatus.  # noqa: E501
        :type: int
        Nr,   )r   r   s     r   r   z,V1ReplicationControllerStatus.ready_replicas   s      .r   c                     | j                   S )a  Gets the replicas of this V1ReplicationControllerStatus.  # 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 V1ReplicationControllerStatus.  # noqa: E501
        :rtype: int
        )r   r    s    r   r   z&V1ReplicationControllerStatus.replicas   s     ~~r   c                 X    | j                   j                  r|t        d      || _        y)a}  Sets the replicas of this V1ReplicationControllerStatus.

        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 V1ReplicationControllerStatus.  # noqa: E501
        :type: int
        Nz0Invalid value for `replicas`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   z&V1ReplicationControllerStatus.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>z7V1ReplicationControllerStatus.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   z7V1ReplicationControllerStatus.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%V1ReplicationControllerStatus.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$V1ReplicationControllerStatus.to_str   s    ~~dlln--r   c                 "    | j                         S )zFor `print` and `pprint`)rL   r    s    r   __repr__z&V1ReplicationControllerStatus.__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$V1ReplicationControllerStatus.__eq__   s'    %!>?||~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$V1ReplicationControllerStatus.__ne__  s'    %!>?||~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    $>"'$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1F r1r   