
    ~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
    billing

    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                      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dS )#UpdateBudgetRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    BudgetForUpdateBudgetInputz,list[BudgetAlertMessageForUpdateBudgetInput]z)list[BudgetAlertRuleForUpdateBudgetInput]z&list[BudgetAmountForUpdateBudgetInput]strBudgetRangeForUpdateBudgetInput)budgetbudget_alert_messagebudget_alert_rulebudget_amount	budget_idbudget_rangeBudgetBudgetAlertMessageBudgetAlertRuleBudgetAmountBudgetIDBudgetRangeNc                    |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _	        ||| _
        ||| _        ||| _        || _        |	|| _        dS dS )z0UpdateBudgetRequest - a model defined in SwaggerN)r   _configuration_budget_budget_alert_message_budget_alert_rule_budget_amount
_budget_id_budget_rangediscriminatorr	   r
   r   r   r   r   )selfr	   r
   r   r   r   r   r   s           z/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkbilling/models/update_budget_request.py__init__zUpdateBudgetRequest.__init__5   s    !*__N,%)""&"!! DK+(<D%(%6D"$!.D"# ,D $#    c                     | j         S )zGets the budget of this UpdateBudgetRequest.  # noqa: E501


        :return: The budget of this UpdateBudgetRequest.  # noqa: E501
        :rtype: BudgetForUpdateBudgetInput
        r   r   s    r   r	   zUpdateBudgetRequest.budgetO   s     |r!   c                     || _         dS )zSets the budget of this UpdateBudgetRequest.


        :param budget: The budget of this UpdateBudgetRequest.  # noqa: E501
        :type: BudgetForUpdateBudgetInput
        Nr#   )r   r	   s     r   r	   zUpdateBudgetRequest.budgetY   s     r!   c                     | j         S )zGets the budget_alert_message of this UpdateBudgetRequest.  # noqa: E501


        :return: The budget_alert_message of this UpdateBudgetRequest.  # noqa: E501
        :rtype: list[BudgetAlertMessageForUpdateBudgetInput]
        r   r$   s    r   r
   z(UpdateBudgetRequest.budget_alert_messaged   s     ))r!   c                     || _         dS )zSets the budget_alert_message of this UpdateBudgetRequest.


        :param budget_alert_message: The budget_alert_message of this UpdateBudgetRequest.  # noqa: E501
        :type: list[BudgetAlertMessageForUpdateBudgetInput]
        Nr'   )r   r
   s     r   r
   z(UpdateBudgetRequest.budget_alert_messagen   s     &:"""r!   c                     | j         S )zGets the budget_alert_rule of this UpdateBudgetRequest.  # noqa: E501


        :return: The budget_alert_rule of this UpdateBudgetRequest.  # noqa: E501
        :rtype: list[BudgetAlertRuleForUpdateBudgetInput]
        r   r$   s    r   r   z%UpdateBudgetRequest.budget_alert_ruley   s     &&r!   c                     || _         dS )zSets the budget_alert_rule of this UpdateBudgetRequest.


        :param budget_alert_rule: The budget_alert_rule of this UpdateBudgetRequest.  # noqa: E501
        :type: list[BudgetAlertRuleForUpdateBudgetInput]
        Nr*   )r   r   s     r   r   z%UpdateBudgetRequest.budget_alert_rule   s     #4r!   c                     | j         S )zGets the budget_amount of this UpdateBudgetRequest.  # noqa: E501


        :return: The budget_amount of this UpdateBudgetRequest.  # noqa: E501
        :rtype: list[BudgetAmountForUpdateBudgetInput]
        r   r$   s    r   r   z!UpdateBudgetRequest.budget_amount   s     ""r!   c                     || _         dS )zSets the budget_amount of this UpdateBudgetRequest.


        :param budget_amount: The budget_amount of this UpdateBudgetRequest.  # noqa: E501
        :type: list[BudgetAmountForUpdateBudgetInput]
        Nr-   )r   r   s     r   r   z!UpdateBudgetRequest.budget_amount   s     ,r!   c                     | j         S )zGets the budget_id of this UpdateBudgetRequest.  # noqa: E501


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


        :param budget_id: The budget_id of this UpdateBudgetRequest.  # noqa: E501
        :type: str
        Nz1Invalid value for `budget_id`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   zUpdateBudgetRequest.budget_id   s2     5 	R):KPQQQ#r!   c                     | j         S )zGets the budget_range of this UpdateBudgetRequest.  # noqa: E501


        :return: The budget_range of this UpdateBudgetRequest.  # noqa: E501
        :rtype: BudgetRangeForUpdateBudgetInput
        r   r$   s    r   r   z UpdateBudgetRequest.budget_range   s     !!r!   c                     || _         dS )zSets the budget_range of this UpdateBudgetRequest.


        :param budget_range: The budget_range of this UpdateBudgetRequest.  # noqa: E501
        :type: BudgetRangeForUpdateBudgetInput
        Nr4   )r   r   s     r   r   z UpdateBudgetRequest.budget_range   s     *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hasattrr8   )xs    r   <lambda>z-UpdateBudgetRequest.to_dict.<locals>.<lambda>   s!    WQ	-B-BIaiikkk r!   r8   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r8   r   r9   )items    r   r<   z-UpdateBudgetRequest.to_dict.<locals>.<lambda>   s<    tAw	22"=$q'47??+<+<!=!=8< r!   )six	iteritemsswagger_typesgetattr
isinstancelistmapr:   r8   dictitems
issubclassr   )r   resultattr_valuekeys         r   r8   zUpdateBudgetRequest.to_dict   s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t)400 	$"jjll $ $
U#sr!   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr8   r$   s    r   to_strzUpdateBudgetRequest.to_str   s    ~dllnn---r!   c                 *    |                                  S )zFor `print` and `pprint`)rR   r$   s    r   __repr__zUpdateBudgetRequest.__repr__   s    {{}}r!   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrD   r   r8   r   others     r   __eq__zUpdateBudgetRequest.__eq__   s5    %!455 	5||~~00r!   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrV   rW   s     r   __ne__zUpdateBudgetRequest.__ne__   s5    %!455 	4||~~00r!   )NNNNNNN)__name__
__module____qualname____doc__rB   attribute_mapr    propertyr	   setterr
   r   r   r   r   r8   rR   rT   rY   r[    r!   r   r   r      s        
 / NHA9 M  4.'% M- - - -4   X ]  ] * * X*  : : ! : ' ' X' 4 4 4 # # X# , , ,   X 
$ 
$ 
$ " " X" * * *  6. . .  1 1 11 1 1 1 1r!   r   )r_   rP   rer@   volcenginesdkcore.configurationr   objectr   rc   r!   r   <module>rg      s|      				 



 9 9 9 9 9 9h1 h1 h1 h1 h1& h1 h1 h1 h1 h1r!   