
    ~il#                     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
    apig20221112

    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dd	Zd
d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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 )*UpdateRouteRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    "AdvancedSettingForUpdateRouteInputbool"FallbackSettingForUpdateRouteInputstrMatchRuleForUpdateRouteInputintz%list[UpstreamListForUpdateRouteInput])advanced_settingenablefallback_settingid
match_rulenamepriorityupstream_listAdvancedSettingEnableFallbackSettingId	MatchRuleNamePriorityUpstreamListNc
                 >   |	t                      }	|	| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        ||| _        ||| _        ||| _        || _        ||| _        || _        ||| _        |	|| _        dS dS )z/UpdateRouteRequest - a model defined in SwaggerN)r   _configuration_advanced_setting_enable_fallback_setting_id_match_rule_name	_priority_upstream_listdiscriminatorr   r   r   r   r   r   r   r   )
selfr   r   r   r   r   r   r   r   r   s
             ~/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkapig20221112/models/update_route_request.py__init__zUpdateRouteRequest.__init__9   s    !*__N,!%!%
"!'$4D! DK'$4D!!(DO	$DM$!.D %$    c                     | j         S )zGets the advanced_setting of this UpdateRouteRequest.  # noqa: E501


        :return: The advanced_setting of this UpdateRouteRequest.  # noqa: E501
        :rtype: AdvancedSettingForUpdateRouteInput
        r   r'   s    r(   r   z#UpdateRouteRequest.advanced_settingX        %%r*   c                     || _         dS )zSets the advanced_setting of this UpdateRouteRequest.


        :param advanced_setting: The advanced_setting of this UpdateRouteRequest.  # noqa: E501
        :type: AdvancedSettingForUpdateRouteInput
        Nr,   )r'   r   s     r(   r   z#UpdateRouteRequest.advanced_settingb        "2r*   c                     | j         S )zGets the enable of this UpdateRouteRequest.  # noqa: E501


        :return: The enable of this UpdateRouteRequest.  # noqa: E501
        :rtype: bool
        r   r-   s    r(   r   zUpdateRouteRequest.enablem   s     |r*   c                     || _         dS )zSets the enable of this UpdateRouteRequest.


        :param enable: The enable of this UpdateRouteRequest.  # noqa: E501
        :type: bool
        Nr2   )r'   r   s     r(   r   zUpdateRouteRequest.enablew   s     r*   c                     | j         S )zGets the fallback_setting of this UpdateRouteRequest.  # noqa: E501


        :return: The fallback_setting of this UpdateRouteRequest.  # noqa: E501
        :rtype: FallbackSettingForUpdateRouteInput
        r    r-   s    r(   r   z#UpdateRouteRequest.fallback_setting   r.   r*   c                     || _         dS )zSets the fallback_setting of this UpdateRouteRequest.


        :param fallback_setting: The fallback_setting of this UpdateRouteRequest.  # noqa: E501
        :type: FallbackSettingForUpdateRouteInput
        Nr5   )r'   r   s     r(   r   z#UpdateRouteRequest.fallback_setting   r0   r*   c                     | j         S )zGets the id of this UpdateRouteRequest.  # noqa: E501


        :return: The id of this UpdateRouteRequest.  # noqa: E501
        :rtype: str
        )r!   r-   s    r(   r   zUpdateRouteRequest.id   s     xr*   c                 N    | j         j        r|t          d          || _        dS )zSets the id of this UpdateRouteRequest.


        :param id: The id of this UpdateRouteRequest.  # noqa: E501
        :type: str
        Nz*Invalid value for `id`, must not be `None`)r   client_side_validation
