
    [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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#dZd Zd Zd  Zd! ZdS )$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          j                    }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        ||| _        ||| _        ||| _        ||| _        ||| _        || _        |	|| _        dS dS )z/V1ReplicaSetStatus - a model defined in OpenAPIN)r   get_default_copy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	            k/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes/client/models/v1_replica_set_status.py__init__zV1ReplicaSetStatus.__init__:   s    #+'4'E'G'G$(@%#' '+$$(!#%)"!)&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_replicasW   s     ''r#   c                     || _         dS )aJ  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 available_replicas: int
        Nr%   )r    r	   s     r!   r	   z%V1ReplicaSetStatus.available_replicasb   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.conditionsn   s     r#   c                     || _         dS )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 conditions: list[V1ReplicaSetCondition]
        Nr)   )r    r
   s     r!   r
   zV1ReplicaSetStatus.conditionsy   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                     || _         dS )aa  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 fully_labeled_replicas: 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                     || _         dS )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 observed_generation: 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                     || _         dS )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 ready_replicas: int
        Nr2   )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                 N    | j         j        r|t          d          || _        dS )aQ  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 replicas: int
        Nz0Invalid value for `replicas`, must not be `None`)r   client_side_validation
ValueErrorr   )r    r   s     r!   r   zV1ReplicaSetStatus.replicas   s2     (? 	QHDTOP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 a beta field and requires enabling DeploymentReplicaSetTerminatingReplicas feature (enabled by default).  # 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                     || _         dS )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 a beta field and requires enabling DeploymentReplicaSetTerminatingReplicas feature (enabled by default).  # noqa: E501

        :param terminating_replicas: The terminating_replicas of this V1ReplicaSetStatus.  # noqa: E501
        :type terminating_replicas: int
        Nr9   )r    r   s     r!   r   z'V1ReplicaSetStatus.terminating_replicas   s     &:"""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   r=   argslen)xr@   	serializes     r!   convertz+V1ReplicaSetStatus.to_dict.<locals>.convert   s[    q)$$ %ai005t99>>99;;&99Y///r#   c                      |           S )N )rB   rD   s    r!   <lambda>z,V1ReplicaSetStatus.to_dict.<locals>.<lambda>  s    ggajj r#   c                 6    | d          | d                   fS )Nr   r>   rF   )itemrD   s    r!   rG   z,V1ReplicaSetStatus.to_dict.<locals>.<lambda>  s    $q'7747+;+;!< r#   )six	iteritemsopenapi_typesgetattrattribute_mapget
isinstancelistmapdictitems)r    rC   resultattr_valuerD   s    `    @r!   r=   zV1ReplicaSetStatus.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pformatr=   r&   s    r!   to_strzV1ReplicaSetStatus.to_str  s    ~dllnn---r#   c                 *    |                                  S )zFor `print` and `pprint`)r\   r&   s    r!   __repr__zV1ReplicaSetStatus.__repr__  s    {{}}r#   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrP   r   r=   r    others     r!   __eq__zV1ReplicaSetStatus.__eq__"  s5    %!344 	5||~~00r#   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr`   ra   s     r!   __ne__zV1ReplicaSetStatus.__ne__)  s5    %!344 	4||~~00r#   )NNNNNNNN)F)__name__
__module____qualname____doc__rL   rN   r"   propertyr	   setterr
   r   r   r   r   r   r=   r\   r^   rc   re   rF   r#   r!   r   r      sb         $3"'$ % M 2""83) 5 M= = = =: ( ( X( 	6 	6 	6     X  	& 	& 	& , , X, "	> 	> #"	> ) ) X) 	8 	8  	8 $ $ X$ 	. 	. 	.   X _" " _" * * X*  	: 	: ! 	:   @. . .  1 1 11 1 1 1 1r#   r   )ri   inspectr   ImportErrorr   rZ   rerJ   kubernetes.client.configurationr   objectr   rF   r#   r!   <module>rq      s    5&&&&&&& 5 5 5444444445  				 



 9 9 9 9 9 9V1 V1 V1 V1 V1 V1 V1 V1 V1 V1s    