
    ~idN                     J    d Z ddlmZ ddlZddlZddlZ G d de          ZdS )z
    metakms

    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                   V    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S )
METAKMSApizNOTE: 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     m/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkmetakms/api/metakms_api.py__init__zMETAKMSApi.__init__   s!    *466J$    c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  batch_get_secret_value  # 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_get_secret_value(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param BatchGetSecretValueRequest body: (required)
        :return: BatchGetSecretValueResponse
                 If the method is called asynchronously,
                 returns the request thread.
        T_return_http_data_only	async_req)get%batch_get_secret_value_with_http_infor   bodykwargsdatas       r   batch_get_secret_valuez!METAKMSApi.batch_get_secret_value$   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  batch_get_secret_value  # 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_get_secret_value_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param BatchGetSecretValueRequest body: (required)
        :return: BatchGetSecretValueResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   _preload_content_request_timeoutr   zHGot an unexpected keyword argument '%s' to method batch_get_secret_valueNzKMissing the required parameter `body` when calling `batch_get_secret_value`application/jsonAcceptContent-TypevolcengineSignz>/BatchGetSecretValue/2025-08-02/metakms/post/application_json/POSTBatchGetSecretValueResponseT
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   z0METAKMSApi.batch_get_secret_value_with_http_info9   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% **''Lf#!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  describe_secret  # noqa: E501

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

        :param async_req bool
        :param DescribeSecretRequest body: (required)
        :return: DescribeSecretResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   describe_secret_with_http_infor   s       r   describe_secretzMETAKMSApi.describe_secret   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  describe_secret  # noqa: E501

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

        :param async_req bool
        :param DescribeSecretRequest body: (required)
        :return: DescribeSecretResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zAGot an unexpected keyword argument '%s' to method describe_secretNzDMissing the required parameter `body` when calling `describe_secret`r   r   r   r   z9/DescribeSecret/2025-08-02/metakms/post/application_json/r    DescribeSecretResponseTr"   r(   r3   s                  r   r?   z)METAKMSApi.describe_secret_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% **''G#!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  describe_secret_versions  # noqa: E501

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

        :param async_req bool
        :param DescribeSecretVersionsRequest body: (required)
        :return: DescribeSecretVersionsResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   'describe_secret_versions_with_http_infor   s       r   describe_secret_versionsz#METAKMSApi.describe_secret_versions   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&  describe_secret_versions  # noqa: E501

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

        :param async_req bool
        :param DescribeSecretVersionsRequest body: (required)
        :return: DescribeSecretVersionsResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zJGot an unexpected keyword argument '%s' to method describe_secret_versionsNzMMissing the required parameter `body` when calling `describe_secret_versions`r   r   r   r   zA/DescribeSecretVersions/2025-08-02/metakms/post/application_json/r    DescribeSecretVersionsResponseTr"   r(   r3   s                  r   rD   z2METAKMSApi.describe_secret_versions_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% **''OQW#!:'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  describe_secrets  # noqa: E501

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

        :param async_req bool
        :param DescribeSecretsRequest body: (required)
        :return: DescribeSecretsResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   describe_secrets_with_http_infor   s       r   describe_secretszMETAKMSApi.describe_secretsG  ]     ,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  describe_secrets  # noqa: E501

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

        :param async_req bool
        :param DescribeSecretsRequest body: (required)
        :return: DescribeSecretsResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zBGot an unexpected keyword argument '%s' to method describe_secretsNzEMissing the required parameter `body` when calling `describe_secrets`r   r   r   r   z:/DescribeSecrets/2025-08-02/metakms/post/application_json/r    DescribeSecretsResponseTr"   r(   r3   s                  r   rI   z*METAKMSApi.describe_secrets_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% **''H&#!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  get_secret_value  # 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_secret_value(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param GetSecretValueRequest body: (required)
        :return: GetSecretValueResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   get_secret_value_with_http_infor   s       r   get_secret_valuezMETAKMSApi.get_secret_value  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  get_secret_value  # 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_secret_value_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param GetSecretValueRequest body: (required)
        :return: GetSecretValueResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zBGot an unexpected keyword argument '%s' to method get_secret_valueNzEMissing the required parameter `body` when calling `get_secret_value`r   r   r   r   z9/GetSecretValue/2025-08-02/metakms/post/application_json/r    GetSecretValueResponseTr"   r(   r3   s                  r   rO   z*METAKMSApi.get_secret_value_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% **''G#!2'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   rP   rO    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3 J3 J3r   r   )rV   
__future__r   rer+   r   objectr   rW   r   r   <module>r[      s     ' & & & & & 				 


    o3 o3 o3 o3 o3 o3 o3 o3 o3 o3r   