
    ~iy^                     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 )a  
    resourcecenter

    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 )RESOURCECENTERApizNOTE: 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     {/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkresourcecenter/api/resourcecenter_api.py__init__zRESOURCECENTERApi.__init__   s!    *466J$    c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  disable_resource_center  # noqa: E501

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

        :param async_req bool
        :param DisableResourceCenterRequest body: (required)
        :return: DisableResourceCenterResponse
                 If the method is called asynchronously,
                 returns the request thread.
        T_return_http_data_only	async_req)get&disable_resource_center_with_http_infor   bodykwargsdatas       r   disable_resource_centerz)RESOURCECENTERApi.disable_resource_center$   s]     ,0'(::k"" 	>4>tNNvNNN@T@PPPPT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"  disable_resource_center  # noqa: E501

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

        :param async_req bool
        :param DisableResourceCenterRequest body: (required)
        :return: DisableResourceCenterResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   _preload_content_request_timeoutr   zIGot an unexpected keyword argument '%s' to method disable_resource_centerNzLMissing the required parameter `body` when calling `disable_resource_center`application/jsonAcceptContent-TypevolcengineSignzG/DisableResourceCenter/2023-06-01/resourcecenter/post/application_json/POSTDisableResourceCenterResponseT
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   z8RESOURCECENTERApi.disable_resource_center_with_http_info9   s    X
+&&&2333,---,---fX&677 	 	HC*$$9;>?   F3KK8?1 	mvV7K7K7=f~7MklllV .K"&/"F"F #" #"h )-(R(R )" )"n% **''UW]#!9'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  enable_resource_center  # noqa: E501

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

        :param async_req bool
        :param EnableResourceCenterRequest body: (required)
        :return: EnableResourceCenterResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   %enable_resource_center_with_http_infor   s       r   enable_resource_centerz(RESOURCECENTERApi.enable_resource_center   s]     ,0'(::k"" 	=4=dMMfMMM?T?OOOOT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  enable_resource_center  # noqa: E501

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

        :param async_req bool
        :param EnableResourceCenterRequest body: (required)
        :return: EnableResourceCenterResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zHGot an unexpected keyword argument '%s' to method enable_resource_centerNzKMissing the required parameter `body` when calling `enable_resource_center`r   r   r   r   zF/EnableResourceCenter/2023-06-01/resourcecenter/post/application_json/r    EnableResourceCenterResponseTr"   r(   r3   s                  r   r?   z7RESOURCECENTERApi.enable_resource_center_with_http_info   s    X
+&&&2333,---,---fX&677 	 	HC*$$8:=>   F3KK8?1 	lvV7K7K7=f~7MjkkkV .K"&/"F"F #" #"h )-(R(R )" )"n% **''TV\#!8'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  get_resource_center_status  # 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_resource_center_status(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param GetResourceCenterStatusRequest body: (required)
        :return: GetResourceCenterStatusResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   )get_resource_center_status_with_http_infor   s       r   get_resource_center_statusz,RESOURCECENTERApi.get_resource_center_status   s]     ,0'(::k"" 	A4A$QQ&QQQCTCDSSFSST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_resource_center_status  # 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_resource_center_status_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param GetResourceCenterStatusRequest body: (required)
        :return: GetResourceCenterStatusResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zLGot an unexpected keyword argument '%s' to method get_resource_center_statusNzOMissing the required parameter `body` when calling `get_resource_center_status`r   r   r   r   zI/GetResourceCenterStatus/2023-06-01/resourcecenter/post/application_json/r    GetResourceCenterStatusResponseTr"   r(   r3   s                  r   rD   z;RESOURCECENTERApi.get_resource_center_status_with_http_info   s    X
+&&&2333,---,---fX&677 	 	HC*$$<>AB   F3KK8?1 	pvV7K7K7=f~7MnoooV .K"&/"F"F #" #"h )-(R(R )" )"n% **''WY_#!;'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  get_resource_counts  # 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_resource_counts(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param GetResourceCountsRequest body: (required)
        :return: GetResourceCountsResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   "get_resource_counts_with_http_infor   s       r   get_resource_countsz%RESOURCECENTERApi.get_resource_countsG  ]     ,0'(::k"" 	:4:4JJ6JJJ<T<TLLVLLT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_resource_counts  # 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_resource_counts_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param GetResourceCountsRequest body: (required)
        :return: GetResourceCountsResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zEGot an unexpected keyword argument '%s' to method get_resource_countsNzHMissing the required parameter `body` when calling `get_resource_counts`r   r   r   r   zC/GetResourceCounts/2023-06-01/resourcecenter/post/application_json/r    GetResourceCountsResponseTr"   r(   r3   s                  r   rI   z4RESOURCECENTERApi.get_resource_counts_with_http_info\      X
+&&&2333,---,---fX&677 	 	HC*$$57:;   F3KK8?1 	ivV7K7K7=f~7MghhhV .K"&/"F"F #" #"h )-(R(R )" )"n% **''QSY#!5'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_resource_types  # 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_resource_types(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListResourceTypesRequest body: (required)
        :return: ListResourceTypesResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   "list_resource_types_with_http_infor   s       r   list_resource_typesz%RESOURCECENTERApi.list_resource_types  rK   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  list_resource_types  # 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_resource_types_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListResourceTypesRequest body: (required)
        :return: ListResourceTypesResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zEGot an unexpected keyword argument '%s' to method list_resource_typesNzHMissing the required parameter `body` when calling `list_resource_types`r   r   r   r   zC/ListResourceTypes/2023-06-01/resourcecenter/post/application_json/r    ListResourceTypesResponseTr"   r(   r3   s                  r   rP   z4RESOURCECENTERApi.list_resource_types_with_http_info  rN   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  search_resources  # noqa: E501

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

        :param async_req bool
        :param SearchResourcesRequest body: (required)
        :return: SearchResourcesResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   search_resources_with_http_infor   s       r   search_resourcesz"RESOURCECENTERApi.search_resources	  s]     ,0'(::k"" 	747GGGGG9T9$II&IIT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  search_resources  # noqa: E501

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

        :param async_req bool
        :param SearchResourcesRequest body: (required)
        :return: SearchResourcesResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zBGot an unexpected keyword argument '%s' to method search_resourcesNzEMissing the required parameter `body` when calling `search_resources`r   r   r   r   zA/SearchResources/2023-06-01/resourcecenter/post/application_json/r    SearchResourcesResponseTr"   r(   r3   s                  r   rU   z1RESOURCECENTERApi.search_resources_with_http_info  s    X
+&&&2333,---,---fX&677 	 	HC*$$2478   F3KK8?1 	fvV7K7K7=f~7MdeeeV .K"&/"F"F #" #"h )-(R(R )" )"n% **''OQW#!3'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   r   )__name__
__module____qualname____doc__r   r   r   r@   r?   rE   rD   rJ   rI   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	3 P	3 P	3 P	3 P	3 P	3r   