
    [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                   0   e Zd ZdZ	 dddddZ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ddZd Zd Zd Zd Zd
S )V1ReplicaSetSpeczNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    intV1LabelSelectorV1PodTemplateSpec)min_ready_secondsreplicasselectortemplateminReadySecondsr   r   r   Nc                     |t          j                    }|| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _	        || _
        |	|| _        dS dS )z-V1ReplicaSetSpec - a model defined in OpenAPIN)r   get_default_copylocal_vars_configuration_min_ready_seconds	_replicas	_selector	_templatediscriminatorr   r   r   r   )selfr   r   r   r   r   s         i/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes/client/models/v1_replica_set_spec.py__init__zV1ReplicaSetSpec.__init__4   s    #+'4'E'G'G$(@%"&!(%6D"$DM $DMMM      c                     | j         S )a  Gets the min_ready_seconds of this V1ReplicaSetSpec.  # noqa: E501

        Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)  # noqa: E501

        :return: The min_ready_seconds of this V1ReplicaSetSpec.  # noqa: E501
        :rtype: int
        r   r   s    r   r   z"V1ReplicaSetSpec.min_ready_secondsH   s     &&r   c                     || _         dS )a  Sets the min_ready_seconds of this V1ReplicaSetSpec.

        Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)  # noqa: E501

        :param min_ready_seconds: The min_ready_seconds of this V1ReplicaSetSpec.  # noqa: E501
        :type min_ready_seconds: int
        Nr   )r   r   s     r   r   z"V1ReplicaSetSpec.min_ready_secondsS   s     #4r   c                     | j         S )a  Gets the replicas of this V1ReplicaSetSpec.  # noqa: E501

        Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset  # noqa: E501

        :return: The replicas of this V1ReplicaSetSpec.  # noqa: E501
        :rtype: int
        r   r   s    r   r   zV1ReplicaSetSpec.replicas_   s     ~r   c                     || _         dS )a  Sets the replicas of this V1ReplicaSetSpec.

        Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset  # noqa: E501

        :param replicas: The replicas of this V1ReplicaSetSpec.  # noqa: E501
        :type replicas: int
        Nr!   )r   r   s     r   r   zV1ReplicaSetSpec.replicasj   s     "r   c                     | j         S )zGets the selector of this V1ReplicaSetSpec.  # noqa: E501


        :return: The selector of this V1ReplicaSetSpec.  # noqa: E501
        :rtype: V1LabelSelector
        )r   r   s    r   r   zV1ReplicaSetSpec.selectorv        ~r   c                 N    | j         j        r|t          d          || _        dS )zSets the selector of this V1ReplicaSetSpec.


        :param selector: The selector of this V1ReplicaSetSpec.  # noqa: E501
        :type selector: V1LabelSelector
        Nz0Invalid value for `selector`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   zV1ReplicaSetSpec.selector   s2     (? 	QHDTOPPP!r   c                     | j         S )zGets the template of this V1ReplicaSetSpec.  # noqa: E501


        :return: The template of this V1ReplicaSetSpec.  # noqa: E501
        :rtype: V1PodTemplateSpec
        r   r   s    r   r   zV1ReplicaSetSpec.template   r$   r   c                     || _         dS )zSets the template of this V1ReplicaSetSpec.


        :param template: The template of this V1ReplicaSetSpec.  # noqa: E501
        :type template: V1PodTemplateSpec
        Nr)   )r   r   s     r   r   zV1ReplicaSetSpec.template   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)xr0   	serializes     r   convertz)V1ReplicaSetSpec.to_dict.<locals>.convert   s[    q)$$ %ai005t99>>99;;&99Y///r   c                      |           S )N )r2   r4   s    r   <lambda>z*V1ReplicaSetSpec.to_dict.<locals>.<lambda>   s    ggajj r   c                 6    | d          | d                   fS )Nr   r.   r6   )itemr4   s    r   r7   z*V1ReplicaSetSpec.to_dict.<locals>.<lambda>   s    $q'7747+;+;!< r   )six	iteritemsopenapi_typesgetattrattribute_mapget
isinstancelistmapdictitems)r   r3   resultattr_valuer4   s    `    @r   r-   zV1ReplicaSetSpec.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V1ReplicaSetSpec.to_str   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)rL   r   s    r   __repr__zV1ReplicaSetSpec.__repr__   s    {{}}r   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr@   r   r-   r   others     r   __eq__zV1ReplicaSetSpec.__eq__   s5    %!122 	5||~~00r   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrP   rQ   s     r   __ne__zV1ReplicaSetSpec.__ne__   s5    %!122 	4||~~00r   )NNNNN)F)__name__
__module____qualname____doc__r<   r>   r   propertyr   setterr   r   r   r-   rL   rN   rS   rU   r6   r   r   r   r      s         #%'	 M /	 M% % % %( ' ' X' 	4 	4 	4   X _	" 	" _	"   X _
" 
" _
"   X _" " _"   @. . .  1 1 11 1 1 1 1r   r   )rY   inspectr   ImportErrorr   rJ   rer:   kubernetes.client.configurationr   objectr   r6   r   r   <module>ra      s    5&&&&&&& 5 5 5444444445  				 



 9 9 9 9 9 9~1 ~1 ~1 ~1 ~1v ~1 ~1 ~1 ~1 ~1s    