3 f÷ÔYˆã@s8dZddlmZddlmZddlZGdd„deƒZdS)zç Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.7.4 Generated by: https://github.com/swagger-api/swagger-codegen.git é)Úpformat)Ú iteritemsNc@s�eZdZdZddd„Zedd„ƒZejdd„ƒZedd „ƒZejd d „ƒZed d „ƒZ e jd d „ƒZ dd„Z dd„Z dd„Z dd„Z dd„ZdS)ÚV1CinderVolumeSourcezw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs2ddddœ|_ddddœ|_||_||_||_dS)aJ V1CinderVolumeSource - a model defined in Swagger :param dict swaggerTypes: The key is attribute name and the value is attribute type. :param dict attributeMap: The key is attribute name and the value is json key in definition. ÚstrÚbool)Úfs_typeÚ read_onlyÚ volume_idÚfsTypeÚreadOnlyÚvolumeIDN)Ú swagger_typesÚ attribute_mapÚ_fs_typeÚ _read_onlyÚ _volume_id)Úselfrrr ©rúa/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_cinder_volume_source.pyÚ__init__s   zV1CinderVolumeSource.__init__cCs|jS)a‘ 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)rrrrr1s zV1CinderVolumeSource.fs_typecCs ||_dS)a— 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 N)r)rrrrrr<s cCs|jS)aQ 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)rrrrrHs zV1CinderVolumeSource.read_onlycCs ||_dS)aY 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 N)r)rrrrrrSs cCs|jS)a 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)rrrrr _s zV1CinderVolumeSource.volume_idcCs|dkrtdƒ‚||_dS)a 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)rr rrrr js cCs’i}xˆt|jƒD]z\}}t||ƒ}t|tƒrDttdd„|ƒƒ||<qt|dƒr\|jƒ||<qt|tƒr‚ttdd„|j ƒƒƒ||<q|||<qW|S)z8 Returns the model properties as a dict cSst|dƒr|jƒS|S)NÚto_dict)Úhasattrr)ÚxrrrÚ‚sz.V1CinderVolumeSource.to_dict..rcSs&t|ddƒr"|d|djƒfS|S)Nérr)rr)Úitemrrrr‰s) rr ÚgetattrÚ isinstanceÚlistÚmaprrÚdictÚitems)rÚresultÚattrÚ_Úvaluerrrrxs     zV1CinderVolumeSource.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_str’szV1CinderVolumeSource.to_strcCs|jƒS)z* For `print` and `pprint` )r')rrrrÚ__repr__˜szV1CinderVolumeSource.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)rÚotherrrrÚ__eq__žs zV1CinderVolumeSource.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr*rrrÚ__ne__§szV1CinderVolumeSource.__ne__)NNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrr rr'r(r+r,rrrrrs     r)r0ÚpprintrÚsixrÚreÚobjectrrrrrÚ s