
                         >    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)V1ReplicaSetSpec   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
intV1LabelSelector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        X0l        Ub  X@l        gg)z/
V1ReplicaSetSpec - a model defined in Swagger
N	_min_ready_seconds	_replicas	_selector	_templatediscriminatorr   r   r   r   )selfr   r   r   r   s        ?lib/third_party/kubernetes/client/models/v1_replica_set_spec.py__init__V1ReplicaSetSpec.__init__,   sU     #DDNDNDND$0mMm     c                     U R                   $ )aV  
Gets the min_ready_seconds of this V1ReplicaSetSpec.
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 V1ReplicaSetSpec.
:rtype: int
r   r   s    r   r   "V1ReplicaSetSpec.min_ready_secondsC   s     """r   c                     Xl         g)af  
Sets the min_ready_seconds of this V1ReplicaSetSpec.
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
V1ReplicaSetSpec.
:type: int
Nr   )r   r   s     r   r   r   Q   s
     0r   c                     U R                   $ )ai  
Gets the replicas of this V1ReplicaSetSpec.
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 V1ReplicaSetSpec.
:rtype: int
r   r   s    r   r   V1ReplicaSetSpec.replicasa        >>r   c                     Xl         g)ap  
Sets the replicas of this V1ReplicaSetSpec.
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 V1ReplicaSetSpec.
:type: int
Nr"   )r   r   s     r   r   r#   o   s	     Nr   c                     U R                   $ )a  
Gets the selector of this V1ReplicaSetSpec.
Selector is a label query over pods that should match the replica count.
Label keys and values that must match in order to be controlled by this
replica set. 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 V1ReplicaSetSpec.
:rtype: V1LabelSelector
)r   r   s    r   r   V1ReplicaSetSpec.selector~   r$   r   c                 ,    Uc  [        S5      eXl        g)a  
Sets the selector of this V1ReplicaSetSpec.
Selector is a label query over pods that should match the replica count.
Label keys and values that must match in order to be controlled by this
replica set. 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 V1ReplicaSetSpec.
: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                   $ )aJ  
Gets the template of this V1ReplicaSetSpec.
Template is the object that describes the pod that will be created if
insufficient replicas are detected. More info:
https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template

:return: The template of this V1ReplicaSetSpec.
:rtype: V1PodTemplateSpec
r   r   s    r   r   V1ReplicaSetSpec.template   s     >>r   c                     Xl         g)aQ  
Sets the template of this V1ReplicaSetSpec.
Template is the object that describes the pod that will be created if
insufficient replicas are detected. More info:
https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template

:param template: The template of this V1ReplicaSetSpec.
:type: V1PodTemplateSpec
Nr+   )r   r   s     r   r   r,      s	     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hasattrr0   )xs    r   <lambda>*V1ReplicaSetSpec.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   V1ReplicaSetSpec.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V1ReplicaSetSpec.to_str   s     4<<>""r   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rF   r   s    r   __repr__V1ReplicaSetSpec.__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__V1ReplicaSetSpec.__eq__   s(     e-..==ENN**r   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rM   s     r   __ne__V1ReplicaSetSpec.__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   ??    ??   
 
 ?? .#+r   r   )rY   pprintr   sixr   reobjectr   rR   r   r   <module>rb      s#   	   	Vv Vr   