
    [jh                     |    d Z 	 ddlmZ n# e$ r	 ddlmZ Y nw xY w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.36
    Generated by: https://openapi-generator.tech
    )getfullargspec)
getargspecN)Configurationc                   0   e Zd ZdZ	 dddddZddd	d
dZddZed             Zej	        d             Zed             Z
e
j	        d             Z
ed             Zej	        d             Zed             Zej	        d             ZddZd Zd Zd Zd ZdS )FlowcontrolV1SubjectzNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    V1GroupSubjectstrV1ServiceAccountSubjectV1UserSubject)groupkindservice_accountuserr   r   serviceAccountr   Nc                     |t          j                    }|| _        d| _        d| _        d| _        d| _        d| _        ||| _        || _	        ||| _
        |	|| _        dS dS )z1FlowcontrolV1Subject - a model defined in OpenAPIN)r   get_defaultlocal_vars_configuration_group_kind_service_account_userdiscriminatorr   r   r   r   )selfr   r   r   r   r   s         t/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes_asyncio/client/models/flowcontrol_v1_subject.py__init__zFlowcontrolV1Subject.__init__4   s    #+'4'@'B'B$(@%
 $
!DJ	&#2D DIII     c                     | j         S )zGets the group of this FlowcontrolV1Subject.  # noqa: E501


        :return: The group of this FlowcontrolV1Subject.  # noqa: E501
        :rtype: V1GroupSubject
        r   r   s    r   r   zFlowcontrolV1Subject.groupH   s     {r   c                     || _         dS )zSets the group of this FlowcontrolV1Subject.


        :param group: The group of this FlowcontrolV1Subject.  # noqa: E501
        :type group: V1GroupSubject
        Nr   )r   r   s     r   r   zFlowcontrolV1Subject.groupR   s     r   c                     | j         S )zGets the kind of this FlowcontrolV1Subject.  # noqa: E501

        `kind` indicates which one of the other fields is non-empty. Required  # noqa: E501

        :return: The kind of this FlowcontrolV1Subject.  # noqa: E501
        :rtype: str
        )r   r   s    r   r   zFlowcontrolV1Subject.kind]   s     zr   c                 N    | j         j        r|t          d          || _        dS )zSets the kind of this FlowcontrolV1Subject.

        `kind` indicates which one of the other fields is non-empty. Required  # noqa: E501

        :param kind: The kind of this FlowcontrolV1Subject.  # noqa: E501
        :type kind: str
        Nz,Invalid value for `kind`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   zFlowcontrolV1Subject.kindh   s1     (? 	MDLKLLL


r   c                     | j         S )zGets the service_account of this FlowcontrolV1Subject.  # noqa: E501


        :return: The service_account of this FlowcontrolV1Subject.  # noqa: E501
        :rtype: V1ServiceAccountSubject
        r   r   s    r   r   z$FlowcontrolV1Subject.service_accountv   s     $$r   c                     || _         dS )zSets the service_account of this FlowcontrolV1Subject.


        :param service_account: The service_account of this FlowcontrolV1Subject.  # noqa: E501
        :type service_account: V1ServiceAccountSubject
        Nr&   )r   r   s     r   r   z$FlowcontrolV1Subject.service_account   s     !0r   c                     | j         S )zGets the user of this FlowcontrolV1Subject.  # noqa: E501


        :return: The user of this FlowcontrolV1Subject.  # noqa: E501
        :rtype: V1UserSubject
        r   r   s    r   r   zFlowcontrolV1Subject.user   s     zr   c                     || _         dS )zSets the user of this FlowcontrolV1Subject.


        :param user: The user of this FlowcontrolV1Subject.  # noqa: E501
        :type user: V1UserSubject
        Nr)   )r   r   s     r   r   zFlowcontrolV1Subject.user   s     


r   Fc                    i }fdt          j        | j                  D ]\  }}t          | |          }r| j                            ||          n|}t          |t                    r$t          t          fd|                    ||<   mt          |t                    r6t          t          fd|
                                                    ||<    |          ||<   |S )z&Returns the model properties as a dictc                     t          | d          rUt          | j                  j        }t	          |          dk    r|                                 S |                               S | S )Nto_dict   )hasattrr   r-   argslen)xr0   	serializes     r   convertz-FlowcontrolV1Subject.to_dict.<locals>.convert   s[    q)$$ %ai005t99>>99;;&99Y///r   c                      |           S )N )r2   r4   s    r   <lambda>z.FlowcontrolV1Subject.to_dict.<locals>.<lambda>   s    ggajj r   c                 6    | d          | d                   fS )Nr   r.   r6   )itemr4   s    r   r7   z.FlowcontrolV1Subject.to_dict.<locals>.<lambda>   s    $q'7747+;+;!< r   )six	iteritemsopenapi_typesgetattrattribute_mapget
isinstancelistmapdictitems)r   r3   resultattr_valuer4   s    `    @r   r-   zFlowcontrolV1Subject.to_dict   s   	 	 	 	 	 }T%788 	. 	.GD!D$''E9BL4%))$555D%&& .#C((((% %    t E4(( .#C<<<<KKMM% %    t
  'wu~~tr   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr-   r   s    r   to_strzFlowcontrolV1Subject.to_str   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)rL   r   s    r   __repr__zFlowcontrolV1Subject.__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FlowcontrolV1Subject.__eq__   s5    %!566 	5||~~00r   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrP   rQ   s     r   __ne__zFlowcontrolV1Subject.__ne__   s5    %!566 	4||~~00r   )NNNNN)F)__name__
__module____qualname____doc__r<   r>   r   propertyr   setterr   r   r   r-   rL   rN   rS   rU   r6   r   r   r   r      s         "4	 M +	 M   (   X \  \   X 
[  [ % % X% 0 0 0   X 
[  [   @. . .  1 1 11 1 1 1 1r   r   )rY   inspectr   ImportErrorr   rJ   rer:   'kubernetes_asyncio.client.configurationr   objectr   r6   r   r   <module>ra      s    5&&&&&&& 5 5 5444444445  				 



 A A A A A A|1 |1 |1 |1 |16 |1 |1 |1 |1 |1s    