
    bi                     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.35
    Generated by: https://openapi-generator.tech
    N)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 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V1PodCertificateProjectionV1SecretProjectionV1ServiceAccountTokenProjection)cluster_trust_bundle
config_mapdownward_apipod_certificatesecretservice_account_tokenclusterTrustBundle	configMapdownwardAPIpodCertificater   serviceAccountTokenNc                     |
t               }|| _        d| _        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_pod_certificate_secret_service_account_tokendiscriminatorr   r   r   r   r   r   )selfr   r   r   r   r   r   r   s           w/home/obispo/Crisostomo_bridge/mision_env/lib/python3.12/site-packages/kubernetes/client/models/v1_volume_projection.py__init__zV1VolumeProjection.__init__5   s    #+'4$(@%%)"! $&*#!+(<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_bundleP   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_bundleZ   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_mape   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_mapo   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_apiz   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 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                     || _         y)zSets the pod_certificate of this V1VolumeProjection.


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


        :param secret: The secret of this V1VolumeProjection.  # noqa: E501
        :type: V1SecretProjection
        Nr2   )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
        Nr5   )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hasattrr9   )xs    r!   <lambda>z,V1VolumeProjection.to_dict.<locals>.<lambda>   s    WQ	-Baiik  r#   r9   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r9   r   r:   )items    r!   r=   z,V1VolumeProjection.to_dict.<locals>.<lambda>   s3    tAw	2 #'q'47??+<!= 8< r#   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr;   r9   dictitems)r    resultattr_values        r!   r9   zV1VolumeProjection.to_dict   s    }}T%7%78 	%GD!D$'E%&#CI%  t 	*$}}tE4(#C=KKM%  t  %t!	%$ r#   c                 H    t        j                  | j                               S )z.Returns the string representation of the model)pprintpformatr9   r&   s    r!   to_strzV1VolumeProjection.to_str   s    ~~dlln--r#   c                 "    | j                         S )zFor `print` and `pprint`)rQ   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rE   r   r9   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 equalTrU   rV   s     r!   __ne__zV1VolumeProjection.__ne__   s'    %!34||~00r#   )NNNNNNN)__name__
__module____qualname____doc__rC   attribute_mapr"   propertyr   setterr   r   r   r   r   r9   rQ   rS   rX   rZ    r#   r!   r   r      ss    !A-17&!BM !5!%+!6M?6 * *   : !:     & & " " * * % % 0 0   ]]  + + !!< "<0.11r#   r   )r^   rO   rerA   kubernetes.client.configurationr   objectr   rb   r#   r!   <module>rf      s&     	 
 9e1 e1r#   