
    ~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_prod20250521

    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S )SPEECHSAASPROD20250521ApizNOTE: 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/volcenginesdkspeechsaasprod20250521/api/speech_saas_prod20250521_api.py__init__z"SPEECHSAASPROD20250521Api.__init__   s!    *466J$    c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a1  batch_list_mega_tts_train_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.batch_list_mega_tts_train_status(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param BatchListMegaTTSTrainStatusRequest body: (required)
        :return: BatchListMegaTTSTrainStatusResponse
                 If the method is called asynchronously,
                 returns the request thread.
        T_return_http_data_only	async_req)get/batch_list_mega_tts_train_status_with_http_infor   bodykwargsdatas       r    batch_list_mega_tts_train_statusz:SPEECHSAASPROD20250521Api.batch_list_mega_tts_train_status$   s_     ,0'(::k"" 	G4GWWPVWWWITI$YYRXYYT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@  batch_list_mega_tts_train_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.batch_list_mega_tts_train_status_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param BatchListMegaTTSTrainStatusRequest body: (required)
        :return: BatchListMegaTTSTrainStatusResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   _preload_content_request_timeoutr   zRGot an unexpected keyword argument '%s' to method batch_list_mega_tts_train_statusNzUMissing the required parameter `body` when calling `batch_list_mega_tts_train_status`application/jsonAcceptContent-TypevolcengineSignzO/BatchListMegaTTSTrainStatus/2025-05-21/speech_saas_prod/post/application_json/POST#BatchListMegaTTSTrainStatusResponseT
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   zISPEECHSAASPROD20250521Api.batch_list_mega_tts_train_status_with_http_info9   s    X
+&&&2333,---,---fX&677 	 	HC*$$BDGH   F3KK8?1 	vvV7K7K7=f~7MtuuuV .K"&/"F"F #" #"h )-(R(R )" )"n% **'']_e#!?'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_mega_tts_train_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.list_mega_tts_train_status(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListMegaTTSTrainStatusRequest body: (required)
        :return: ListMegaTTSTrainStatusResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   )list_mega_tts_train_status_with_http_infor   s       r   list_mega_tts_train_statusz4SPEECHSAASPROD20250521Api.list_mega_tts_train_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*  list_mega_tts_train_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.list_mega_tts_train_status_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListMegaTTSTrainStatusRequest body: (required)
        :return: ListMegaTTSTrainStatusResponse
                 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_mega_tts_train_statusNzOMissing the required parameter `body` when calling `list_mega_tts_train_status`r   r   r   r   zJ/ListMegaTTSTrainStatus/2025-05-21/speech_saas_prod/post/application_json/r    ListMegaTTSTrainStatusResponseTr"   r(   r3   s                  r   r?   zCSPEECHSAASPROD20250521Api.list_mega_tts_train_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% **''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_tags_for_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.list_tags_for_resources(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListTagsForResourcesRequest body: (required)
        :return: ListTagsForResourcesResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   &list_tags_for_resources_with_http_infor   s       r   list_tags_for_resourcesz1SPEECHSAASPROD20250521Api.list_tags_for_resources   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   list_tags_for_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.list_tags_for_resources_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListTagsForResourcesRequest body: (required)
        :return: ListTagsForResourcesResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zIGot an unexpected keyword argument '%s' to method list_tags_for_resourcesNzLMissing the required parameter `body` when calling `list_tags_for_resources`r   r   r   r   zH/ListTagsForResources/2025-05-21/speech_saas_prod/post/application_json/r    ListTagsForResourcesResponseTr"   r(   r3   s                  r   rD   z@SPEECHSAASPROD20250521Api.list_tags_for_resources_with_http_info   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% **''VX^#!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!  order_access_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_access_resource_packs(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param OrderAccessResourcePacksRequest body: (required)
        :return: OrderAccessResourcePacksResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   *order_access_resource_packs_with_http_infor   s       r   order_access_resource_packsz5SPEECHSAASPROD20250521Api.order_access_resource_packsG  ]     ,0'(::k"" 	B4B4RR6RRRDTDTTTVTTT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 )a0  order_access_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_access_resource_packs_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param OrderAccessResourcePacksRequest body: (required)
        :return: OrderAccessResourcePacksResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zMGot an unexpected keyword argument '%s' to method order_access_resource_packsNzPMissing the required parameter `body` when calling `order_access_resource_packs`r   r   r   r   zL/OrderAccessResourcePacks/2025-05-21/speech_saas_prod/post/application_json/r     OrderAccessResourcePacksResponseTr"   r(   r3   s                  r   rI   zDSPEECHSAASPROD20250521Api.order_access_resource_packs_with_http_info\      X
