
                         >    S r SSKJr  SSKJr  SSKr " S S\5      rg)z
Kubernetes

No description provided (generated by Swagger Codegen
https://github.com/swagger-api/swagger-codegen)

OpenAPI spec version: v1.14.4

Generated by: https://github.com/swagger-api/swagger-codegen.git
    )pformat)	iteritemsNc                   p   \ 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   zk
NOTE: This class is auto generated by the swagger code generator program.
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                     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)z0
V1CSIVolumeSource - a model defined in Swagger
N_driver_fs_type_node_publish_secret_ref
_read_only_volume_attributesdiscriminatorr   r   r   r   r   )selfr   r   r   r   r   s         @lib/third_party/kubernetes/client/models/v1_csi_volume_source.py__init__V1CSIVolumeSource.__init__.   si     DLDM$(D!DO"DDKl*%<" n$0 %    c                     U R                   $ )z
Gets 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.

:return: The driver of this V1CSIVolumeSource.
:rtype: str
)r   r   s    r   r   V1CSIVolumeSource.driverI   s     <<r    c                 ,    Uc  [        S5      eXl        g)z
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.

:param driver: The driver of this V1CSIVolumeSource.
:type: str
Nz.Invalid value for `driver`, must not be `None`)
ValueErrorr   )r   r   s     r   r   r#   U   s     ~GHHLr    c                     U R                   $ )a  
Gets the fs_type of this V1CSIVolumeSource.
Filesystem type 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.

:return: The fs_type of this V1CSIVolumeSource.
:rtype: str
r   r"   s    r   r   V1CSIVolumeSource.fs_typed   s     ==r    c                     Xl         g)a#  
Sets the fs_type of this V1CSIVolumeSource.
Filesystem type 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.

:param fs_type: The fs_type of this V1CSIVolumeSource.
:type: str
Nr'   )r   r   s     r   r   r(   q   s	     Mr    c                     U R                   $ )a  
Gets the node_publish_secret_ref of this V1CSIVolumeSource.
NodePublishSecretRef is a reference to the secret object containing
sensitive information to pass to the CSI driver to complete the CSI
NodePublishVolume and NodeUnpublishVolume calls. This field is optional,
and  may be empty if no secret is required. If the secret object
contains more than one secret, all secret references are passed.

:return: The node_publish_secret_ref of this V1CSIVolumeSource.
:rtype: V1LocalObjectReference
r   r"   s    r   r   )V1CSIVolumeSource.node_publish_secret_ref   s     (((r    c                     Xl         g)a  
Sets the node_publish_secret_ref of this V1CSIVolumeSource.
NodePublishSecretRef is a reference to the secret object containing
sensitive information to pass to the CSI driver to complete the CSI
NodePublishVolume and NodeUnpublishVolume calls. This field is optional,
and  may be empty if no secret is required. If the secret object
contains more than one secret, all secret references are passed.

:param node_publish_secret_ref: The node_publish_secret_ref of this
V1CSIVolumeSource.
:type: V1LocalObjectReference
Nr+   )r   r   s     r   r   r,      s
     %<!r    c                     U R                   $ )z
Gets the read_only of this V1CSIVolumeSource.
Specifies a read-only configuration for the volume. Defaults to false
(read/write).

:return: The read_only of this V1CSIVolumeSource.
:rtype: bool
r   r"   s    r   r   V1CSIVolumeSource.read_only   s     ??r    c                     Xl         g)z
Sets the read_only of this V1CSIVolumeSource.
Specifies a read-only configuration for the volume. Defaults to false
(read/write).

:param read_only: The read_only of this V1CSIVolumeSource.
:type: bool
Nr/   )r   r   s     r   r   r0      s	      Or    c                     U R                   $ )a  
Gets 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.

:return: The volume_attributes of this V1CSIVolumeSource.
:rtype: dict(str, str)
r   r"   s    r   r   #V1CSIVolumeSource.volume_attributes   s     """r    c                     Xl         g)a)  
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.

:param volume_attributes: The volume_attributes of this
V1CSIVolumeSource.
:type: dict(str, str)
Nr3   )r   r   s     r   r   r4      s
     0r    c                    0 n[        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 dict
c                 H    [        U S5      (       a  U R                  5       $ U $ )Nto_dicthasattrr8   )xs    r   <lambda>+V1CSIVolumeSource.to_dict.<locals>.<lambda>   s    I)>)>!))+EAEr    r8   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r8   r   r9   )items    r   r<   r=      s9    47I.. #1gtAw'89 9489r    )
r   swagger_typesgetattr
isinstancelistmapr:   r8   dictitems)r   resultattr_values        r   r8   V1CSIVolumeSource.to_dict   s     FT//0d!e	E4	 	 EuMO5)$$}}eT""9:?++-IJ
 t 1 Mr    c                 4    [        U R                  5       5      $ )z0
Returns the string representation of the model
)r   r8   r"   s    r   to_strV1CSIVolumeSource.to_str   s     4<<>""r    c                 "    U R                  5       $ )z
For `print` and `pprint`
)rN   r"   s    r   __repr__V1CSIVolumeSource.__repr__   s     ;;=r    c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)rC   r   __dict__r   others     r   __eq__V1CSIVolumeSource.__eq__   s(     e.//==ENN**r    c                     X:X  + $ )z,
Returns true if both objects are not equal
 rU   s     r   __ne__V1CSIVolumeSource.__ne__   s     r    r   )NNNNN)__name__
__module____qualname____firstlineno____doc__rA   attribute_mapr   propertyr   setterr   r   r   r   r8   rN   rQ   rW   r[   __static_attributes__rZ   r    r   r   r      sM    !9+- !7-- '+!%16 	 	 
==  
 
 >>  ) ) !!< "<  	 	 
  
  
# 
# 0 0.#+r    r   )ra   pprintr   sixr   reobjectr   rZ   r    r   <module>rj      s#   	   	r rr    