
    [j'                     ^    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dS )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.36
    Generated by: https://openapi-generator.tech
    )absolute_importN)	ApiClient)ApiTypeErrorApiValueErrorc                   &    e Zd ZdZddZd Zd ZdS )AuthenticationApizNOTE: This class is auto generated by OpenAPI Generator
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    Nc                 4    |t                      }|| _        d S N)r   
api_client)selfr   s     e/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes/client/api/authentication_api.py__init__zAuthenticationApi.__init__"   s    "J$    c                 &    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: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: V1APIGroup
        T_return_http_data_only )get_api_group_with_http_info)r   kwargss     r   get_api_groupzAuthenticationApi.get_api_group'   s(    2 ,0'(0t0::6:::r   c                    t                      }g }|                    g d           t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= i }i }g }t          |                    di                     }	g }
i }d}| j                            g d          |	d<   dg}d	dd
}| j        	                    dd|||	||
||||                    d          |                    d          |                    dd          |                    d          ||                    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: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :type _content_type: string, optional: force content-type for the request
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(V1APIGroup, status_code(int), headers(HTTPHeaderDict))
        )	async_reqr   _preload_content_request_timeout_request_auth_content_type_headersr   z?Got an unexpected keyword argument '%s' to method get_api_groupr   N)zapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufAcceptBearerToken
V1APIGroup)   i  z/apis/authentication.k8s.io/GETr   r   r   Tr   r   )bodypost_paramsfilesresponse_types_mapauth_settingsr   r   r   r   collection_formatsr   )
localsextendsix	iteritemsr   dictgetr   select_header_acceptcall_api)r   r   local_var_params
all_paramskeyvalr'   path_paramsquery_paramsheader_paramsform_paramslocal_var_filesbody_paramsr&   r%   s                  r   r   z.AuthenticationApi.get_api_group_with_http_infoC   s   D "88

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


 2 2 2 2 2 2       JA JA JA JA JA JA JA JA JA JAr   