
    ~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
    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 )*CreateRouteRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    "AdvancedSettingForCreateRouteInputbool"FallbackSettingForCreateRouteInputMatchRuleForCreateRouteInputstrintz%list[UpstreamListForCreateRouteInput])advanced_settingenablefallback_setting
match_rulenamepriority
service_idupstream_listAdvancedSettingEnableFallbackSetting	MatchRuleNamePriority	ServiceIdUpstreamListNc
                 >   |	t                      }	|	| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        ||| _        ||| _        ||| _        ||| _        || _        ||| _        || _        |	|| _        dS dS )z/CreateRouteRequest - a model defined in SwaggerN)r   _configuration_advanced_setting_enable_fallback_setting_match_rule_name	_priority_service_id_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/create_route_request.py__init__zCreateRouteRequest.__init__9   s    !*__N,!%!%
"!'$4D! DK'$4D!!(DO	$DM$$!.D %$    c                     | j         S )zGets the advanced_setting of this CreateRouteRequest.  # noqa: E501


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


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


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


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


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


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


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


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


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


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


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


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


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


        :return: The service_id of this CreateRouteRequest.  # noqa: E501
        :rtype: str
        )r$   r-   s    r(   r   zCreateRouteRequest.service_id   r9   r*   c                 N    | j         j        r|t          d          || _        dS )zSets the service_id of this CreateRouteRequest.


        :param service_id: The service_id of this CreateRouteRequest.  # noqa: E501
        :type: str
        Nz2Invalid value for `service_id`, must not be `None`)r   r=   r>   r$   )r'   r   s     r(   r   zCreateRouteRequest.service_id   s5     5 	S*:LQRRR%r*   c                     | j         S )zGets the upstream_list of this CreateRouteRequest.  # noqa: E501


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


        :param upstream_list: The upstream_list of this CreateRouteRequest.  # noqa: E501
        :type: list[UpstreamListForCreateRouteInput]
        NrE   )r'   r   s     r(   r   z CreateRouteRequest.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hasattrrI   )xs    r(   <lambda>z,CreateRouteRequest.to_dict.<locals>.<lambda>  s!    WQ	-B-BIaiikkk r*   rI   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rI   r   rJ   )items    r(   rM   z,CreateRouteRequest.to_dict.<locals>.<lambda>  s<    tAw	22"=$q'47??+<+<!=!=8< r*   )six	iteritemsswagger_typesgetattr
isinstancelistmaprK   rI   dictitems
issubclassr   )r'   resultattr_valuekeys         r(   rI   zCreateRouteRequest.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pformatrI   r-   s    r(   to_strzCreateRouteRequest.to_str  s    ~dllnn---r*   c                 *    |                                  S )zFor `print` and `pprint`)rc   r-   s    r(   __repr__zCreateRouteRequest.__repr__#  s    {{}}r*   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrU   r   rI   r'   others     r(   __eq__zCreateRouteRequest.__eq__'  s5    %!344 	5||~~00r*   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrg   rh   s     r(   __ne__zCreateRouteRequest.__ne__.  s5    %!344 	4||~~00r*   )	NNNNNNNNN)__name__
__module____qualname____doc__rS   attribute_mapr)   propertyr   setterr   r   r   r   r   r   r   rI   rc   re   rj   rl    r*   r(   r   r      s        
 A@4@	 	M .-!!'	 	M/ / / /> & & X& 2 2 2   X ]  ] & & X& 2 2 2     X  & & &   X 
[
 
 [
   X _" " _"     X  
& 
& 
& # # X# , , ,  6. . .  1 1 11 1 1 1 1r*   r   )rp   ra   rerQ   volcenginesdkcore.configurationr   objectr   rt   r*   r(   <module>rx      s|      				 



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