
    [j'                     |    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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 dZd Zd Zd Zd ZdS )!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          j                    }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        ||| _
        ||| _        ||| _        ||| _        ||| _        || _        dS )z:V1ReplicationControllerStatus - a model defined in OpenAPIN)r   get_default_copy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           v/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes/client/models/v1_replication_controller_status.py__init__z&V1ReplicationControllerStatus.__init__8   s    #+'4'E'G'G$(@%#' '+$$(!#!)&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_replicasR   s     ''r    c                     || _         dS )a_  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 available_replicas: int
        Nr"   )r   r	   s     r   r	   z0V1ReplicationControllerStatus.available_replicas]   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.conditionsi   s     r    c                     || _         dS )aU  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 conditions: list[V1ReplicationControllerCondition]
        Nr&   )r   r
   s     r   r
   z(V1ReplicationControllerStatus.conditionst   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                     || _         dS )as  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 fully_labeled_replicas: 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                     || _         dS )a]  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 observed_generation: 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                     || _         dS )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 ready_replicas: 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                 N    | j         j        r|t          d          || _        dS )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 replicas: int
        Nz0Invalid value for `replicas`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   z&V1ReplicationControllerStatus.replicas   s2     (? 	QHDTOPPP!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   r7   argslen)xr:   	serializes     r   convertz6V1ReplicationControllerStatus.to_dict.<locals>.convert   s[    q)$$ %ai005t99>>99;;&99Y///r    c                      |           S )N )r<   r>   s    r   <lambda>z7V1ReplicationControllerStatus.to_dict.<locals>.<lambda>   s    ggajj r    c                 6    | d          | d                   fS )Nr   r8   r@   )itemr>   s    r   rA   z7V1ReplicationControllerStatus.to_dict.<locals>.<lambda>   s    $q'7747+;+;!< r    )six	iteritemsopenapi_typesgetattrattribute_mapget
isinstancelistmapdictitems)r   r=   resultattr_valuer>   s    `    @r   r7   z%V1ReplicationControllerStatus.to_dict   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pformatr7   r#   s    r   to_strz$V1ReplicationControllerStatus.to_str   s    ~dllnn---r    c                 *    |                                  S )zFor `print` and `pprint`)rV   r#   s    r   __repr__z&V1ReplicationControllerStatus.__repr__  s    {{}}r    c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrJ   r   r7   r   others     r   __eq__z$V1ReplicationControllerStatus.__eq__  s5    %!>?? 	5||~~00r    c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrZ   r[   s     r   __ne__z$V1ReplicationControllerStatus.__ne__  s5    %!>?? 	4||~~00r    )NNNNNNN)F)__name__
__module____qualname____doc__rF   rH   r   propertyr	   setterr
   r   r   r   r   r7   rV   rX   r]   r_   r@   r    r   r   r      s"         $>"'$ M 2""83) M! ! ! !4 ( ( X( 	6 	6 	6     X  	& 	& 	& , , X, "	> 	> #"	> ) ) X) 	8 	8  	8 $ $ X$ 	. 	. 	.   X _" " _"   @. . .  1 1 11 1 1 1 1r    r   )rc   inspectr   ImportErrorr   rT   rerD   kubernetes.client.configurationr   objectr   r@   r    r   <module>rk      s    5&&&&&&& 5 5 5444444445  				 



 9 9 9 9 9 9z1 z1 z1 z1 z1F z1 z1 z1 z1 z1s    