
    j                     >    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                   p   \ rS rSrSr SSSSSS.rS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 5       r\R                  S 5       rS rS rS rS rS rSrg)V1beta1LeaseSpec   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
datetimestrint)acquire_timeholder_identitylease_duration_secondslease_transitions
renew_timeacquireTimeholderIdentityleaseDurationSecondsleaseTransitions	renewTimeNc                     SU l         SU l        SU l        SU l        SU l        SU l        Ub  Xl        Ub  X l        Ub  X0l        Ub  X@l	        Ub  XPl
        gg)z/
V1beta1LeaseSpec - a model defined in Swagger
N)_acquire_time_holder_identity_lease_duration_seconds_lease_transitions_renew_timediscriminatorr   r   r   r   r   )selfr   r   r   r   r   s         >lib/third_party/kubernetes/client/models/v1beta1_lease_spec.py__init__V1beta1LeaseSpec.__init__.   st     D D#'D "DDD&",)$:!$0"o     c                     U R                   $ )z
Gets the acquire_time of this V1beta1LeaseSpec.
acquireTime is a time when the current lease was acquired.

:return: The acquire_time of this V1beta1LeaseSpec.
:rtype: datetime
r   r   s    r   r   V1beta1LeaseSpec.acquire_timeJ   s     r    c                     Xl         g)z
Sets the acquire_time of this V1beta1LeaseSpec.
acquireTime is a time when the current lease was acquired.

:param acquire_time: The acquire_time of this V1beta1LeaseSpec.
:type: datetime
Nr"   )r   r   s     r   r   r$   U   s
     &r    c                     U R                   $ )z
Gets the holder_identity of this V1beta1LeaseSpec.
holderIdentity contains the identity of the holder of a current lease.

:return: The holder_identity of this V1beta1LeaseSpec.
:rtype: str
r   r#   s    r   r    V1beta1LeaseSpec.holder_identitya   s        r    c                     Xl         g)z
Sets the holder_identity of this V1beta1LeaseSpec.
holderIdentity contains the identity of the holder of a current lease.

:param holder_identity: The holder_identity of this V1beta1LeaseSpec.
:type: str
Nr'   )r   r   s     r   r   r(   l   s
     ,r    c                     U R                   $ )a   
Gets the lease_duration_seconds of this V1beta1LeaseSpec.
leaseDurationSeconds is a duration that candidates for a lease need to
wait to force acquire it. This is measure against time of last observed
RenewTime.

:return: The lease_duration_seconds of this V1beta1LeaseSpec.
:rtype: int
r   r#   s    r   r   'V1beta1LeaseSpec.lease_duration_secondsx   s     '''r    c                     Xl         g)a5  
Sets the lease_duration_seconds of this V1beta1LeaseSpec.
leaseDurationSeconds is a duration that candidates for a lease need to
wait to force acquire it. This is measure against time of last observed
RenewTime.

:param lease_duration_seconds: The lease_duration_seconds of this
V1beta1LeaseSpec.
:type: int
Nr+   )r   r   s     r   r   r,      s
     $: r    c                     U R                   $ )z
Gets the lease_transitions of this V1beta1LeaseSpec.
leaseTransitions is the number of transitions of a lease between
holders.

:return: The lease_transitions of this V1beta1LeaseSpec.
:rtype: int
r   r#   s    r   r   "V1beta1LeaseSpec.lease_transitions   s     """r    c                     Xl         g)z
Sets the lease_transitions of this V1beta1LeaseSpec.
leaseTransitions is the number of transitions of a lease between
holders.

:param lease_transitions: The lease_transitions of this
V1beta1LeaseSpec.
:type: int
Nr/   )r   r   s     r   r   r0      s
     0r    c                     U R                   $ )z
Gets the renew_time of this V1beta1LeaseSpec.
renewTime is a time when the current holder of a lease has last updated
the lease.

:return: The renew_time of this V1beta1LeaseSpec.
:rtype: datetime
r   r#   s    r   r   V1beta1LeaseSpec.renew_time   s     r    c                     Xl         g)z
Sets the renew_time of this V1beta1LeaseSpec.
renewTime is a time when the current holder of a lease has last updated
the lease.

:param renew_time: The renew_time of this V1beta1LeaseSpec.
:type: datetime
Nr3   )r   r   s     r   r   r4      s
     "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hasattrr8   )xs    r   <lambda>*V1beta1LeaseSpec.to_dict.<locals>.<lambda>   s    I)>)>!))+EAEr    r8   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r8   r   r9   )items    r   r<   r=      s9    47I.. #1gtAw'89 9489r    )
r   swagger_typesgetattr
isinstancelistmapr:   r8   dictitems)r   resultattr_values        r   r8   V1beta1LeaseSpec.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   r8   r#   s    r   to_strV1beta1LeaseSpec.to_str   s     4<<>""r    c                 "    U R                  5       $ )z
For `print` and `pprint`
)rN   r#   s    r   __repr__V1beta1LeaseSpec.__repr__   s     ;;=r    c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)rC   r   __dict__r   others     r   __eq__V1beta1LeaseSpec.__eq__   s(     e-..==ENN**r    c                     X:X  + $ )z,
Returns true if both objects are not equal
 rU   s     r   __ne__V1beta1LeaseSpec.__ne__   s     r    )r   r   r   r   r   r   r   r   r   r   r   )NNNNN)__name__
__module____qualname____firstlineno____doc__rA   attribute_mapr   propertyr   setterr   r   r   r   r8   rN   rQ   rW   r[   __static_attributes__rZ   r    r   r   r      sQ    ! % - $) 6-- !#&*!%#8   	& 	& ! ! 	, 	, 
( 
(   : !: 	# 	# 0 0 	 	 
" 
".#+r    r   )ra   pprintr   sixr   reobjectr   rZ   r    r   <module>rj      s#   	   	ev er    