o
    g-                     @   s<   d Z ddlZddlZddlZddlmZ G d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.32
    Generated by: https://openapi-generator.tech
    N)Configurationc                	   @   s@  e Zd ZdZ	 dddddddddZddddd	d
dddZd2ddZedd Zej	dd Zedd Z
e
j	dd Z
edd Zej	dd Zedd Zej	dd Zedd Zej	dd Zedd  Zej	d!d  Zed"d# Zej	d$d# Zed%d& Zej	d'd& Zd(d) Zd*d+ Zd,d- Zd.d/ Zd0d1 ZdS )3V1DeploymentStatuszNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    intzlist[V1DeploymentCondition])available_replicascollision_count
conditionsobserved_generationready_replicasreplicasunavailable_replicasupdated_replicasavailableReplicascollisionCountr   observedGenerationreadyReplicasr
   unavailableReplicasupdatedReplicasNc
           
      C   s   |	du rt  }	|	| _d| _d| _d| _d| _d| _d| _d| _d| _	d| _
|dur,|| _|dur3|| _|dur:|| _|durA|| _|durH|| _|durO|| _|durV|| _|dur_|| _dS dS )z/V1DeploymentStatus - a model defined in OpenAPIN)r   local_vars_configuration_available_replicas_collision_count_conditions_observed_generation_ready_replicas	_replicas_unavailable_replicas_updated_replicasdiscriminatorr   r   r   r   r	   r
   r   r   )
selfr   r   r   r   r	   r
   r   r   r    r   d/var/www/visachat/venv/lib/python3.10/site-packages/kubernetes/client/models/v1_deployment_status.py__init__9   s:   
zV1DeploymentStatus.__init__c                 C      | j S )a-  Gets the available_replicas of this V1DeploymentStatus.  # noqa: E501

        Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.  # noqa: E501

        :return: The available_replicas of this V1DeploymentStatus.  # noqa: E501
        :rtype: int
        r   r   r   r   r   r   Z      	z%V1DeploymentStatus.available_replicasc                 C   
   || _ dS )a0  Sets the available_replicas of this V1DeploymentStatus.

        Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.  # noqa: E501

        :param available_replicas: The available_replicas of this V1DeploymentStatus.  # noqa: E501
        :type: int
        Nr"   )r   r   r   r   r   r   e      

