
    ~iP\                     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  
    cloud_trail20180101

    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 )CLOUDTRAIL20180101ApizNOTE: 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/volcenginesdkcloudtrail20180101/api/cloud_trail20180101_api.py__init__zCLOUDTRAIL20180101Api.__init__   s!    *466J$    c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  create_trail  # 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_trail(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateTrailRequest body: (required)
        :return: CreateTrailResponse
                 If the method is called asynchronously,
                 returns the request thread.
        T_return_http_data_only	async_req)getcreate_trail_with_http_infor   bodykwargsdatas       r   create_trailz"CLOUDTRAIL20180101Api.create_trail$   ]     ,0'(::k"" 	343DCCFCCC5T5dEEfEET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_trail  # 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_trail_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateTrailRequest body: (required)
        :return: CreateTrailResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   _preload_content_request_timeoutr   z>Got an unexpected keyword argument '%s' to method create_trailNzAMissing the required parameter `body` when calling `create_trail`application/jsonAccept!application/x-www-form-urlencodedContent-TypevolcengineSignzK/CreateTrail/2018-01-01/cloud_trail/post/application_x-www-form-urlencoded/POSTCreateTrailResponseT
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   z1CLOUDTRAIL20180101Api.create_trail_with_http_info9       X
+&&&2333,---,---fX&677 	 	HC*$$.034   F3KK8?1 	bvV7K7K7=f~7M`aaaV .K"&/"F"F #" #"h )-(R(R01)3 )3n% **''Y[a#!/'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  delete_trail  # 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_trail(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteTrailRequest body: (required)
        :return: DeleteTrailResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   delete_trail_with_http_infor   s       r   delete_trailz"CLOUDTRAIL20180101Api.delete_trail   r   r   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    dg          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  delete_trail  # 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_trail_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteTrailRequest body: (required)
        :return: DeleteTrailResponse
                 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_trailNzAMissing the required parameter `body` when calling `delete_trail`r   r   r   r    r!   zK/DeleteTrail/2018-01-01/cloud_trail/post/application_x-www-form-urlencoded/r"   DeleteTrailResponseTr$   r*   r5   s                  r   rB   z1CLOUDTRAIL20180101Api.delete_trail_with_http_info   r@   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  describe_trails  # 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_trails(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DescribeTrailsRequest body: (required)
        :return: DescribeTrailsResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   describe_trails_with_http_infor   s       r   describe_trailsz%CLOUDTRAIL20180101Api.describe_trails   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_trails  # 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_trails_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DescribeTrailsRequest body: (required)
        :return: DescribeTrailsResponse
                 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_trailsNzDMissing the required parameter `body` when calling `describe_trails`r   r   r   r    r!   zN/DescribeTrails/2018-01-01/cloud_trail/post/application_x-www-form-urlencoded/r"   DescribeTrailsResponseTr$   r*   r5   s                  r   rG   z4CLOUDTRAIL20180101Api.describe_trails_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01)3 )3n% **''\^d#!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  start_logging  # noqa: E501

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

        :param async_req bool
        :param StartLoggingRequest body: (required)
        :return: StartLoggingResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   start_logging_with_http_infor   s       r   start_loggingz#CLOUDTRAIL20180101Api.start_loggingG  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  start_logging  # noqa: E501

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

        :param async_req bool
        :param StartLoggingRequest body: (required)
        :return: StartLoggingResponse
                 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 start_loggingNzBMissing the required parameter `body` when calling `start_logging`r   r   r   r    r!   zL/StartLogging/2018-01-01/cloud_trail/post/application_x-www-form-urlencoded/r"   StartLoggingResponseTr$   r*   r5   s                  r   rL   z2CLOUDTRAIL20180101Api.start_logging_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01)3 )3n% **''Z\b#!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  stop_logging  # noqa: E501

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

        :param async_req bool
        :param StopLoggingRequest body: (required)
        :return: StopLoggingResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   stop_logging_with_http_infor   s       r   stop_loggingz"CLOUDTRAIL20180101Api.stop_logging  r   r   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    dg          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  stop_logging  # noqa: E501

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

        :param async_req bool
        :param StopLoggingRequest body: (required)
        :return: StopLoggingResponse
                 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 stop_loggingNzAMissing the required parameter `body` when calling `stop_logging`r   r   r   r    r!   zK/StopLogging/2018-01-01/cloud_trail/post/application_x-www-form-urlencoded/r"   StopLoggingResponseTr$   r*   r5   s                  r   rQ   z1CLOUDTRAIL20180101Api.stop_logging_with_http_info  r@   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  update_trail  # 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_trail(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param UpdateTrailRequest body: (required)
        :return: UpdateTrailResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   update_trail_with_http_infor   s       r   update_trailz"CLOUDTRAIL20180101Api.update_trail	  r   r   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    dg          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  update_trail  # 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_trail_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param UpdateTrailRequest body: (required)
        :return: UpdateTrailResponse
                 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_trailNzAMissing the required parameter `body` when calling `update_trail`r   r   r   r    r!   zK/UpdateTrail/2018-01-01/cloud_trail/post/application_x-www-form-urlencoded/r"   UpdateTrailResponseTr$   r*   r5   s                  r   rV   z1CLOUDTRAIL20180101Api.update_trail_with_http_info  r@   r   r   )__name__
__module____qualname____doc__r   r   r   rC   rB   rH   rG   rM   rL   rR   rQ   rW   rV    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>rb      s     ' & & & & & 				 


    P	3 P	3 P	3 P	3 P	3F P	3 P	3 P	3 P	3 P	3r   