
                         >    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                   6   \ rS rSrSr SSSSS.r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 rS rS rS rS rSrg)V1ReplicationControllerSpec   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
intzdict(str, str)V1PodTemplateSpec)min_ready_secondsreplicasselectortemplateminReadySecondsr   r   r   Nc                     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        gg)z:
V1ReplicationControllerSpec - a model defined in Swagger
N	_min_ready_seconds	_replicas	_selector	_templatediscriminatorr
   r   r   r   )selfr
   r   r   r   s        Jlib/third_party/kubernetes/client/models/v1_replication_controller_spec.py__init__$V1ReplicationControllerSpec.__init__,   s[     #DDNDNDND$0mmm     c                     U R                   $ )al  
Gets the min_ready_seconds of this V1ReplicationControllerSpec.
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 V1ReplicationControllerSpec.
:rtype: int
r   r   s    r   r
   -V1ReplicationControllerSpec.min_ready_secondsD   s     """r   c                     Xl         g)a|  
Sets the min_ready_seconds of this V1ReplicationControllerSpec.
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
V1ReplicationControllerSpec.
:type: int
Nr   )r   r
   s     r   r
   r   R   s
     0r   c                     U R                   $ )a~  
Gets the replicas of this V1ReplicationControllerSpec.
Replicas is the number of desired replicas. This is a pointer to
distinguish between explicit zero and unspecified. Defaults to 1. More
info:
https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller

:return: The replicas of this V1ReplicationControllerSpec.
:rtype: int
r   r   s    r   r   $V1ReplicationControllerSpec.replicasb        >>r   c                     Xl         g)a  
Sets the replicas of this V1ReplicationControllerSpec.
Replicas is the number of desired replicas. This is a pointer to
distinguish between explicit zero and unspecified. Defaults to 1. More
info:
https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller

:param replicas: The replicas of this V1ReplicationControllerSpec.
:type: int
Nr!   )r   r   s     r   r   r"   p   	     Nr   c                     U R                   $ )a  
Gets the selector of this V1ReplicationControllerSpec.
Selector is a label query over pods that should match the Replicas
count. If Selector is empty, it is defaulted to the labels present on
the Pod template. Label keys and values that must match in order to be
controlled by this replication controller, if empty defaulted to labels
on Pod template. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

:return: The selector of this V1ReplicationControllerSpec.
:rtype: dict(str, str)
r   r   s    r   r   $V1ReplicationControllerSpec.selector   s     >>r   c                     Xl         g)a   
Sets the selector of this V1ReplicationControllerSpec.
Selector is a label query over pods that should match the Replicas
count. If Selector is empty, it is defaulted to the labels present on
the Pod template. Label keys and values that must match in order to be
controlled by this replication controller, if empty defaulted to labels
on Pod template. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

:param selector: The selector of this V1ReplicationControllerSpec.
:type: dict(str, str)
Nr'   )r   r   s     r   r   r(      s	     Nr   c                     U R                   $ )a  
Gets the template of this V1ReplicationControllerSpec.
Template is the object that describes the pod that will be created if
insufficient replicas are detected. This takes precedence over a
TemplateRef. More info:
https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template

:return: The template of this V1ReplicationControllerSpec.
:rtype: V1PodTemplateSpec
r   r   s    r   r   $V1ReplicationControllerSpec.template   r#   r   c                     Xl         g)a  
Sets the template of this V1ReplicationControllerSpec.
Template is the object that describes the pod that will be created if
insufficient replicas are detected. This takes precedence over a
TemplateRef. More info:
https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template

:param template: The template of this V1ReplicationControllerSpec.
:type: V1PodTemplateSpec
Nr+   )r   r   s     r   r   r,      r%   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hasattrr0   )xs    r   <lambda>5V1ReplicationControllerSpec.to_dict.<locals>.<lambda>   s    I)>)>!))+EAEr   r0   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r0   r   r1   )items    r   r4   r5      s9    47I.. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr2   r0   dictitems)r   resultattr_values        r   r0   #V1ReplicationControllerSpec.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   r0   r   s    r   to_str"V1ReplicationControllerSpec.to_str   s     4<<>""r   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rF   r   s    r   __repr__$V1ReplicationControllerSpec.__repr__   s     ;;=r   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)r;   r   __dict__r   others     r   __eq__"V1ReplicationControllerSpec.__eq__   s(     e899==ENN**r   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rM   s     r   __ne__"V1ReplicationControllerSpec.__ne__   s     r   r   )NNNN)__name__
__module____qualname____firstlineno____doc__r9   attribute_mapr   propertyr
   setterr   r   r   r0   rF   rI   rO   rS   __static_attributes__rR   r   r   r   r      s    !"%	- -	- "&	0 # # 0 0   ??    ??     ?? .#+r   r   )rY   pprintr   sixr   reobjectr   rR   r   r   <module>rb      s#   	   	[& [r   