
    ~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 )z
    cloud_trail

    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S )CLOUDTRAILApizNOTE: 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     t/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkcloudtrail/api/cloud_trail_api.py__init__zCLOUDTRAILApi.__init__   s!    *466J$    c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  lookup_events  # noqa: E501

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

        :param async_req bool
        :param LookupEventsRequest body: (required)
        :return: LookupEventsResponse
                 If the method is called asynchronously,
                 returns the request thread.
        T_return_http_data_only	async_req)getlookup_events_with_http_info)r   bodykwargsdatas       r   lookup_eventszCLOUDTRAILApi.lookup_events$   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  lookup_events  # noqa: E501

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

        :param async_req bool
        :param LookupEventsRequest body: (required)
        :return: LookupEventsResponse
                 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 lookup_eventsNzBMissing the required parameter `body` when calling `lookup_events`zapplication/jsonAcceptzContent-TypevolcengineSignz;/LookupEvents/2021-09-01/cloud_trail/post/application_json/POSTLookupEventsResponseT)
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   z*CLOUDTRAILApi.lookup_events_with_http_info9   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% **''I6#!0'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   r   )__name__
__module____qualname____doc__r   r   r    r   r   r   r      sU         % % % %
  *J3 J3 J3 J3 J3r   r   )r;   
__future__r   rer&   r   objectr   r<   r   r   <module>r@      s     ' & & & & & 				 


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