
    >g                     B    d Z ddlZddlZddlZddlmZ  G d de      Zy)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.31
    Generated by: https://openapi-generator.tech
    N)Configurationc                   $   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 Zd Zd Zd Zd Zy)V1beta3SubjectzNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    V1beta3GroupSubjectstrV1beta3ServiceAccountSubjectV1beta3UserSubject)groupkindservice_accountuserr
   r   serviceAccountr   Nc                     |
t               }|| _        d| _        d| _        d| _        d| _        d| _        ||| _        || _        ||| _	        ||| _
        yy)z+V1beta3Subject - a model defined in OpenAPIN)r   local_vars_configuration_group_kind_service_account_userdiscriminatorr
   r   r   r   )selfr
   r   r   r   r   s         ]/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1beta3_subject.py__init__zV1beta3Subject.__init__1   sq    #+'4$(@%
 $
!DJ	&#2D DI     c                     | j                   S )zGets the group of this V1beta3Subject.  # noqa: E501


        :return: The group of this V1beta3Subject.  # noqa: E501
        :rtype: V1beta3GroupSubject
        r   r   s    r   r
   zV1beta3Subject.groupE   s     {{r   c                     || _         y)zSets the group of this V1beta3Subject.


        :param group: The group of this V1beta3Subject.  # noqa: E501
        :type: V1beta3GroupSubject
        Nr   )r   r
   s     r   r
   zV1beta3Subject.groupO   s     r   c                     | j                   S )zGets the kind of this V1beta3Subject.  # noqa: E501

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

        :return: The kind of this V1beta3Subject.  # noqa: E501
        :rtype: str
        )r   r   s    r   r   zV1beta3Subject.kindZ   s     zzr   c                 X    | j                   j                  r|t        d      || _        y)zSets the kind of this V1beta3Subject.

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

        :param kind: The kind of this V1beta3Subject.  # noqa: E501
        :type: str
        Nz,Invalid value for `kind`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   zV1beta3Subject.kinde   s*     ((??DLKLL
r   c                     | j                   S )zGets the service_account of this V1beta3Subject.  # noqa: E501


        :return: The service_account of this V1beta3Subject.  # noqa: E501
        :rtype: V1beta3ServiceAccountSubject
        r   r   s    r   r   zV1beta3Subject.service_accounts   s     $$$r   c                     || _         y)zSets the service_account of this V1beta3Subject.


        :param service_account: The service_account of this V1beta3Subject.  # noqa: E501
        :type: V1beta3ServiceAccountSubject
        Nr#   )r   r   s     r   r   zV1beta3Subject.service_account}   s     !0r   c                     | j                   S )zGets the user of this V1beta3Subject.  # noqa: E501


        :return: The user of this V1beta3Subject.  # noqa: E501
        :rtype: V1beta3UserSubject
        r   r   s    r   r   zV1beta3Subject.user   s     zzr   c                     || _         y)zSets the user of this V1beta3Subject.


        :param user: The user of this V1beta3Subject.  # noqa: E501
        :type: V1beta3UserSubject
        Nr&   )r   r   s     r   r   zV1beta3Subject.user   s     
r   c                 ~   i }t        j                  | j                        D ]  \  }}t        | |      }t	        |t
              rt        t        d |            ||<   <t        |d      r|j                         ||<   \t	        |t              r(t        t        d |j                                     ||<   |||<    |S )z&Returns the model properties as a dictc                 >    t        | d      r| j                         S | S )Nto_dicthasattrr*   )xs    r   <lambda>z(V1beta3Subject.to_dict.<locals>.<lambda>   s    WQ	-BaiikIIr   r*   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r*   r   r+   )items    r   r.   z(V1beta3Subject.to_dict.<locals>.<lambda>   s6    tAw	2 #'q'47??+<!= "=8<"=r   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr,   r*   dictitems)r   resultattr_values        r   r*   zV1beta3Subject.to_dict   s    }}T%7%78GD!D$'E%&#CI%  t 	*$}}tE4(#C=KKM%  t  %t! 9$ r   c                 H    t        j                  | j                               S )z.Returns the string representation of the model)pprintpformatr*   r   s    r   to_strzV1beta3Subject.to_str   s    ~~dlln--r   c                 "    | j                         S )zFor `print` and `pprint`)rB   r   s    r   __repr__zV1beta3Subject.__repr__   s    {{}r   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFr6   r   r*   r   others     r   __eq__zV1beta3Subject.__eq__   s&    %0||~00r   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTrF   rG   s     r   __ne__zV1beta3Subject.__ne__   s&    %0||~00r   )NNNNN)__name__
__module____qualname____doc__r4   attribute_mapr   propertyr
   setterr   r   r   r*   rB   rD   rI   rK    r   r   r   r      s    '9$	M +	M(   \\    
[[  % % 0 0   
[[ 0.11r   r   )rO   r@   rer2   kubernetes.client.configurationr   objectr   rS   r   r   <module>rW      s&     	 
 9t1V t1r   