
    ~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 )a  
    speech_saas_prod

    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                       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 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 Zd Zd Z d  Z!d! Z"dS )#SPEECHSAASPRODApizNOTE: 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/volcenginesdkspeechsaasprod/api/speech_saas_prod_api.py__init__zSPEECHSAASPRODApi.__init__   s!    *466J$    c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  activate_service  # noqa: E501

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

        :param async_req bool
        :param ActivateServiceRequest body: (required)
        :return: ActivateServiceResponse
                 If the method is called asynchronously,
                 returns the request thread.
        T_return_http_data_only	async_req)getactivate_service_with_http_infor   bodykwargsdatas       r   activate_servicez"SPEECHSAASPRODApi.activate_service$   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  activate_service  # noqa: E501

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

        :param async_req bool
        :param ActivateServiceRequest body: (required)
        :return: ActivateServiceResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   _preload_content_request_timeoutr   zBGot an unexpected keyword argument '%s' to method activate_serviceNzEMissing the required parameter `body` when calling `activate_service`application/jsonAcceptContent-TypevolcengineSignzC/ActivateService/2025-05-20/speech_saas_prod/post/application_json/POSTActivateServiceResponseT
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   z1SPEECHSAASPRODApi.activate_service_with_http_info9   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% **''QSY#!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  alias_resource_pack  # noqa: E501

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

        :param async_req bool
        :param AliasResourcePackRequest body: (required)
        :return: AliasResourcePackResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   "alias_resource_pack_with_http_infor   s       r   alias_resource_packz%SPEECHSAASPRODApi.alias_resource_pack   s]     ,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  alias_resource_pack  # noqa: E501

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

        :param async_req bool
        :param AliasResourcePackRequest body: (required)
        :return: AliasResourcePackResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zEGot an unexpected keyword argument '%s' to method alias_resource_packNzHMissing the required parameter `body` when calling `alias_resource_pack`r   r   r   r   zE/AliasResourcePack/2025-05-20/speech_saas_prod/post/application_json/r    AliasResourcePackResponseTr"   r(   r3   s                  r   r?   z4SPEECHSAASPRODApi.alias_resource_pack_with_http_info   s    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% **''SU[#!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  create_api_key  # 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_api_key(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateAPIKeyRequest body: (required)
        :return: CreateAPIKeyResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   create_api_key_with_http_infor   s       r   create_api_keyz SPEECHSAASPRODApi.create_api_key   ]     ,0'(::k"" 	545dEEfEEE7T7GGGGT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_api_key  # 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_api_key_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateAPIKeyRequest body: (required)
        :return: CreateAPIKeyResponse
                 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_api_keyNzCMissing the required parameter `body` when calling `create_api_key`r   r   r   r   z@/CreateAPIKey/2025-05-20/speech_saas_prod/post/application_json/r    CreateAPIKeyResponseTr"   r(   r3   s                  r   rD   z/SPEECHSAASPRODApi.create_api_key_with_http_info       X
+&&&2333,---,---fX&677 	 	HC*$$0256   F3KK8?1 	dvV7K7K7=f~7MbcccV .K"&/"F"F #" #"h )-(R(R )" )"n% **''NPV#!0'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_api_key  # 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_api_key(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteAPIKeyRequest body: (required)
        :return: DeleteAPIKeyResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   delete_api_key_with_http_infor   s       r   delete_api_keyz SPEECHSAASPRODApi.delete_api_keyG  rF   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_api_key  # 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_api_key_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteAPIKeyRequest body: (required)
        :return: DeleteAPIKeyResponse
                 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_api_keyNzCMissing the required parameter `body` when calling `delete_api_key`r   r   r   r   z@/DeleteAPIKey/2025-05-20/speech_saas_prod/post/application_json/r    DeleteAPIKeyResponseTr"   r(   r3   s                  r   rK   z/SPEECHSAASPRODApi.delete_api_key_with_http_info\  rI   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  formalize_resource_packs  # noqa: E501

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

        :param async_req bool
        :param FormalizeResourcePacksRequest body: (required)
        :return: FormalizeResourcePacksResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   'formalize_resource_packs_with_http_infor   s       r   formalize_resource_packsz*SPEECHSAASPRODApi.formalize_resource_packs  s]     ,0'(::k"" 	?4?OOOOOATA$QQ&QQT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&  formalize_resource_packs  # noqa: E501

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

        :param async_req bool
        :param FormalizeResourcePacksRequest body: (required)
        :return: FormalizeResourcePacksResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zJGot an unexpected keyword argument '%s' to method formalize_resource_packsNzMMissing the required parameter `body` when calling `formalize_resource_packs`r   r   r   r   zJ/FormalizeResourcePacks/2025-05-20/speech_saas_prod/post/application_json/r    FormalizeResourcePacksResponseTr"   r(   r3   s                  r   rP   z9SPEECHSAASPRODApi.formalize_resource_packs_with_http_info  s    X
+&&&2333,---,---fX&677 	 	HC*$$:<?@   F3KK8?1 	nvV7K7K7=f~7MlmmmV .K"&/"F"F #" #"h )-(R(R )" )"n% **''XZ`#!:'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_api_keys  # 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_api_keys(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListAPIKeysRequest body: (required)
        :return: ListAPIKeysResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   list_api_keys_with_http_infor   s       r   list_api_keyszSPEECHSAASPRODApi.list_api_keys	  ]     ,0'(::k"" 	444TDDVDDD6T6tFFvFFT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_api_keys  # 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_api_keys_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListAPIKeysRequest body: (required)
        :return: ListAPIKeysResponse
                 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_api_keysNzBMissing the required parameter `body` when calling `list_api_keys`r   r   r   r   z?/ListAPIKeys/2025-05-20/speech_saas_prod/post/application_json/r    ListAPIKeysResponseTr"   r(   r3   s                  r   rU   z.SPEECHSAASPRODApi.list_api_keys_with_http_info  s    X
