
    D!                     >    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) V1beta2DaemonSetSpec   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
intV1LabelSelectorV1PodTemplateSpecV1beta2DaemonSetUpdateStrategy)min_ready_secondsrevision_history_limitselectortemplateupdate_strategyminReadySecondsrevisionHistoryLimitr   r   updateStrategyNc                     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        X0l        X@l	        Ub  XPl
        gg)z3
V1beta2DaemonSetSpec - a model defined in Swagger
N_min_ready_seconds_revision_history_limit	_selector	_template_update_strategydiscriminatorr   r   r   r   r   )selfr   r   r   r   r   s         Clib/third_party/kubernetes/client/models/v1beta2_daemon_set_spec.py__init__V1beta2DaemonSetSpec.__init__.   se     #D#'D DNDN DD$0)$:!MM", #    c                     U R                   $ )am  
Gets the min_ready_seconds of this V1beta2DaemonSetSpec.
The minimum number of seconds for which a newly created DaemonSet pod
should be ready without any of its container crashing, for it to be
considered available. Defaults to 0 (pod will be considered available as
soon as it is ready).

:return: The min_ready_seconds of this V1beta2DaemonSetSpec.
:rtype: int
r   r   s    r   r   &V1beta2DaemonSetSpec.min_ready_secondsH   s     """r    c                     Xl         g)a}  
Sets the min_ready_seconds of this V1beta2DaemonSetSpec.
The minimum number of seconds for which a newly created DaemonSet pod
should be ready without any of its container crashing, for it to be
considered available. Defaults to 0 (pod will be considered available as
soon as it is ready).

:param min_ready_seconds: The min_ready_seconds of this
V1beta2DaemonSetSpec.
:type: int
Nr"   )r   r   s     r   r   r$   V   s
     0r    c                     U R                   $ )a  
Gets the revision_history_limit of this V1beta2DaemonSetSpec.
The number of old history to retain to allow rollback. This is a pointer
to distinguish between explicit zero and not specified. Defaults to 10.

:return: The revision_history_limit of this V1beta2DaemonSetSpec.
:rtype: int
r   r#   s    r   r   +V1beta2DaemonSetSpec.revision_history_limitf   s     '''r    c                     Xl         g)a4  
Sets the revision_history_limit of this V1beta2DaemonSetSpec.
The number of old history to retain to allow rollback. This is a pointer
to distinguish between explicit zero and not specified. Defaults to 10.

:param revision_history_limit: The revision_history_limit of this
V1beta2DaemonSetSpec.
:type: int
Nr'   )r   r   s     r   r   r(   r   s
     $: r    c                     U R                   $ )an  
Gets the selector of this V1beta2DaemonSetSpec.
A label query over pods that are managed by the daemon set. Must match
in order to be controlled. It must match the pod template's labels. More
info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

:return: The selector of this V1beta2DaemonSetSpec.
:rtype: V1LabelSelector
)r   r#   s    r   r   V1beta2DaemonSetSpec.selector   s     >>r    c                 ,    Uc  [        S5      eXl        g)au  
Sets the selector of this V1beta2DaemonSetSpec.
A label query over pods that are managed by the daemon set. Must match
in order to be controlled. It must match the pod template's labels. More
info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

:param selector: The selector of this V1beta2DaemonSetSpec.
:type: V1LabelSelector
Nz0Invalid value for `selector`, must not be `None`)
ValueErrorr   )r   r   s     r   r   r+      s     IJJNr    c                     U R                   $ )a  
Gets the template of this V1beta2DaemonSetSpec.
An object that describes the pod that will be created. The DaemonSet
will create exactly one copy of this pod on every node that matches the
template's node selector (or on every node if no node selector is
specified). More info:
https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template

:return: The template of this V1beta2DaemonSetSpec.
:rtype: V1PodTemplateSpec
)r   r#   s    r   r   V1beta2DaemonSetSpec.template   s     >>r    c                 ,    Uc  [        S5      eXl        g)a  
Sets the template of this V1beta2DaemonSetSpec.
An object that describes the pod that will be created. The DaemonSet
will create exactly one copy of this pod on every node that matches the
template's node selector (or on every node if no node selector is
specified). More info:
https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template

:param template: The template of this V1beta2DaemonSetSpec.
:type: V1PodTemplateSpec
Nz0Invalid value for `template`, must not be `None`)r-   r   )r   r   s     r   r   r/      s     IJJNr    c                     U R                   $ )z
Gets the update_strategy of this V1beta2DaemonSetSpec.
An update strategy to replace existing DaemonSet pods with new pods.

:return: The update_strategy of this V1beta2DaemonSetSpec.
:rtype: V1beta2DaemonSetUpdateStrategy
r   r#   s    r   r   $V1beta2DaemonSetSpec.update_strategy   s        r    c                     Xl         g)z
Sets the update_strategy of this V1beta2DaemonSetSpec.
An update strategy to replace existing DaemonSet pods with new pods.

:param update_strategy: The update_strategy of this
V1beta2DaemonSetSpec.
:type: V1beta2DaemonSetUpdateStrategy
Nr2   )r   r   s     r   r   r3      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hasattrr7   )xs    r   <lambda>.V1beta2DaemonSetSpec.to_dict.<locals>.<lambda>   s    I)>)>!))+EAEr    r7   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r7   r   r8   )items    r   r;   r<      s9    47I.. #1gtAw'89 9489r    )
r   swagger_typesgetattr
isinstancelistmapr9   r7   dictitems)r   resultattr_values        r   r7   V1beta2DaemonSetSpec.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   r7   r#   s    r   to_strV1beta2DaemonSetSpec.to_str   s     4<<>""r    c                 "    U R                  5       $ )z
For `print` and `pprint`
)rM   r#   s    r   __repr__V1beta2DaemonSetSpec.__repr__   s     ;;=r    c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)rB   r   __dict__r   others     r   __eq__V1beta2DaemonSetSpec.__eq__   s(     e122==ENN**r    c                     X:X  + $ )z,
Returns true if both objects are not equal
 rT   s     r   __ne__V1beta2DaemonSetSpec.__ne__  s     r    r   )NNNNN)__name__
__module____qualname____firstlineno____doc__r@   attribute_mapr   propertyr   setterr   r   r   r   r7   rM   rP   rV   rZ   __static_attributes__rY   r    r   r   r      sM    ! %#%9- - 6)- "&&*#-4 # # 0 0 	( 	(   : !:   ??     ?? " ! ! 
, 
,.#+r    r   )r`   pprintr   sixr   reobjectr   rY   r    r   <module>ri      s#   	   	v6 vr    