
    <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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 Zd Zd Zd Zd Zy
)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               }|| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        || _	        ||| _
        yy)z-V1ReplicaSetSpec - a model defined in OpenAPIN)r   local_vars_configuration_min_ready_seconds	_replicas	_selector	_templatediscriminatorr	   r
   r   r   )selfr	   r
   r   r   r   s         a/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_replica_set_spec.py__init__zV1ReplicaSetSpec.__init__1   sq    #+'4$(@%"&!(%6D"$DM $DM      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_secondsE   s     &&&r   c                     || _         y)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: int
        Nr   )r   r	   s     r   r	   z"V1ReplicaSetSpec.min_ready_secondsP   s     #4r   c                     | j                   S )a  Gets the replicas of this V1ReplicaSetSpec.  # noqa: E501

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

        :return: The replicas of this V1ReplicaSetSpec.  # noqa: E501
        :rtype: int
        r   r   s    r   r
   zV1ReplicaSetSpec.replicas\   s     ~~r   c                     || _         y)a  Sets the replicas of this V1ReplicaSetSpec.

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

        :param replicas: The replicas of this V1ReplicaSetSpec.  # noqa: E501
        :type: int
        Nr   )r   r
   s     r   r
   zV1ReplicaSetSpec.replicasg   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.selectors        ~~r   c                 X    | j                   j                  r|t        d      || _        y)zSets the selector of this V1ReplicaSetSpec.


        :param selector: The selector of this V1ReplicaSetSpec.  # noqa: E501
        :type: V1LabelSelector
        Nz0Invalid value for `selector`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   zV1ReplicaSetSpec.selector}   s+     ((??HDTO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                     || _         y)zSets the template of this V1ReplicaSetSpec.


        :param template: The template of this V1ReplicaSetSpec.  # noqa: E501
        :type: V1PodTemplateSpec
        Nr&   )r   r   s     r   r   zV1ReplicaSetSpec.template   s     "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hasattrr*   )xs    r   <lambda>z*V1ReplicaSetSpec.to_dict.<locals>.<lambda>   s    WQ	-BaiikIIr   r*   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r*   r   r+   )items    r   r.   z*V1ReplicaSetSpec.to_dict.<locals>.<lambda>   s6    tAw	2 #'q'47??+<!= "=8<"=r   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr,   r*   dictitems)r   resultattr_values        r   r*   zV1ReplicaSetSpec.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pformatr*   r   s    r   to_strzV1ReplicaSetSpec.to_str   s    ~~dlln--r   c                 "    | j                         S )zFor `print` and `pprint`)rB   r   s    r   __repr__zV1ReplicaSetSpec.__repr__   s    {{}r   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFr6   r   r*   r   others     r   __eq__zV1ReplicaSetSpec.__eq__   s'    %!12||~00r   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTrF   rG   s     r   __ne__zV1ReplicaSetSpec.__ne__   s'    %!12||~00r   )NNNNN)__name__
__module____qualname____doc__r4   attribute_mapr   propertyr	   setterr
   r   r   r*   rB   rD   rI   rK    r   r   r   r      s    #%'	M /	M%( ' ' 	4 	4   __	" 	"   __
" 
"   __" "0.11r   r   )rO   r@   rer2   kubernetes.client.configurationr   objectr   rS   r   r   <module>rW      s&     	 
 9v1v v1r   