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

    Do not edit the class manually.
    zdict[str, str]str)defaultdefault_requestmaxmax_limit_request_ratiomintyper	   defaultRequestr   maxLimitRequestRatior   r   Nc                    |t          j                    }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        ||| _
        ||| _        ||| _        ||| _        ||| _        || _        dS )z-V1LimitRangeItem - a model defined in OpenAPIN)r   get_default_copylocal_vars_configuration_default_default_request_max_max_limit_request_ratio_min_typediscriminatorr	   r
   r   r   r   r   )selfr	   r
   r   r   r   r   r   s           i/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes/client/models/v1_limit_range_item.py__init__zV1LimitRangeItem.__init__8   s    #+'4'E'G'G$(@% $	(,%	
!"DL&#2D ?DH".+BD(?DH			    c                     | j         S )a  Gets the default of this V1LimitRangeItem.  # noqa: E501

        Default resource requirement limit value by resource name if resource limit is omitted.  # noqa: E501

        :return: The default of this V1LimitRangeItem.  # noqa: E501
        :rtype: dict[str, str]
        r   r   s    r   r	   zV1LimitRangeItem.defaultR   s     }r   c                     || _         dS )a  Sets the default of this V1LimitRangeItem.

        Default resource requirement limit value by resource name if resource limit is omitted.  # noqa: E501

        :param default: The default of this V1LimitRangeItem.  # noqa: E501
        :type default: dict[str, str]
        Nr    )r   r	   s     r   r	   zV1LimitRangeItem.default]   s      r   c                     | j         S )a?  Gets the default_request of this V1LimitRangeItem.  # noqa: E501

        DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.  # noqa: E501

        :return: The default_request of this V1LimitRangeItem.  # noqa: E501
        :rtype: dict[str, str]
        r   r!   s    r   r
   z V1LimitRangeItem.default_requesti   s     $$r   c                     || _         dS )aO  Sets the default_request of this V1LimitRangeItem.

        DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.  # noqa: E501

        :param default_request: The default_request of this V1LimitRangeItem.  # noqa: E501
        :type default_request: dict[str, str]
        Nr$   )r   r
   s     r   r
   z V1LimitRangeItem.default_requestt   s     !0r   c                     | j         S )zGets the max of this V1LimitRangeItem.  # noqa: E501

        Max usage constraints on this kind by resource name.  # noqa: E501

        :return: The max of this V1LimitRangeItem.  # noqa: E501
        :rtype: dict[str, str]
        r   r!   s    r   r   zV1LimitRangeItem.max        yr   c                     || _         dS )zSets the max of this V1LimitRangeItem.

        Max usage constraints on this kind by resource name.  # noqa: E501

        :param max: The max of this V1LimitRangeItem.  # noqa: E501
        :type max: dict[str, str]
        Nr'   )r   r   s     r   r   zV1LimitRangeItem.max        			r   c                     | j         S )a  Gets the max_limit_request_ratio of this V1LimitRangeItem.  # noqa: E501

        MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.  # noqa: E501

        :return: The max_limit_request_ratio of this V1LimitRangeItem.  # noqa: E501
        :rtype: dict[str, str]
        r   r!   s    r   r   z(V1LimitRangeItem.max_limit_request_ratio   s     ,,r   c                     || _         dS )a  Sets the max_limit_request_ratio of this V1LimitRangeItem.

        MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.  # noqa: E501

        :param max_limit_request_ratio: The max_limit_request_ratio of this V1LimitRangeItem.  # noqa: E501
        :type max_limit_request_ratio: dict[str, str]
        Nr,   )r   r   s     r   r   z(V1LimitRangeItem.max_limit_request_ratio   s     )@%%%r   c                     | j         S )zGets the min of this V1LimitRangeItem.  # noqa: E501

        Min usage constraints on this kind by resource name.  # noqa: E501

        :return: The min of this V1LimitRangeItem.  # noqa: E501
        :rtype: dict[str, str]
        r   r!   s    r   r   zV1LimitRangeItem.min   r(   r   c                     || _         dS )zSets the min of this V1LimitRangeItem.

        Min usage constraints on this kind by resource name.  # noqa: E501

        :param min: The min of this V1LimitRangeItem.  # noqa: E501
        :type min: dict[str, str]
        Nr/   )r   r   s     r   r   zV1LimitRangeItem.min   r*   r   c                     | j         S )zGets the type of this V1LimitRangeItem.  # noqa: E501

        Type of resource that this limit applies to.  # noqa: E501

        :return: The type of this V1LimitRangeItem.  # noqa: E501
        :rtype: str
        )r   r!   s    r   r   zV1LimitRangeItem.type   s     zr   c                 N    | j         j        r|t          d          || _        dS )zSets the type of this V1LimitRangeItem.

        Type of resource that this limit applies to.  # noqa: E501

        :param type: The type of this V1LimitRangeItem.  # noqa: E501
        :type type: str
        Nz,Invalid value for `type`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   zV1LimitRangeItem.type   s1     (? 	MDLKLLL


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   r7   argslen)xr:   	serializes     r   convertz)V1LimitRangeItem.to_dict.<locals>.convert   s[    q)$$ %ai005t99>>99;;&99Y///r   c                      |           S )N )r<   r>   s    r   <lambda>z*V1LimitRangeItem.to_dict.<locals>.<lambda>   s    ggajj r   c                 6    | d          | d                   fS )Nr   r8   r@   )itemr>   s    r   rA   z*V1LimitRangeItem.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   r7   zV1LimitRangeItem.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pformatr7   r!   s    r   to_strzV1LimitRangeItem.to_str   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)rV   r!   s    r   __repr__zV1LimitRangeItem.__repr__  s    {{}}r   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrJ   r   r7   r   others     r   __eq__zV1LimitRangeItem.__eq__  s5    %!122 	5||~~00r   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrZ   r[   s     r   __ne__zV1LimitRangeItem.__ne__  s5    %!122 	4||~~00r   )NNNNNNN)F)__name__
__module____qualname____doc__rF   rH   r   propertyr	   setterr
   r   r   r   r   r7   rV   rX   r]   r_   r@   r   r   r   r      s         $+#3 M +#9 M   4   X ^	  	  ^	  % % X% 	0 	0 	0   X 	Z	 	 Z	 - - X- #	@ 	@ $#	@   X 	Z	 	 Z	   X 
[  [   @. . .  1 1 11 1 1 1 1r   r   )rc   inspectr   ImportErrorr   rT   rerD   kubernetes.client.configurationr   objectr   r@   r   r   <module>rk      s    5&&&&&&& 5 5 5444444445  				 



 9 9 9 9 9 9z1 z1 z1 z1 z1v z1 z1 z1 z1 z1s    