+&&&2333,---,---fX&677 	 	HC*$$/145   F3KK8?1 	cvV7K7K7=f~7MabbbV .K"&/"F"F #" #"h )-(R(R )" )"n% **''Mv#!/'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_big_model_tts_timbres  # 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_big_model_tts_timbres(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListBigModelTTSTimbresRequest body: (required)
        :return: ListBigModelTTSTimbresResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   )list_big_model_tts_timbres_with_http_infor   s       r   list_big_model_tts_timbresz,SPEECHSAASPRODApi.list_big_model_tts_timbresj  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*  list_big_model_tts_timbres  # 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_big_model_tts_timbres_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListBigModelTTSTimbresRequest body: (required)
        :return: ListBigModelTTSTimbresResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zLGot an unexpected keyword argument '%s' to method list_big_model_tts_timbresNzOMissing the required parameter `body` when calling `list_big_model_tts_timbres`r   r   r   r   zJ/ListBigModelTTSTimbres/2025-05-20/speech_saas_prod/post/application_json/r    ListBigModelTTSTimbresResponseTr"   r(   r3   s                  r   r[   z;SPEECHSAASPRODApi.list_big_model_tts_timbres_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% **''XZ`#!:'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_speakers  # 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_speakers(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListSpeakersRequest body: (required)
        :return: ListSpeakersResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   list_speakers_with_http_infor   s       r   list_speakerszSPEECHSAASPRODApi.list_speakers  rW   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_speakers  # 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_speakers_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListSpeakersRequest body: (required)
        :return: ListSpeakersResponse
                 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_speakersNzBMissing the required parameter `body` when calling `list_speakers`r   r   r   r   z@/ListSpeakers/2025-05-20/speech_saas_prod/post/application_json/r    ListSpeakersResponseTr"   r(   r3   s                  r   r`   z.SPEECHSAASPRODApi.list_speakers_with_http_info      X
+&&&2333,---,---fX&677 	 	HC*$$/145   F3KK8?1 	cvV7K7K7=f~7MabbbV .K"&/"F"F #" #"h )-(R(R )" )"n% **''NPV#!0'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  order_resource_packs  # noqa: E501

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

        :param async_req bool
        :param OrderResourcePacksRequest body: (required)
        :return: OrderResourcePacksResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   #order_resource_packs_with_http_infor   s       r   order_resource_packsz&SPEECHSAASPRODApi.order_resource_packs,  s]     ,0'(::k"" 	;4;DKKFKKK=T=dMMfMMT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  order_resource_packs  # noqa: E501

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

        :param async_req bool
        :param OrderResourcePacksRequest body: (required)
        :return: OrderResourcePacksResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zFGot an unexpected keyword argument '%s' to method order_resource_packsNzIMissing the required parameter `body` when calling `order_resource_packs`r   r   r   r   zF/OrderResourcePacks/2025-05-20/speech_saas_prod/post/application_json/r    OrderResourcePacksResponseTr"   r(   r3   s                  r   rf   z5SPEECHSAASPRODApi.order_resource_packs_with_http_infoA  s    X
