o
    gj                     @   s<   d Z ddlZddlZddlZddlmZ G d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.32
    Generated by: https://openapi-generator.tech
    N)Configurationc                   @   s   e Zd ZdZ	 ddddddZdd	d
dddZd)ddZedd Zej	dd Zedd Z
e
j	dd Z
edd Zej	dd Zedd Zej	dd Zedd Zej	dd Zdd  Zd!d" Zd#d$ Zd%d& Zd'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V1SecretProjectionV1ServiceAccountTokenProjection)cluster_trust_bundle
config_mapdownward_apisecretservice_account_tokenclusterTrustBundle	configMapdownwardAPIr   serviceAccountTokenNc                 C   s   |du rt  }|| _d| _d| _d| _d| _d| _d| _|dur#|| _|dur*|| _	|dur1|| _
|dur8|| _|durA|| _dS dS )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    r   d/var/www/visachat/venv/lib/python3.10/site-packages/kubernetes/client/models/v1_volume_projection.py__init__3   s(   
zV1VolumeProjection.__init__c                 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   r   r   r   r	   K      z'V1VolumeProjection.cluster_trust_bundlec                 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: V1ClusterTrustBundleProjection
        Nr   )r   r	   r   r   r   r	   U      
	c                 C   r   )zGets the config_map of this V1VolumeProjection.  # noqa: E501


        :return: The config_map of this V1VolumeProjection.  # noqa: E501
        :rtype: V1ConfigMapProjection
        r   r   r   r   r   r
   `   r    zV1VolumeProjection.config_mapc                 C   r!   )zSets the config_map of this V1VolumeProjection.


        :param config_map: The config_map of this V1VolumeProjection.  # noqa: E501
        :type: V1ConfigMapProjection
        Nr#   )r   r
   r   r   r   r
   j   r"   c                 C   r   )zGets the downward_api of this V1VolumeProjection.  # noqa: E501


        :return: The downward_api of this V1VolumeProjection.  # noqa: E501
        :rtype: V1DownwardAPIProjection
        r   r   r   r   r   r   u   r    zV1VolumeProjection.downward_apic                 C   r!   )zSets the downward_api of this V1VolumeProjection.


        :param downward_api: The downward_api of this V1VolumeProjection.  # noqa: E501
        :type: V1DownwardAPIProjection
        Nr$   )r   r   r   r   r   r      r"   c                 C   r   )zGets the secret of this V1VolumeProjection.  # noqa: E501


        :return: The secret of this V1VolumeProjection.  # noqa: E501
        :rtype: V1SecretProjection
        r   r   r   r   r   r      r    zV1VolumeProjection.secretc                 C   r!   )zSets the secret of this V1VolumeProjection.


        :param secret: The secret of this V1VolumeProjection.  # noqa: E501
        :type: V1SecretProjection
        Nr%   )r   r   r   r   r   r      r"   c                 C   r   )zGets the service_account_token of this V1VolumeProjection.  # noqa: E501


        :return: The service_account_token of this V1VolumeProjection.  # noqa: E501
        :rtype: V1ServiceAccountTokenProjection
        r   r   r   r   r   r      r    z(V1VolumeProjection.service_account_tokenc                 C   r!   )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   r   r   r   r      r"   c                 C   s   i }t | jD ]=\}}t| |}t|tr"ttdd |||< qt|dr.| ||< qt|t	rAt	tdd |
 ||< q|||< q|S )z&Returns the model properties as a dictc                 S   s   t | dr	|  S | S )Nto_dicthasattrr'   )xr   r   r   <lambda>   s    z,V1VolumeProjection.to_dict.<locals>.<lambda>r'   c                 S   s&   t | d dr| d | d  fS | S )N   r'   r   r(   )itemr   r   r   r+      s   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr)   r'   dictitems)r   resultattr_valuer   r   r   r'      s"   




zV1VolumeProjection.to_dictc                 C   s   t |  S )z.Returns the string representation of the model)pprintpformatr'   r   r   r   r   to_str   s   zV1VolumeProjection.to_strc                 C   s   |   S )zFor `print` and `pprint`)r=   r   r   r   r   __repr__   s   zV1VolumeProjection.__repr__c                 C   s   t |tsdS |  | kS )z&Returns true if both objects are equalFr2   r   r'   r   otherr   r   r   __eq__      
zV1VolumeProjection.__eq__c                 C   s   t |tsdS |  | kS )z*Returns true if both objects are not equalTr?   r@   r   r   r   __ne__   rC   zV1VolumeProjection.__ne__)NNNNNN)__name__
__module____qualname____doc__r0   attribute_mapr   propertyr	   setterr
   r   r   r   r'   r=   r>   rB   rD   r   r   r   r   r      sR    	

	


	


	


	


	

r   )rH   r;   rer.   kubernetes.client.configurationr   objectr   r   r   r   r   <module>   s   
