
                         >    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S.rS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 5       r\R                  S 5       rS rS rS rS rS rSrg
)V1Taint   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
strdatetime)effectkey
time_addedvaluer
   r   	timeAddedr   Nc                     SU l         SU l        SU l        SU l        SU l        Xl        X l        Ub  X0l        Ub  X@l        gg)z&
V1Taint - a model defined in Swagger
N	_effect_key_time_added_valuediscriminatorr
   r   r   r   )selfr
   r   r   r   s        4lib/third_party/kubernetes/client/models/v1_taint.py__init__V1Taint.__init__,   sN    
 DLDIDDKDKH"oj     c                     U R                   $ )z
Gets the effect of this V1Taint.
Required. The effect of the taint on pods that do not tolerate the
taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.

:return: The effect of this V1Taint.
:rtype: str
)r   r   s    r   r
   V1Taint.effect>   s     <<r   c                 ,    Uc  [        S5      eXl        g)z
Sets the effect of this V1Taint.
Required. The effect of the taint on pods that do not tolerate the
taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.

:param effect: The effect of this V1Taint.
:type: str
Nz.Invalid value for `effect`, must not be `None`)
ValueErrorr   )r   r
   s     r   r
   r   J   s     ~GHHLr   c                     U R                   $ )z
Gets the key of this V1Taint.
Required. The taint key to be applied to a node.

:return: The key of this V1Taint.
:rtype: str
)r   r   s    r   r   V1Taint.keyY   s     99r   c                 ,    Uc  [        S5      eXl        g)z
Sets the key of this V1Taint.
Required. The taint key to be applied to a node.

:param key: The key of this V1Taint.
:type: str
Nz+Invalid value for `key`, must not be `None`)r   r   )r   r   s     r   r   r!   d   s     {DEEIr   c                     U R                   $ )z
Gets the time_added of this V1Taint.
TimeAdded represents the time at which the taint was added. It is only
written for NoExecute taints.

:return: The time_added of this V1Taint.
:rtype: datetime
r   r   s    r   r   V1Taint.time_addedr   s     r   c                     Xl         g)z
Sets the time_added of this V1Taint.
TimeAdded represents the time at which the taint was added. It is only
written for NoExecute taints.

:param time_added: The time_added of this V1Taint.
:type: datetime
Nr$   )r   r   s     r   r   r%   ~   s
     "r   c                     U R                   $ )z
Gets the value of this V1Taint.
Required. The taint value corresponding to the taint key.

:return: The value of this V1Taint.
:rtype: str
r   r   s    r   r   V1Taint.value   s     ;;r   c                     Xl         g)z
Sets the value of this V1Taint.
Required. The taint value corresponding to the taint key.

:param value: The value of this V1Taint.
:type: str
Nr(   )r   r   s     r   r   r)      s	     Kr   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>!V1Taint.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   r1   r2      s9    47I.. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr/   r-   dictitems)r   resultattr_r   s        r   r-   V1Taint.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V1Taint.to_str   s     4<<>""r   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rB   r   s    r   __repr__V1Taint.__repr__   s     ;;=r   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)r8   r   __dict__r   others     r   __eq__V1Taint.__eq__   s'     eW%%==ENN**r   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rI   s     r   __ne__V1Taint.__ne__   s     r   r   )NNNN)__name__
__module____qualname____firstlineno____doc__r6   attribute_mapr   propertyr
   setterr   r   r   r-   rB   rE   rK   rO   __static_attributes__rN   r   r   r   r      s    	- 	-$ 	 	 
==    ::  	 	 
" 
"   	<<	 	.#+r   r   )rU   pprintr   sixr   reobjectr   rN   r   r   <module>r^      s#   	   	@f @r   