c                 C   r!   )a|  Gets the collision_count of this V1DeploymentStatus.  # noqa: E501

        Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.  # noqa: E501

        :return: The collision_count of this V1DeploymentStatus.  # noqa: E501
        :rtype: int
        r   r#   r   r   r   r   q   r$   z"V1DeploymentStatus.collision_countc                 C   r%   )a|  Sets the collision_count of this V1DeploymentStatus.

        Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.  # noqa: E501

        :param collision_count: The collision_count of this V1DeploymentStatus.  # noqa: E501
        :type: int
        Nr'   )r   r   r   r   r   r   |   r&   c                 C   r!   )a"  Gets the conditions of this V1DeploymentStatus.  # noqa: E501

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

        :return: The conditions of this V1DeploymentStatus.  # noqa: E501
        :rtype: list[V1DeploymentCondition]
        r   r#   r   r   r   r      r$   zV1DeploymentStatus.conditionsc                 C   r%   )a  Sets the conditions of this V1DeploymentStatus.

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

        :param conditions: The conditions of this V1DeploymentStatus.  # noqa: E501
        :type: list[V1DeploymentCondition]
        Nr(   )r   r   r   r   r   r      r&   c                 C   r!   )a  Gets the observed_generation of this V1DeploymentStatus.  # noqa: E501

        The generation observed by the deployment controller.  # noqa: E501

        :return: The observed_generation of this V1DeploymentStatus.  # noqa: E501
        :rtype: int
        r   r#   r   r   r   r      r$   z&V1DeploymentStatus.observed_generationc                 C   r%   )a  Sets the observed_generation of this V1DeploymentStatus.

        The generation observed by the deployment controller.  # noqa: E501

        :param observed_generation: The observed_generation of this V1DeploymentStatus.  # noqa: E501
        :type: int
        Nr)   )r   r   r   r   r   r      r&   c                 C   r!   )a  Gets the ready_replicas of this V1DeploymentStatus.  # noqa: E501

        readyReplicas is the number of pods targeted by this Deployment with a Ready Condition.  # noqa: E501

        :return: The ready_replicas of this V1DeploymentStatus.  # noqa: E501
        :rtype: int
        r   r#   r   r   r   r	      r$   z!V1DeploymentStatus.ready_replicasc                 C   r%   )a  Sets the ready_replicas of this V1DeploymentStatus.

        readyReplicas is the number of pods targeted by this Deployment with a Ready Condition.  # noqa: E501

        :param ready_replicas: The ready_replicas of this V1DeploymentStatus.  # noqa: E501
        :type: int
        Nr*   )r   r	   r   r   r   r	      r&   c                 C   r!   )a  Gets the replicas of this V1DeploymentStatus.  # noqa: E501

        Total number of non-terminated pods targeted by this deployment (their labels match the selector).  # noqa: E501

        :return: The replicas of this V1DeploymentStatus.  # noqa: E501
        :rtype: int
        r   r#   r   r   r   r
      r$   zV1DeploymentStatus.replicasc                 C   r%   )a  Sets the replicas of this V1DeploymentStatus.

        Total number of non-terminated pods targeted by this deployment (their labels match the selector).  # noqa: E501

        :param replicas: The replicas of this V1DeploymentStatus.  # noqa: E501
        :type: int
        Nr+   )r   r
   r   r   r   r
      r&   c                 C   r!   )a  Gets the unavailable_replicas of this V1DeploymentStatus.  # noqa: E501

        Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.  # noqa: E501

        :return: The unavailable_replicas of this V1DeploymentStatus.  # noqa: E501
        :rtype: int
        r   r#   r   r   r   r      r$   z'V1DeploymentStatus.unavailable_replicasc                 C   r%   )a  Sets the unavailable_replicas of this V1DeploymentStatus.

        Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.  # noqa: E501

        :param unavailable_replicas: The unavailable_replicas of this V1DeploymentStatus.  # noqa: E501
        :type: int
        Nr,   )r   r   r   r   r   r      r&   c                 C   r!   )a-  Gets the updated_replicas of this V1DeploymentStatus.  # noqa: E501

        Total number of non-terminated pods targeted by this deployment that have the desired template spec.  # noqa: E501

        :return: The updated_replicas of this V1DeploymentStatus.  # noqa: E501
        :rtype: int
        r   r#   r   r   r   r      r$   z#V1DeploymentStatus.updated_replicasc                 C   r%   )a.  Sets the updated_replicas of this V1DeploymentStatus.

        Total number of non-terminated pods targeted by this deployment that have the desired template spec.  # noqa: E501

        :param updated_replicas: The updated_replicas of this V1DeploymentStatus.  # noqa: E501
        :type: int
        Nr-   )r   r   r   r   r   r     r&   c                 C   s   i }t | jD ]=\}}t| |}t|tr"ttdd |||< qt|dr.| ||< qt|t	rAt	tdd |
 ||< q|||< q|S )z&Returns the model properties as a dictc                 S   s   t | dr	|  S | S )Nto_dicthasattrr.   )xr   r   r   <lambda>  s    z,V1DeploymentStatus.to_dict.<locals>.<lambda>r.   c                 S   s&   t | d dr| d | d  fS | S )N   r.   r   r/   )itemr   r   r   r2   !  s   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr0   r.   dictitems)r   resultattr_valuer   r   r   r.     s"   




zV1DeploymentStatus.to_dictc                 C   s   t |  S )z.Returns the string representation of the model)pprintpformatr.   r#   r   r   r   to_str*  s   zV1DeploymentStatus.to_strc                 C   s   |   S )zFor `print` and `pprint`)rD   r#   r   r   r   __repr__.  s   zV1DeploymentStatus.__repr__c                 C   s   t |tsdS |  | kS )z&Returns true if both objects are equalFr9   r   r.   r   otherr   r   r   __eq__2     
zV1DeploymentStatus.__eq__c                 C   s   t |tsdS |  | kS )z*Returns true if both objects are not equalTrF   rG   r   r   r   __ne__9  rJ   zV1DeploymentStatus.__ne__)	NNNNNNNNN)__name__
__module____qualname____doc__r7   attribute_mapr    propertyr   setterr   r   r   r	   r
   r   r   r.   rD   rE   rI   rK   r   r   r   r   r      sv    
!























r   )rO   rB   rer5   kubernetes.client.configurationr   objectr   r   r   r   r   <module>   s   