ValueErrorr!   )r'   r   s     r(   r   zUpdateRouteRequest.id   s1     5 	K"*IJJJr*   c                     | j         S )zGets the match_rule of this UpdateRouteRequest.  # noqa: E501


        :return: The match_rule of this UpdateRouteRequest.  # noqa: E501
        :rtype: MatchRuleForUpdateRouteInput
        r"   r-   s    r(   r   zUpdateRouteRequest.match_rule   s     r*   c                     || _         dS )zSets the match_rule of this UpdateRouteRequest.


        :param match_rule: The match_rule of this UpdateRouteRequest.  # noqa: E501
        :type: MatchRuleForUpdateRouteInput
        Nr<   )r'   r   s     r(   r   zUpdateRouteRequest.match_rule   s     &r*   c                     | j         S )zGets the name of this UpdateRouteRequest.  # noqa: E501


        :return: The name of this UpdateRouteRequest.  # noqa: E501
        :rtype: str
        )r#   r-   s    r(   r   zUpdateRouteRequest.name   s     zr*   c                 N    | j         j        r|t          d          || _        dS )zSets the name of this UpdateRouteRequest.


        :param name: The name of this UpdateRouteRequest.  # noqa: E501
        :type: str
        Nz,Invalid value for `name`, must not be `None`)r   r9   r:   r#   )r'   r   s     r(   r   zUpdateRouteRequest.name   s1     5 	M$,KLLL


r*   c                     | j         S )zGets the priority of this UpdateRouteRequest.  # noqa: E501


        :return: The priority of this UpdateRouteRequest.  # noqa: E501
        :rtype: int
        r$   r-   s    r(   r   zUpdateRouteRequest.priority   s     ~r*   c                     || _         dS )zSets the priority of this UpdateRouteRequest.


        :param priority: The priority of this UpdateRouteRequest.  # noqa: E501
        :type: int
        NrA   )r'   r   s     r(   r   zUpdateRouteRequest.priority   s     "r*   c                     | j         S )zGets the upstream_list of this UpdateRouteRequest.  # noqa: E501


        :return: The upstream_list of this UpdateRouteRequest.  # noqa: E501
        :rtype: list[UpstreamListForUpdateRouteInput]
        r%   r-   s    r(   r   z UpdateRouteRequest.upstream_list   s     ""r*   c                     || _         dS )zSets the upstream_list of this UpdateRouteRequest.


        :param upstream_list: The upstream_list of this UpdateRouteRequest.  # noqa: E501
        :type: list[UpstreamListForUpdateRouteInput]
        NrD   )r'   r   s     r(   r   z UpdateRouteRequest.upstream_list   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hasattrrH   )xs    r(   <lambda>z,UpdateRouteRequest.to_dict.<locals>.<lambda>  s!    WQ	-B-BIaiikkk r*   rH   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rH   r   rI   )items    r(   rL   z,UpdateRouteRequest.to_dict.<locals>.<lambda>  s<    tAw	22"=$q'47??+<+<!=!=8< r*   )six	iteritemsswagger_typesgetattr
isinstancelistmaprJ   rH   dictitems
issubclassr   )r'   resultattr_valuekeys         r(   rH   zUpdateRouteRequest.to_dict  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t($// 	$"jjll $ $
U#sr*   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatrH   r-   s    r(   to_strzUpdateRouteRequest.to_str  s    ~dllnn---r*   c                 *    |                                  S )zFor `print` and `pprint`)rb   r-   s    r(   __repr__zUpdateRouteRequest.__repr__#  s    {{}}r*   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrT   r   rH   r'   others     r(   __eq__zUpdateRouteRequest.__eq__'  s5    %!344 	5||~~00r*   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrf   rg   s     r(   __ne__zUpdateRouteRequest.__ne__.  s5    %!344 	4||~~00r*   )	NNNNNNNNN)__name__
__module____qualname____doc__rR   attribute_mapr)   propertyr   setterr   r   r   r   r   r   r   rH   rb   rd   ri   rk    r*   r(   r   r      s        
 A@4@	 	M .-!'	 	M/ / / /> & & X& 2 2 2   X ]  ] & & X& 2 2 2   X Y
 
 Y
     X  & & &   X 
[
 
 [
   X _" " _" # # X# , , ,  6. . .  1 1 11 1 1 1 1r*   r   )ro   r`   rerP   volcenginesdkcore.configurationr   objectr   rs   r*   r(   <module>rw      s|      				 



 9 9 9 9 9 9]1 ]1 ]1 ]1 ]1 ]1 ]1 ]1 ]1 ]1r*   