
    a                     >    d Z ddlmZ ddlmZ ddlZ G d de      Zy)z
    Kubernetes

    No description provided (generated by Swagger Codegen
    https://github.com/swagger-api/swagger-codegen)

    OpenAPI spec version: v1.14.4

    Generated by: https://github.com/swagger-api/swagger-codegen.git
    )pformat)	iteritemsNc                      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)V1LimitRangeItemzw
    NOTE: This class is auto generated by the swagger code generator program.
    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                     d| _         d| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _	        ||| _
        ||| _        ||| _        yy)z?
        V1LimitRangeItem - a model defined in Swagger
        N)_default_default_request_max_max_limit_request_ratio_min_typediscriminatorr   r	   r
   r   r   r   )selfr   r	   r
   r   r   r   s          ?lib/third_party/kubernetes/client/models/v1_limit_range_item.py__init__zV1LimitRangeItem.__init__0   s     DM DDI$(D!DIDJDdl",d
dh*%<d"
dhdi     c                     | j                   S )z
        Gets the default of this V1LimitRangeItem.
        Default resource requirement limit value by resource name if resource
        limit is omitted.

        :return: The default of this V1LimitRangeItem.
        :rtype: dict(str, str)
        r   r   s    r   r   zV1LimitRangeItem.defaultP   s     ==r   c                     || _         y)a  
        Sets the default of this V1LimitRangeItem.
        Default resource requirement limit value by resource name if resource
        limit is omitted.

        :param default: The default of this V1LimitRangeItem.
        :type: dict(str, str)
        Nr   )r   r   s     r   r   zV1LimitRangeItem.default\   s     DMr   c                     | j                   S )a%  
        Gets the default_request of this V1LimitRangeItem.
        DefaultRequest is the default resource requirement request value by
        resource name if resource request is omitted.

        :return: The default_request of this V1LimitRangeItem.
        :rtype: dict(str, str)
        r   r   s    r   r	   z V1LimitRangeItem.default_requesti   s        r   c                     || _         y)a3  
        Sets the default_request of this V1LimitRangeItem.
        DefaultRequest is the default resource requirement request value by
        resource name if resource request is omitted.

        :param default_request: The default_request of this V1LimitRangeItem.
        :type: dict(str, str)
        Nr!   )r   r	   s     r   r	   z V1LimitRangeItem.default_requestu   s     ,Dr   c                     | j                   S )z
        Gets the max of this V1LimitRangeItem.
        Max usage constraints on this kind by resource name.

        :return: The max of this V1LimitRangeItem.
        :rtype: dict(str, str)
        r   r   s    r   r
   zV1LimitRangeItem.max        99r   c                     || _         y)z
        Sets the max of this V1LimitRangeItem.
        Max usage constraints on this kind by resource name.

        :param max: The max of this V1LimitRangeItem.
        :type: dict(str, str)
        Nr$   )r   r
   s     r   r
   zV1LimitRangeItem.max        DIr   c                     | j                   S )a  
        Gets 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.

        :return: The max_limit_request_ratio of this V1LimitRangeItem.
        :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.

        :param max_limit_request_ratio: The max_limit_request_ratio of this
        V1LimitRangeItem.
        :type: dict(str, str)
        Nr)   )r   r   s     r   r   z(V1LimitRangeItem.max_limit_request_ratio   s     %<D!r   c                     | j                   S )z
        Gets the min of this V1LimitRangeItem.
        Min usage constraints on this kind by resource name.

        :return: The min of this V1LimitRangeItem.
        :rtype: dict(str, str)
        r   r   s    r   r   zV1LimitRangeItem.min   r%   r   c                     || _         y)z
        Sets the min of this V1LimitRangeItem.
        Min usage constraints on this kind by resource name.

        :param min: The min of this V1LimitRangeItem.
        :type: dict(str, str)
        Nr,   )r   r   s     r   r   zV1LimitRangeItem.min   r'   r   c                     | j                   S )z
        Gets the type of this V1LimitRangeItem.
        Type of resource that this limit applies to.

        :return: The type of this V1LimitRangeItem.
        :rtype: str
        r   r   s    r   r   zV1LimitRangeItem.type   s     ::r   c                     || _         y)z
        Sets the type of this V1LimitRangeItem.
        Type of resource that this limit applies to.

        :param type: The type of this V1LimitRangeItem.
        :type: str
        Nr/   )r   r   s     r   r   zV1LimitRangeItem.type   s     DJr   c                 j   i }t        | j                        D ]  \  }}t        | |      }t        |t              rt	        t        d |            ||<   <t        |d      r|j                         ||<   \t        |t              r(t        t        d |j                                     ||<   |||<    |S )z8
        Returns the model properties as a dict
        c                 >    t        | d      r| j                         S | S )Nto_dicthasattrr3   )xs    r   <lambda>z*V1LimitRangeItem.to_dict.<locals>.<lambda>   s    I)>!))+EAEr   r3   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r3   r   r4   )items    r   r7   z*V1LimitRangeItem.to_dict.<locals>.<lambda>   s6    47I. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr5   r3   dictitems)r   resultattr_values        r   r3   zV1LimitRangeItem.to_dict   s     FT//0adD!e	E4	 EuMOt5)$}}teT"9:?++-IJt
 t 1 Mr   c                 4    t        | j                               S )z@
        Returns the string representation of the model
        )r   r3   r   s    r   to_strzV1LimitRangeItem.to_str   s     4<<>""r   c                 "    | j                         S )z*
        For `print` and `pprint`
        )rG   r   s    r   __repr__zV1LimitRangeItem.__repr__  s     ;;=r   c                 V    t        |t              sy| j                  |j                  k(  S )z8
        Returns true if both objects are equal
        F)r=   r   __dict__r   others     r   __eq__zV1LimitRangeItem.__eq__  s%     e-.==ENN**r   c                     | |k(   S )z<
        Returns true if both objects are not equal
         rL   s     r   __ne__zV1LimitRangeItem.__ne__  s     u}r   )NNNNNN)__name__
__module____qualname____doc__r;   attribute_mapr   propertyr   setterr	   r
   r   r   r   r3   rG   rI   rN   rQ   rP   r   r   r   r      s    ")!1- )!7- #'+@ 	 	 >>
 
 	! 	! 
, 
,   ::	 	 ) ) !!< "<   ::	 	   ;;	 	.#+r   r   )rU   pprintr   sixr   reobjectr   rP   r   r   <module>r]      s#   	   	Cv Cr   