
                         >    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) V1FlexVolumeSource   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
strzdict(str, str)boolV1LocalObjectReference)driverfs_typeoptions	read_only
secret_refr   fsTyper   readOnly	secretRefNc                     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)z1
V1FlexVolumeSource - a model defined in Swagger
N_driver_fs_type_options
_read_only_secret_refdiscriminatorr   r   r   r   r   )selfr   r   r   r   r   s         Alib/third_party/kubernetes/client/models/v1_flex_volume_source.py__init__V1FlexVolumeSource.__init__.   sf     DLDMDMDODDKll n"o     c                     U R                   $ )z
Gets the driver of this V1FlexVolumeSource.
Driver is the name of the driver to use for this volume.

:return: The driver of this V1FlexVolumeSource.
:rtype: str
)r   r   s    r   r   V1FlexVolumeSource.driverI   s     <<r   c                 ,    Uc  [        S5      eXl        g)z
Sets the driver of this V1FlexVolumeSource.
Driver is the name of the driver to use for this volume.

:param driver: The driver of this V1FlexVolumeSource.
:type: str
Nz.Invalid value for `driver`, must not be `None`)
ValueErrorr   )r   r   s     r   r   r"   T   s     ~GHHLr   c                     U R                   $ )a  
Gets the fs_type of this V1FlexVolumeSource.
Filesystem type to mount. Must be a filesystem type supported by the
host operating system. Ex. "ext4", "xfs", "ntfs". The default
filesystem depends on FlexVolume script.

:return: The fs_type of this V1FlexVolumeSource.
:rtype: str
r   r!   s    r   r   V1FlexVolumeSource.fs_typeb   s     ==r   c                     Xl         g)a  
Sets the fs_type of this V1FlexVolumeSource.
Filesystem type to mount. Must be a filesystem type supported by the
host operating system. Ex. "ext4", "xfs", "ntfs". The default
filesystem depends on FlexVolume script.

:param fs_type: The fs_type of this V1FlexVolumeSource.
:type: str
Nr&   )r   r   s     r   r   r'   o   s	     Mr   c                     U R                   $ )z
Gets the options of this V1FlexVolumeSource.
Optional: Extra command options if any.

:return: The options of this V1FlexVolumeSource.
:rtype: dict(str, str)
r   r!   s    r   r   V1FlexVolumeSource.options}   s     ==r   c                     Xl         g)z
Sets the options of this V1FlexVolumeSource.
Optional: Extra command options if any.

:param options: The options of this V1FlexVolumeSource.
:type: dict(str, str)
Nr*   )r   r   s     r   r   r+      s	     Mr   c                     U R                   $ )z
Gets the read_only of this V1FlexVolumeSource.
Optional: Defaults to false (read/write). ReadOnly here will force the
ReadOnly setting in VolumeMounts.

:return: The read_only of this V1FlexVolumeSource.
:rtype: bool
r   r!   s    r   r   V1FlexVolumeSource.read_only   s     ??r   c                     Xl         g)z
Sets the read_only of this V1FlexVolumeSource.
Optional: Defaults to false (read/write). ReadOnly here will force the
ReadOnly setting in VolumeMounts.

:param read_only: The read_only of this V1FlexVolumeSource.
:type: bool
Nr.   )r   r   s     r   r   r/      s	      Or   c                     U R                   $ )a  
Gets the secret_ref of this V1FlexVolumeSource.
Optional: SecretRef is reference to the secret object containing
sensitive information to pass to the plugin scripts. This may be empty
if no secret object is specified. If the secret object contains more
than one secret, all secrets are passed to the plugin scripts.

:return: The secret_ref of this V1FlexVolumeSource.
:rtype: V1LocalObjectReference
r   r!   s    r   r   V1FlexVolumeSource.secret_ref   s     r   c                     Xl         g)a  
Sets the secret_ref of this V1FlexVolumeSource.
Optional: SecretRef is reference to the secret object containing
sensitive information to pass to the plugin scripts. This may be empty
if no secret object is specified. If the secret object contains more
than one secret, all secrets are passed to the plugin scripts.

:param secret_ref: The secret_ref of this V1FlexVolumeSource.
:type: V1LocalObjectReference
Nr2   )r   r   s     r   r   r3      s
     "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hasattrr7   )xs    r   <lambda>,V1FlexVolumeSource.to_dict.<locals>.<lambda>   s    I)>)>!))+EAEr   r7   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r7   r   r8   )items    r   r;   r<      s9    47I.. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr9   r7   dictitems)r   resultattr_values        r   r7   V1FlexVolumeSource.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   r7   r!   s    r   to_strV1FlexVolumeSource.to_str   s     4<<>""r   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rM   r!   s    r   __repr__V1FlexVolumeSource.__repr__   s     ;;=r   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)rB   r   __dict__r   others     r   __eq__V1FlexVolumeSource.__eq__   s(     e/00==ENN**r   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rT   s     r   __ne__V1FlexVolumeSource.__ne__   s     r   r   )NNNNN)__name__
__module____qualname____firstlineno____doc__r@   attribute_mapr   propertyr   setterr   r   r   r   r7   rM   rP   rV   rZ   __static_attributes__rY   r   r   r   r      sK    !,- - #6   
==  
 
 >>    >>	 	 	 	 
  
    " ".#+r   r   )r`   pprintr   sixr   reobjectr   rY   r   r   <module>ri      s#   	   	h hr   