
    bE                    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d Zd Zd Z	d	 Z
d
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d  Z!d! Z"d" Z#d# Z$d$ Z%d% Z&d& Z'd' Z(d( Z)d) Z*y)+PolicyV1beta1Apiz
    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     <lib/third_party/kubernetes/client/apis/policy_v1beta1_api.py__init__zPolicyV1beta1Api.__init__    s    ;j DO    c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )a7  
        create a PodDisruptionBudget
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_namespaced_pod_disruption_budget(namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta1PodDisruptionBudget body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta1PodDisruptionBudget
                 If the method is called asynchronously,
                 returns the request thread.
        T_return_http_data_only	async_req)get6create_namespaced_pod_disruption_budget_with_http_info)r   	namespacebodykwargsdatas        r   'create_namespaced_pod_disruption_budgetz8PolicyV1beta1Api.create_namespaced_pod_disruption_budget%   sd    4 (,F#$zz+HTHH
T%#% % KtJJ
T%#%tkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )aN  
        create a PodDisruptionBudget
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.create_namespaced_pod_disruption_budget_with_http_info(namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta1PodDisruptionBudget body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta1PodDisruptionBudget
                 If the method is called asynchronously,
                 returns the request thread.
        )r   r   prettydry_runfield_managerr   r   _preload_content_request_timeoutr   zYGot an unexpected keyword argument '%s' to method create_namespaced_pod_disruption_budgetr   NzaMissing the required parameter `namespace` when calling `create_namespaced_pod_disruption_budget`r   z\Missing the required parameter `body` when calling `create_namespaced_pod_disruption_budget`r   r   dryRunr   fieldManagerapplication/jsonapplication/yaml#application/vnd.kubernetes.protobufAccept*/*Content-TypeBearerToken@/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgetsPOSTV1beta1PodDisruptionBudgetT
r   post_paramsfilesresponse_typeauth_settingsr   r   r   r   collection_formats
appendlocalsr   	TypeError
ValueErrorr   select_header_acceptselect_header_content_typecall_apir   )r   r   r   r   
all_paramsparamskeyvalr2   path_paramsquery_paramsheader_paramsform_paramslocal_var_filesbody_paramsr1   s                   r   r   zGPolicyV1beta1Api.create_namespaced_pod_disruption_budget_with_http_infoH   sG   : MJk"./()()XFfX./S	J	 M  	 fSk 0 	x6!vk':'B
m  	f&."8
h  Kf!'!4k+L68VH%567F8VI%678& >6/+BCDMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##J2#**[)%zz*BC$6=$67- $ / /r   c                 ~    d|d<   |j                  d      r | j                  |fi |S  | j                  |fi |}|S )a  
        create a PodSecurityPolicy
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_pod_security_policy(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param PolicyV1beta1PodSecurityPolicy body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: PolicyV1beta1PodSecurityPolicy
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   )create_pod_security_policy_with_http_info)r   r   r   r   s       r   create_pod_security_policyz+PolicyV1beta1Api.create_pod_security_policy   sO    . (,F#$zz+;T;;DKFKK=t==dMfMtkr   c                 J   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      i }i }g }	d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       i }
g }i }d	}d|v r|d   }| j
                  j                  g d      |
d<   | j
                  j                  dg      |
d<   dg}| j
                  j                  dd||	|
|||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a  
        create a PodSecurityPolicy
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_pod_security_policy_with_http_info(body,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param PolicyV1beta1PodSecurityPolicy body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: PolicyV1beta1PodSecurityPolicy
                 If the method is called asynchronously,
                 returns the request thread.
        )r   r   r   r   r   r   r   r   r   zLGot an unexpected keyword argument '%s' to method create_pod_security_policyr   NzOMissing the required parameter `body` when calling `create_pod_security_policy`r   r   r    r   r!   r"   r&   r'   r(   r)   (/apis/policy/v1beta1/podsecuritypoliciesr+   PolicyV1beta1PodSecurityPolicyTr-   r3   )r   r   r   r;   r<   r=   r>   r2   r?   r@   rA   rB   rC   rD   r1   s                  r   rF   z:PolicyV1beta1Api.create_pod_security_policy_with_http_info   s   2 @Jk"./()()XFfX./S	J	 @BEF G 	GfSk	 0
 	xf&."8
[  KL68VH%567F8VI%678& >6/+BCDMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##26#**[)%zz*BC$6=$67- $ / /r   c                 ~    d|d<   |j                  d      r | j                  |fi |S  | j                  |fi |}|S )a  
        delete collection of PodDisruptionBudget
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.delete_collection_namespaced_pod_disruption_budget(namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :param str resource_version: When specified with a watch call, shows
        changes that occur after that particular version of a resource. Defaults
        to changes from the beginning of history. When specified for list: - if
        unset, then the result is returned from remote storage based on
        quorum-read flag; - if it's 0, then we simply return what we currently
        have in cache, no guarantee; - if set to non zero, then the result is at
        least as fresh as given rv.
        :param int timeout_seconds: Timeout for the list/watch call. This limits
        the duration of the call, regardless of any activity or inactivity.
        :param bool watch: Watch for changes to the described resources and
        return them as a stream of add, update, and remove notifications.
        Specify resourceVersion.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   Adelete_collection_namespaced_pod_disruption_budget_with_http_infor   r   r   r   s       r   2delete_collection_namespaced_pod_disruption_budgetzCPolicyV1beta1Api.delete_collection_namespaced_pod_disruption_budget*  sf    T (,F#$zz+STSS
  Q$
P
P
  kr   c                 T   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      i }i }d|v r|d   |d<   g }	d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       i }
g }i }d	}| j
                  j                  g d      |
d<   | j
                  j                  dg      |
d<   dg}| j
                  j                  dd||	|
