
    ;gA                     V    d Z ddlmZ ddlZddlZddlmZ ddlmZm	Z	  G d de
      Zy)z
    Kubernetes

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

    The version of the OpenAPI document: release-1.32
    Generated by: https://openapi-generator.tech
    )absolute_importN)	ApiClient)ApiTypeErrorApiValueErrorc                   $    e Zd ZdZddZd Zd Zy)	EventsApizNOTE: This class is auto generated by OpenAPI Generator
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    Nc                 *    |
t               }|| _        y N)r   
api_client)selfr   s     U/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/api/events_api.py__init__zEventsApi.__init__"   s    "J$    c                 0    d|d<    | j                   di |S )a  get_api_group  # noqa: E501

        get information of a group  # 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_api_group(async_req=True)
        >>> result = thread.get()

        :param async_req bool: execute request asynchronously
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1APIGroup
                 If the method is called asynchronously,
                 returns the request thread.
        T_return_http_data_only )get_api_group_with_http_info)r   kwargss     r   get_api_groupzEventsApi.get_api_group'   s%    * ,0'(0t00:6::r   c                    t               }g }|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= i }i }g }i }	g }
i }d}| j
                  j                  g d      |	d<   dg}| j
                  j                  dd	|||	||
|d
||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a  get_api_group  # noqa: E501

        get information of a group  # 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_api_group_with_http_info(async_req=True)
        >>> result = thread.get()

        :param async_req bool: execute request asynchronously
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1APIGroup, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        )	async_reqr   _preload_content_request_timeoutr   z?Got an unexpected keyword argument '%s' to method get_api_groupN)zapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufAcceptBearerTokenz/apis/events.k8s.io/GET
V1APIGroupr   r   r   Tr   )
bodypost_paramsfilesresponse_typeauth_settingsr   r   r   r   collection_formats)	localsextendsix	iteritemsr   r   select_header_acceptcall_apiget)r   r   local_var_params
all_paramskeyvalr#   path_paramsquery_paramsheader_paramsform_paramslocal_var_filesbody_paramsr"   s                 r   r   z&EventsApi.get_api_group_with_http_info?   sB   0 "8

	
 &6x&@AHC*$"/145  %(S! B X&"&//"F"F[#]h '''"E#!&'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   r
   )__name__
__module____qualname____doc__r   r   r   r   r   r   r   r      s    %
;0O3r   r   )r8   
__future__r   rer&   kubernetes.client.api_clientr   kubernetes.client.exceptionsr   r   objectr   r   r   r   <module>r>      s-    ' 	  2s3 s3r   