
    [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                   0   e Zd ZdZ	 dddddZ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ddZd Zd Zd Zd Zd
S )V1CinderVolumeSourcezNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    strboolV1LocalObjectReference)fs_type	read_only
secret_ref	volume_idfsTypereadOnly	secretRefvolumeIDNc                     |t          j                    }|| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _	        ||| _
        || _        dS )z1V1CinderVolumeSource - a model defined in OpenAPIN)r   get_default_copylocal_vars_configuration_fs_type
_read_only_secret_ref
_volume_iddiscriminatorr   r   r   r   )selfr   r   r   r   r   s         m/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes/client/models/v1_cinder_volume_source.py__init__zV1CinderVolumeSource.__init__4   sv    #+'4'E'G'G$(@%!"DL &DN!(DO"    c                     | j         S )a  Gets the fs_type of this V1CinderVolumeSource.  # noqa: E501

        fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md  # noqa: E501

        :return: The fs_type of this V1CinderVolumeSource.  # noqa: E501
        :rtype: str
        r   r   s    r   r   zV1CinderVolumeSource.fs_typeH   s     }r   c                     || _         dS )a  Sets the fs_type of this V1CinderVolumeSource.

        fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md  # noqa: E501

        :param fs_type: The fs_type of this V1CinderVolumeSource.  # noqa: E501
        :type fs_type: str
        Nr    )r   r   s     r   r   zV1CinderVolumeSource.fs_typeS   s      r   c                     | j         S )ad  Gets the read_only of this V1CinderVolumeSource.  # noqa: E501

        readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md  # noqa: E501

        :return: The read_only of this V1CinderVolumeSource.  # noqa: E501
        :rtype: bool
        r   r!   s    r   r   zV1CinderVolumeSource.read_only_        r   c                     || _         dS )ah  Sets the read_only of this V1CinderVolumeSource.

        readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md  # noqa: E501

        :param read_only: The read_only of this V1CinderVolumeSource.  # noqa: E501
        :type read_only: bool
        Nr$   )r   r   s     r   r   zV1CinderVolumeSource.read_onlyj   s     $r   c                     | j         S )zGets the secret_ref of this V1CinderVolumeSource.  # noqa: E501


        :return: The secret_ref of this V1CinderVolumeSource.  # noqa: E501
        :rtype: V1LocalObjectReference
        r   r!   s    r   r   zV1CinderVolumeSource.secret_refv   s     r   c                     || _         dS )zSets the secret_ref of this V1CinderVolumeSource.


        :param secret_ref: The secret_ref of this V1CinderVolumeSource.  # noqa: E501
        :type secret_ref: V1LocalObjectReference
        Nr(   )r   r   s     r   r   zV1CinderVolumeSource.secret_ref   s     &r   c                     | j         S )a+  Gets the volume_id of this V1CinderVolumeSource.  # noqa: E501

        volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md  # noqa: E501

        :return: The volume_id of this V1CinderVolumeSource.  # noqa: E501
        :rtype: str
        )r   r!   s    r   r   zV1CinderVolumeSource.volume_id   r%   r   c                 N    | j         j        r|t          d          || _        dS )a/  Sets the volume_id of this V1CinderVolumeSource.

        volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md  # noqa: E501

        :param volume_id: The volume_id of this V1CinderVolumeSource.  # noqa: E501
        :type volume_id: str
        Nz1Invalid value for `volume_id`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   zV1CinderVolumeSource.volume_id   s2     (? 	RIDUPQQQ#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   r0   argslen)xr3   	serializes     r   convertz-V1CinderVolumeSource.to_dict.<locals>.convert   s[    q)$$ %ai005t99>>99;;&99Y///r   c                      |           S )N )r5   r7   s    r   <lambda>z.V1CinderVolumeSource.to_dict.<locals>.<lambda>   s    ggajj r   c                 6    | d          | d                   fS )Nr   r1   r9   )itemr7   s    r   r:   z.V1CinderVolumeSource.to_dict.<locals>.<lambda>   s    $q'7747+;+;!< r   )six	iteritemsopenapi_typesgetattrattribute_mapget
isinstancelistmapdictitems)r   r6   resultattr_valuer7   s    `    @r   r0   zV1CinderVolumeSource.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pformatr0   r!   s    r   to_strzV1CinderVolumeSource.to_str   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)rO   r!   s    r   __repr__zV1CinderVolumeSource.__repr__   s    {{}}r   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrC   r   r0   r   others     r   __eq__zV1CinderVolumeSource.__eq__   s5    %!566 	5||~~00r   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrS   rT   s     r   __ne__zV1CinderVolumeSource.__ne__   s5    %!566 	4||~~00r   )NNNNN)F)__name__
__module____qualname____doc__r?   rA   r   propertyr   setterr   r   r   r0   rO   rQ   rV   rX   r9   r   r   r   r      s         .	 M !	 M# # # #(   X ^	  	  ^	    X 	$ 	$ 	$     X  & & &   X $ $ $   @. . .  1 1 11 1 1 1 1r   r   )r\   inspectr   ImportErrorr   rM   rer=   kubernetes.client.configurationr   objectr   r9   r   r   <module>rd      s    5&&&&&&& 5 5 5444444445  				 



 9 9 9 9 9 9@1 @1 @1 @1 @16 @1 @1 @1 @1 @1s    