
    <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.32
    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)V1EnvVarSourcezNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    V1ConfigMapKeySelectorV1ObjectFieldSelectorV1ResourceFieldSelectorV1SecretKeySelector)config_map_key_ref	field_refresource_field_refsecret_key_refconfigMapKeyReffieldRefresourceFieldRefsecretKeyRefNc                     |
t               }|| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _	        ||| _
        yy)z+V1EnvVarSource - a model defined in OpenAPIN)r   local_vars_configuration_config_map_key_ref
_field_ref_resource_field_ref_secret_key_refdiscriminatorr
   r   r   r   )selfr
   r   r   r   r   s         _/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_env_var_source.py__init__zV1EnvVarSource.__init__1   s{    #+'4$(@%#' #' #!)&8D# &DN)&8D#%"0D &    c                     | j                   S )zGets the config_map_key_ref of this V1EnvVarSource.  # noqa: E501


        :return: The config_map_key_ref of this V1EnvVarSource.  # noqa: E501
        :rtype: V1ConfigMapKeySelector
        r   r   s    r   r
   z!V1EnvVarSource.config_map_key_refF        '''r   c                     || _         y)zSets the config_map_key_ref of this V1EnvVarSource.


        :param config_map_key_ref: The config_map_key_ref of this V1EnvVarSource.  # noqa: E501
        :type: V1ConfigMapKeySelector
        Nr   )r   r
   s     r   r
   z!V1EnvVarSource.config_map_key_refP        $6 r   c                     | j                   S )zGets the field_ref of this V1EnvVarSource.  # noqa: E501


        :return: The field_ref of this V1EnvVarSource.  # noqa: E501
        :rtype: V1ObjectFieldSelector
        r   r   s    r   r   zV1EnvVarSource.field_ref[   s     r   c                     || _         y)zSets the field_ref of this V1EnvVarSource.


        :param field_ref: The field_ref of this V1EnvVarSource.  # noqa: E501
        :type: V1ObjectFieldSelector
        Nr$   )r   r   s     r   r   zV1EnvVarSource.field_refe   s     $r   c                     | j                   S )zGets the resource_field_ref of this V1EnvVarSource.  # noqa: E501


        :return: The resource_field_ref of this V1EnvVarSource.  # noqa: E501
        :rtype: V1ResourceFieldSelector
        r   r   s    r   r   z!V1EnvVarSource.resource_field_refp   r    r   c                     || _         y)zSets the resource_field_ref of this V1EnvVarSource.


        :param resource_field_ref: The resource_field_ref of this V1EnvVarSource.  # noqa: E501
        :type: V1ResourceFieldSelector
        Nr'   )r   r   s     r   r   z!V1EnvVarSource.resource_field_refz   r"   r   c                     | j                   S )zGets the secret_key_ref of this V1EnvVarSource.  # noqa: E501


        :return: The secret_key_ref of this V1EnvVarSource.  # noqa: E501
        :rtype: V1SecretKeySelector
        r   r   s    r   r   zV1EnvVarSource.secret_key_ref   s     ###r   c                     || _         y)zSets the secret_key_ref of this V1EnvVarSource.


        :param secret_key_ref: The secret_key_ref of this V1EnvVarSource.  # noqa: E501
        :type: V1SecretKeySelector
        Nr*   )r   r   s     r   r   zV1EnvVarSource.secret_key_ref   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(V1EnvVarSource.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   r2   z(V1EnvVarSource.to_dict.<locals>.<lambda>   s6    tAw	2 #'q'47??+<!= "=8<"=r   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr0   r.   dictitems)r   resultattr_values        r   r.   zV1EnvVarSource.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V1EnvVarSource.to_str   s    ~~dlln--r   c                 "    | j                         S )zFor `print` and `pprint`)rF   r   s    r   __repr__zV1EnvVarSource.__repr__   s    {{}r   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFr:   r   r.   r   others     r   __eq__zV1EnvVarSource.__eq__   s&    %0||~00r   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTrJ   rK   s     r   __ne__zV1EnvVarSource.__ne__   s&    %0||~00r   )NNNNN)__name__
__module____qualname____doc__r8   attribute_mapr   propertyr
   setterr   r   r   r.   rF   rH   rM   rO    r   r   r   r      s    7,7/	M 00(	M1* ( ( 6 6   $ $ ( ( 6 6 $ $ . .0.11r   r   )rS   rD   rer6   kubernetes.client.configurationr   objectr   rW   r   r   <module>r[      s&     	 
 9q1V q1r   