
    ~i                     J    d Z 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
    quota

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

    OpenAPI spec version: common-version
    
    Generated by: https://github.com/swagger-api/swagger-codegen.git
    N)Configurationc                   h   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 Zd Zd Zd Zd ZdS )CreateQuotaApplicationRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    floatz-list[DimensionForCreateQuotaApplicationInput]str)desire_value
dimensionsprovider_code
quota_codereasonDesireValue
DimensionsProviderCode	QuotaCodeReasonNc                     |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        || _        ||| _	        || _
        || _        || _        dS )z:CreateQuotaApplicationRequest - a model defined in SwaggerN)r   _configuration_desire_value_dimensions_provider_code_quota_code_reasondiscriminatorr   r	   r
   r   r   )selfr   r	   r
   r   r   r   s          /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkquota/models/create_quota_application_request.py__init__z&CreateQuotaApplicationRequest.__init__3   sw    !*__N,!"!(!(DO*$    c                     | j         S )zGets the desire_value of this CreateQuotaApplicationRequest.  # noqa: E501


        :return: The desire_value of this CreateQuotaApplicationRequest.  # noqa: E501
        :rtype: float
        )r   r   s    r   r   z*CreateQuotaApplicationRequest.desire_valueG   s     !!r   c                 N    | j         j        r|t          d          || _        dS )zSets the desire_value of this CreateQuotaApplicationRequest.


        :param desire_value: The desire_value of this CreateQuotaApplicationRequest.  # noqa: E501
        :type: float
        Nz4Invalid value for `desire_value`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   z*CreateQuotaApplicationRequest.desire_valueQ   s5     5 	U,:NSTTT)r   c                     | j         S )zGets the dimensions of this CreateQuotaApplicationRequest.  # noqa: E501


        :return: The dimensions of this CreateQuotaApplicationRequest.  # noqa: E501
        :rtype: list[DimensionForCreateQuotaApplicationInput]
        r   r   s    r   r	   z(CreateQuotaApplicationRequest.dimensions^        r   c                     || _         dS )zSets the dimensions of this CreateQuotaApplicationRequest.


        :param dimensions: The dimensions of this CreateQuotaApplicationRequest.  # noqa: E501
        :type: list[DimensionForCreateQuotaApplicationInput]
        Nr$   )r   r	   s     r   r	   z(CreateQuotaApplicationRequest.dimensionsh   s     &r   c                     | j         S )zGets the provider_code of this CreateQuotaApplicationRequest.  # noqa: E501


        :return: The provider_code of this CreateQuotaApplicationRequest.  # noqa: E501
        :rtype: str
        )r   r   s    r   r
   z+CreateQuotaApplicationRequest.provider_codes   s     ""r   c                 N    | j         j        r|t          d          || _        dS )zSets the provider_code of this CreateQuotaApplicationRequest.


        :param provider_code: The provider_code of this CreateQuotaApplicationRequest.  # noqa: E501
        :type: str
        Nz5Invalid value for `provider_code`, must not be `None`)r   r!   r"   r   )r   r
   s     r   r
   z+CreateQuotaApplicationRequest.provider_code}   s5     5 	V-:OTUUU+r   c                     | j         S )zGets the quota_code of this CreateQuotaApplicationRequest.  # noqa: E501


        :return: The quota_code of this CreateQuotaApplicationRequest.  # noqa: E501
        :rtype: str
        )r   r   s    r   r   z(CreateQuotaApplicationRequest.quota_code   r%   r   c                 N    | j         j        r|t          d          || _        dS )zSets the quota_code of this CreateQuotaApplicationRequest.


        :param quota_code: The quota_code of this CreateQuotaApplicationRequest.  # noqa: E501
        :type: str
        Nz2Invalid value for `quota_code`, must not be `None`)r   r!   r"   r   )r   r   s     r   r   z(CreateQuotaApplicationRequest.quota_code   s5     5 	S*:LQRRR%r   c                     | j         S )zGets the reason of this CreateQuotaApplicationRequest.  # noqa: E501


        :return: The reason of this CreateQuotaApplicationRequest.  # noqa: E501
        :rtype: str
        )r   r   s    r   r   z$CreateQuotaApplicationRequest.reason   s     |r   c                 N    | j         j        r|t          d          || _        dS )zSets the reason of this CreateQuotaApplicationRequest.


        :param reason: The reason of this CreateQuotaApplicationRequest.  # noqa: E501
        :type: str
        Nz.Invalid value for `reason`, must not be `None`)r   r!   r"   r   )r   r   s     r   r   z$CreateQuotaApplicationRequest.reason   s1     5 	O&.MNNNr   c                 4   i }t          j        | j                  D ]\  }}t          | |          }t	          |t
                    r"t          t          d |                    ||<   Lt          |d          r|                                ||<   tt	          |t                    r4t          t          d |
                                                    ||<   |||<   t          t          t                    r| 
                                D ]
\  }}|||<   |S )z&Returns the model properties as a dictc                 N    t          | d          r|                                 n| S )Nto_dicthasattrr/   )xs    r   <lambda>z7CreateQuotaApplicationRequest.to_dict.<locals>.<lambda>   s!    WQ	-B-BIaiikkk r   r/   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r/   r   r0   )items    r   r3   z7CreateQuotaApplicationRequest.to_dict.<locals>.<lambda>   s<    tAw	22"=$q'47??+<+<!=!=8< r   )six	iteritemsswagger_typesgetattr
isinstancelistmapr1   r/   dictitems
issubclassr   )r   resultattr_valuekeys         r   r/   z%CreateQuotaApplicationRequest.to_dict   s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t3T:: 	$"jjll $ $
U#sr   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr/   r   s    r   to_strz$CreateQuotaApplicationRequest.to_str   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)rI   r   s    r   __repr__z&CreateQuotaApplicationRequest.__repr__   s    {{}}r   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr;   r   r/   r   others     r   __eq__z$CreateQuotaApplicationRequest.__eq__   s5    %!>?? 	5||~~00r   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrM   rN   s     r   __ne__z$CreateQuotaApplicationRequest.__ne__   s5    %!>?? 	4||~~00r   )NNNNNN)__name__
__module____qualname____doc__r9   attribute_mapr   propertyr   setterr	   r
   r   r   r/   rI   rK   rP   rR    r   r   r   r      s        
  E M &"'! M   ( " " X" 
* 
* 
*     X  & & & # # X# 
, 
, 
,     X  
& 
& 
&   X ]
 
 ]
  6. . .  1 1 11 1 1 1 1r   r   )rV   rG   rer7   volcenginesdkcore.configurationr   objectr   rZ   r   r   <module>r^      s|      				 



 9 9 9 9 9 9Q1 Q1 Q1 Q1 Q1F Q1 Q1 Q1 Q1 Q1r   