
    3i_                     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.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   z~NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech

Do not edit the class manually.
intV1LabelSelectorV1PodTemplateSpec)min_ready_secondsreplicasselectortemplateminReadySecondsr   r   r   Nc                     Uc
  [        5       nXPl        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 OpenAPIN)r   local_vars_configuration_min_ready_seconds	_replicas	_selector	_templatediscriminatorr
   r   r   r   )selfr
   r   r   r   r   s         f/home/james-whalen/.local/lib/python3.13/site-packages/kubernetes/client/models/v1_replica_set_spec.py__init__V1ReplicaSetSpec.__init__1   sg    #+'4$(@%"&!(%6"$M $M      c                     U R                   $ )a  Gets the min_ready_seconds of this V1ReplicaSetSpec.  # noqa: E501

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

:return: The min_ready_seconds of this V1ReplicaSetSpec.  # noqa: E501
:rtype: int
r   r   s    r   r
   "V1ReplicaSetSpec.min_ready_secondsE   s     &&&r   c                     Xl         g)a  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)  # noqa: E501

:param min_ready_seconds: The min_ready_seconds of this V1ReplicaSetSpec.  # noqa: E501
:type: int
Nr   )r   r
   s     r   r
   r   P   s
     #4r   c                     U R                   $ )ac  Gets the replicas of this V1ReplicaSetSpec.  # noqa: E501

Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset  # noqa: E501

:return: The replicas of this V1ReplicaSetSpec.  # noqa: E501
:rtype: int
r   r   s    r   r   V1ReplicaSetSpec.replicas\   s     ~~r   c                     Xl         g)a\  Sets the replicas of this V1ReplicaSetSpec.

Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset  # noqa: E501

:param replicas: The replicas of this V1ReplicaSetSpec.  # noqa: E501
:type: int
Nr!   )r   r   s     r   r   r"   g   s	     "r   c                     U R                   $ )zGets the selector of this V1ReplicaSetSpec.  # noqa: E501


:return: The selector of this V1ReplicaSetSpec.  # noqa: E501
:rtype: V1LabelSelector
)r   r   s    r   r   V1ReplicaSetSpec.selectors        ~~r   c                 b    U R                   R                  (       a  Uc  [        S5      eXl        g)zSets the selector of this V1ReplicaSetSpec.


:param selector: The selector of this V1ReplicaSetSpec.  # noqa: E501
:type: V1LabelSelector
Nz0Invalid value for `selector`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   r%   }   s)     ((??HDTOPP!r   c                     U R                   $ )zGets the template of this V1ReplicaSetSpec.  # noqa: E501


:return: The template of this V1ReplicaSetSpec.  # noqa: E501
:rtype: V1PodTemplateSpec
r   r   s    r   r   V1ReplicaSetSpec.template   r&   r   c                     Xl         g)zSets the template of this V1ReplicaSetSpec.


:param template: The template of this V1ReplicaSetSpec.  # noqa: E501
:type: V1PodTemplateSpec
Nr+   )r   r   s     r   r   r,      s	     "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hasattrr0   )xs    r   <lambda>*V1ReplicaSetSpec.to_dict.<locals>.<lambda>   s    WQ	-B-BaiikIIr   r0   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r0   r   r1   )items    r   r4   r5      s9    tAw	22 #'q'47??+<!= "=8<"=r   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr2   r0   dictitems)r   resultattr_values        r   r0   V1ReplicaSetSpec.to_dict   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pformatr0   r   s    r   to_strV1ReplicaSetSpec.to_str   s    ~~dlln--r   c                 "    U R                  5       $ )zFor `print` and `pprint`)rJ   r   s    r   __repr__V1ReplicaSetSpec.__repr__   s    {{}r   c                 p    [        U[        5      (       d  gU R                  5       UR                  5       :H  $ )z&Returns true if both objects are equalFr=   r   r0   r   others     r   __eq__V1ReplicaSetSpec.__eq__   s*    %!122||~00r   c                 p    [        U[        5      (       d  gU R                  5       UR                  5       :g  $ )z*Returns true if both objects are not equalTrP   rQ   s     r   __ne__V1ReplicaSetSpec.__ne__   s*    %!122||~00r   )
r   r   r   r   r   r   r
   r   r   r   )NNNNN)__name__
__module____qualname____firstlineno____doc__r;   attribute_mapr   propertyr
   setterr   r   r   r0   rJ   rM   rS   rV   __static_attributes__ r   r   r   r      s    #%'	M /	M%( ' ' 	4 	4   __	" 	"   __
" 
"   __" "0.11r   r   )r\   rH   rer9   kubernetes.client.configurationr   objectr   ra   r   r   <module>re      s&     	 
 9v1v v1r   