
    3iy                     B    S r SSKrSSKrSSKrSSKJr   " S S\5      rg)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.34
Generated by: https://openapi-generator.tech
    N)Configurationc                   f   \ rS rSrSr SSSSSS.rSS	S
SSS.rSS jr\S 5       r	\	R                  S 5       r	\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       rS rS rS rS rS rSrg) V1CSIVolumeSource   z~NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech

Do not edit the class manually.
strV1LocalObjectReferenceboolzdict(str, str))driverfs_typenode_publish_secret_ref	read_onlyvolume_attributesr
   fsTypenodePublishSecretRefreadOnlyvolumeAttributesNc                     Uc
  [        5       nX`l        SU l        SU l        SU l        SU l        SU l        SU l        Xl        Ub  X l	        Ub  X0l
        Ub  X@l        Ub  XPl        gg)z.V1CSIVolumeSource - a model defined in OpenAPIN)r   local_vars_configuration_driver_fs_type_node_publish_secret_ref
_read_only_volume_attributesdiscriminatorr
   r   r   r   r   )selfr
   r   r   r   r   r   s          g/home/james-whalen/.local/lib/python3.13/site-packages/kubernetes/client/models/v1_csi_volume_source.py__init__V1CSIVolumeSource.__init__3   s{    #+'4$(@%(,%"&!"L".+B( &N(%6" )    c                     U R                   $ )a  Gets the driver of this V1CSIVolumeSource.  # noqa: E501

driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.  # noqa: E501

:return: The driver of this V1CSIVolumeSource.  # noqa: E501
:rtype: str
)r   r   s    r   r
   V1CSIVolumeSource.driverJ   s     ||r   c                 b    U R                   R                  (       a  Uc  [        S5      eXl        g)a  Sets the driver of this V1CSIVolumeSource.

driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.  # noqa: E501

:param driver: The driver of this V1CSIVolumeSource.  # noqa: E501
:type: str
Nz.Invalid value for `driver`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r
   s     r   r
   r"   U   s(     ((??FNMNNr   c                     U R                   $ )a>  Gets the fs_type of this V1CSIVolumeSource.  # noqa: E501

fsType to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.  # noqa: E501

:return: The fs_type of this V1CSIVolumeSource.  # noqa: E501
:rtype: str
r   r!   s    r   r   V1CSIVolumeSource.fs_typec   s     }}r   c                     Xl         g)a6  Sets the fs_type of this V1CSIVolumeSource.

fsType to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.  # noqa: E501

:param fs_type: The fs_type of this V1CSIVolumeSource.  # noqa: E501
:type: str
Nr'   )r   r   s     r   r   r(   n   s	      r   c                     U R                   $ )zGets the node_publish_secret_ref of this V1CSIVolumeSource.  # noqa: E501


:return: The node_publish_secret_ref of this V1CSIVolumeSource.  # noqa: E501
:rtype: V1LocalObjectReference
r   r!   s    r   r   )V1CSIVolumeSource.node_publish_secret_refz   s     ,,,r   c                     Xl         g)zSets the node_publish_secret_ref of this V1CSIVolumeSource.


:param node_publish_secret_ref: The node_publish_secret_ref of this V1CSIVolumeSource.  # noqa: E501
:type: V1LocalObjectReference
Nr+   )r   r   s     r   r   r,      s     )@%r   c                     U R                   $ )zGets the read_only of this V1CSIVolumeSource.  # noqa: E501

readOnly specifies a read-only configuration for the volume. Defaults to false (read/write).  # noqa: E501

:return: The read_only of this V1CSIVolumeSource.  # noqa: E501
:rtype: bool
r   r!   s    r   r   V1CSIVolumeSource.read_only   s     r   c                     Xl         g)zSets the read_only of this V1CSIVolumeSource.

readOnly specifies a read-only configuration for the volume. Defaults to false (read/write).  # noqa: E501

:param read_only: The read_only of this V1CSIVolumeSource.  # noqa: E501
:type: bool
Nr/   )r   r   s     r   r   r0      s	     $r   c                     U R                   $ )aC  Gets the volume_attributes of this V1CSIVolumeSource.  # noqa: E501

volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.  # noqa: E501

:return: The volume_attributes of this V1CSIVolumeSource.  # noqa: E501
:rtype: dict(str, str)
r   r!   s    r   r   #V1CSIVolumeSource.volume_attributes   s     &&&r   c                     Xl         g)aE  Sets the volume_attributes of this V1CSIVolumeSource.

volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.  # noqa: E501

:param volume_attributes: The volume_attributes of this V1CSIVolumeSource.  # noqa: E501
:type: dict(str, str)
Nr3   )r   r   s     r   r   r4      s
     #4r   c                    0 n[         R                  " U R                  5       H  u  p#[        X5      n[	        U[
        5      (       a  [        [        S U5      5      X'   M?  [        US5      (       a  UR                  5       X'   Md  [	        U[        5      (       a(  [        [        S UR                  5       5      5      X'   M  XAU'   M     U$ )z&Returns the model properties as a dictc                 H    [        U S5      (       a  U R                  5       $ U $ )Nto_dicthasattrr8   )xs    r   <lambda>+V1CSIVolumeSource.to_dict.<locals>.<lambda>   s    WQ	-B-BaiikIIr   r8   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r8   r   r9   )items    r   r<   r=      s9    tAw	22 #'q'47??+<!= "=8<"=r   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr:   r8   dictitems)r   resultattr_values        r   r8   V1CSIVolumeSource.to_dict   s    }}T%7%78GDD'E%&&#CI%   	**$}}E4((#C=KKM%    %t! 9$ r   c                 J    [         R                  " U R                  5       5      $ )z.Returns the string representation of the model)pprintpformatr8   r!   s    r   to_strV1CSIVolumeSource.to_str   s    ~~dlln--r   c                 "    U R                  5       $ )zFor `print` and `pprint`)rR   r!   s    r   __repr__V1CSIVolumeSource.__repr__   s    {{}r   c                 p    [        U[        5      (       d  gU R                  5       UR                  5       :H  $ )z&Returns true if both objects are equalFrE   r   r8   r   others     r   __eq__V1CSIVolumeSource.__eq__   s*    %!233||~00r   c                 p    [        U[        5      (       d  gU R                  5       UR                  5       :g  $ )z*Returns true if both objects are not equalTrX   rY   s     r   __ne__V1CSIVolumeSource.__ne__   s*    %!233||~00r   )r   r   r   r   r   r   r
   r   r   r   r   r   )NNNNNN)__name__
__module____qualname____firstlineno____doc__rC   attribute_mapr   propertyr
   setterr   r   r   r   r8   rR   rU   r[   r^   __static_attributes__ r   r   r   r      s>    #;-M #9/M7.   ]]    ^^	  	  - - ##@ $@   	$ 	$ ' ' 	4 	40.11r   r   )rd   rP   rerA   kubernetes.client.configurationr   objectr   ri   r   r   <module>rm      s&     	 
 9T1 T1r   