|||d||j                  d      |j                  d      |j                  dd       |j                  d      |!      S )"a  
        delete collection of PodDisruptionBudget
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.delete_collection_namespaced_pod_disruption_budget_with_http_info(namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :param str resource_version: When specified with a watch call, shows
        changes that occur after that particular version of a resource. Defaults
        to changes from the beginning of history. When specified for list: - if
        unset, then the result is returned from remote storage based on
        quorum-read flag; - if it's 0, then we simply return what we currently
        have in cache, no guarantee; - if set to non zero, then the result is at
        least as fresh as given rv.
        :param int timeout_seconds: Timeout for the list/watch call. This limits
        the duration of the call, regardless of any activity or inactivity.
        :param bool watch: Watch for changes to the described resources and
        return them as a stream of add, update, and remove notifications.
        Specify resourceVersion.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        	r   r   	_continuefield_selectorlabel_selectorlimitresource_versiontimeout_secondswatchr   r   r   r   r   zdGot an unexpected keyword argument '%s' to method delete_collection_namespaced_pod_disruption_budgetr   NzlMissing the required parameter `namespace` when calling `delete_collection_namespaced_pod_disruption_budget`r   rQ   continuerR   fieldSelectorrS   labelSelectorrT   rU   resourceVersionrV   timeoutSecondsrW   r"   r&   r'   r(   r)   r*   DELETEV1StatusTr-   r3   r   r   r   r;   r<   r=   r>   r2   r?   r@   rA   rB   rC   rD   r1   s                  r   rL   zRPolicyV1beta1Api.delete_collection_namespaced_pod_disruption_budget_with_http_info~  s   VJ k"./()()XFfX./S	J	L 	 fSk 0 	x6!vk':'B
x  Kf!'!4k+L68VH%567f:vk':;<6!?F3C,DEF6!?F3C,DEF&7F7O45V#,f5G.HIJF"+V4E-FGH&7F7O45MKOK"oolm ( %)OO""E7+ .! #OM??##J #**[)%zz*BC$6=$67- $ / /r   c                 z    d|d<   |j                  d      r | j                  di |S  | j                  di |}|S )a  
        delete collection of PodSecurityPolicy
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_collection_pod_security_policy(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str pretty: If 'true', then the output is pretty printed.
        :param str _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :param str resource_version: When specified with a watch call, shows
        changes that occur after that particular version of a resource. Defaults
        to changes from the beginning of history. When specified for list: - if
        unset, then the result is returned from remote storage based on
        quorum-read flag; - if it's 0, then we simply return what we currently
        have in cache, no guarantee; - if set to non zero, then the result is at
        least as fresh as given rv.
        :param int timeout_seconds: Timeout for the list/watch call. This limits
        the duration of the call, regardless of any activity or inactivity.
        :param bool watch: Watch for changes to the described resources and
        return them as a stream of add, update, and remove notifications.
        Specify resourceVersion.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r    )r   4delete_collection_pod_security_policy_with_http_infor   r   r   s      r   %delete_collection_pod_security_policyz6PolicyV1beta1Api.delete_collection_pod_security_policy  sQ    J (,F#$zz+FTFFPPPHtHH tkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= i }i }g }d|v r|j                  d|d   f       d	|v r|j                  d
|d	   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }	g }
i }d}| j                  j                  g d      |	d<   | j                  j                  dg      |	d<   dg}| j                  j                  dd|||	||
|d||j                  d      |j                  d      |j                  dd      |j                  d      |      S ) a  
        delete collection of PodSecurityPolicy
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.delete_collection_pod_security_policy_with_http_info(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str pretty: If 'true', then the output is pretty printed.
        :param str _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :param str resource_version: When specified with a watch call, shows
        changes that occur after that particular version of a resource. Defaults
        to changes from the beginning of history. When specified for list: - if
        unset, then the result is returned from remote storage based on
        quorum-read flag; - if it's 0, then we simply return what we currently
        have in cache, no guarantee; - if set to non zero, then the result is at
        least as fresh as given rv.
        :param int timeout_seconds: Timeout for the list/watch call. This limits
        the duration of the call, regardless of any activity or inactivity.
        :param bool watch: Watch for changes to the described resources and
        return them as a stream of add, update, and remove notifications.
        Specify resourceVersion.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        r   rQ   rR   rS   rT   rU   rV   rW   r   r   r   r   r   zWGot an unexpected keyword argument '%s' to method delete_collection_pod_security_policyr   rQ   rX   rR   rY   rS   rZ   rT   rU   r[   rV   r\   rW   Nr"   r&   r'   r(   r)   rI   r]   r^   Tr-   	r4   r5   r   r6   r   r8   r9   r:   r   r   r   r;   r<   r=   r>   r2   r?   r@   rA   rB   rC   rD   r1   s                 r   rb   zEPolicyV1beta1Api.delete_collection_pod_security_policy_with_http_infoh  s~   NJ k"./()()XFfX./S	J	 K  	 fSk 0 	xKL68VH%567f:vk':;<6!?F3C,DEF6!?F3C,DEF&7F7O45V#,f5G.HIJF"+V4E-FGH&7F7O45MKOK"oolm ( %)OO""E7+ .! #OM??##2 #**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )aH	  
        delete a PodDisruptionBudget
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_namespaced_pod_disruption_budget(name,
        namespace, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the PodDisruptionBudget (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param V1DeleteOptions body:
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param int grace_period_seconds: The duration in seconds before the
        object should be deleted. Value must be non-negative integer. The value
        zero indicates delete immediately. If this value is nil, the default
        grace period for the specified type will be used. Defaults to a per
        object value if not specified. zero means delete immediately.
        :param bool orphan_dependents: Deprecated: please use the
        PropagationPolicy, this field will be deprecated in 1.7. Should the
        dependent objects be orphaned. If true/false, the "orphan" finalizer
        will be added to/removed from the object's finalizers list. Either this
        field or PropagationPolicy may be set, but not both.
        :param str propagation_policy: Whether and how garbage collection will
        be performed. Either this field or OrphanDependents may be set, but not
        both. The default policy is decided by the existing finalizer set in the
        metadata.finalizers and the resource-specific default policy. Acceptable
        values are: 'Orphan' - orphan the dependents; 'Background' - allow the
        garbage collector to delete the dependents in the background;
        'Foreground' - a cascading policy that deletes all dependents in the
        foreground.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   6delete_namespaced_pod_disruption_budget_with_http_infor   namer   r   r   s        r   'delete_namespaced_pod_disruption_budgetz8PolicyV1beta1Api.delete_namespaced_pod_disruption_budget  se    R (,F#$zz+HTHH
	%#% % KtJJ
	%#%tkr   c                 
   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |       S )!a_	  
        delete a PodDisruptionBudget
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.delete_namespaced_pod_disruption_budget_with_http_info(name,
        namespace, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the PodDisruptionBudget (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param V1DeleteOptions body:
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param int grace_period_seconds: The duration in seconds before the
        object should be deleted. Value must be non-negative integer. The value
        zero indicates delete immediately. If this value is nil, the default
        grace period for the specified type will be used. Defaults to a per
        object value if not specified. zero means delete immediately.
        :param bool orphan_dependents: Deprecated: please use the
        PropagationPolicy, this field will be deprecated in 1.7. Should the
        dependent objects be orphaned. If true/false, the "orphan" finalizer
        will be added to/removed from the object's finalizers list. Either this
        field or PropagationPolicy may be set, but not both.
        :param str propagation_policy: Whether and how garbage collection will
        be performed. Either this field or OrphanDependents may be set, but not
        both. The default policy is decided by the existing finalizer set in the
        metadata.finalizers and the resource-specific default policy. Acceptable
        values are: 'Orphan' - orphan the dependents; 'Background' - allow the
        garbage collector to delete the dependents in the background;
        'Foreground' - a cascading policy that deletes all dependents in the
        foreground.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        )rl   r   r   r   r   grace_period_secondsorphan_dependentspropagation_policyr   r   r   r   r   zYGot an unexpected keyword argument '%s' to method delete_namespaced_pod_disruption_budgetrl   Nz\Missing the required parameter `name` when calling `delete_namespaced_pod_disruption_budget`r   zaMissing the required parameter `namespace` when calling `delete_namespaced_pod_disruption_budget`r   r   r    ro   gracePeriodSecondsrp   orphanDependentsrq   propagationPolicyr   r"   r&   r'   r(   r)   G/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}r]   r^   Tr-   r3   r   rl   r   r   r;   r<   r=   r>   r2   r?   r@   rA   rB   rC   rD   r1   s                   r   rj   zGPolicyV1beta1Api.delete_namespaced_pod_disruption_budget_with_http_info+  s   XJ k"./()()XFfX./S	J	 M  	 fSk 0 	xf&."8
h  	6!vk':'B
m  K"6Nk&f!'!4k+L68VH%567F8VI%678'(>!?
@Bf$-v6I/JKLv%.7K0LMNMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##Q #**[)%zz*BC$6=$67- $ / /r   c                 ~    d|d<   |j                  d      r | j                  |fi |S  | j                  |fi |}|S )a  
        delete a PodSecurityPolicy
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_pod_security_policy(name, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the PodSecurityPolicy (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param V1DeleteOptions body:
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param int grace_period_seconds: The duration in seconds before the
        object should be deleted. Value must be non-negative integer. The value
        zero indicates delete immediately. If this value is nil, the default
        grace period for the specified type will be used. Defaults to a per
        object value if not specified. zero means delete immediately.
        :param bool orphan_dependents: Deprecated: please use the
        PropagationPolicy, this field will be deprecated in 1.7. Should the
        dependent objects be orphaned. If true/false, the "orphan" finalizer
        will be added to/removed from the object's finalizers list. Either this
        field or PropagationPolicy may be set, but not both.
        :param str propagation_policy: Whether and how garbage collection will
        be performed. Either this field or OrphanDependents may be set, but not
        both. The default policy is decided by the existing finalizer set in the
        metadata.finalizers and the resource-specific default policy. Acceptable
        values are: 'Orphan' - orphan the dependents; 'Background' - allow the
        garbage collector to delete the dependents in the background;
        'Foreground' - a cascading policy that deletes all dependents in the
        foreground.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   )delete_pod_security_policy_with_http_infor   rl   r   r   s       r   delete_pod_security_policyz+PolicyV1beta1Api.delete_pod_security_policy  sP    L (,F#$zz+;T;;DKFKK=t==dMfMtkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      i }i }d|v r|d   |d<   g }	d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       i }
g }i }d	}d|v r|d   }| j
                  j                  g d      |
d<   | j
                  j                  dg      |
d<   dg}| j
                  j                  dd||	|
|||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a  
        delete a PodSecurityPolicy
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_pod_security_policy_with_http_info(name,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the PodSecurityPolicy (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param V1DeleteOptions body:
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param int grace_period_seconds: The duration in seconds before the
        object should be deleted. Value must be non-negative integer. The value
        zero indicates delete immediately. If this value is nil, the default
        grace period for the specified type will be used. Defaults to a per
        object value if not specified. zero means delete immediately.
        :param bool orphan_dependents: Deprecated: please use the
        PropagationPolicy, this field will be deprecated in 1.7. Should the
        dependent objects be orphaned. If true/false, the "orphan" finalizer
        will be added to/removed from the object's finalizers list. Either this
        field or PropagationPolicy may be set, but not both.
        :param str propagation_policy: Whether and how garbage collection will
        be performed. Either this field or OrphanDependents may be set, but not
        both. The default policy is decided by the existing finalizer set in the
        metadata.finalizers and the resource-specific default policy. Acceptable
        values are: 'Orphan' - orphan the dependents; 'Background' - allow the
        garbage collector to delete the dependents in the background;
        'Foreground' - a cascading policy that deletes all dependents in the
        foreground.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        )rl   r   r   r   ro   rp   rq   r   r   r   r   r   zLGot an unexpected keyword argument '%s' to method delete_pod_security_policyrl   NzOMissing the required parameter `name` when calling `delete_pod_security_policy`r   r   r    ro   rr   rp   rs   rq   rt   r   r"   r&   r'   r(   r)   //apis/policy/v1beta1/podsecuritypolicies/{name}r]   r^   Tr-   r3   r   rl   r   r;   r<   r=   r>   r2   r?   r@   rA   rB   rC   rD   r1   s                  r   rx   z:PolicyV1beta1Api.delete_pod_security_policy_with_http_info  sn   PJ k"./()()XFfX./S	J	 @BEF G 	GfSk	 0
 	xf&."8
[  K"6Nk&L68VH%567F8VI%678'(>!?
@Bf$-v6I/JKLv%.7K0LMNMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##9 #**[)%zz*BC$6=$67- $ / /r   c                 z    d|d<   |j                  d      r | j                  di |S  | j                  di |}|S )a  
        get available resources
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_api_resources(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :return: V1APIResourceList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   ra   )r    get_api_resources_with_http_inforc   s      r   get_api_resourcesz"PolicyV1beta1Api.get_api_resourcesN  sK     (,F#$zz+2T22<V<<4t44>v>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 available resources
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_api_resources_with_http_info(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :return: V1APIResourceList
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   zCGot an unexpected keyword argument '%s' to method get_api_resourcesNr"   r&   r(   r)   z/apis/policy/v1beta1/GETV1APIResourceListTr-   rg   rh   s                 r   r   z1PolicyV1beta1Api.get_api_resources_with_http_infob  ss    Jk"./()()XFfX./S	J	 79<= > 	>fSk	 0
 	xKLMKOK"oolm ( %)OO""#rs .! #OM??##)#**[)%zz*BC$6=$67- $ / /r   c                 ~    d|d<   |j                  d      r | j                  |fi |S  | j                  |fi |}|S )a  
        list or watch objects of kind PodDisruptionBudget
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.list_namespaced_pod_disruption_budget(namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :param str resource_version: When specified with a watch call, shows
        changes that occur after that particular version of a resource. Defaults
        to changes from the beginning of history. When specified for list: - if
        unset, then the result is returned from remote storage based on
        quorum-read flag; - if it's 0, then we simply return what we currently
        have in cache, no guarantee; - if set to non zero, then the result is at
        least as fresh as given rv.
        :param int timeout_seconds: Timeout for the list/watch call. This limits
        the duration of the call, regardless of any activity or inactivity.
        :param bool watch: Watch for changes to the described resources and
        return them as a stream of add, update, and remove notifications.
        Specify resourceVersion.
        :return: V1beta1PodDisruptionBudgetList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   4list_namespaced_pod_disruption_budget_with_http_inforM   s       r   %list_namespaced_pod_disruption_budgetz6PolicyV1beta1Api.list_namespaced_pod_disruption_budget  sa    P (,F#$zz+FTFF
  ItHH
tkr   c                 T   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      i }i }d|v r|d   |d<   g }	d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       i }
g }i }d	}| j
                  j                  g d      |
