
                         >    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                   6   \ rS rSrSr SSSSS.r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 rS rS rS rS rSrg)V1CinderVolumeSource   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
strboolV1LocalObjectReference)fs_type	read_only
secret_ref	volume_idfsTypereadOnly	secretRefvolumeIDNc                     SU l         SU l        SU l        SU l        SU l        Ub  Xl        Ub  X l        Ub  X0l        X@l        g)z3
V1CinderVolumeSource - a model defined in Swagger
N	_fs_type
_read_only_secret_ref
_volume_iddiscriminatorr   r   r   r   )selfr   r   r   r   s        Clib/third_party/kubernetes/client/models/v1_cinder_volume_source.py__init__V1CinderVolumeSource.__init__,   sO     DMDODDODl n"oN    c                     U R                   $ )ai  
Gets the fs_type of this V1CinderVolumeSource.
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://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md

:return: The fs_type of this V1CinderVolumeSource.
:rtype: str
r   r   s    r   r   V1CinderVolumeSource.fs_typeC   s     ==r   c                     Xl         g)ao  
Sets the fs_type of this V1CinderVolumeSource.
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://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md

:param fs_type: The fs_type of this V1CinderVolumeSource.
:type: str
Nr    )r   r   s     r   r   r"   Q   s	     Mr   c                     U R                   $ )a)  
Gets the read_only of this V1CinderVolumeSource.
Optional: Defaults to false (read/write). ReadOnly here will force the
ReadOnly setting in VolumeMounts. More info:
https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md

:return: The read_only of this V1CinderVolumeSource.
:rtype: bool
r   r!   s    r   r   V1CinderVolumeSource.read_only`   s     ??r   c                     Xl         g)a1  
Sets the read_only of this V1CinderVolumeSource.
Optional: Defaults to false (read/write). ReadOnly here will force the
ReadOnly setting in VolumeMounts. More info:
https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md

:param read_only: The read_only of this V1CinderVolumeSource.
:type: bool
Nr%   )r   r   s     r   r   r&   m   s	      Or   c                     U R                   $ )z
Gets the secret_ref of this V1CinderVolumeSource.
Optional: points to a secret object containing parameters used to
connect to OpenStack.

:return: The secret_ref of this V1CinderVolumeSource.
:rtype: V1LocalObjectReference
r   r!   s    r   r   V1CinderVolumeSource.secret_ref{   s     r   c                     Xl         g)z
Sets the secret_ref of this V1CinderVolumeSource.
Optional: points to a secret object containing parameters used to
connect to OpenStack.

:param secret_ref: The secret_ref of this V1CinderVolumeSource.
:type: V1LocalObjectReference
Nr)   )r   r   s     r   r   r*      s
     "r   c                     U R                   $ )z
Gets the volume_id of this V1CinderVolumeSource.
volume id used to identify the volume in cinder More info:
https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md

:return: The volume_id of this V1CinderVolumeSource.
:rtype: str
)r   r!   s    r   r   V1CinderVolumeSource.volume_id   s     ??r   c                 ,    Uc  [        S5      eXl        g)z
Sets the volume_id of this V1CinderVolumeSource.
volume id used to identify the volume in cinder More info:
https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md

:param volume_id: The volume_id of this V1CinderVolumeSource.
:type: str
Nz1Invalid value for `volume_id`, must not be `None`)
ValueErrorr   )r   r   s     r   r   r-      s     JKKOr   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hasattrr2   )xs    r   <lambda>.V1CinderVolumeSource.to_dict.<locals>.<lambda>   s    I)>)>!))+EAEr   r2   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r2   r   r3   )items    r   r6   r7      s9    47I.. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr4   r2   dictitems)r   resultattr_values        r   r2   V1CinderVolumeSource.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   r2   r!   s    r   to_strV1CinderVolumeSource.to_str   s     4<<>""r   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rH   r!   s    r   __repr__V1CinderVolumeSource.__repr__   s     ;;=r   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)r=   r   __dict__r   others     r   __eq__V1CinderVolumeSource.__eq__   s(     e122==ENN**r   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rO   s     r   __ne__V1CinderVolumeSource.__ne__   s     r   r   )NNNN)__name__
__module____qualname____firstlineno____doc__r;   attribute_mapr   propertyr   setterr   r   r   r2   rH   rK   rQ   rU   __static_attributes__rT   r   r   r   r      s    ,	- 	- 	.   >>  
 
     	 	 
" 
" 	 	    .#+r   r   )r[   pprintr   sixr   reobjectr   rT   r   r   <module>rd      s#   	   	M6 Mr   