3 fY@s8dZddlmZddlmZddlZGdddeZdS)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@seZdZdZdddZeddZejddZedd Zejd d Zed d Z e jd d Z ddZ ddZ ddZ ddZ ddZdS)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. strbool)fs_type read_only volume_idfsTypereadOnlyvolumeIDN) swagger_types attribute_map_fs_type _read_only _volume_id)selfrrr ra/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 cCsi}xt|jD]z\}}t||}t|trDttdd|||<qt|dr\|j||<qt|trttdd|j ||<q|||<qW|S)z8 Returns the model properties as a dict cSst|dr|jS|S)Nto_dict)hasattrr)xrrrsz.V1CinderVolumeSource.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemrrrrs) rr getattr isinstancelistmaprrdictitems)rresultattr_valuerrrrxs     zV1CinderVolumeSource.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_strszV1CinderVolumeSource.to_strcCs|jS)z* For `print` and `pprint` )r')rrrr__repr__szV1CinderVolumeSource.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)rr__dict__)rotherrrr__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__rpropertyrsetterrr rr'r(r+r,rrrrrs     r)r0pprintrsixrreobjectrrrrr s