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

    Do not edit the class manually.
    V1ConfigMapKeySelectorV1ObjectFieldSelectorV1FileKeySelectorV1ResourceFieldSelectorV1SecretKeySelector)config_map_key_ref	field_reffile_key_refresource_field_refsecret_key_refconfigMapKeyReffieldRef
fileKeyRefresourceFieldRefsecretKeyRefNc                     |t          j                    }|| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _	        ||| _
        ||| _        ||| _        |	|| _        dS dS )z+V1EnvVarSource - a model defined in OpenAPIN)r   get_default_copylocal_vars_configuration_config_map_key_ref
_field_ref_file_key_ref_resource_field_ref_secret_key_refdiscriminatorr   r   r   r   r   )selfr   r   r   r   r   r   s          g/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes/client/models/v1_env_var_source.py__init__zV1EnvVarSource.__init__6   s    #+'4'E'G'G$(@%#' !#' #!)&8D# &DN# ,D)&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_refN        ''r#   c                     || _         dS )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 config_map_key_ref: V1ConfigMapKeySelector
        Nr%   )r    r   s     r!   r   z!V1EnvVarSource.config_map_key_refX        $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_refc   s     r#   c                     || _         dS )zSets the field_ref of this V1EnvVarSource.


        :param field_ref: The field_ref of this V1EnvVarSource.  # noqa: E501
        :type field_ref: V1ObjectFieldSelector
        Nr+   )r    r   s     r!   r   zV1EnvVarSource.field_refm   s     $r#   c                     | j         S )zGets the file_key_ref of this V1EnvVarSource.  # noqa: E501


        :return: The file_key_ref of this V1EnvVarSource.  # noqa: E501
        :rtype: V1FileKeySelector
        r   r&   s    r!   r   zV1EnvVarSource.file_key_refx   s     !!r#   c                     || _         dS )zSets the file_key_ref of this V1EnvVarSource.


        :param file_key_ref: The file_key_ref of this V1EnvVarSource.  # noqa: E501
        :type file_key_ref: V1FileKeySelector
        Nr.   )r    r   s     r!   r   zV1EnvVarSource.file_key_ref   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_ref   r'   r#   c                     || _         dS )zSets the resource_field_ref of this V1EnvVarSource.


        :param resource_field_ref: The resource_field_ref of this V1EnvVarSource.  # noqa: E501
        :type resource_field_ref: V1ResourceFieldSelector
        Nr1   )r    r   s     r!   r   z!V1EnvVarSource.resource_field_ref   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                     || _         dS )zSets the secret_key_ref of this V1EnvVarSource.


        :param secret_key_ref: The secret_key_ref of this V1EnvVarSource.  # noqa: E501
        :type secret_key_ref: V1SecretKeySelector
        Nr4   )r    r   s     r!   r   zV1EnvVarSource.secret_key_ref   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   r8   argslen)xr;   	serializes     r!   convertz'V1EnvVarSource.to_dict.<locals>.convert   s[    q)$$ %ai005t99>>99;;&99Y///r#   c                      |           S )N )r=   r?   s    r!   <lambda>z(V1EnvVarSource.to_dict.<locals>.<lambda>   s    ggajj r#   c                 6    | d          | d                   fS )Nr   r9   rA   )itemr?   s    r!   rB   z(V1EnvVarSource.to_dict.<locals>.<lambda>   s    $q'7747+;+;!< r#   )six	iteritemsopenapi_typesgetattrattribute_mapget
isinstancelistmapdictitems)r    r>   resultattr_valuer?   s    `    @r!   r8   zV1EnvVarSource.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pformatr8   r&   s    r!   to_strzV1EnvVarSource.to_str   s    ~dllnn---r#   c                 *    |                                  S )zFor `print` and `pprint`)rW   r&   s    r!   __repr__zV1EnvVarSource.__repr__   s    {{}}r#   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrK   r   r8   r    others     r!   __eq__zV1EnvVarSource.__eq__   s4    %00 	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V1EnvVarSource.__ne__   s4    %00 	4||~~00r#   )NNNNNN)F)__name__
__module____qualname____doc__rG   rI   r"   propertyr   setterr   r   r   r   r8   rW   rY   r^   r`   rA   r#   r!   r   r      s         7,+7/ M 0$0( M1 1 1 10 ( ( X( 6 6 6   X $ $ $ " " X" * * * ( ( X( 6 6 6 $ $ X$ . . .   @. . .  1 1 11 1 1 1 1r#   r   )rd   inspectr   ImportErrorr   rU   rerE   kubernetes.client.configurationr   objectr   rA   r#   r!   <module>rl      s    5&&&&&&& 5 5 5444444445  				 



 9 9 9 9 9 9S1 S1 S1 S1 S1V S1 S1 S1 S1 S1s    