+&&&2333,---,---fX&677 	 	HC*$$68;<   F3KK8?1 	jvV7K7K7=f~7MhiiiV .K"&/"F"F #" #"h )-(R(R )" )"n% **''TV\#!6'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  pause_service  # noqa: E501

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

        :param async_req bool
        :param PauseServiceRequest body: (required)
        :return: PauseServiceResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   pause_service_with_http_infor   s       r   pause_servicezSPEECHSAASPRODApi.pause_service  rW   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  pause_service  # noqa: E501

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

        :param async_req bool
        :param PauseServiceRequest body: (required)
        :return: PauseServiceResponse
                 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 pause_serviceNzBMissing the required parameter `body` when calling `pause_service`r   r   r   r   z@/PauseService/2025-05-20/speech_saas_prod/post/application_json/r    PauseServiceResponseTr"   r(   r3   s                  r   rk   z.SPEECHSAASPRODApi.pause_service_with_http_info  rd   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  resource_packs_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.resource_packs_status(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ResourcePacksStatusRequest body: (required)
        :return: ResourcePacksStatusResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   $resource_packs_status_with_http_infor   s       r   resource_packs_statusz'SPEECHSAASPRODApi.resource_packs_status  s]     ,0'(::k"" 	<4<TLLVLLL>T>tNNvNNT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  resource_packs_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.resource_packs_status_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ResourcePacksStatusRequest body: (required)
        :return: ResourcePacksStatusResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zGGot an unexpected keyword argument '%s' to method resource_packs_statusNzJMissing the required parameter `body` when calling `resource_packs_status`r   r   r   r   zG/ResourcePacksStatus/2025-05-20/speech_saas_prod/post/application_json/r    ResourcePacksStatusResponseTr"   r(   r3   s                  r   rp   z6SPEECHSAASPRODApi.resource_packs_status_with_http_info  s    X
+&&&2333,---,---fX&677 	 	HC*$$79<=   F3KK8?1 	kvV7K7K7=f~7MijjjV .K"&/"F"F #" #"h )-(R(R )" )"n% **''UW]#!7'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  resume_service  # noqa: E501

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

        :param async_req bool
        :param ResumeServiceRequest body: (required)
        :return: ResumeServiceResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   resume_service_with_http_infor   s       r   resume_servicez SPEECHSAASPRODApi.resume_serviceO  rF   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   resume_service  # noqa: E501

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

        :param async_req bool
        :param ResumeServiceRequest body: (required)
        :return: ResumeServiceResponse
                 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 resume_serviceNzCMissing the required parameter `body` when calling `resume_service`r   r   r   r   zA/ResumeService/2025-05-20/speech_saas_prod/post/application_json/r    ResumeServiceResponseTr"   r(   r3   s                  r   ru   z/SPEECHSAASPRODApi.resume_service_with_http_infod      X
+&&&2333,---,---fX&677 	 	HC*$$0256   F3KK8?1 	dvV7K7K7=f~7MbcccV .K"&/"F"F #" #"h )-(R(R )" )"n% **''OQW#!1'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  service_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.service_status(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ServiceStatusRequest body: (required)
        :return: ServiceStatusResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   service_status_with_http_infor   s       r   service_statusz SPEECHSAASPRODApi.service_status  rF   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   service_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.service_status_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ServiceStatusRequest body: (required)
        :return: ServiceStatusResponse
                 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 service_statusNzCMissing the required parameter `body` when calling `service_status`r   r   r   r   zA/ServiceStatus/2025-05-20/speech_saas_prod/post/application_json/r    ServiceStatusResponseTr"   r(   r3   s                  r   r{   z/SPEECHSAASPRODApi.service_status_with_http_info  ry   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  terminate_service  # noqa: E501

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

        :param async_req bool
        :param TerminateServiceRequest body: (required)
        :return: TerminateServiceResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r    terminate_service_with_http_infor   s       r   terminate_servicez#SPEECHSAASPRODApi.terminate_service  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  terminate_service  # noqa: E501

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

        :param async_req bool
        :param TerminateServiceRequest body: (required)
        :return: TerminateServiceResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zCGot an unexpected keyword argument '%s' to method terminate_serviceNzFMissing the required parameter `body` when calling `terminate_service`r   r   r   r   zD/TerminateService/2025-05-20/speech_saas_prod/post/application_json/r    TerminateServiceResponseTr"   r(   r3   s                  r   r   z2SPEECHSAASPRODApi.terminate_service_with_http_info&  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% **''RTZ#!4'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_api_key  # 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_api_key(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param UpdateAPIKeyRequest body: (required)
        :return: UpdateAPIKeyResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   update_api_key_with_http_infor   s       r   update_api_keyz SPEECHSAASPRODApi.update_api_keyr  rF   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_api_key  # 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_api_key_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param UpdateAPIKeyRequest body: (required)
        :return: UpdateAPIKeyResponse
                 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_api_keyNzCMissing the required parameter `body` when calling `update_api_key`r   r   r   r   z@/UpdateAPIKey/2025-05-20/speech_saas_prod/post/application_json/r    UpdateAPIKeyResponseTr"   r(   r3   s                  r   r   z/SPEECHSAASPRODApi.update_api_key_with_http_info  rI   r   r   )#__name__
__module____qualname____doc__r   r   r   r@   r?   rE   rD   rL   rK   rQ   rP   rV   rU   r\   r[   ra   r`   rg   rf   rl   rk   rq   rp   rv   ru   r|   r{   r   r   r   r    r   r   r   r      s1        % % % %
  *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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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>r      s     ' & & & & & 				 


    y3 y3 y3 y3 y3 y3 y3 y3 y3 y3r   