
    M                     Z    d Z ddlmZ ddlZddlZddlZddlmZ ddlm	Z	  G d de
      Zy)	z
    Kubernetes

    No description provided (generated by Swagger Codegen
    https://github.com/swagger-api/swagger-codegen)

    OpenAPI spec version: v1.14.4

    Generated by: https://github.com/swagger-api/swagger-codegen.git
    )absolute_importN)	iteritems   )	ApiClientc                   $    e Zd ZdZddZd Zd Zy)AppsApiz
    NOTE: 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               }|| _        y N)r   
api_client)selfr   s     2lib/third_party/kubernetes/client/apis/apps_api.py__init__zAppsApi.__init__    s    ;j DO    c                 z    d|d<   |j                  d      r | j                  di |S  | j                  di |}|S )a  
        get information of a group
        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
        :return: V1APIGroup
                 If the method is called asynchronously,
                 returns the request thread.
        T_return_http_data_only	async_req )getget_api_group_with_http_info)r   kwargsdatas      r   get_api_groupzAppsApi.get_api_group%   sK     (,F#$zz+.T..8880t00:6:tkr   c                 r   g }|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= i }i }g }i }	g }
i }d}| j                  j                  g d      |	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 information of a group
        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
        :return: V1APIGroup
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   _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AcceptzContent-TypeBearerTokenz/apis/apps/GET
V1APIGroupT)
bodypost_paramsfilesresponse_typeauth_settingsr   r   r   r   collection_formats)	appendlocalsr   	TypeErrorr   select_header_acceptselect_header_content_typecall_apir   )r   r   
all_paramsparamskeyvalr%   path_paramsquery_paramsheader_paramsform_paramslocal_var_filesbody_paramsr$   s                 r   r   z$AppsApi.get_api_group_with_http_info9   ss    Jk"./()()XFfX./S	J	 3589 : 	:fSk	 0
 	xKLMKOK"oolm ( %)OO""#rs .! #OM??##"#**[)%zz*BC$6=$67- $ / /r   r
   )__name__
__module____qualname____doc__r   r   r   r   r   r   r   r      s    !
(B/r   r   )r9   
__future__r   sysosresixr   r   r   objectr   r   r   r   <module>r@      s.   	 ' 
 	 	  "b/f b/r   