
     2                     >    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            
       X   \ rS rSrSr SSSSSSSSSS	.	rS
SSS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 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).ExtensionsV1beta1DeploymentSpec   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
intboolExtensionsV1beta1RollbackConfigV1LabelSelector#ExtensionsV1beta1DeploymentStrategyV1PodTemplateSpec)	min_ready_secondspausedprogress_deadline_secondsreplicasrevision_history_limitrollback_toselectorstrategytemplateminReadySecondsr   progressDeadlineSecondsr   revisionHistoryLimit
rollbackTor   r   r   Nc
                 ,   SU l         SU l        SU l        SU l        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        Ub  X`l        Ub  Xpl        Ub  Xl        Xl        g)z>
ExtensionsV1beta1DeploymentSpec - a model defined in Swagger
N_min_ready_seconds_paused_progress_deadline_seconds	_replicas_revision_history_limit_rollback_to	_selector	_strategy	_templatediscriminatorr   r   r   r   r   r   r   r   r   )
selfr   r   r   r   r   r   r   r   r   s
             Nlib/third_party/kubernetes/client/models/extensions_v1beta1_deployment_spec.py__init__(ExtensionsV1beta1DeploymentSpec.__init__6   s     #DDL&*D#DN#'D DDNDNDND$0k ,'@$m)$:!$mmM    c                     U R                   $ )at  
Gets the min_ready_seconds of this ExtensionsV1beta1DeploymentSpec.
Minimum number of seconds for which a newly created 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 ExtensionsV1beta1DeploymentSpec.
:rtype: int
r   r'   s    r(   r   1ExtensionsV1beta1DeploymentSpec.min_ready_secondsa   s     """r+   c                     Xl         g)a  
Sets the min_ready_seconds of this ExtensionsV1beta1DeploymentSpec.
Minimum number of seconds for which a newly created 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
ExtensionsV1beta1DeploymentSpec.
:type: int
Nr-   )r'   r   s     r(   r   r/   o   s
     0r+   c                     U R                   $ )z
Gets the paused of this ExtensionsV1beta1DeploymentSpec.
Indicates that the deployment is paused and will not be processed by the
deployment controller.

:return: The paused of this ExtensionsV1beta1DeploymentSpec.
:rtype: bool
r   r.   s    r(   r   &ExtensionsV1beta1DeploymentSpec.paused   s     <<r+   c                     Xl         g)z
Sets the paused of this ExtensionsV1beta1DeploymentSpec.
Indicates that the deployment is paused and will not be processed by the
deployment controller.

:param paused: The paused of this ExtensionsV1beta1DeploymentSpec.
:type: bool
Nr2   )r'   r   s     r(   r   r3      s	     Lr+   c                     U R                   $ )af  
Gets the progress_deadline_seconds of this
ExtensionsV1beta1DeploymentSpec.
The maximum time in seconds for a deployment to make progress before it
is considered to be failed. The deployment controller will continue to
process failed deployments and a condition with a
ProgressDeadlineExceeded reason will be surfaced in the deployment
status. Note that progress will not be estimated during the time a
deployment is paused. This is set to the max value of int32 (i.e.
2147483647) by default, which means "no deadline".

:return: The progress_deadline_seconds of this
ExtensionsV1beta1DeploymentSpec.
:rtype: int
r   r.   s    r(   r   9ExtensionsV1beta1DeploymentSpec.progress_deadline_seconds   s    " ***r+   c                     Xl         g)a~  
Sets the progress_deadline_seconds of this
ExtensionsV1beta1DeploymentSpec.
The maximum time in seconds for a deployment to make progress before it
is considered to be failed. The deployment controller will continue to
process failed deployments and a condition with a
ProgressDeadlineExceeded reason will be surfaced in the deployment
status. Note that progress will not be estimated during the time a
deployment is paused. This is set to the max value of int32 (i.e.
2147483647) by default, which means "no deadline".

:param progress_deadline_seconds: The progress_deadline_seconds of this
ExtensionsV1beta1DeploymentSpec.
:type: int
Nr6   )r'   r   s     r(   r   r7      s    $ '@#r+   c                     U R                   $ )z
Gets the replicas of this ExtensionsV1beta1DeploymentSpec.
Number of desired pods. This is a pointer to distinguish between
explicit zero and not specified. Defaults to 1.

:return: The replicas of this ExtensionsV1beta1DeploymentSpec.
:rtype: int
r    r.   s    r(   r   (ExtensionsV1beta1DeploymentSpec.replicas        >>r+   c                     Xl         g)a   
Sets the replicas of this ExtensionsV1beta1DeploymentSpec.
Number of desired pods. This is a pointer to distinguish between
explicit zero and not specified. Defaults to 1.

:param replicas: The replicas of this ExtensionsV1beta1DeploymentSpec.
:type: int
Nr:   )r'   r   s     r(   r   r;      	     Nr+   c                     U R                   $ )a  
Gets the revision_history_limit of this ExtensionsV1beta1DeploymentSpec.
The number of old ReplicaSets to retain to allow rollback. This is a
pointer to distinguish between explicit zero and not specified. This is
set to the max value of int32 (i.e. 2147483647) by default, which means
"retaining all old RelicaSets".

:return: The revision_history_limit of this
ExtensionsV1beta1DeploymentSpec.
:rtype: int
r!   r.   s    r(   r   6ExtensionsV1beta1DeploymentSpec.revision_history_limit   s     '''r+   c                     Xl         g)a  
Sets the revision_history_limit of this ExtensionsV1beta1DeploymentSpec.
The number of old ReplicaSets to retain to allow rollback. This is a
pointer to distinguish between explicit zero and not specified. This is
set to the max value of int32 (i.e. 2147483647) by default, which means
"retaining all old RelicaSets".

:param revision_history_limit: The revision_history_limit of this
ExtensionsV1beta1DeploymentSpec.
:type: int
Nr@   )r'   r   s     r(   r   rA      s
     $: r+   c                     U R                   $ )a  
Gets the rollback_to of this ExtensionsV1beta1DeploymentSpec.
DEPRECATED. The config this deployment is rolling back to. Will be
cleared after rollback is done.

:return: The rollback_to of this ExtensionsV1beta1DeploymentSpec.
:rtype: ExtensionsV1beta1RollbackConfig
r"   r.   s    r(   r   +ExtensionsV1beta1DeploymentSpec.rollback_to   s     r+   c                     Xl         g)a  
Sets the rollback_to of this ExtensionsV1beta1DeploymentSpec.
DEPRECATED. The config this deployment is rolling back to. Will be
cleared after rollback is done.

:param rollback_to: The rollback_to of this
ExtensionsV1beta1DeploymentSpec.
:type: ExtensionsV1beta1RollbackConfig
NrD   )r'   r   s     r(   r   rE     s
     $r+   c                     U R                   $ )a  
Gets the selector of this ExtensionsV1beta1DeploymentSpec.
Label selector for pods. Existing ReplicaSets whose pods are selected by
this will be the ones affected by this deployment.

:return: The selector of this ExtensionsV1beta1DeploymentSpec.
:rtype: V1LabelSelector
r#   r.   s    r(   r   (ExtensionsV1beta1DeploymentSpec.selector  r<   r+   c                     Xl         g)a  
Sets the selector of this ExtensionsV1beta1DeploymentSpec.
Label selector for pods. Existing ReplicaSets whose pods are selected by
this will be the ones affected by this deployment.

:param selector: The selector of this ExtensionsV1beta1DeploymentSpec.
:type: V1LabelSelector
NrH   )r'   r   s     r(   r   rI     r>   r+   c                     U R                   $ )z
Gets the strategy of this ExtensionsV1beta1DeploymentSpec.
The deployment strategy to use to replace existing pods with new ones.

:return: The strategy of this ExtensionsV1beta1DeploymentSpec.
:rtype: ExtensionsV1beta1DeploymentStrategy
r$   r.   s    r(   r   (ExtensionsV1beta1DeploymentSpec.strategy*       >>r+   c                     Xl         g)z
Sets the strategy of this ExtensionsV1beta1DeploymentSpec.
The deployment strategy to use to replace existing pods with new ones.

:param strategy: The strategy of this ExtensionsV1beta1DeploymentSpec.
:type: ExtensionsV1beta1DeploymentStrategy
NrL   )r'   r   s     r(   r   rM   5  s	     Nr+   c                     U R                   $ )z
Gets the template of this ExtensionsV1beta1DeploymentSpec.
Template describes the pods that will be created.

:return: The template of this ExtensionsV1beta1DeploymentSpec.
:rtype: V1PodTemplateSpec
)r%   r.   s    r(   r   (ExtensionsV1beta1DeploymentSpec.templateA  rN   r+   c                 ,    Uc  [        S5      eXl        g)z
Sets the template of this ExtensionsV1beta1DeploymentSpec.
Template describes the pods that will be created.

:param template: The template of this ExtensionsV1beta1DeploymentSpec.
:type: V1PodTemplateSpec
Nz0Invalid value for `template`, must not be `None`)
ValueErrorr%   )r'   r   s     r(   r   rQ   L  s     IJJNr+   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hasattrrV   )xs    r(   <lambda>9ExtensionsV1beta1DeploymentSpec.to_dict.<locals>.<lambda>d  s    I)>)>!))+EAEr+   rV   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   rV   r   rW   )items    r(   rZ   r[   j  s9    47I.. #1gtAw'89 9489r+   )
r   swagger_typesgetattr
isinstancelistmaprX   rV   dictitems)r'   resultattr_values        r(   rV   'ExtensionsV1beta1DeploymentSpec.to_dictZ  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   rV   r.   s    r(   to_str&ExtensionsV1beta1DeploymentSpec.to_strq  s     4<<>""r+   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rl   r.   s    r(   __repr__(ExtensionsV1beta1DeploymentSpec.__repr__w  s     ;;=r+   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)ra   r   __dict__r'   others     r(   __eq__&ExtensionsV1beta1DeploymentSpec.__eq__}  s(     e<====ENN**r+   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rs   s     r(   __ne__&ExtensionsV1beta1DeploymentSpec.__ne__  s     r+   r   )	NNNNNNNNN)__name__
__module____qualname____firstlineno____doc__r_   attribute_mapr)   propertyr   setterr   r   r   r   r   r   r   r   rV   rl   ro   ru   ry   __static_attributes__rx   r+   r(   r   r      s&    !#( %6#7%
- -#< 6!
- "&)-&*)V # # 0 0 	 	 
==
 
 + +$ ##@ $@& 	 	 ??
 
 ( (   : !: 	 	 $ $ 	 	 ??
 
   ??	 	   ?? .#+r+   r   )r   pprintr   sixr   reobjectr   rx   r+   r(   <module>r      s#   	   	xf xr+   