
    +                     >    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SSSS.r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# rS$ rS% rS& rS' rS(rg)*V1beta2DeploymentSpec   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
intboolV1LabelSelectorV1beta2DeploymentStrategyV1PodTemplateSpec)min_ready_secondspausedprogress_deadline_secondsreplicasrevision_history_limitselectorstrategytemplateminReadySecondsr   progressDeadlineSecondsr   revisionHistoryLimitr   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        Ub  Xl	        Ub  X l
        Ub  X0l        Ub  X@l        Ub  XPl        X`l        Ub  Xpl        Xl        g)z4
V1beta2DeploymentSpec - a model defined in Swagger
N_min_ready_seconds_paused_progress_deadline_seconds	_replicas_revision_history_limit	_selector	_strategy	_templatediscriminatorr   r   r   r   r   r   r   r   )	selfr   r   r   r   r   r   r   r   s	            Clib/third_party/kubernetes/client/models/v1beta2_deployment_spec.py__init__V1beta2DeploymentSpec.__init__4   s     #DDL&*D#DN#'D DNDNDND$0k ,'@$m)$:!MmM    c                     U R                   $ )a`  
Gets the min_ready_seconds of this V1beta2DeploymentSpec.
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 V1beta2DeploymentSpec.
:rtype: int
r   r#   s    r$   r   'V1beta2DeploymentSpec.min_ready_secondsZ   s     """r'   c                     Xl         g)ap  
Sets the min_ready_seconds of this V1beta2DeploymentSpec.
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
V1beta2DeploymentSpec.
:type: int
Nr)   )r#   r   s     r$   r   r+   h   s
     0r'   c                     U R                   $ )z
Gets the paused of this V1beta2DeploymentSpec.
Indicates that the deployment is paused.

:return: The paused of this V1beta2DeploymentSpec.
:rtype: bool
r   r*   s    r$   r   V1beta2DeploymentSpec.pausedx   s     <<r'   c                     Xl         g)z
Sets the paused of this V1beta2DeploymentSpec.
Indicates that the deployment is paused.

:param paused: The paused of this V1beta2DeploymentSpec.
:type: bool
Nr.   )r#   r   s     r$   r   r/      s	     Lr'   c                     U R                   $ )a  
Gets the progress_deadline_seconds of this V1beta2DeploymentSpec.
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 V1beta2DeploymentSpec.
:rtype: int
r   r*   s    r$   r   /V1beta2DeploymentSpec.progress_deadline_seconds   s     ***r'   c                     Xl         g)a  
Sets the progress_deadline_seconds of this V1beta2DeploymentSpec.
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
V1beta2DeploymentSpec.
:type: int
Nr2   )r#   r   s     r$   r   r3      s      '@#r'   c                     U R                   $ )z
Gets the replicas of this V1beta2DeploymentSpec.
Number of desired pods. This is a pointer to distinguish between
explicit zero and not specified. Defaults to 1.

:return: The replicas of this V1beta2DeploymentSpec.
:rtype: int
r   r*   s    r$   r   V1beta2DeploymentSpec.replicas   s     >>r'   c                     Xl         g)z
Sets the replicas of this V1beta2DeploymentSpec.
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 V1beta2DeploymentSpec.
:type: int
Nr6   )r#   r   s     r$   r   r7      s	     Nr'   c                     U R                   $ )a%  
Gets the revision_history_limit of this V1beta2DeploymentSpec.
The number of old ReplicaSets 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 V1beta2DeploymentSpec.
:rtype: int
r   r*   s    r$   r   ,V1beta2DeploymentSpec.revision_history_limit   s     '''r'   c                     Xl         g)a:  
Sets the revision_history_limit of this V1beta2DeploymentSpec.
The number of old ReplicaSets 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
V1beta2DeploymentSpec.
:type: int
Nr:   )r#   r   s     r$   r   r;      s
     $: r'   c                     U R                   $ )a%  
Gets the selector of this V1beta2DeploymentSpec.
Label selector for pods. Existing ReplicaSets whose pods are selected by
this will be the ones affected by this deployment. It must match the pod
template's labels.

:return: The selector of this V1beta2DeploymentSpec.
:rtype: V1LabelSelector
)r   r*   s    r$   r   V1beta2DeploymentSpec.selector   s     >>r'   c                 ,    Uc  [        S5      eXl        g)a,  
Sets the selector of this V1beta2DeploymentSpec.
Label selector for pods. Existing ReplicaSets whose pods are selected by
this will be the ones affected by this deployment. It must match the pod
template's labels.

:param selector: The selector of this V1beta2DeploymentSpec.
: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                   $ )z
Gets the strategy of this V1beta2DeploymentSpec.
The deployment strategy to use to replace existing pods with new ones.

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

:param strategy: The strategy of this V1beta2DeploymentSpec.
:type: V1beta2DeploymentStrategy
NrB   )r#   r   s     r$   r   rC     s	     Nr'   c                     U R                   $ )z
Gets the template of this V1beta2DeploymentSpec.
Template describes the pods that will be created.

:return: The template of this V1beta2DeploymentSpec.
:rtype: V1PodTemplateSpec
)r!   r*   s    r$   r   V1beta2DeploymentSpec.template  rD   r'   c                 ,    Uc  [        S5      eXl        g)z
Sets the template of this V1beta2DeploymentSpec.
Template describes the pods that will be created.

:param template: The template of this V1beta2DeploymentSpec.
:type: V1PodTemplateSpec
Nz0Invalid value for `template`, must not be `None`)r@   r!   )r#   r   s     r$   r   rG   %  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hasattrrK   )xs    r$   <lambda>/V1beta2DeploymentSpec.to_dict.<locals>.<lambda>=  s    I)>)>!))+EAEr'   rK   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   rK   r   rL   )items    r$   rO   rP   C  s9    47I.. #1gtAw'89 9489r'   )
r   swagger_typesgetattr
isinstancelistmaprM   rK   dictitems)r#   resultattr_values        r$   rK   V1beta2DeploymentSpec.to_dict3  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   rK   r*   s    r$   to_strV1beta2DeploymentSpec.to_strJ  s     4<<>""r'   c                 "    U R                  5       $ )z
For `print` and `pprint`
)ra   r*   s    r$   __repr__V1beta2DeploymentSpec.__repr__P  s     ;;=r'   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)rV   r   __dict__r#   others     r$   __eq__V1beta2DeploymentSpec.__eq__V  s(     e233==ENN**r'   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rh   s     r$   __ne__V1beta2DeploymentSpec.__ne___  s     r'   r   )NNNNNNNN)__name__
__module____qualname____firstlineno____doc__rT   attribute_mapr%   propertyr   setterr   r   r   r   r   r   r   rK   ra   rd   rj   rn   __static_attributes__rm   r'   r$   r   r      s    !#( %#-%	- -#< 6	- "&)-&*$L # # 0 0   
==	 	 + + ##@ $@" 	 	 ??
 
 
( 
(   : !: 
 
 ??    ??	 	   ?? .#+r'   r   )rt   pprintr   sixr   reobjectr   rm   r'   r$   <module>r}      s#   	   	QF Qr'   