o
    3IhD                     @   sP   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 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.33
    Generated by: https://openapi-generator.tech
    )absolute_importN)	ApiClient)ApiTypeErrorApiValueErrorc                   @   s*   e Zd ZdZd	ddZdd Zdd ZdS )
AutoscalingApizNOTE: This class is auto generated by OpenAPI Generator
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    Nc                 C   s   |d u rt  }|| _d S N)r   
api_client)selfr    r
   e/home/air/sanwanet/gpt-api/venv/lib/python3.10/site-packages/kubernetes/client/api/autoscaling_api.py__init__"   s   
zAutoscalingApi.__init__c                 K   s   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_onlyNr
   )get_api_group_with_http_info)r	   kwargsr
   r
   r   get_api_group'   s   zAutoscalingApi.get_api_groupc                 K   s   t  }g }|g d t|d D ]\}}||vr!td| |||< q|d= i }i }g }i }	g }
i }d}| jg d|	d< dg}| jjd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 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/autoscaling/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   r
   r
   r   r   ?   sR   	

z+AutoscalingApi.get_api_group_with_http_infor   )__name__
__module____qualname____doc__r   r   r   r
   r
   r
   r   r      s
    
r   )r2   
__future__r   rer    kubernetes.client.api_clientr   kubernetes.client.exceptionsr   r   objectr   r
   r
   r
   r   <module>   s   
