
    2/                     >    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)+V1beta1StatefulSetStatus   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
intz!list[V1beta1StatefulSetCondition]str)	collision_count
conditionscurrent_replicascurrent_revisionobserved_generationready_replicasreplicasupdate_revisionupdated_replicascollisionCountr   currentReplicascurrentRevisionobservedGenerationreadyReplicasr   updateRevisionupdatedReplicasNc
                 .   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        Xpl        Ub  Xl        U	b  Xl        gg)z7
V1beta1StatefulSetStatus - a model defined in Swagger
N)_collision_count_conditions_current_replicas_current_revision_observed_generation_ready_replicas	_replicas_update_revision_updated_replicasdiscriminatorr
   r   r   r   r   r   r   r   r   )
selfr
   r   r   r   r   r   r   r   r   s
             Glib/third_party/kubernetes/client/models/v1beta1_stateful_set_status.py__init__!V1beta1StatefulSetStatus.__init__6   s     !DD!D!D $DDDN D!DD","o#.#.&!4!*M",#. $    c                     U R                   $ )a^  
Gets the collision_count of this V1beta1StatefulSetStatus.
collisionCount is the count of hash collisions for the StatefulSet. The
StatefulSet controller uses this field as a collision avoidance
mechanism when it needs to create the name for the newest
ControllerRevision.

:return: The collision_count of this V1beta1StatefulSetStatus.
:rtype: int
r   r%   s    r&   r
   (V1beta1StatefulSetStatus.collision_counta   s        r)   c                     Xl         g)al  
Sets the collision_count of this V1beta1StatefulSetStatus.
collisionCount is the count of hash collisions for the StatefulSet. The
StatefulSet controller uses this field as a collision avoidance
mechanism when it needs to create the name for the newest
ControllerRevision.

:param collision_count: The collision_count of this
V1beta1StatefulSetStatus.
:type: int
Nr+   )r%   r
   s     r&   r
   r-   o   s
     ,r)   c                     U R                   $ )z
Gets the conditions of this V1beta1StatefulSetStatus.
Represents the latest available observations of a statefulset's current
state.

:return: The conditions of this V1beta1StatefulSetStatus.
:rtype: list[V1beta1StatefulSetCondition]
r   r,   s    r&   r   #V1beta1StatefulSetStatus.conditions   s     r)   c                     Xl         g)z
Sets the conditions of this V1beta1StatefulSetStatus.
Represents the latest available observations of a statefulset's current
state.

:param conditions: The conditions of this V1beta1StatefulSetStatus.
:type: list[V1beta1StatefulSetCondition]
Nr0   )r%   r   s     r&   r   r1      s
     "r)   c                     U R                   $ )a  
Gets the current_replicas of this V1beta1StatefulSetStatus.
currentReplicas is the number of Pods created by the StatefulSet
controller from the StatefulSet version indicated by currentRevision.

:return: The current_replicas of this V1beta1StatefulSetStatus.
:rtype: int
r   r,   s    r&   r   )V1beta1StatefulSetStatus.current_replicas        !!!r)   c                     Xl         g)a   
Sets the current_replicas of this V1beta1StatefulSetStatus.
currentReplicas is the number of Pods created by the StatefulSet
controller from the StatefulSet version indicated by currentRevision.

:param current_replicas: The current_replicas of this
V1beta1StatefulSetStatus.
:type: int
Nr4   )r%   r   s     r&   r   r5      
     .r)   c                     U R                   $ )a  
Gets the current_revision of this V1beta1StatefulSetStatus.
currentRevision, if not empty, indicates the version of the StatefulSet
used to generate Pods in the sequence [0,currentReplicas).

:return: The current_revision of this V1beta1StatefulSetStatus.
:rtype: str
r   r,   s    r&   r   )V1beta1StatefulSetStatus.current_revision   r6   r)   c                     Xl         g)a  
Sets the current_revision of this V1beta1StatefulSetStatus.
currentRevision, if not empty, indicates the version of the StatefulSet
used to generate Pods in the sequence [0,currentReplicas).

:param current_revision: The current_revision of this
V1beta1StatefulSetStatus.
:type: str
Nr:   )r%   r   s     r&   r   r;      r8   r)   c                     U R                   $ )a@  
Gets the observed_generation of this V1beta1StatefulSetStatus.
observedGeneration is the most recent generation observed for this
StatefulSet. It corresponds to the StatefulSet's generation, which is
updated on mutation by the API Server.

:return: The observed_generation of this V1beta1StatefulSetStatus.
:rtype: int
r   r,   s    r&   r   ,V1beta1StatefulSetStatus.observed_generation   s     $$$r)   c                     Xl         g)aR  
Sets the observed_generation of this V1beta1StatefulSetStatus.
observedGeneration is the most recent generation observed for this
StatefulSet. It corresponds to the StatefulSet's generation, which is
updated on mutation by the API Server.

