
    q                     >    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)V1beta1ReplicaSetSpec   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        Ub  X0l        Ub  X@l        gg)z4
V1beta1ReplicaSetSpec - a model defined in Swagger
N	_min_ready_seconds	_replicas	_selector	_templatediscriminatorr   r   r   r   )selfr   r   r   r   s        Dlib/third_party/kubernetes/client/models/v1beta1_replica_set_spec.py__init__V1beta1ReplicaSetSpec.__init__,   s[     #DDNDNDND$0mmm     c                     U R                   $ )a`  
Gets the min_ready_seconds of this V1beta1ReplicaSetSpec.
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 V1beta1ReplicaSetSpec.
:rtype: int
r   r   s    r   r   'V1beta1ReplicaSetSpec.min_ready_secondsD   s     """r   c                     Xl         g)ap  
Sets the min_ready_seconds of this V1beta1ReplicaSetSpec.
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
V1beta1ReplicaSetSpec.
:type: int
Nr   )r   r   s     r   r   r   R   s
     0r   c                     U R                   $ )as  
Gets the replicas of this V1beta1ReplicaSetSpec.
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 V1beta1ReplicaSetSpec.
:rtype: int
r   r   s    r   r   V1beta1ReplicaSetSpec.replicasb   s     >>r   c                     Xl         g)az  
Sets the replicas of this V1beta1ReplicaSetSpec.
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 V1beta1ReplicaSetSpec.
:type: int
Nr"   )r   r   s     r   r   r#   p   s	     Nr   c                     U R                   $ )a  
Gets the selector of this V1beta1ReplicaSetSpec.
Selector is a label query over pods that should match the replica count.
If the 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 replica set. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

:return: The selector of this V1beta1ReplicaSetSpec.
:rtype: V1LabelSelector
r   r   s    r   r   V1beta1ReplicaSetSpec.selector   s     >>r   c                     Xl         g)a  
Sets the selector of this V1beta1ReplicaSetSpec.
Selector is a label query over pods that should match the replica count.
If the 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 replica set. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

:param selector: The selector of this V1beta1ReplicaSetSpec.
:type: V1LabelSelector
Nr&   )r   r   s     r   r   r'      s	     Nr   c                     U R                   $ )aT  
Gets the template of this V1beta1ReplicaSetSpec.
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 V1beta1ReplicaSetSpec.
:rtype: V1PodTemplateSpec
r   r   s    r   r   V1beta1ReplicaSetSpec.template   s     >>r   c                     Xl         g)a[  
Sets the template of this V1beta1ReplicaSetSpec.
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 V1beta1ReplicaSetSpec.
: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hasattrr/   )xs    r   <lambda>/V1beta1ReplicaSetSpec.to_dict.<locals>.<lambda>   s    I)>)>!))+EAEr   r/   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r/   r   r0   )items    r   r3   r4      s9    47I.. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr1   r/   dictitems)r   resultattr_values        r   r/   V1beta1ReplicaSetSpec.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   r/   r   s    r   to_strV1beta1ReplicaSetSpec.to_str   s     4<<>""r   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rE   r   s    r   __repr__V1beta1ReplicaSetSpec.__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__V1beta1ReplicaSetSpec.__eq__   s(     e233==ENN**r   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rL   s     r   __ne__V1beta1ReplicaSetSpec.__ne__   s     r   r   )NNNN)__name__
__module____qualname____firstlineno____doc__r8   attribute_mapr   propertyr   setterr   r   r   r/   rE   rH   rN   rR   __static_attributes__rQ   r   r   r   r      s    !#%	- -	- "&	0 # # 0 0   ??    ??  
 
 ?? .#+r   r   )rX   pprintr   sixr   reobjectr   rQ   r   r   <module>ra      s#   	   	WF Wr   