
    .                     >    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).AppsV1beta1DeploymentSpec   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
intboolAppsV1beta1RollbackConfigV1LabelSelectorAppsV1beta1DeploymentStrategy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)z8
AppsV1beta1DeploymentSpec - 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
             Hlib/third_party/kubernetes/client/models/apps_v1beta1_deployment_spec.py__init__"AppsV1beta1DeploymentSpec.__init__6   s     #DDL&*D#DN#'D DDNDNDND$0k ,'@$m)$:!$mmM    c                     U R                   $ )ah  
Gets the min_ready_seconds of this AppsV1beta1DeploymentSpec.
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 AppsV1beta1DeploymentSpec.
:rtype: int
r   r'   s    r(   r   +AppsV1beta1DeploymentSpec.min_ready_secondsa   s     """r+   c                     Xl         g)ax  
Sets the min_ready_seconds of this AppsV1beta1DeploymentSpec.
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
AppsV1beta1DeploymentSpec.
:type: int
Nr-   )r'   r   s     r(   r   r/   o   s
     0r+   c                     U R                   $ )z
Gets the paused of this AppsV1beta1DeploymentSpec.
Indicates that the deployment is paused.

:return: The paused of this AppsV1beta1DeploymentSpec.
:rtype: bool
r   r.   s    r(   r    AppsV1beta1DeploymentSpec.paused   s     <<r+   c                     Xl         g)z
Sets the paused of this AppsV1beta1DeploymentSpec.
Indicates that the deployment is paused.

:param paused: The paused of this AppsV1beta1DeploymentSpec.
:type: bool
Nr2   )r'   r   s     r(   r   r3      s	     Lr+   c                     U R                   $ )a  
Gets the progress_deadline_seconds of this AppsV1beta1DeploymentSpec.
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. Defaults to 600s.

:return: The progress_deadline_seconds of this
AppsV1beta1DeploymentSpec.
:rtype: int
r   r.   s    r(   r   3AppsV1beta1DeploymentSpec.progress_deadline_seconds   s     ***r+   c                     Xl         g)a%  
Sets the progress_deadline_seconds of this AppsV1beta1DeploymentSpec.
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. Defaults to 600s.

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

:return: The replicas of this AppsV1beta1DeploymentSpec.
:rtype: int
r    r.   s    r(   r   "AppsV1beta1DeploymentSpec.replicas        >>r+   c                     Xl         g)z
Sets the replicas of this AppsV1beta1DeploymentSpec.
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 AppsV1beta1DeploymentSpec.
:type: int
Nr:   )r'   r   s     r(   r   r;      	     Nr+   c                     U R                   $ )a,  
Gets the revision_history_limit of this AppsV1beta1DeploymentSpec.
The number of old ReplicaSets to retain to allow rollback. This is a
pointer to distinguish between explicit zero and not specified. Defaults
to 2.

:return: The revision_history_limit of this AppsV1beta1DeploymentSpec.
:rtype: int
r!   r.   s    r(   r   0AppsV1beta1DeploymentSpec.revision_history_limit   s     '''r+   c                     Xl         g)aA  
Sets the revision_history_limit of this AppsV1beta1DeploymentSpec.
The number of old ReplicaSets to retain to allow rollback. This is a
pointer to distinguish between explicit zero and not specified. Defaults
to 2.

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

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

:param rollback_to: The rollback_to of this AppsV1beta1DeploymentSpec.
:type: AppsV1beta1RollbackConfig
NrD   )r'   r   s     r(   r   rE      s
     $r+   c                     U R                   $ )a  
Gets the selector of this AppsV1beta1DeploymentSpec.
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 AppsV1beta1DeploymentSpec.
:rtype: V1LabelSelector
r#   r.   s    r(   r   "AppsV1beta1DeploymentSpec.selector  r<   r+   c                     Xl         g)a  
Sets the selector of this AppsV1beta1DeploymentSpec.
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 AppsV1beta1DeploymentSpec.
:type: V1LabelSelector
NrH   )r'   r   s     r(   r   rI     r>   r+   c                     U R                   $ )z
Gets the strategy of this AppsV1beta1DeploymentSpec.
The deployment strategy to use to replace existing pods with new ones.

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

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

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

:param template: The template of this AppsV1beta1DeploymentSpec.
:type: V1PodTemplateSpec
Nz0Invalid value for `template`, must not be `None`)
ValueErrorr%   )r'   r   s     r(   r   rQ   B  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>3AppsV1beta1DeploymentSpec.to_dict.<locals>.<lambda>Z  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[   `  s9    47I.. #1gtAw'89 9489r+   )
r   swagger_typesgetattr
isinstancelistmaprX   rV   dictitems)r'   resultattr_values        r(   rV   !AppsV1beta1DeploymentSpec.to_dictP  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 AppsV1beta1DeploymentSpec.to_strg  s     4<<>""r+   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rl   r.   s    r(   __repr__"AppsV1beta1DeploymentSpec.__repr__m  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__ AppsV1beta1DeploymentSpec.__eq__s  s(     e677==ENN**r+   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rs   s     r(   __ne__ AppsV1beta1DeploymentSpec.__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&    !#( %0#1%
- -#< 6!
- "&)-&*)V # # 0 0   
==	 	 + +  ##@ $@" 	 	 ??
 
 
( 
(   : !: 	 	 
$ 
$ 	 	 ??
 
   ??	 	   ?? .#+r+   r   )r   pprintr   sixr   reobjectr   rx   r+   r(   <module>r      s#   	   	n nr+   