
    <gj                     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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 Zd Zd Zd Zd Zy)V1VolumeProjectionzNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    V1ClusterTrustBundleProjectionV1ConfigMapProjectionV1DownwardAPIProjectionV1SecretProjectionV1ServiceAccountTokenProjection)cluster_trust_bundle
config_mapdownward_apisecretservice_account_tokenclusterTrustBundle	configMapdownwardAPIr   serviceAccountTokenNc                     |
t               }|| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _	        ||| _
        ||| _        ||| _        yy)z/V1VolumeProjection - a model defined in OpenAPIN)r   local_vars_configuration_cluster_trust_bundle_config_map_downward_api_secret_service_account_tokendiscriminatorr   r   r   r   r   )selfr   r   r   r   r   r   s          b/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_volume_projection.py__init__zV1VolumeProjection.__init__3   s    #+'4$(@%%)"!&*#!+(<D%!(DO# ,D 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_bundleK   s     )))r   c                     || _         y)zSets the cluster_trust_bundle of this V1VolumeProjection.


        :param cluster_trust_bundle: The cluster_trust_bundle of this V1VolumeProjection.  # noqa: E501
        :type: V1ClusterTrustBundleProjection
        Nr!   )r   r   s     r   r   z'V1VolumeProjection.cluster_trust_bundleU   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_map`   s     r   c                     || _         y)zSets the config_map of this V1VolumeProjection.


        :param config_map: The config_map of this V1VolumeProjection.  # noqa: E501
        :type: V1ConfigMapProjection
        Nr%   )r   r   s     r   r   zV1VolumeProjection.config_mapj   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_apiu   s     !!!r   c                     || _         y)zSets the downward_api of this V1VolumeProjection.


        :param downward_api: The downward_api of this V1VolumeProjection.  # noqa: E501
        :type: V1DownwardAPIProjection
        Nr(   )r   r   s     r   r   zV1VolumeProjection.downward_api   s     *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                     || _         y)zSets the secret of this V1VolumeProjection.


        :param secret: The secret of this V1VolumeProjection.  # noqa: E501
        :type: V1SecretProjection
        Nr+   )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                     || _         y)zSets the service_account_token of this V1VolumeProjection.


        :param service_account_token: The service_account_token of this V1VolumeProjection.  # noqa: E501
        :type: V1ServiceAccountTokenProjection
        Nr.   )r   r   s     r   r   z(V1VolumeProjection.service_account_token   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hasattrr2   )xs    r   <lambda>z,V1VolumeProjection.to_dict.<locals>.<lambda>   s    WQ	-BaiikIIr   r2   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r2   r   r3   )items    r   r6   z,V1VolumeProjection.to_dict.<locals>.<lambda>   s6    tAw	2 #'q'47??+<!= "=8<"=r   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr4   r2   dictitems)r   resultattr_values        r   r2   zV1VolumeProjection.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pformatr2   r"   s    r   to_strzV1VolumeProjection.to_str   s    ~~dlln--r   c                 "    | j                         S )zFor `print` and `pprint`)rJ   r"   s    r   __repr__zV1VolumeProjection.__repr__   s    {{}r   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFr>   r   r2   r   others     r   __eq__zV1VolumeProjection.__eq__   s'    %!34||~00r   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTrN   rO   s     r   __ne__zV1VolumeProjection.__ne__   s'    %!34||~00r   )NNNNNN)__name__
__module____qualname____doc__r<   attribute_mapr   propertyr   setterr   r   r   r   r2   rJ   rL   rQ   rS    r   r   r   r      s?    !A-1&!BM !5!%!6M?0 * *   : !:     & & " " * *   ]]  + + !!< "<0.11r   r   )rW   rH   rer:   kubernetes.client.configurationr   objectr   r[   r   r   <module>r_      s&     	 
 9K1 K1r   