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

    Do not edit the class manually.
    V1ClusterTrustBundleProjectionV1ConfigMapProjectionV1DownwardAPIProjectionV1PodCertificateProjectionV1SecretProjectionV1ServiceAccountTokenProjection)cluster_trust_bundle
config_mapdownward_apipod_certificatesecretservice_account_tokenclusterTrustBundle	configMapdownwardAPIpodCertificater   serviceAccountTokenNc                    |t          j                    }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        ||| _
        ||| _        ||| _        ||| _        ||| _        |	|| _        dS dS )z/V1VolumeProjection - a model defined in OpenAPIN)r   get_defaultlocal_vars_configuration_cluster_trust_bundle_config_map_downward_api_pod_certificate_secret_service_account_tokendiscriminatorr   r   r   r   r   r   )selfr   r   r   r   r   r   r   s           r/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes_asyncio/client/models/v1_volume_projection.py__init__zV1VolumeProjection.__init__8   s    #+'4'@'B'B$(@%%)"! $&*#!+(<D%!(DO# ,D&#2D  DK ,)>D&&& -,    c                     | j         S )zGets the cluster_trust_bundle of this V1VolumeProjection.  # noqa: E501


        :return: The cluster_trust_bundle of this V1VolumeProjection.  # noqa: E501
        :rtype: V1ClusterTrustBundleProjection
        r   r#   s    r$   r   z'V1VolumeProjection.cluster_trust_bundleS   s     ))r&   c                     || _         dS )zSets the cluster_trust_bundle of this V1VolumeProjection.


        :param cluster_trust_bundle: The cluster_trust_bundle of this V1VolumeProjection.  # noqa: E501
        :type cluster_trust_bundle: V1ClusterTrustBundleProjection
        Nr(   )r#   r   s     r$   r   z'V1VolumeProjection.cluster_trust_bundle]   s     &:"""r&   c                     | j         S )zGets the config_map of this V1VolumeProjection.  # noqa: E501


        :return: The config_map of this V1VolumeProjection.  # noqa: E501
        :rtype: V1ConfigMapProjection
        r   r)   s    r$   r   zV1VolumeProjection.config_maph   s     r&   c                     || _         dS )zSets the config_map of this V1VolumeProjection.


        :param config_map: The config_map of this V1VolumeProjection.  # noqa: E501
        :type config_map: V1ConfigMapProjection
        Nr,   )r#   r   s     r$   r   zV1VolumeProjection.config_mapr   s     &r&   c                     | j         S )zGets the downward_api of this V1VolumeProjection.  # noqa: E501


        :return: The downward_api of this V1VolumeProjection.  # noqa: E501
        :rtype: V1DownwardAPIProjection
        r   r)   s    r$   r   zV1VolumeProjection.downward_api}   s     !!r&   c                     || _         dS )zSets the downward_api of this V1VolumeProjection.


        :param downward_api: The downward_api of this V1VolumeProjection.  # noqa: E501
        :type downward_api: V1DownwardAPIProjection
        Nr/   )r#   r   s     r$   r   zV1VolumeProjection.downward_api   s     *r&   c                     | j         S )zGets the pod_certificate of this V1VolumeProjection.  # noqa: E501


        :return: The pod_certificate of this V1VolumeProjection.  # noqa: E501
        :rtype: V1PodCertificateProjection
        r   r)   s    r$   r   z"V1VolumeProjection.pod_certificate   s     $$r&   c                     || _         dS )zSets the pod_certificate of this V1VolumeProjection.


        :param pod_certificate: The pod_certificate of this V1VolumeProjection.  # noqa: E501
        :type pod_certificate: V1PodCertificateProjection
        Nr2   )r#   r   s     r$   r   z"V1VolumeProjection.pod_certificate   s     !0r&   c                     | j         S )zGets the secret of this V1VolumeProjection.  # noqa: E501


        :return: The secret of this V1VolumeProjection.  # noqa: E501
        :rtype: V1SecretProjection
        r    r)   s    r$   r   zV1VolumeProjection.secret   s     |r&   c                     || _         dS )zSets the secret of this V1VolumeProjection.


        :param secret: The secret of this V1VolumeProjection.  # noqa: E501
        :type secret: V1SecretProjection
        Nr5   )r#   r   s     r$   r   zV1VolumeProjection.secret   s     r&   c                     | j         S )zGets the service_account_token of this V1VolumeProjection.  # noqa: E501


        :return: The service_account_token of this V1VolumeProjection.  # noqa: E501
        :rtype: V1ServiceAccountTokenProjection
        r!   r)   s    r$   r   z(V1VolumeProjection.service_account_token   s     **r&   c                     || _         dS )zSets the service_account_token of this V1VolumeProjection.


        :param service_account_token: The service_account_token of this V1VolumeProjection.  # noqa: E501
        :type service_account_token: V1ServiceAccountTokenProjection
        Nr8   )r#   r   s     r$   r   z(V1VolumeProjection.service_account_token   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)xr?   	serializes     r$   convertz+V1VolumeProjection.to_dict.<locals>.convert   s[    q)$$ %ai005t99>>99;;&99Y///r&   c                      |           S )N )rA   rC   s    r$   <lambda>z,V1VolumeProjection.to_dict.<locals>.<lambda>   s    ggajj r&   c                 6    | d          | d                   fS )Nr   r=   rE   )itemrC   s    r$   rF   z,V1VolumeProjection.to_dict.<locals>.<lambda>   s    $q'7747+;+;!< r&   )six	iteritemsopenapi_typesgetattrattribute_mapget
isinstancelistmapdictitems)r#   rB   resultattr_valuerC   s    `    @r$   r<   zV1VolumeProjection.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V1VolumeProjection.to_str   s    ~dllnn---r&   c                 *    |                                  S )zFor `print` and `pprint`)r[   r)   s    r$   __repr__zV1VolumeProjection.__repr__   s    {{}}r&   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrO   r   r<   r#   others     r$   __eq__zV1VolumeProjection.__eq__   s5    %!344 	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V1VolumeProjection.__ne__   s5    %!344 	4||~~00r&   )NNNNNNN)F)__name__
__module____qualname____doc__rK   rM   r%   propertyr   setterr   r   r   r   r   r<   r[   r]   rb   rd   rE   r&   r$   r   r      s#         !A-17&!B M !5!%+!6 M? ? ? ?6 * * X*  : : ! :     X  & & & " " X" * * * % % X% 0 0 0   X ]  ] + + X+ !< < "!<   @. . .  1 1 11 1 1 1 1r&   r   )rh   inspectr   ImportErrorr   rY   rerI   'kubernetes_asyncio.client.configurationr   objectr   rE   r&   r$   <module>rp      s    5&&&&&&& 5 5 5444444445  				 



 A A A A A Am1 m1 m1 m1 m1 m1 m1 m1 m1 m1s    