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

    Do not edit the class manually.
    intV1LabelSelectorV1PodTemplateSpecV1DaemonSetUpdateStrategy)min_ready_secondsrevision_history_limitselectortemplateupdate_strategyminReadySecondsrevisionHistoryLimitr   r   updateStrategyNc                     |t          j                    }|| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _	        ||| _
        || _        || _        |	|| _        dS dS )z,V1DaemonSetSpec - a model defined in OpenAPIN)r   get_default_copylocal_vars_configuration_min_ready_seconds_revision_history_limit	_selector	_template_update_strategydiscriminatorr   r   r   r   r   )selfr   r   r   r   r   r   s          h/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes/client/models/v1_daemon_set_spec.py__init__zV1DaemonSetSpec.__init__6   s    #+'4'E'G'G$(@%"&'+$ $!(%6D"!-*@D'  &#2D    '&    c                     | j         S )a  Gets the min_ready_seconds of this V1DaemonSetSpec.  # noqa: E501

        The minimum number of seconds for which a newly created DaemonSet 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 V1DaemonSetSpec.  # noqa: E501
        :rtype: int
        r   r   s    r   r   z!V1DaemonSetSpec.min_ready_secondsL   s     &&r    c                     || _         dS )a  Sets the min_ready_seconds of this V1DaemonSetSpec.

        The minimum number of seconds for which a newly created DaemonSet 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 V1DaemonSetSpec.  # noqa: E501
        :type min_ready_seconds: int
        Nr"   )r   r   s     r   r   z!V1DaemonSetSpec.min_ready_secondsW   s     #4r    c                     | j         S )a_  Gets the revision_history_limit of this V1DaemonSetSpec.  # noqa: E501

        The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.  # noqa: E501

        :return: The revision_history_limit of this V1DaemonSetSpec.  # noqa: E501
        :rtype: int
        r   r#   s    r   r   z&V1DaemonSetSpec.revision_history_limitc   s     ++r    c                     || _         dS )a}  Sets the revision_history_limit of this V1DaemonSetSpec.

        The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.  # noqa: E501

        :param revision_history_limit: The revision_history_limit of this V1DaemonSetSpec.  # noqa: E501
        :type revision_history_limit: int
        Nr&   )r   r   s     r   r   z&V1DaemonSetSpec.revision_history_limitn   s     (>$$$r    c                     | j         S )zGets the selector of this V1DaemonSetSpec.  # noqa: E501


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


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


        :return: The template of this V1DaemonSetSpec.  # noqa: E501
        :rtype: V1PodTemplateSpec
        )r   r#   s    r   r   zV1DaemonSetSpec.template   r)   r    c                 N    | j         j        r|t          d          || _        dS )zSets the template of this V1DaemonSetSpec.


        :param template: The template of this V1DaemonSetSpec.  # noqa: E501
        :type template: V1PodTemplateSpec
        Nz0Invalid value for `template`, must not be `None`)r   r+   r,   r   )r   r   s     r   r   zV1DaemonSetSpec.template   r-   r    c                     | j         S )zGets the update_strategy of this V1DaemonSetSpec.  # noqa: E501


        :return: The update_strategy of this V1DaemonSetSpec.  # noqa: E501
        :rtype: V1DaemonSetUpdateStrategy
        r   r#   s    r   r   zV1DaemonSetSpec.update_strategy   s     $$r    c                     || _         dS )zSets the update_strategy of this V1DaemonSetSpec.


        :param update_strategy: The update_strategy of this V1DaemonSetSpec.  # noqa: E501
        :type update_strategy: V1DaemonSetUpdateStrategy
        Nr1   )r   r   s     r   r   zV1DaemonSetSpec.update_strategy   s     !0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   r5   argslen)xr8   	serializes     r   convertz(V1DaemonSetSpec.to_dict.<locals>.convert   s[    q)$$ %ai005t99>>99;;&99Y///r    c                      |           S )N )r:   r<   s    r   <lambda>z)V1DaemonSetSpec.to_dict.<locals>.<lambda>   s    ggajj r    c                 6    | d          | d                   fS )Nr   r6   r>   )itemr<   s    r   r?   z)V1DaemonSetSpec.to_dict.<locals>.<lambda>   s    $q'7747+;+;!< r    )six	iteritemsopenapi_typesgetattrattribute_mapget
isinstancelistmapdictitems)r   r;   resultattr_valuer<   s    `    @r   r5   zV1DaemonSetSpec.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pformatr5   r#   s    r   to_strzV1DaemonSetSpec.to_str   s    ~dllnn---r    c                 *    |                                  S )zFor `print` and `pprint`)rT   r#   s    r   __repr__zV1DaemonSetSpec.__repr__   s    {{}}r    c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrH   r   r5   r   others     r   __eq__zV1DaemonSetSpec.__eq__   s4    %11 	5||~~00r    c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrX   rY   s     r   __ne__zV1DaemonSetSpec.__ne__   s4    %11 	4||~~00r    )NNNNNN)F)__name__
__module____qualname____doc__rD   rF   r   propertyr   setterr   r   r   r   r5   rT   rV   r[   r]   r>   r    r   r   r      s         #"'%'6 M /"8+ M3 3 3 3, ' ' X' 	4 	4 	4 , , X, "	> 	> #"	>   X _
" 
" _
"   X _
" 
" _
" % % X% 0 0 0   @. . .  1 1 11 1 1 1 1r    r   )ra   inspectr   ImportErrorr   rR   rerB   kubernetes.client.configurationr   objectr   r>   r    r   <module>ri      s    5&&&&&&& 5 5 5444444445  				 



 9 9 9 9 9 9Y1 Y1 Y1 Y1 Y1f Y1 Y1 Y1 Y1 Y1s    