
    <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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 Zd Zd Zd Zd Zy)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               }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _	        ||| _
        ||| _        ||| _        ||| _        || _        y)z-V1LimitRangeItem - a model defined in OpenAPIN)r   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           a/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_limit_range_item.py__init__zV1LimitRangeItem.__init__5   s    #+'4$(@% $	(,%	
!"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.defaultO   s     }}r   c                     || _         y)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: dict(str, str)
        Nr   )r   r   s     r   r   zV1LimitRangeItem.defaultZ   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_requestf   s     $$$r   c                     || _         y)a?  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: dict(str, str)
        Nr!   )r   r   s     r   r   z V1LimitRangeItem.default_requestq   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}        yyr   c                     || _         y)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: 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                     || _         y)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: 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                     || _         y)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: 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     zzr   c                 X    | j                   j                  r|t        d      || _        y)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: str
        Nz,Invalid value for `type`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   zV1LimitRangeItem.type   s*     ((??DLKLL
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hasattrr4   )xs    r   <lambda>z*V1LimitRangeItem.to_dict.<locals>.<lambda>   s    WQ	-BaiikIIr   r4   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r4   r   r5   )items    r   r8   z*V1LimitRangeItem.to_dict.<locals>.<lambda>   s6    tAw	2 #'q'47??+<!= "=8<"=r   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr6   r4   dictitems)r   resultattr_values        r   r4   zV1LimitRangeItem.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pformatr4   r   s    r   to_strzV1LimitRangeItem.to_str   s    ~~dlln--r   c                 "    | j                         S )zFor `print` and `pprint`)rL   r   s    r   __repr__zV1LimitRangeItem.__repr__   s    {{}r   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFr@   r   r4   r   others     r   __eq__zV1LimitRangeItem.__eq__   s'    %!12||~00r   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTrP   rQ   s     r   __ne__zV1LimitRangeItem.__ne__  s'    %!12||~00r   )NNNNNNN)__name__
__module____qualname____doc__r>   attribute_mapr   propertyr   setterr   r	   r
   r   r   r4   rL   rN   rS   rU    r   r   r   r      sn    $+#3M +#9M4   ^^	  	  % % 	0 	0   	ZZ	 	 - - ##	@ $	@   	ZZ	 	   
[[ 0.11r   r   )rY   rJ   rer<   kubernetes.client.configurationr   objectr   r]   r   r   <module>ra      s&     	 
 9r1v r1r   