
    ~i+B                     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
    dataleap

    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                   J    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S )DATALEAPApizNOTE: 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     o/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkdataleap/api/dataleap_api.py__init__zDATALEAPApi.__init__   s!    *466J$    c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a9  d_ts_open_describe_resource_groups  # noqa: E501

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

        :param async_req bool
        :param DTSOpenDescribeResourceGroupsRequest body: (required)
        :return: DTSOpenDescribeResourceGroupsResponse
                 If the method is called asynchronously,
                 returns the request thread.
        T_return_http_data_only	async_req)get1d_ts_open_describe_resource_groups_with_http_infor   bodykwargsdatas       r   "d_ts_open_describe_resource_groupsz.DATALEAPApi.d_ts_open_describe_resource_groups$   _     ,0'(::k"" 	I4I$YYRXYYYKTKD[[TZ[[T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 )aH  d_ts_open_describe_resource_groups  # noqa: E501

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

        :param async_req bool
        :param DTSOpenDescribeResourceGroupsRequest body: (required)
        :return: DTSOpenDescribeResourceGroupsResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   _preload_content_request_timeoutr   zTGot an unexpected keyword argument '%s' to method d_ts_open_describe_resource_groupsNzWMissing the required parameter `body` when calling `d_ts_open_describe_resource_groups`application/jsonAccept
text/plainContent-TypevolcengineSignzB/DTSOpenDescribeResourceGroups/2024-02-01/dataleap/get/text_plain/GET%DTSOpenDescribeResourceGroupsResponseT
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   z=DATALEAPApi.d_ts_open_describe_resource_groups_with_http_info9   s    X
+&&&2333,---,---fX&677 	 	HC*$$DFIJ   F3KK8?1 	xvV7K7K7=f~7MvwwwV .K"&/"F"F #" #"h )-(R(RN) )n% **''PRW#!A'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 )a7  d_ts_open_list_tag_resource_groups  # noqa: E501

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

        :param async_req bool
        :param DTSOpenListTagResourceGroupsRequest body: (required)
        :return: DTSOpenListTagResourceGroupsResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   1d_ts_open_list_tag_resource_groups_with_http_infor   s       r   "d_ts_open_list_tag_resource_groupsz.DATALEAPApi.d_ts_open_list_tag_resource_groups   r   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 )aF  d_ts_open_list_tag_resource_groups  # noqa: E501

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

        :param async_req bool
        :param DTSOpenListTagResourceGroupsRequest body: (required)
        :return: DTSOpenListTagResourceGroupsResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zTGot an unexpected keyword argument '%s' to method d_ts_open_list_tag_resource_groupsNzWMissing the required parameter `body` when calling `d_ts_open_list_tag_resource_groups`r   r   r   r    r!   zA/DTSOpenListTagResourceGroups/2024-02-01/dataleap/get/text_plain/r"   $DTSOpenListTagResourceGroupsResponseTr$   r*   r5   s                  r   rA   z=DATALEAPApi.d_ts_open_list_tag_resource_groups_with_http_info   s    X
+&&&2333,---,---fX&677 	 	HC*$$DFIJ   F3KK8?1 	xvV7K7K7=f~7MvwwwV .K"&/"F"F #" #"h )-(R(RN) )n% **''OQV#!@'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%  d_ts_open_tag_resource_groups  # noqa: E501

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

        :param async_req bool
        :param DTSOpenTagResourceGroupsRequest body: (required)
        :return: DTSOpenTagResourceGroupsResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   ,d_ts_open_tag_resource_groups_with_http_infor   s       r   d_ts_open_tag_resource_groupsz)DATALEAPApi.d_ts_open_tag_resource_groups   s]     ,0'(::k"" 	D4DTTTVTTTFTFtVVvVVT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 )a4  d_ts_open_tag_resource_groups  # noqa: E501

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

        :param async_req bool
        :param DTSOpenTagResourceGroupsRequest body: (required)
        :return: DTSOpenTagResourceGroupsResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zOGot an unexpected keyword argument '%s' to method d_ts_open_tag_resource_groupsNzRMissing the required parameter `body` when calling `d_ts_open_tag_resource_groups`r   r   r   r    r!   z=/DTSOpenTagResourceGroups/2024-02-01/dataleap/get/text_plain/r"    DTSOpenTagResourceGroupsResponseTr$   r*   r5   s                  r   rF   z8DATALEAPApi.d_ts_open_tag_resource_groups_with_http_info   s    X
+&&&2333,---,---fX&677 	 	HC*$$?ADE   F3KK8?1 	svV7K7K7=f~7MqrrrV .K"&/"F"F #" #"h )-(R(RN) )n% **''KU#!<'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-  d_ts_open_untag_resource_groups  # noqa: E501

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

        :param async_req bool
        :param DTSOpenUntagResourceGroupsRequest body: (required)
        :return: DTSOpenUntagResourceGroupsResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   .d_ts_open_untag_resource_groups_with_http_infor   s       r   d_ts_open_untag_resource_groupsz+DATALEAPApi.d_ts_open_untag_resource_groupsG  s^     ,0'(::k"" 	F4FtVVvVVVHTHXXQWXXT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<  d_ts_open_untag_resource_groups  # noqa: E501

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

        :param async_req bool
        :param DTSOpenUntagResourceGroupsRequest body: (required)
        :return: DTSOpenUntagResourceGroupsResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zQGot an unexpected keyword argument '%s' to method d_ts_open_untag_resource_groupsNzTMissing the required parameter `body` when calling `d_ts_open_untag_resource_groups`r   r   r   r    r!   z?/DTSOpenUntagResourceGroups/2024-02-01/dataleap/get/text_plain/r"   "DTSOpenUntagResourceGroupsResponseTr$   r*   r5   s                  r   rK   z:DATALEAPApi.d_ts_open_untag_resource_groups_with_http_info\  s    X
+&&&2333,---,---fX&677 	 	HC*$$ACFG   F3KK8?1 	uvV7K7K7=f~7MstttV .K"&/"F"F #" #"h )-(R(RN) )n% **''Mu#!>'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   r   )__name__
__module____qualname____doc__r   r   r   rB   rA   rG   rF   rL   rK    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3 J3 J3r   r   )rR   
__future__r   rer-   r   objectr   rS   r   r   <module>rW      s     ' & & & & & 				 


    N3 N3 N3 N3 N3& N3 N3 N3 N3 N3r   