
    [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dZdddZddZed	             Zej	        d
             Zed             Z
e
j	        d             Z
d Zd Zd Zd Zd ZdS )V1alpha1WorkloadSpeczNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    !V1alpha1TypedLocalObjectReferencezlist[V1alpha1PodGroup])controller_ref
pod_groupscontrollerRef	podGroupsNc                 ~    |t                      }|| _        d| _        d| _        d| _        ||| _        || _        dS )z1V1alpha1WorkloadSpec - a model defined in OpenAPIN)r   local_vars_configuration_controller_ref_pod_groupsdiscriminatorr   r   )selfr   r   r   s       l/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes/client/models/v1alpha1_workload_spec.py__init__zV1alpha1WorkloadSpec.__init__-   sK    #+'4$(@%#!%"0D$    c                     | j         S )zGets the controller_ref of this V1alpha1WorkloadSpec.  # noqa: E501


        :return: The controller_ref of this V1alpha1WorkloadSpec.  # noqa: E501
        :rtype: V1alpha1TypedLocalObjectReference
        r   r   s    r   r   z#V1alpha1WorkloadSpec.controller_ref;   s     ##r   c                     || _         dS )zSets the controller_ref of this V1alpha1WorkloadSpec.


        :param controller_ref: The controller_ref of this V1alpha1WorkloadSpec.  # noqa: E501
        :type: V1alpha1TypedLocalObjectReference
        Nr   )r   r   s     r   r   z#V1alpha1WorkloadSpec.controller_refE   s      .r   c                     | j         S )aR  Gets the pod_groups of this V1alpha1WorkloadSpec.  # noqa: E501

        PodGroups is the list of pod groups that make up the Workload. The maximum number of pod groups is 8. This field is immutable.  # noqa: E501

        :return: The pod_groups of this V1alpha1WorkloadSpec.  # noqa: E501
        :rtype: list[V1alpha1PodGroup]
        )r   r   s    r   r   zV1alpha1WorkloadSpec.pod_groupsP   s     r   c                 N    | j         j        r|t          d          || _        dS )aM  Sets the pod_groups of this V1alpha1WorkloadSpec.

        PodGroups is the list of pod groups that make up the Workload. The maximum number of pod groups is 8. This field is immutable.  # noqa: E501

        :param pod_groups: The pod_groups of this V1alpha1WorkloadSpec.  # noqa: E501
        :type: list[V1alpha1PodGroup]
        Nz2Invalid value for `pod_groups`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   zV1alpha1WorkloadSpec.pod_groups[   s5     (? 	SJDVQRRR%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>z.V1alpha1WorkloadSpec.to_dict.<locals>.<lambda>q   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"   z.V1alpha1WorkloadSpec.to_dict.<locals>.<lambda>x   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V1alpha1WorkloadSpec.to_dicti   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V1alpha1WorkloadSpec.to_str   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)r6   r   s    r   __repr__zV1alpha1WorkloadSpec.__repr__   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V1alpha1WorkloadSpec.__eq__   s5    %!566 	5||~~00r   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr:   r;   s     r   __ne__zV1alpha1WorkloadSpec.__ne__   s5    %!566 	4||~~00r   )NNN)__name__
__module____qualname____doc__r(   attribute_mapr   propertyr   setterr   r   r6   r8   r=   r?    r   r   r   r      s         >. M *! M
% % % % $ $ X$ . . .     X  & & &  0. . .  1 1 11 1 1 1 1r   r   )rC   r4   rer&   kubernetes.client.configurationr   objectr   rG   r   r   <module>rK      s|      				 



 9 9 9 9 9 9@1 @1 @1 @1 @16 @1 @1 @1 @1 @1r   