
    <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Z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d Zd Zd Zd Zd Zy	)V1EnvFromSourcezNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    V1ConfigMapEnvSourcestrV1SecretEnvSource)config_map_refprefix
secret_refconfigMapRefr
   	secretRefNc                     |
t               }|| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _        yy)z,V1EnvFromSource - a model defined in OpenAPIN)	r   local_vars_configuration_config_map_ref_prefix_secret_refdiscriminatorr	   r
   r   )selfr	   r
   r   r   s        `/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_env_from_source.py__init__zV1EnvFromSource.__init__/   sd    #+'4$(@%#!%"0D DK!(DO "    c                     | j                   S )zGets the config_map_ref of this V1EnvFromSource.  # noqa: E501


        :return: The config_map_ref of this V1EnvFromSource.  # noqa: E501
        :rtype: V1ConfigMapEnvSource
        r   r   s    r   r	   zV1EnvFromSource.config_map_refA   s     ###r   c                     || _         y)zSets the config_map_ref of this V1EnvFromSource.


        :param config_map_ref: The config_map_ref of this V1EnvFromSource.  # noqa: E501
        :type: V1ConfigMapEnvSource
        Nr   )r   r	   s     r   r	   zV1EnvFromSource.config_map_refK   s      .r   c                     | j                   S )a  Gets the prefix of this V1EnvFromSource.  # noqa: E501

        An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.  # noqa: E501

        :return: The prefix of this V1EnvFromSource.  # noqa: E501
        :rtype: str
        r   r   s    r   r
   zV1EnvFromSource.prefixV   s     ||r   c                     || _         y)zSets the prefix of this V1EnvFromSource.

        An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.  # noqa: E501

        :param prefix: The prefix of this V1EnvFromSource.  # noqa: E501
        :type: str
        Nr   )r   r
   s     r   r
   zV1EnvFromSource.prefixa   s     r   c                     | j                   S )zGets the secret_ref of this V1EnvFromSource.  # noqa: E501


        :return: The secret_ref of this V1EnvFromSource.  # noqa: E501
        :rtype: V1SecretEnvSource
        r   r   s    r   r   zV1EnvFromSource.secret_refm   s     r   c                     || _         y)zSets the secret_ref of this V1EnvFromSource.


        :param secret_ref: The secret_ref of this V1EnvFromSource.  # noqa: E501
        :type: V1SecretEnvSource
        Nr    )r   r   s     r   r   zV1EnvFromSource.secret_refw   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)V1EnvFromSource.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)V1EnvFromSource.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V1EnvFromSource.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V1EnvFromSource.to_str   s    ~~dlln--r   c                 "    | j                         S )zFor `print` and `pprint`)r<   r   s    r   __repr__zV1EnvFromSource.__repr__   s    {{}r   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFr0   r   r$   r   others     r   __eq__zV1EnvFromSource.__eq__   s&    %1||~00r   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTr@   rA   s     r   __ne__zV1EnvFromSource.__ne__   s&    %1||~00r   )NNNN)__name__
__module____qualname____doc__r.   attribute_mapr   propertyr	   setterr
   r   r$   r<   r>   rC   rE    r   r   r   r      s     1)M )!M)$ $ $ . .   ]]	 	     & &0.11r   r   )rI   r:   rer,   kubernetes.client.configurationr   objectr   rM   r   r   <module>rQ      s&     	 
 9Y1f Y1r   