+&&&2333,---,---fX&677 	 	HC*$$=?BC   F3KK8?1 	qvV7K7K7=f~7MopppV .K"&/"F"F #" #"h )-(R(R )" )"n% **''Z\b#!<'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  quota_monitoring  # noqa: E501

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

        :param async_req bool
        :param QuotaMonitoringRequest body: (required)
        :return: QuotaMonitoringResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   quota_monitoring_with_http_infor   s       r   quota_monitoringz*SPEECHSAASPROD20250521Api.quota_monitoring  ]     ,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  quota_monitoring  # noqa: E501

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

        :param async_req bool
        :param QuotaMonitoringRequest body: (required)
        :return: QuotaMonitoringResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zBGot an unexpected keyword argument '%s' to method quota_monitoringNzEMissing the required parameter `body` when calling `quota_monitoring`r   r   r   r   zC/QuotaMonitoring/2025-05-21/speech_saas_prod/post/application_json/r    QuotaMonitoringResponseTr"   r(   r3   s                  r   rP   z9SPEECHSAASPROD20250521Api.quota_monitoring_with_http_info      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!  renew_access_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.renew_access_resource_packs(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param RenewAccessResourcePacksRequest body: (required)
        :return: RenewAccessResourcePacksResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   *renew_access_resource_packs_with_http_infor   s       r   renew_access_resource_packsz5SPEECHSAASPROD20250521Api.renew_access_resource_packs	  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 )a0  renew_access_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.renew_access_resource_packs_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param RenewAccessResourcePacksRequest body: (required)
        :return: RenewAccessResourcePacksResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zMGot an unexpected keyword argument '%s' to method renew_access_resource_packsNzPMissing the required parameter `body` when calling `renew_access_resource_packs`r   r   r   r   zL/RenewAccessResourcePacks/2025-05-21/speech_saas_prod/post/application_json/r     RenewAccessResourcePacksResponseTr"   r(   r3   s                  r   rW   zDSPEECHSAASPROD20250521Api.renew_access_resource_packs_with_http_info  rN   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  tag_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.tag_resources(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param TagResourcesRequest body: (required)
        :return: TagResourcesResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   tag_resources_with_http_infor   s       r   tag_resourcesz'SPEECHSAASPROD20250521Api.tag_resourcesj  s]     ,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  tag_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.tag_resources_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param TagResourcesRequest body: (required)
        :return: TagResourcesResponse
                 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 tag_resourcesNzBMissing the required parameter `body` when calling `tag_resources`r   r   r   r   z@/TagResources/2025-05-21/speech_saas_prod/post/application_json/r    TagResourcesResponseTr"   r(   r3   s                  r   r\   z6SPEECHSAASPROD20250521Api.tag_resources_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% **''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  untag_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.untag_resources(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param UntagResourcesRequest body: (required)
        :return: UntagResourcesResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   untag_resources_with_http_infor   s       r   untag_resourcesz)SPEECHSAASPROD20250521Api.untag_resources  s]     ,0'(::k"" 	646tFFvFFF8T8HHHHT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  untag_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.untag_resources_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param UntagResourcesRequest body: (required)
        :return: UntagResourcesResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zAGot an unexpected keyword argument '%s' to method untag_resourcesNzDMissing the required parameter `body` when calling `untag_resources`r   r   r   r   zB/UntagResources/2025-05-21/speech_saas_prod/post/application_json/r    UntagResourcesResponseTr"   r(   r3   s                  r   ra   z8SPEECHSAASPROD20250521Api.untag_resources_with_http_info  s    X
+&&&2333,---,---fX&677 	 	HC*$$1367   F3KK8?1 	evV7K7K7=f~7McdddV .K"&/"F"F #" #"h )-(R(R )" )"n% **''PRX#!2'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  usage_monitoring  # noqa: E501

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

        :param async_req bool
        :param UsageMonitoringRequest body: (required)
        :return: UsageMonitoringResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   usage_monitoring_with_http_infor   s       r   usage_monitoringz*SPEECHSAASPROD20250521Api.usage_monitoring,  rR   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  usage_monitoring  # noqa: E501

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

        :param async_req bool
        :param UsageMonitoringRequest body: (required)
        :return: UsageMonitoringResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zBGot an unexpected keyword argument '%s' to method usage_monitoringNzEMissing the required parameter `body` when calling `usage_monitoring`r   r   r   r   zC/UsageMonitoring/2025-05-21/speech_saas_prod/post/application_json/r    UsageMonitoringResponseTr"   r(   r3   s                  r   rf   z9SPEECHSAASPROD20250521Api.usage_monitoring_with_http_infoA  rU   r   r   )__name__
__module____qualname____doc__r   r   r   r@   r?   rE   rD   rJ   rI   rQ   rP   rX   rW   r]   r\   rb   ra   rg   rf    r   r   r   r      se        % % % %
  *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   )rm   
__future__r   rer+   r   objectr   rn   r   r   <module>rr      s     ' & & & & & 				 


    s3 s3 s3 s3 s3 s3 s3 s3 s3 s3r   