
    ~i[                     J    d Z ddlmZ ddlZddlZddl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
    )absolute_importNc                   b    e Zd ZdZddZd Zd Zd Zd Zd Z	d	 Z
d
 Zd Zd Zd Zd Zd ZdS )APIG20221112ApizNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    Ref: https://github.com/swagger-api/swagger-codegen
    Nc                 >    |t          j                    }|| _        d S N)volcenginesdkcore	ApiClient
api_client)selfr
   s     w/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkapig20221112/api/apig20221112_api.py__init__zAPIG20221112Api.__init__   s!    *466J$    c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  check_route_exist  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.check_route_exist(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CheckRouteExistRequest body: (required)
        :return: CheckRouteExistResponse
                 If the method is called asynchronously,
                 returns the request thread.
        T_return_http_data_only	async_req)get check_route_exist_with_http_infor   bodykwargsdatas       r   check_route_existz!APIG20221112Api.check_route_exist$   s]     ,0'(::k"" 	848HHHHH:T:4JJ6JJTKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a
  check_route_exist  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.check_route_exist_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CheckRouteExistRequest body: (required)
        :return: CheckRouteExistResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   _preload_content_request_timeoutr   zCGot an unexpected keyword argument '%s' to method check_route_existNzFMissing the required parameter `body` when calling `check_route_exist`application/jsonAcceptContent-TypevolcengineSignz7/CheckRouteExist/2022-11-12/apig/post/application_json/POSTCheckRouteExistResponseT
r   post_paramsfilesresponse_typeauth_settingsr   r   r   r   collection_formatsappendlocalssix	iteritems	TypeErrorr
   client_side_validation
ValueErrorselect_header_acceptselect_header_content_typecall_apir   r   r   r   
all_paramsparamskeyvalr'   path_paramsquery_paramsheader_paramsform_paramslocal_var_filesbody_paramsr&   s                  r   r   z0APIG20221112Api.check_route_exist_with_http_info9   s    X
+&&&2333,---,---fX&677 	 	HC*$$3589   F3KK8?1 	gvV7K7K7=f~7MefffV .K"&/"F"F #" #"h )-(R(R )" )"n% **''Ev#!3'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  create_route  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_route(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateRouteRequest body: (required)
        :return: CreateRouteResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   create_route_with_http_infor   s       r   create_routezAPIG20221112Api.create_route   ]     ,0'(::k"" 	343DCCFCCC5T5dEEfEETKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  create_route  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_route_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateRouteRequest body: (required)
        :return: CreateRouteResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   z>Got an unexpected keyword argument '%s' to method create_routeNzAMissing the required parameter `body` when calling `create_route`r   r   r   r   z3/CreateRoute/2022-11-12/apig/post/application_json/r    CreateRouteResponseTr"   r(   r3   s                  r   r?   z+APIG20221112Api.create_route_with_http_info       X
+&&&2333,---,---fX&677 	 	HC*$$.034   F3KK8?1 	bvV7K7K7=f~7M`aaaV .K"&/"F"F #" #"h )-(R(R )" )"n% **''A6#!/'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  delete_route  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_route(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteRouteRequest body: (required)
        :return: DeleteRouteResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   delete_route_with_http_infor   s       r   delete_routezAPIG20221112Api.delete_route   rA   r   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  delete_route  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_route_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteRouteRequest body: (required)
        :return: DeleteRouteResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   z>Got an unexpected keyword argument '%s' to method delete_routeNzAMissing the required parameter `body` when calling `delete_route`r   r   r   r   z3/DeleteRoute/2022-11-12/apig/post/application_json/r    DeleteRouteResponseTr"   r(   r3   s                  r   rF   z+APIG20221112Api.delete_route_with_http_info   rD   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  get_route  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_route(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param GetRouteRequest body: (required)
        :return: GetRouteResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   get_route_with_http_infor   s       r   	get_routezAPIG20221112Api.get_routeG  s]     ,0'(::k"" 	040@@@@@2T24BB6BBTKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  get_route  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_route_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param GetRouteRequest body: (required)
        :return: GetRouteResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   z;Got an unexpected keyword argument '%s' to method get_routeNz>Missing the required parameter `body` when calling `get_route`r   r   r   r   z0/GetRoute/2022-11-12/apig/post/application_json/r    GetRouteResponseTr"   r(   r3   s                  r   rK   z(APIG20221112Api.get_route_with_http_info\  s    X
+&&&2333,---,---fX&677 	 	HC*$$+-01   F3KK8?1 	_vV7K7K7=f~7M]^^^V .K"&/"F"F #" #"h )-(R(R )" )"n% **''>#!,'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  list_routes  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.list_routes(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListRoutesRequest body: (required)
        :return: ListRoutesResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   list_routes_with_http_infor   s       r   list_routeszAPIG20221112Api.list_routes  s]     ,0'(::k"" 	2424BB6BBB4T4TDDVDDTKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  list_routes  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.list_routes_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListRoutesRequest body: (required)
        :return: ListRoutesResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   z=Got an unexpected keyword argument '%s' to method list_routesNz@Missing the required parameter `body` when calling `list_routes`r   r   r   r   z2/ListRoutes/2022-11-12/apig/post/application_json/r    ListRoutesResponseTr"   r(   r3   s                  r   rP   z*APIG20221112Api.list_routes_with_http_info  s    X
+&&&2333,---,---fX&677 	 	HC*$$-/23   F3KK8?1 	avV7K7K7=f~7M_```V .K"&/"F"F #" #"h )-(R(R )" )"n% **''@&#!.'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  update_route  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.update_route(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param UpdateRouteRequest body: (required)
        :return: UpdateRouteResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   update_route_with_http_infor   s       r   update_routezAPIG20221112Api.update_route	  rA   r   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  update_route  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.update_route_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param UpdateRouteRequest body: (required)
        :return: UpdateRouteResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   z>Got an unexpected keyword argument '%s' to method update_routeNzAMissing the required parameter `body` when calling `update_route`r   r   r   r   z3/UpdateRoute/2022-11-12/apig/post/application_json/r    UpdateRouteResponseTr"   r(   r3   s                  r   rU   z+APIG20221112Api.update_route_with_http_info  rD   r   r   )__name__
__module____qualname____doc__r   r   r   r@   r?   rG   rF   rL   rK   rQ   rP   rV   rU    r   r   r   r      s         % % % %
  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3 J3 J3r   r   )r\   
__future__r   rer+   r   objectr   r]   r   r   <module>ra      s     ' & & & & & 				 


    P	3 P	3 P	3 P	3 P	3f P	3 P	3 P	3 P	3 P	3r   