
    [j                     J    d Z ddlZddlZddlZddlmZ  G d de          ZdS )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.35
    Generated by: https://openapi-generator.tech
    N)Configurationc                       e Zd ZdZ	 ddiZddiZddZed             Zej	        d             Zd	 Z
d
 Zd Zd Zd ZdS )V1alpha1GangSchedulingPolicyzNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    	min_countintminCountNc                 ^    |t                      }|| _        d| _        d| _        || _        dS )z9V1alpha1GangSchedulingPolicy - a model defined in OpenAPIN)r   local_vars_configuration
_min_countdiscriminatorr   )selfr   r
   s      u/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes/client/models/v1alpha1_gang_scheduling_policy.py__init__z%V1alpha1GangSchedulingPolicy.__init__+   s4    #+'4$(@%!"    c                     | j         S )ax  Gets the min_count of this V1alpha1GangSchedulingPolicy.  # noqa: E501

        MinCount is the minimum number of pods that must be schedulable or scheduled at the same time for the scheduler to admit the entire group. It must be a positive integer.  # noqa: E501

        :return: The min_count of this V1alpha1GangSchedulingPolicy.  # noqa: E501
        :rtype: int
        )r   r   s    r   r   z&V1alpha1GangSchedulingPolicy.min_count6   s     r   c                 N    | j         j        r|t          d          || _        dS )ar  Sets the min_count of this V1alpha1GangSchedulingPolicy.

        MinCount is the minimum number of pods that must be schedulable or scheduled at the same time for the scheduler to admit the entire group. It must be a positive integer.  # noqa: E501

        :param min_count: The min_count of this V1alpha1GangSchedulingPolicy.  # noqa: E501
        :type: int
        Nz1Invalid value for `min_count`, must not be `None`)r
   client_side_validation
ValueErrorr   )r   r   s     r   r   z&V1alpha1GangSchedulingPolicy.min_countA   s2     (? 	RIDUPQQQ#r   c                    i }t          j        | j                  D ]\  }}t          | |          }t	          |t
                    r"t          t          d |                    ||<   Lt          |d          r|                                ||<   tt	          |t                    r4t          t          d |
                                                    ||<   |||<   |S )z&Returns the model properties as a dictc                 N    t          | d          r|                                 n| S )Nto_dicthasattrr   )xs    r   <lambda>z6V1alpha1GangSchedulingPolicy.to_dict.<locals>.<lambda>W   s!    WQ	-B-BIaiikkk r   r   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r   r   r   )items    r   r   z6V1alpha1GangSchedulingPolicy.to_dict.<locals>.<lambda>^   s<    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   z$V1alpha1GangSchedulingPolicy.to_dictO   s    }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %tr   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr   r   s    r   to_strz#V1alpha1GangSchedulingPolicy.to_strg   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)r0   r   s    r   __repr__z%V1alpha1GangSchedulingPolicy.__repr__k   s    {{}}r   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr$   r   r   r   others     r   __eq__z#V1alpha1GangSchedulingPolicy.__eq__o   s5    %!=>> 	5||~~00r   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr4   r5   s     r   __ne__z#V1alpha1GangSchedulingPolicy.__ne__v   s5    %!=>> 	4||~~00r   )NN)__name__
__module____qualname____doc__r"   attribute_mapr   propertyr   setterr   r0   r2   r7   r9    r   r   r   r      s          	UM
 	ZM	# 	# 	# 	#   X $ $ $  0. . .  1 1 11 1 1 1 1r   r   )r=   r.   rer    kubernetes.client.configurationr   objectr   rA   r   r   <module>rE      s|      				 



 9 9 9 9 9 9f1 f1 f1 f1 f16 f1 f1 f1 f1 f1r   