
    \                     >    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
)V1beta1CustomResourceConversion   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
z	list[str]str'ApiextensionsV1beta1WebhookClientConfig)conversion_review_versionsstrategywebhook_client_configconversionReviewVersionsr   webhookClientConfigNc                 n    SU l         SU l        SU l        SU l        Ub  Xl        X l        Ub  X0l        gg)z>
V1beta1CustomResourceConversion - a model defined in Swagger
N)_conversion_review_versions	_strategy_webhook_client_configdiscriminatorr
   r   r   )selfr
   r   r   s       Nlib/third_party/kubernetes/client/models/v1beta1_custom_resource_conversion.py__init__(V1beta1CustomResourceConversion.__init__*   sE     (,D$DN"&DD!-(B%M(#8  )    c                     U R                   $ )a  
Gets the conversion_review_versions of this
V1beta1CustomResourceConversion.
ConversionReviewVersions is an ordered list of preferred
`ConversionReview` versions the Webhook expects. API server will try to
use first version in the list which it supports. If none of the versions
specified in this list supported by API server, conversion will fail for
this object. If a persisted Webhook configuration specifies allowed
versions and does not include any versions known to the API Server,
calls to the webhook will fail. Default to `['v1beta1']`.

:return: The conversion_review_versions of this
V1beta1CustomResourceConversion.
:rtype: list[str]
r   r   s    r   r
   :V1beta1CustomResourceConversion.conversion_review_versions=   s    " +++r   c                     Xl         g)a  
Sets the conversion_review_versions of this
V1beta1CustomResourceConversion.
ConversionReviewVersions is an ordered list of preferred
`ConversionReview` versions the Webhook expects. API server will try to
use first version in the list which it supports. If none of the versions
specified in this list supported by API server, conversion will fail for
this object. If a persisted Webhook configuration specifies allowed
versions and does not include any versions known to the API Server,
calls to the webhook will fail. Default to `['v1beta1']`.

:param conversion_review_versions: The conversion_review_versions of
this V1beta1CustomResourceConversion.
:type: list[str]
Nr   )r   r
   s     r   r
   r   P   s    $ (B$r   c                     U R                   $ )a  
Gets the strategy of this V1beta1CustomResourceConversion.
`strategy` specifies the conversion strategy. Allowed values are: -
`None`: The converter only change the apiVersion and would not touch any
other field in the CR. - `Webhook`: API Server will call to an external
webhook to do the conversion. Additional information is needed for this
option.

:return: The strategy of this V1beta1CustomResourceConversion.
:rtype: str
)r   r   s    r   r   (V1beta1CustomResourceConversion.strategyd   s     >>r   c                 ,    Uc  [        S5      eXl        g)a  
Sets the strategy of this V1beta1CustomResourceConversion.
`strategy` specifies the conversion strategy. Allowed values are: -
`None`: The converter only change the apiVersion and would not touch any
other field in the CR. - `Webhook`: API Server will call to an external
webhook to do the conversion. Additional information is needed for this
option.

:param strategy: The strategy of this V1beta1CustomResourceConversion.
:type: str
Nz0Invalid value for `strategy`, must not be `None`)
ValueErrorr   )r   r   s     r   r   r   s   s     IJJNr   c                     U R                   $ )a  
Gets the webhook_client_config of this V1beta1CustomResourceConversion.
`webhookClientConfig` is the instructions for how to call the webhook if
strategy is `Webhook`. This field is alpha-level and is only honored by
servers that enable the CustomResourceWebhookConversion feature.

:return: The webhook_client_config of this
V1beta1CustomResourceConversion.
:rtype: ApiextensionsV1beta1WebhookClientConfig
r   r   s    r   r   5V1beta1CustomResourceConversion.webhook_client_config   s     &&&r   c                     Xl         g)a  
Sets the webhook_client_config of this V1beta1CustomResourceConversion.
`webhookClientConfig` is the instructions for how to call the webhook if
strategy is `Webhook`. This field is alpha-level and is only honored by
servers that enable the CustomResourceWebhookConversion feature.

:param webhook_client_config: The webhook_client_config of this
V1beta1CustomResourceConversion.
:type: ApiextensionsV1beta1WebhookClientConfig
Nr#   )r   r   s     r   r   r$      s
     #8r   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>9V1beta1CustomResourceConversion.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(   'V1beta1CustomResourceConversion.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&V1beta1CustomResourceConversion.to_str   s     4<<>""r   c                 "    U R                  5       $ )z
For `print` and `pprint`
)r>   r   s    r   __repr__(V1beta1CustomResourceConversion.__repr__   s     ;;=r   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)r3   r   __dict__r   others     r   __eq__&V1beta1CustomResourceConversion.__eq__   s(     e<====ENN**r   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rE   s     r   __ne__&V1beta1CustomResourceConversion.__ne__   s     r   )r   r   r   r
   r   r   r   )NNN)__name__
__module____qualname____firstlineno____doc__r1   attribute_mapr   propertyr
   setterr   r   r(   r>   rA   rG   rK   __static_attributes__rJ   r   r   r   r      s     %0H- %?4- +/%)9& , ,$ $$B %B&   ?? " ' ' 8  8.#+r   r   )rQ   pprintr   sixr   reobjectr   rJ   r   r   <module>rZ      s#   	   	@f @r   