:param observed_generation: The observed_generation of this
V1beta1StatefulSetStatus.
:type: int
Nr>   )r%   r   s     r&   r   r?      s
     !4r)   c                     U R                   $ )z
Gets the ready_replicas of this V1beta1StatefulSetStatus.
readyReplicas is the number of Pods created by the StatefulSet
controller that have a Ready Condition.

:return: The ready_replicas of this V1beta1StatefulSetStatus.
:rtype: int
r    r,   s    r&   r   'V1beta1StatefulSetStatus.ready_replicas   s     r)   c                     Xl         g)z
Sets the ready_replicas of this V1beta1StatefulSetStatus.
readyReplicas is the number of Pods created by the StatefulSet
controller that have a Ready Condition.

:param ready_replicas: The ready_replicas of this
V1beta1StatefulSetStatus.
:type: int
NrB   )r%   r   s     r&   r   rC      s
     *r)   c                     U R                   $ )z
Gets the replicas of this V1beta1StatefulSetStatus.
replicas is the number of Pods created by the StatefulSet controller.

:return: The replicas of this V1beta1StatefulSetStatus.
:rtype: int
)r!   r,   s    r&   r   !V1beta1StatefulSetStatus.replicas  s     >>r)   c                 ,    Uc  [        S5      eXl        g)z
Sets the replicas of this V1beta1StatefulSetStatus.
replicas is the number of Pods created by the StatefulSet controller.

:param replicas: The replicas of this V1beta1StatefulSetStatus.
:type: int
Nz0Invalid value for `replicas`, must not be `None`)
ValueErrorr!   )r%   r   s     r&   r   rF     s     IJJNr)   c                     U R                   $ )a  
Gets the update_revision of this V1beta1StatefulSetStatus.
updateRevision, if not empty, indicates the version of the StatefulSet
used to generate Pods in the sequence
[replicas-updatedReplicas,replicas)

:return: The update_revision of this V1beta1StatefulSetStatus.
:rtype: str
r"   r,   s    r&   r   (V1beta1StatefulSetStatus.update_revision  s        r)   c                     Xl         g)a'  
Sets the update_revision of this V1beta1StatefulSetStatus.
updateRevision, if not empty, indicates the version of the StatefulSet
used to generate Pods in the sequence
[replicas-updatedReplicas,replicas)

:param update_revision: The update_revision of this
V1beta1StatefulSetStatus.
:type: str
NrJ   )r%   r   s     r&   r   rK   (  s
     ,r)   c                     U R                   $ )a  
Gets the updated_replicas of this V1beta1StatefulSetStatus.
updatedReplicas is the number of Pods created by the StatefulSet
controller from the StatefulSet version indicated by updateRevision.

:return: The updated_replicas of this V1beta1StatefulSetStatus.
:rtype: int
r#   r,   s    r&   r   )V1beta1StatefulSetStatus.updated_replicas7  r6   r)   c                     Xl         g)a  
Sets the updated_replicas of this V1beta1StatefulSetStatus.
updatedReplicas is the number of Pods created by the StatefulSet
controller from the StatefulSet version indicated by updateRevision.

:param updated_replicas: The updated_replicas of this
V1beta1StatefulSetStatus.
:type: int
NrN   )r%   r   s     r&   r   rO   C  r8   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hasattrrS   )xs    r&   <lambda>2V1beta1StatefulSetStatus.to_dict.<locals>.<lambda>[  s    I)>)>!))+EAEr)   rS   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   rS   r   rT   )items    r&   rW   rX   a  s9    47I.. #1gtAw'89 9489r)   )
r   swagger_typesgetattr
isinstancelistmaprU   rS   dictitems)r%   resultattr_values        r&   rS    V1beta1StatefulSetStatus.to_dictQ  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   rS   r,   s    r&   to_strV1beta1StatefulSetStatus.to_strh  s     4<<>""r)   c                 "    U R                  5       $ )z
For `print` and `pprint`
)ri   r,   s    r&   __repr__!V1beta1StatefulSetStatus.__repr__n  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__V1beta1StatefulSetStatus.__eq__t  s(     e566==ENN**r)   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rp   s     r&   __ne__V1beta1StatefulSetStatus.__ne__}  s     r)   )r   r   r   r   r   r    r!   r"   r#   r
   r   r   r   r$   r   r   r   r   r   )	NNNNNNNNN)__name__
__module____qualname____firstlineno____doc__r\   attribute_mapr'   propertyr
   setterr   r   r   r   r   r   r   r   rS   ri   rl   rr   rv   __static_attributes__ru   r)   r&   r   r      s,    7"
- * ++1')+
-  $ $ $#'"# $)/V ! ! , , 	 	 
" 
" 	" 	" . . 	" 	" . . 
% 
% 4 4 	  	  * *   ??  
! 
! , , 	" 	" . ..#+r)   r   )r|   pprintr   sixr   reobjectr   ru   r)   r&   <module>r      s#   	   	ov or)   