
    3i$7                     B    S r SSKrSSKrSSKrSSKJr   " S S\5      rg)z
Kubernetes

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

The version of the OpenAPI document: release-1.34
Generated by: https://openapi-generator.tech
    N)Configurationc                   ~   \ rS rSrSr SSSSSSSSSSS.
rS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% 5       r\R                  S& 5       rS' rS( rS) rS* rS+ rS,rg).V1StatefulSetStatus   z~NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech

Do not edit the class manually.
intzlist[V1StatefulSetCondition]str)
available_replicascollision_count
conditionscurrent_replicascurrent_revisionobserved_generationready_replicasreplicasupdate_revisionupdated_replicasavailableReplicascollisionCountr   currentReplicascurrentRevisionobservedGenerationreadyReplicasr   updateRevisionupdatedReplicasNc                 t   Uc
  [        5       nXl        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        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        Ub  Xpl        Xl        U	b  Xl        U
b  Xl        gg)z0V1StatefulSetStatus - a model defined in OpenAPIN)r   local_vars_configuration_available_replicas_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   r   )selfr	   r
   r   r   r   r   r   r   r   r   r   s               i/home/james-whalen/.local/lib/python3.13/site-packages/kubernetes/client/models/v1_stateful_set_status.py__init__V1StatefulSetStatus.__init__=   s    #+'4$(@%#'  $!%!%$(!# $!%!)&8#&#2 !(O'$4!'$4!*':$%"0 &#2 '$4! (    c                     U R                   $ )a  Gets the available_replicas of this V1StatefulSetStatus.  # noqa: E501

Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.  # noqa: E501