d<   | j
                  j                  dg      |
d<   dg}| j
                  j                  dd||	|
|||d||j                  d      |j                  d      |j                  dd       |j                  d      |!      S )"a  
        list or watch objects of kind PodDisruptionBudget
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.list_namespaced_pod_disruption_budget_with_http_info(namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :param str resource_version: When specified with a watch call, shows
        changes that occur after that particular version of a resource. Defaults
        to changes from the beginning of history. When specified for list: - if
        unset, then the result is returned from remote storage based on
        quorum-read flag; - if it's 0, then we simply return what we currently
        have in cache, no guarantee; - if set to non zero, then the result is at
        least as fresh as given rv.
        :param int timeout_seconds: Timeout for the list/watch call. This limits
        the duration of the call, regardless of any activity or inactivity.
        :param bool watch: Watch for changes to the described resources and
        return them as a stream of add, update, and remove notifications.
        Specify resourceVersion.
        :return: V1beta1PodDisruptionBudgetList
                 If the method is called asynchronously,
                 returns the request thread.
        rP   r   r   r   r   r   zWGot an unexpected keyword argument '%s' to method list_namespaced_pod_disruption_budgetr   Nz_Missing the required parameter `namespace` when calling `list_namespaced_pod_disruption_budget`r   rQ   rX   rR   rY   rS   rZ   rT   rU   r[   rV   r\   rW   r#   r$   r%   zapplication/json;stream=watchz0application/vnd.kubernetes.protobuf;stream=watchr&   r'   r(   r)   r*   r   V1beta1PodDisruptionBudgetListTr-   r3   r_   s                  r   r   zEPolicyV1beta1Api.list_namespaced_pod_disruption_budget_with_http_info  s   VJ k"./()()XFfX./S	J	 K  	 fSk 0 	x6!vk':'B
k  Kf!'!4k+L68VH%567f:vk':;<6!?F3C,DEF6!?F3C,DEF&7F7O45V#,f5G.HIJF"+V4E-FGH&7F7O45MKOK"oo  B  	C ( %)OO""E7+ .! #OM??##J6#**[)%zz*BC$6=$67- $ / /r   c                 z    d|d<   |j                  d      r | j                  di |S  | j                  di |}|S )a'  
        list or watch objects of kind PodDisruptionBudget
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.list_pod_disruption_budget_for_all_namespaces(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :param str pretty: If 'true', then the output is pretty printed.
        :param str resource_version: When specified with a watch call, shows
        changes that occur after that particular version of a resource. Defaults
        to changes from the beginning of history. When specified for list: - if
        unset, then the result is returned from remote storage based on
        quorum-read flag; - if it's 0, then we simply return what we currently
        have in cache, no guarantee; - if set to non zero, then the result is at
        least as fresh as given rv.
        :param int timeout_seconds: Timeout for the list/watch call. This limits
        the duration of the call, regardless of any activity or inactivity.
        :param bool watch: Watch for changes to the described resources and
        return them as a stream of add, update, and remove notifications.
        Specify resourceVersion.
        :return: V1beta1PodDisruptionBudgetList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   ra   )r   <list_pod_disruption_budget_for_all_namespaces_with_http_inforc   s      r   -list_pod_disruption_budget_for_all_namespacesz>PolicyV1beta1Api.list_pod_disruption_budget_for_all_namespaces  s`    L (,F#$zz+NTNN   L$
K
K   kr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= i }i }g }d|v r|j                  d	|d   f       d
|v r|j                  d|d
   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }	g }
i }d}| j                  j                  g d      |	d<   | j                  j                  dg      |	d<   dg}| j                  j                  dd|||	||
|d||j                  d      |j                  d      |j                  dd      |j                  d      |      S ) a6  
        list or watch objects of kind PodDisruptionBudget
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.list_pod_disruption_budget_for_all_namespaces_with_http_info(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :param str pretty: If 'true', then the output is pretty printed.
        :param str resource_version: When specified with a watch call, shows
        changes that occur after that particular version of a resource. Defaults
        to changes from the beginning of history. When specified for list: - if
        unset, then the result is returned from remote storage based on
        quorum-read flag; - if it's 0, then we simply return what we currently
        have in cache, no guarantee; - if set to non zero, then the result is at
        least as fresh as given rv.
        :param int timeout_seconds: Timeout for the list/watch call. This limits
        the duration of the call, regardless of any activity or inactivity.
        :param bool watch: Watch for changes to the described resources and
        return them as a stream of add, update, and remove notifications.
        Specify resourceVersion.
        :return: V1beta1PodDisruptionBudgetList
                 If the method is called asynchronously,
                 returns the request thread.
        )rQ   rR   rS   rT   r   rU   rV   rW   r   r   r   r   r   z_Got an unexpected keyword argument '%s' to method list_pod_disruption_budget_for_all_namespacesrQ   rX   rR   rY   rS   rZ   rT   r   rU   r[   rV   r\   rW   Nr   r&   r'   r(   r)   z)/apis/policy/v1beta1/poddisruptionbudgetsr   r   Tr-   rg   rh   s                 r   r   zMPolicyV1beta1Api.list_pod_disruption_budget_for_all_namespaces_with_http_info  s   PJ k"./()()XFfX./S	J	GILMN 	N fSk 0 	xKLf:vk':;<6!?F3C,DEF6!?F3C,DEF&7F7O4568VH%567V#,f5G.HIJF"+V4E-FGH&7F7O45MKOK"oo  B  	C ( %)OO""E7+ .! #OM??##36#**[)%zz*BC$6=$67- $ / /r   c                 z    d|d<   |j                  d      r | j                  di |S  | j                  di |}|S )a  
        list or watch objects of kind PodSecurityPolicy
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.list_pod_security_policy(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str pretty: If 'true', then the output is pretty printed.
        :param str _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :param str resource_version: When specified with a watch call, shows
        changes that occur after that particular version of a resource. Defaults
        to changes from the beginning of history. When specified for list: - if
        unset, then the result is returned from remote storage based on
        quorum-read flag; - if it's 0, then we simply return what we currently
        have in cache, no guarantee; - if set to non zero, then the result is at
        least as fresh as given rv.
        :param int timeout_seconds: Timeout for the list/watch call. This limits
        the duration of the call, regardless of any activity or inactivity.
        :param bool watch: Watch for changes to the described resources and
        return them as a stream of add, update, and remove notifications.
        Specify resourceVersion.
        :return: PolicyV1beta1PodSecurityPolicyList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   ra   )r   'list_pod_security_policy_with_http_inforc   s      r   list_pod_security_policyz)PolicyV1beta1Api.list_pod_security_policyu  sL    J (,F#$zz+9T99CFCC;t;;EfEtkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= i }i }g }d|v r|j                  d|d   f       d	|v r|j                  d
|d	   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }	g }
i }d}| j                  j                  g d      |	d<   | j                  j                  dg      |	d<   dg}| j                  j                  dd|||	||
|d||j                  d      |j                  d      |j                  dd      |j                  d      |      S ) a  
        list or watch objects of kind PodSecurityPolicy
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.list_pod_security_policy_with_http_info(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str pretty: If 'true', then the output is pretty printed.
        :param str _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :param str resource_version: When specified with a watch call, shows
        changes that occur after that particular version of a resource. Defaults
        to changes from the beginning of history. When specified for list: - if
        unset, then the result is returned from remote storage based on
        quorum-read flag; - if it's 0, then we simply return what we currently
        have in cache, no guarantee; - if set to non zero, then the result is at
        least as fresh as given rv.
        :param int timeout_seconds: Timeout for the list/watch call. This limits
        the duration of the call, regardless of any activity or inactivity.
        :param bool watch: Watch for changes to the described resources and
        return them as a stream of add, update, and remove notifications.
        Specify resourceVersion.
        :return: PolicyV1beta1PodSecurityPolicyList
                 If the method is called asynchronously,
                 returns the request thread.
        rf   r   r   r   r   r   zJGot an unexpected keyword argument '%s' to method list_pod_security_policyr   rQ   rX   rR   rY   rS   rZ   rT   rU   r[   rV   r\   rW   Nr   r&   r'   r(   r)   rI   r   "PolicyV1beta1PodSecurityPolicyListTr-   rg   rh   s                 r   r   z8PolicyV1beta1Api.list_pod_security_policy_with_http_info  s   LJ k"./()()XFfX./S	J	 >@CD E 	EfSk	 0
 	xKL68VH%567f:vk':;<6!?F3C,DEF6!?F3C,DEF&7F7O45V#,f5G.HIJF"+V4E-FGH&7F7O45MKOK"oo  B  	C ( %)OO""E7+ .! #OM??##2:#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|S )a  
        partially update the specified PodDisruptionBudget
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.patch_namespaced_pod_disruption_budget(name, namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the PodDisruptionBudget (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param object body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta1PodDisruptionBudget
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   5patch_namespaced_pod_disruption_budget_with_http_infor   rl   r   r   r   r   s         r   &patch_namespaced_pod_disruption_budgetz7PolicyV1beta1Api.patch_namespaced_pod_disruption_budgetP  si    B (,F#$zz+GTGG
	4+#)+ + JtII
	4+#)+tkr   c                     g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|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  
        partially update the specified PodDisruptionBudget
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.patch_namespaced_pod_disruption_budget_with_http_info(name,
        namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the PodDisruptionBudget (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param object body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta1PodDisruptionBudget
                 If the method is called asynchronously,
                 returns the request thread.
        rl   r   r   r   r   r   forcer   r   r   r   r   zXGot an unexpected keyword argument '%s' to method patch_namespaced_pod_disruption_budgetrl   Nz[Missing the required parameter `name` when calling `patch_namespaced_pod_disruption_budget`r   z`Missing the required parameter `namespace` when calling `patch_namespaced_pod_disruption_budget`r   z[Missing the required parameter `body` when calling `patch_namespaced_pod_disruption_budget`r   r   r    r   r!   r   r"   r&   zapplication/json-patch+jsonzapplication/merge-patch+jsonz&application/strategic-merge-patch+jsonr(   r)   ru   PATCHr,   Tr-   r3   r   rl   r   r   r   r;   r<   r=   r>   r2   r?   r@   rA   rB   rC   rD   r1   s                    r   r   zFPolicyV1beta1Api.patch_namespaced_pod_disruption_budget_with_http_infoz  s   FJ k"./()()XFfX./S	J	 L  	 fSk 0 	xf&."8
g  	6!vk':'B
l  	f&."8
g  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCD&7F7O45MKOK6Nk"oolm ( %)OO""  $M  	N .! #OM??##Q2#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|S )a  
        partially update status of the specified PodDisruptionBudget
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.patch_namespaced_pod_disruption_budget_status(name,
        namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the PodDisruptionBudget (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param object body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta1PodDisruptionBudget
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   <patch_namespaced_pod_disruption_budget_status_with_http_infor   s         r   -patch_namespaced_pod_disruption_budget_statusz>PolicyV1beta1Api.patch_namespaced_pod_disruption_budget_status  sn    B (,F#$zz+NTNN
	4+#)+ + L$
K
K
	4+#)+  kr   c                     g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|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'  
        partially update status of the specified PodDisruptionBudget
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.patch_namespaced_pod_disruption_budget_status_with_http_info(name,
        namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the PodDisruptionBudget (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param object body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta1PodDisruptionBudget
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   z_Got an unexpected keyword argument '%s' to method patch_namespaced_pod_disruption_budget_statusrl   NzbMissing the required parameter `name` when calling `patch_namespaced_pod_disruption_budget_status`r   zgMissing the required parameter `namespace` when calling `patch_namespaced_pod_disruption_budget_status`r   zbMissing the required parameter `body` when calling `patch_namespaced_pod_disruption_budget_status`r   r   r    r   r!   r   r"   r&   r   r(   r)   N/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/statusr   r,   Tr-   r3   r   s                    r   r   zMPolicyV1beta1Api.patch_namespaced_pod_disruption_budget_status_with_http_info  s   FJ k"./()()XFfX./S	J	GILMN 	N fSk 0 	xf&."8
n  	6!vk':'B
s  	f&."8
n  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCD&7F7O45MKOK6Nk"oolm ( %)OO""  $M  	N .! #OM??##X2#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )as  
        partially update the specified PodSecurityPolicy
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.patch_pod_security_policy(name, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the PodSecurityPolicy (required)
        :param object body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: PolicyV1beta1PodSecurityPolicy
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   (patch_pod_security_policy_with_http_infor   rl   r   r   r   s        r   patch_pod_security_policyz*PolicyV1beta1Api.patch_pod_security_policy  sY    : (,F#$zz+:T::4PPP<t<<
  tkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       i }g }i }d	}d|v r|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  
        partially update the specified PodSecurityPolicy
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.patch_pod_security_policy_with_http_info(name, body,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the PodSecurityPolicy (required)
        :param object body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: PolicyV1beta1PodSecurityPolicy
                 If the method is called asynchronously,
                 returns the request thread.
        )rl   r   r   r   r   r   r   r   r   r   r   zKGot an unexpected keyword argument '%s' to method patch_pod_security_policyrl   NzNMissing the required parameter `name` when calling `patch_pod_security_policy`r   zNMissing the required parameter `body` when calling `patch_pod_security_policy`r   r   r    r   r!   r   r"   r&   r   r(   r)   r|   r   rJ   Tr-   r3   r   rl   r   r   r;   r<   r=   r>   r2   r?   r@   rA   rB   rC   rD   r1   s                   r   r   z9PolicyV1beta1Api.patch_pod_security_policy_with_http_info  si   > QJk"./()()XFfX./S	J	 ?ADE F 	FfSk	 0
 	xf&."8
Z  	f&."8
Z  K"6Nk&L68VH%567F8VI%678& >6/+BCD&7F7O45MKOK6Nk"oolm ( %)OO""  $M  	N .! #OM??##96#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )aG  
        read the specified PodDisruptionBudget
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.read_namespaced_pod_disruption_budget(name, namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the PodDisruptionBudget (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param bool exact: Should the export be exact.  Exact export maintains
        cluster-specific fields like 'Namespace'. Deprecated. Planned for
        removal in 1.18.
        :param bool export: Should this value be exported.  Export strips fields
        that a user can not specify. Deprecated. Planned for removal in 1.18.
        :return: V1beta1PodDisruptionBudget
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   4read_namespaced_pod_disruption_budget_with_http_infork   s        r   %read_namespaced_pod_disruption_budgetz6PolicyV1beta1Api.read_namespaced_pod_disruption_budget)	  sd    . (,F#$zz+FTFF
	%#% % ItHH
	%#%tkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       i }g }i }d	}| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a^  
        read the specified PodDisruptionBudget
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.read_namespaced_pod_disruption_budget_with_http_info(name,
        namespace, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the PodDisruptionBudget (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param bool exact: Should the export be exact.  Exact export maintains
        cluster-specific fields like 'Namespace'. Deprecated. Planned for
        removal in 1.18.
        :param bool export: Should this value be exported.  Export strips fields
        that a user can not specify. Deprecated. Planned for removal in 1.18.
        :return: V1beta1PodDisruptionBudget
                 If the method is called asynchronously,
                 returns the request thread.
        )rl   r   r   exactexportr   r   r   r   r   zWGot an unexpected keyword argument '%s' to method read_namespaced_pod_disruption_budgetrl   NzZMissing the required parameter `name` when calling `read_namespaced_pod_disruption_budget`r   z_Missing the required parameter `namespace` when calling `read_namespaced_pod_disruption_budget`r   r   r   r"   r&   r'   r(   r)   ru   r   r,   Tr-   r3   rv   s                   r   r   zEPolicyV1beta1Api.read_namespaced_pod_disruption_budget_with_http_infoI	  sK   4 DJk"./()()XFfX./S	J	 K  	 fSk 0 	xf&."8
f  	6!vk':'B
k  K"6Nk&f!'!4k+L68VH%567&7F7O4568VH%567MKOK"oolm ( %)OO""E7+ .! #OM??##Q2#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )a  
        read status of the specified PodDisruptionBudget
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.read_namespaced_pod_disruption_budget_status(name,
        namespace, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the PodDisruptionBudget (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :return: V1beta1PodDisruptionBudget
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   ;read_namespaced_pod_disruption_budget_status_with_http_infork   s        r   ,read_namespaced_pod_disruption_budget_statusz=PolicyV1beta1Api.read_namespaced_pod_disruption_budget_status	  sd    & (,F#$zz+MTMM
	%#% % PtOO
	%#%tkr   c                 (   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       i }g }i }d	}| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a  
        read status of the specified PodDisruptionBudget
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.read_namespaced_pod_disruption_budget_status_with_http_info(name,
        namespace, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the PodDisruptionBudget (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :return: V1beta1PodDisruptionBudget
                 If the method is called asynchronously,
                 returns the request thread.
        )rl   r   r   r   r   r   r   r   z^Got an unexpected keyword argument '%s' to method read_namespaced_pod_disruption_budget_statusrl   NzaMissing the required parameter `name` when calling `read_namespaced_pod_disruption_budget_status`r   zfMissing the required parameter `namespace` when calling `read_namespaced_pod_disruption_budget_status`r   r"   r&   r'   r(   r)   r   r   r,   Tr-   r3   rv   s                   r   r   zLPolicyV1beta1Api.read_namespaced_pod_disruption_budget_status_with_http_info	  s   * 1Jk"./()()XFfX./S	J	FHKLM 	M fSk 0 	xf&."8
m  	6!vk':'B
r  K"6Nk&f!'!4k+L68VH%567MKOK"oolm ( %)OO""E7+ .! #OM??##X2#**[)%zz*BC$6=$67- $ / /r   c                 ~    d|d<   |j                  d      r | j                  |fi |S  | j                  |fi |}|S )a  
        read the specified PodSecurityPolicy
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.read_pod_security_policy(name, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the PodSecurityPolicy (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param bool exact: Should the export be exact.  Exact export maintains
        cluster-specific fields like 'Namespace'. Deprecated. Planned for
        removal in 1.18.
        :param bool export: Should this value be exported.  Export strips fields
        that a user can not specify. Deprecated. Planned for removal in 1.18.
        :return: PolicyV1beta1PodSecurityPolicy
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   'read_pod_security_policy_with_http_infory   s       r   read_pod_security_policyz)PolicyV1beta1Api.read_pod_security_policy&
  sO    ( (,F#$zz+9T99$I&II;t;;DKFKtkr   c                 P   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      i }i }d|v r|d   |d<   g }	d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       i }
g }i }d	}| j
                  j                  g d      |
d<   | j
                  j                  dg      |
d<   dg}| j
                  j                  dd||	|
|||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a  
        read the specified PodSecurityPolicy
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.read_pod_security_policy_with_http_info(name,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the PodSecurityPolicy (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param bool exact: Should the export be exact.  Exact export maintains
        cluster-specific fields like 'Namespace'. Deprecated. Planned for
        removal in 1.18.
        :param bool export: Should this value be exported.  Export strips fields
        that a user can not specify. Deprecated. Planned for removal in 1.18.
        :return: PolicyV1beta1PodSecurityPolicy
                 If the method is called asynchronously,
                 returns the request thread.
        )rl   r   r   r   r   r   r   r   r   zJGot an unexpected keyword argument '%s' to method read_pod_security_policyrl   NzMMissing the required parameter `name` when calling `read_pod_security_policy`r   r   r   r"   r&   r'   r(   r)   r|   r   rJ   Tr-   r3   r}   s                  r   r   z8PolicyV1beta1Api.read_pod_security_policy_with_http_infoA
  s   , 7Jk"./()()XFfX./S	J	 >@CD E 	EfSk	 0
 	xf&."8
Y  K"6Nk&L68VH%567&7F7O4568VH%567MKOK"oolm ( %)OO""E7+ .! #OM??##96#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|S )a  
        replace the specified PodDisruptionBudget
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.replace_namespaced_pod_disruption_budget(name,
        namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the PodDisruptionBudget (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta1PodDisruptionBudget body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta1PodDisruptionBudget
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   7replace_namespaced_pod_disruption_budget_with_http_infor   s         r   (replace_namespaced_pod_disruption_budgetz9PolicyV1beta1Api.replace_namespaced_pod_disruption_budget
  sh    8 (,F#$zz+ITII
	4+#)+ + LtKK
	4+#)+tkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )a  
        replace the specified PodDisruptionBudget
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.replace_namespaced_pod_disruption_budget_with_http_info(name,
        namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the PodDisruptionBudget (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta1PodDisruptionBudget body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta1PodDisruptionBudget
                 If the method is called asynchronously,
                 returns the request thread.
        rl   r   r   r   r   r   r   r   r   r   r   zZGot an unexpected keyword argument '%s' to method replace_namespaced_pod_disruption_budgetrl   Nz]Missing the required parameter `name` when calling `replace_namespaced_pod_disruption_budget`r   zbMissing the required parameter `namespace` when calling `replace_namespaced_pod_disruption_budget`r   z]Missing the required parameter `body` when calling `replace_namespaced_pod_disruption_budget`r   r   r    r   r!   r"   r&   r'   r(   r)   ru   PUTr,   Tr-   r3   r   s                    r   r   zHPolicyV1beta1Api.replace_namespaced_pod_disruption_budget_with_http_info
  s   <J k"./()()XFfX./S	J	 N  	 fSk 0 	xf&."8
i  	6!vk':'B
n  	f&."8
i  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCDMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##Q2#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|S )a  
        replace status of the specified PodDisruptionBudget
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.replace_namespaced_pod_disruption_budget_status(name,
        namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the PodDisruptionBudget (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta1PodDisruptionBudget body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta1PodDisruptionBudget
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   >replace_namespaced_pod_disruption_budget_status_with_http_infor   s         r   /replace_namespaced_pod_disruption_budget_statusz@PolicyV1beta1Api.replace_namespaced_pod_disruption_budget_status1  sm    8 (,F#$zz+PTPP
	4+#)+ + N$
M
M
	4+#)+  kr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )a  
        replace status of the specified PodDisruptionBudget
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.replace_namespaced_pod_disruption_budget_status_with_http_info(name,
        namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the PodDisruptionBudget (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta1PodDisruptionBudget body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta1PodDisruptionBudget
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zaGot an unexpected keyword argument '%s' to method replace_namespaced_pod_disruption_budget_statusrl   NzdMissing the required parameter `name` when calling `replace_namespaced_pod_disruption_budget_status`r   ziMissing the required parameter `namespace` when calling `replace_namespaced_pod_disruption_budget_status`r   zdMissing the required parameter `body` when calling `replace_namespaced_pod_disruption_budget_status`r   r   r    r   r!   r"   r&   r'   r(   r)   r   r   r,   Tr-   r3   r   s                    r   r   zOPolicyV1beta1Api.replace_namespaced_pod_disruption_budget_status_with_http_infoW  s   <J k"./()()XFfX./S	J	IKNOP 	P fSk 0 	xf&."8
p  	6!vk':'B
u  	f&."8
p  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCDMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##X2#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )a  
        replace the specified PodSecurityPolicy
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.replace_pod_security_policy(name, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the PodSecurityPolicy (required)
        :param PolicyV1beta1PodSecurityPolicy body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: PolicyV1beta1PodSecurityPolicy
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   *replace_pod_security_policy_with_http_infor   s        r   replace_pod_security_policyz,PolicyV1beta1Api.replace_pod_security_policy  sc    $ (,F#$zz+<T<<
     ?t>>
  tkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a  
        replace the specified PodSecurityPolicy
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.replace_pod_security_policy_with_http_info(name, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the PodSecurityPolicy (required)
        :param PolicyV1beta1PodSecurityPolicy body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: PolicyV1beta1PodSecurityPolicy
                 If the method is called asynchronously,
                 returns the request thread.
        )rl   r   r   r   r   r   r   r   r   r   zMGot an unexpected keyword argument '%s' to method replace_pod_security_policyrl   NzPMissing the required parameter `name` when calling `replace_pod_security_policy`r   zPMissing the required parameter `body` when calling `replace_pod_security_policy`r   r   r    r   r!   r"   r&   r'   r(   r)   r|   r   rJ   Tr-   r3   r   s                   r   r   z;PolicyV1beta1Api.replace_pod_security_policy_with_http_info  sF   & HJk"./()()XFfX./S	J	 ACFG H 	HfSk	 0
 	xf&."8
\  	f&."8
\  K"6Nk&L68VH%567F8VI%678& >6/+BCDMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##96#**[)%zz*BC$6=$67- $ / /r   r
   )+__name__
__module____qualname____doc__r   r   r   rG   rF   rN   rL   rd   rb   rm   rj   rz   rx   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   ra   r   r   r   r      s   !
!Ff/P<Z/xRh[/zKZO/b0d/B+Zs/j(B/HObZ/xN`P/dJXM/^(Tx/t)Vx/t#Ji/V@c/J8Z/x6W/r#Jp/d$Lp/d6[/r   r   )r   
__future__r   sysosresixr   r   r   objectr   ra   r   r   <module>r      s.   	 ' 
 	 	  "f0/v f0/r   