
    Bvh$                     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.33
    Generated by: https://openapi-generator.tech
    N)Configurationc                   $   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 Zd Zd Zd Zd Zy
)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               }|| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _	        || _
        y)z1V1CinderVolumeSource - a model defined in OpenAPIN)r   local_vars_configuration_fs_type
_read_only_secret_ref
_volume_iddiscriminatorr	   r
   r   r   )selfr	   r
   r   r   r   s         Z/RAG/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_cinder_volume_source.py__init__zV1CinderVolumeSource.__init__1   sk    #+'4$(@%!"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_typeE   s     }}r   c                     || _         y)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: str
        Nr   )r   r	   s     r   r	   zV1CinderVolumeSource.fs_typeP   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                     || _         y)a^  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: bool
        Nr!   )r   r
   s     r   r
   zV1CinderVolumeSource.read_onlyg   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_refs   s     r   c                     || _         y)zSets the secret_ref of this V1CinderVolumeSource.


        :param secret_ref: The secret_ref of this V1CinderVolumeSource.  # noqa: E501
        :type: 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                 X    | j                   j                  r|t        d      || _        y)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: str
        Nz1Invalid value for `volume_id`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   zV1CinderVolumeSource.volume_id   s+     ((??IDUPQQ#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hasattrr-   )xs    r   <lambda>z.V1CinderVolumeSource.to_dict.<locals>.<lambda>   s    WQ	-BaiikIIr   r-   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r-   r   r.   )items    r   r1   z.V1CinderVolumeSource.to_dict.<locals>.<lambda>   s6    tAw	2 #'q'47??+<!= "=8<"=r   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr/   r-   dictitems)r   resultattr_values        r   r-   zV1CinderVolumeSource.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pformatr-   r   s    r   to_strzV1CinderVolumeSource.to_str   s    ~~dlln--r   c                 "    | j                         S )zFor `print` and `pprint`)rE   r   s    r   __repr__zV1CinderVolumeSource.__repr__   s    {{}r   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFr9   r   r-   r   others     r   __eq__zV1CinderVolumeSource.__eq__   s'    %!56||~00r   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTrI   rJ   s     r   __ne__zV1CinderVolumeSource.__ne__   s'    %!56||~00r   )NNNNN)__name__
__module____qualname____doc__r7   attribute_mapr   propertyr	   setterr
   r   r   r-   rE   rG   rL   rN    r   r   r   r      s
    .	M !	M#(   ^^	  	    	$ 	$     & &   $ $0.11r   r   )rR   rC   rer5   kubernetes.client.configurationr   objectr   rV   r   r   <module>rZ      s&     	 
 9x16 x1r   