:return: The available_replicas of this V1StatefulSetStatus.  # noqa: E501
:rtype: int
r   r(   s    r)   r	   &V1StatefulSetStatus.available_replicasc   s     '''r,   c                     Xl         g)a  Sets the available_replicas of this V1StatefulSetStatus.

Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.  # noqa: E501

:param available_replicas: The available_replicas of this V1StatefulSetStatus.  # noqa: E501
:type: int
Nr.   )r(   r	   s     r)   r	   r0   n   s
     $6 r,   c                     U R                   $ )a~  Gets the collision_count of this V1StatefulSetStatus.  # noqa: E501

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.  # noqa: E501

:return: The collision_count of this V1StatefulSetStatus.  # noqa: E501
:rtype: int
r   r/   s    r)   r
   #V1StatefulSetStatus.collision_countz        $$$r,   c                     Xl         g)a~  Sets the collision_count of this V1StatefulSetStatus.

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.  # noqa: E501

:param collision_count: The collision_count of this V1StatefulSetStatus.  # noqa: E501
:type: int
Nr3   )r(   r
   s     r)   r
   r4      
     !0r,   c                     U R                   $ )a  Gets the conditions of this V1StatefulSetStatus.  # noqa: E501

Represents the latest available observations of a statefulset's current state.  # noqa: E501

:return: The conditions of this V1StatefulSetStatus.  # noqa: E501
:rtype: list[V1StatefulSetCondition]
r   r/   s    r)   r   V1StatefulSetStatus.conditions   s     r,   c                     Xl         g)a  Sets the conditions of this V1StatefulSetStatus.

Represents the latest available observations of a statefulset's current state.  # noqa: E501

:param conditions: The conditions of this V1StatefulSetStatus.  # noqa: E501
:type: list[V1StatefulSetCondition]
Nr9   )r(   r   s     r)   r   r:      s
     &r,   c                     U R                   $ )a1  Gets the current_replicas of this V1StatefulSetStatus.  # noqa: E501

currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.  # noqa: E501

:return: The current_replicas of this V1StatefulSetStatus.  # noqa: E501
:rtype: int
r    r/   s    r)   r   $V1StatefulSetStatus.current_replicas        %%%r,   c                     Xl         g)a2  Sets the current_replicas of this V1StatefulSetStatus.

currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.  # noqa: E501

:param current_replicas: The current_replicas of this V1StatefulSetStatus.  # noqa: E501
:type: int
Nr=   )r(   r   s     r)   r   r>      
     "2r,   c                     U R                   $ )a-  Gets the current_revision of this V1StatefulSetStatus.  # noqa: E501

currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).  # noqa: E501

:return: The current_revision of this V1StatefulSetStatus.  # noqa: E501
:rtype: str
r!   r/   s    r)   r   $V1StatefulSetStatus.current_revision   r?   r,   c                     Xl         g)a.  Sets the current_revision of this V1StatefulSetStatus.

currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).  # noqa: E501

:param current_revision: The current_revision of this V1StatefulSetStatus.  # noqa: E501
:type: str
NrC   )r(   r   s     r)   r   rD      rA   r,   c                     U R                   $ )a`  Gets the observed_generation of this V1StatefulSetStatus.  # noqa: E501

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.  # noqa: E501

:return: The observed_generation of this V1StatefulSetStatus.  # noqa: E501
:rtype: int
r"   r/   s    r)   r   'V1StatefulSetStatus.observed_generation   s     (((r,   c                     Xl         g)ad  Sets the observed_generation of this V1StatefulSetStatus.

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.  # noqa: E501

:param observed_generation: The observed_generation of this V1StatefulSetStatus.  # noqa: E501
:type: int
NrG   )r(   r   s     r)   r   rH      s
     %8!r,   c                     U R                   $ )zGets the ready_replicas of this V1StatefulSetStatus.  # noqa: E501

readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.  # noqa: E501

:return: The ready_replicas of this V1StatefulSetStatus.  # noqa: E501
:rtype: int
r#   r/   s    r)   r   "V1StatefulSetStatus.ready_replicas   s     ###r,   c                     Xl         g)zSets the ready_replicas of this V1StatefulSetStatus.

readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.  # noqa: E501

:param ready_replicas: The ready_replicas of this V1StatefulSetStatus.  # noqa: E501
:type: int
NrK   )r(   r   s     r)   r   rL      s
      .r,   c                     U R                   $ )zGets the replicas of this V1StatefulSetStatus.  # noqa: E501

replicas is the number of Pods created by the StatefulSet controller.  # noqa: E501

:return: The replicas of this V1StatefulSetStatus.  # noqa: E501
:rtype: int
)r$   r/   s    r)   r   V1StatefulSetStatus.replicas  s     ~~r,   c                 b    U R                   R                  (       a  Uc  [        S5      eXl        g)zSets the replicas of this V1StatefulSetStatus.

replicas is the number of Pods created by the StatefulSet controller.  # noqa: E501

:param replicas: The replicas of this V1StatefulSetStatus.  # noqa: E501
:type: int
Nz0Invalid value for `replicas`, must not be `None`)r   client_side_validation
ValueErrorr$   )r(   r   s     r)   r   rO     s)     ((??HDTOPP!r,   c                     U R                   $ )a9  Gets the update_revision of this V1StatefulSetStatus.  # noqa: E501

updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)  # noqa: E501

:return: The update_revision of this V1StatefulSetStatus.  # noqa: E501
:rtype: str
r%   r/   s    r)   r   #V1StatefulSetStatus.update_revision  r5   r,   c                     Xl         g)a9  Sets the update_revision of this V1StatefulSetStatus.

updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)  # noqa: E501

:param update_revision: The update_revision of this V1StatefulSetStatus.  # noqa: E501
:type: str
NrT   )r(   r   s     r)   r   rU   (  r7   r,   c                     U R                   $ )a0  Gets the updated_replicas of this V1StatefulSetStatus.  # noqa: E501

updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.  # noqa: E501

:return: The updated_replicas of this V1StatefulSetStatus.  # noqa: E501
:rtype: int
r&   r/   s    r)   r   $V1StatefulSetStatus.updated_replicas4  r?   r,   c                     Xl         g)a1  Sets the updated_replicas of this V1StatefulSetStatus.

updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.  # noqa: E501

:param updated_replicas: The updated_replicas of this V1StatefulSetStatus.  # noqa: E501
:type: int
NrX   )r(   r   s     r)   r   rY   ?  rA   r,   c                    0 n[         R                  " 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 dictc                 H    [        U S5      (       a  U R                  5       $ U $ )Nto_dicthasattrr]   )xs    r)   <lambda>-V1StatefulSetStatus.to_dict.<locals>.<lambda>S  s    WQ	-B-BaiikIIr,   r]   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r]   r   r^   )items    r)   ra   rb   Z  s9    tAw	22 #'q'47??+<!= "=8<"=r,   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr_   r]   dictitems)r(   resultattr_values        r)   r]   V1StatefulSetStatus.to_dictK  s    }}T%7%78GDD'E%&&#CI%   	**$}}E4((#C=KKM%    %t! 9$ r,   c                 J    [         R                  " U R                  5       5      $ )z.Returns the string representation of the model)pprintpformatr]   r/   s    r)   to_strV1StatefulSetStatus.to_strc  s    ~~dlln--r,   c                 "    U R                  5       $ )zFor `print` and `pprint`)rw   r/   s    r)   __repr__V1StatefulSetStatus.__repr__g  s    {{}r,   c                 p    [        U[        5      (       d  gU R                  5       UR                  5       :H  $ )z&Returns true if both objects are equalFrj   r   r]   r(   others     r)   __eq__V1StatefulSetStatus.__eq__k  s*    %!455||~00r,   c                 p    [        U[        5      (       d  gU R                  5       UR                  5       :g  $ )z*Returns true if both objects are not equalTr}   r~   s     r)   __ne__V1StatefulSetStatus.__ne__r  s*    %!455||~00r,   )r   r   r   r    r!   r"   r#   r$   r%   r&   r	   r
   r   r   r   r'   r   r   r   r   r   r   )NNNNNNNNNNN)__name__
__module____qualname____firstlineno____doc__rh   attribute_mapr*   propertyr	   setterr
   r   r   r   r   r   r   r   r   r]   rw   rz   r   r   __static_attributes__ r,   r)   r   r      sC    $ 4!!$ !M 2+"--3)+-M$5L ( ( 	6 	6 % % 	0 	0     	& 	& & & 	2 	2 & & 	2 	2 ) ) 	8  	8 $ $ 	. 	.   __" " % % 	0 	0 & & 	2 	20.11r,   r   )r   ru   rerf   kubernetes.client.configurationr   objectr   r   r,   r)   <module>r      s&     	 
 9b1& b1r,   