
                         >    S r SSKJr  SSKJr  SSKr " S S\5      rg)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
    )pformat)	iteritemsNc                       \ rS rSrSr SSSS.rSSSS.rSS
 jr\S 5       r	\	R                  S 5       r	\S 5       r\R                  S 5       r\S 5       r\R                  S 5       rS rS rS rS rS rSrg	)V1alpha1WebhookClientConfig   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
strV1alpha1ServiceReference)	ca_bundleserviceurlcaBundler   r   Nc                 t    SU l         SU l        SU l        SU l        Ub  Xl        Ub  X l        Ub  X0l        gg)z:
V1alpha1WebhookClientConfig - a model defined in Swagger
N)
_ca_bundle_service_urldiscriminatorr
   r   r   )selfr
   r   r   s       Jlib/third_party/kubernetes/client/models/v1alpha1_webhook_client_config.py__init__$V1alpha1WebhookClientConfig.__init__&   sF    
 DODMDID nl
h     c                     U R                   $ )a'  
Gets the ca_bundle of this V1alpha1WebhookClientConfig.
`caBundle` is a PEM encoded CA bundle which will be used to validate the
webhook's server certificate. If unspecified, system trust roots on the
apiserver are used.

:return: The ca_bundle of this V1alpha1WebhookClientConfig.
:rtype: str
)r   r   s    r   r
   %V1alpha1WebhookClientConfig.ca_bundle7   s     ??r   c                 d    Ub'  [         R                  " SU5      (       d  [        S5      eXl        g)a/  
Sets the ca_bundle of this V1alpha1WebhookClientConfig.
`caBundle` is a PEM encoded CA bundle which will be used to validate the
webhook's server certificate. If unspecified, system trust roots on the
apiserver are used.

:param ca_bundle: The ca_bundle of this V1alpha1WebhookClientConfig.
:type: str
Nz@^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$zInvalid value for `ca_bundle`, must be a follow pattern or equal to r`/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/`)research
ValueErrorr   )r   r
   s     r   r
   r   D   s<     RYYK& &  V   Or   c                     U R                   $ )a  
Gets the service of this V1alpha1WebhookClientConfig.
`service` is a reference to the service for this webhook. Either
`service` or `url` must be specified.  If the webhook is running within
the cluster, then you should use `service`.  Port 443 will be used if it
is open, otherwise it is an error.

:return: The service of this V1alpha1WebhookClientConfig.
:rtype: V1alpha1ServiceReference
r   r   s    r   r   #V1alpha1WebhookClientConfig.serviceX   s     ==r   c                     Xl         g)a  
Sets the service of this V1alpha1WebhookClientConfig.
`service` is a reference to the service for this webhook. Either
`service` or `url` must be specified.  If the webhook is running within
the cluster, then you should use `service`.  Port 443 will be used if it
is open, otherwise it is an error.

:param service: The service of this V1alpha1WebhookClientConfig.
:type: V1alpha1ServiceReference
Nr    )r   r   s     r   r   r!   f   s	     Mr   c                     U R                   $ )a  
Gets the url of this V1alpha1WebhookClientConfig.
`url` gives the location of the webhook, in standard URL form
(`scheme://host:port/path`). Exactly one of `url` or `service` must be
specified.  The `host` should not refer to a service running in the
cluster; use the `service` field instead. The host might be resolved via
external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve
in-cluster DNS as that would be a layering violation). `host` may also
be an IP address.  Please note that using `localhost` or `127.0.0.1` as
a `host` is risky unless you take great care to run this webhook on all
hosts which run an apiserver which might need to make calls to this
webhook. Such installs are likely to be non-portable, i.e., not easy to
turn up in a new cluster.  The scheme must be "https"; the URL must
begin with "https://".  A path is optional, and if present may be any
string permissible in a URL. You may use the path to pass an arbitrary
string to the webhook, for example, a cluster identifier.  Attempting to
use a user or basic auth e.g. "user:password@" is not allowed.
Fragments ("#...") and query parameters ("?...") are not allowed,
either.

:return: The url of this V1alpha1WebhookClientConfig.
:rtype: str
r   r   s    r   r   V1alpha1WebhookClientConfig.urlu   s    2 99r   c                     Xl         g)a  
Sets the url of this V1alpha1WebhookClientConfig.
`url` gives the location of the webhook, in standard URL form
(`scheme://host:port/path`). Exactly one of `url` or `service` must be
specified.  The `host` should not refer to a service running in the
cluster; use the `service` field instead. The host might be resolved via
external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve
in-cluster DNS as that would be a layering violation). `host` may also
be an IP address.  Please note that using `localhost` or `127.0.0.1` as
a `host` is risky unless you take great care to run this webhook on all
hosts which run an apiserver which might need to make calls to this
webhook. Such installs are likely to be non-portable, i.e., not easy to
turn up in a new cluster.  The scheme must be "https"; the URL must
begin with "https://".  A path is optional, and if present may be any
string permissible in a URL. You may use the path to pass an arbitrary
string to the webhook, for example, a cluster identifier.  Attempting to
use a user or basic auth e.g. "user:password@" is not allowed.
Fragments ("#...") and query parameters ("?...") are not allowed,
either.

:param url: The url of this V1alpha1WebhookClientConfig.
:type: str
Nr$   )r   r   s     r   r   r%      s	    4 Ir   c                    0 n[        U R                  5       H  u  p#[        X5      n[        U[        5      (       a  [	        [        S U5      5      X'   M?  [        US5      (       a  UR                  5       X'   Md  [        U[        5      (       a(  [        [        S UR                  5       5      5      X'   M  XAU'   M     U$ )z(
Returns the model properties as a dict
c                 H    [        U S5      (       a  U R                  5       $ U $ )Nto_dicthasattrr)   )xs    r   <lambda>5V1alpha1WebhookClientConfig.to_dict.<locals>.<lambda>   s    I)>)>!))+EAEr   r)   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r)   r   r*   )items    r   r-   r.      s9    47I.. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr+   r)   dictitems)r   resultattr_values        r   r)   #V1alpha1WebhookClientConfig.to_dict   s     FT//0d!e	E4	 	 EuMO5)$$}}eT""9:?++-IJ
 t 1 Mr   c                 4    [        U R                  5       5      $ )z0
Returns the string representation of the model
)r   r)   r   s    r   to_str"V1alpha1WebhookClientConfig.to_str   s     4<<>""r   c                 "    U R                  5       $ )z
For `print` and `pprint`
)r?   r   s    r   __repr__$V1alpha1WebhookClientConfig.__repr__   s     ;;=r   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)r4   r   __dict__r   others     r   __eq__"V1alpha1WebhookClientConfig.__eq__   s(     e899==ENN**r   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rF   s     r   __ne__"V1alpha1WebhookClientConfig.__ne__   s     r   )r   r   r   r
   r   r   r   )NNN)__name__
__module____qualname____firstlineno____doc__r2   attribute_mapr   propertyr
   setterr   r   r)   r?   rB   rH   rL   __static_attributes__rK   r   r   r   r      s     +- !+yO-" 
 
    &   >>   4 :: 6.#+r   r   )rR   pprintr   sixr   r   objectr   rK   r   r   <module>rZ      s#   	   	J& Jr   