
    Bvh@                     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.33
    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
)V1ReplicationControllerSpeczNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    intzdict(str, str)V1PodTemplateSpec)min_ready_secondsreplicasselectortemplateminReadySecondsr	   r
   r   Nc                     |
t               }|| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _	        ||| _
        yy)z8V1ReplicationControllerSpec - 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/RAG/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_replication_controller_spec.py__init__z$V1ReplicationControllerSpec.__init__1   sw    #+'4$(@%"&!(%6D"$DM$DM$DM      c                     | j                   S )a  Gets the min_ready_seconds of this V1ReplicationControllerSpec.  # 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 V1ReplicationControllerSpec.  # noqa: E501
        :rtype: int
        r   r   s    r   r   z-V1ReplicationControllerSpec.min_ready_secondsF   s     &&&r   c                     || _         y)a  Sets the min_ready_seconds of this V1ReplicationControllerSpec.

        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 V1ReplicationControllerSpec.  # noqa: E501
        :type: int
        Nr   )r   r   s     r   r   z-V1ReplicationControllerSpec.min_ready_secondsQ   s     #4r   c                     | j                   S )a  Gets the replicas of this V1ReplicationControllerSpec.  # 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 V1ReplicationControllerSpec.  # noqa: E501
        :rtype: int
        r   r   s    r   r	   z$V1ReplicationControllerSpec.replicas]        ~~r   c                     || _         y)a  Sets the replicas of this V1ReplicationControllerSpec.

        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 V1ReplicationControllerSpec.  # noqa: E501
        :type: int
        Nr   )r   r	   s     r   r	   z$V1ReplicationControllerSpec.replicash        "r   c                     | j                   S )ac  Gets the selector of this V1ReplicationControllerSpec.  # noqa: E501

        Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors  # noqa: E501

        :return: The selector of this V1ReplicationControllerSpec.  # noqa: E501
        :rtype: dict(str, str)
        r   r   s    r   r
   z$V1ReplicationControllerSpec.selectort   r   r   c                     || _         y)a\  Sets the selector of this V1ReplicationControllerSpec.

        Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors  # noqa: E501

        :param selector: The selector of this V1ReplicationControllerSpec.  # noqa: E501
        :type: dict(str, str)
        Nr"   )r   r
   s     r   r
   z$V1ReplicationControllerSpec.selector   r    r   c                     | j                   S )zGets the template of this V1ReplicationControllerSpec.  # noqa: E501


        :return: The template of this V1ReplicationControllerSpec.  # noqa: E501
        :rtype: V1PodTemplateSpec
        r   r   s    r   r   z$V1ReplicationControllerSpec.template   s     ~~r   c                     || _         y)zSets the template of this V1ReplicationControllerSpec.


        :param template: The template of this V1ReplicationControllerSpec.  # noqa: E501
        :type: V1PodTemplateSpec
        Nr%   )r   r   s     r   r   z$V1ReplicationControllerSpec.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>z5V1ReplicationControllerSpec.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-   z5V1ReplicationControllerSpec.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#V1ReplicationControllerSpec.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"V1ReplicationControllerSpec.to_str   s    ~~dlln--r   c                 "    | j                         S )zFor `print` and `pprint`)rA   r   s    r   __repr__z$V1ReplicationControllerSpec.__repr__   s    {{}r   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFr5   r   r)   r   others     r   __eq__z"V1ReplicationControllerSpec.__eq__   s'    %!<=||~00r   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTrE   rF   s     r   __ne__z"V1ReplicationControllerSpec.__ne__   s'    %!<=||~00r   )NNNNN)__name__
__module____qualname____doc__r3   attribute_mapr   propertyr   setterr	   r
   r   r)   rA   rC   rH   rJ    r   r   r   r      s    #$'	M /	M%* ' ' 	4 	4   __	" 	"   __	" 	"   __" "0.11r   r   )rN   r?   rer1   kubernetes.client.configurationr   objectr   rR   r   r   <module>rV      s&     	 
 9w1& w1r   