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@seZdZdZd'dd„Zedd„ƒZejdd„ƒZedd „ƒZejd d „ƒZed d „ƒZ e jd d „ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZejdd„ƒZdd„Zdd „Zd!d"„Zd#d$„Zd%d&„ZdS)(ÚV1RBDVolumeSourcezw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. Nc Csddddddddddœ|_dddd d d d d dœ|_||_||_||_||_||_||_||_||_ dS)aG V1RBDVolumeSource - 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. Ústrz list[str]ÚboolÚV1LocalObjectReference)Úfs_typeÚimageÚkeyringÚmonitorsÚpoolÚ read_onlyÚ secret_refÚuserÚfsTyper r r r ÚreadOnlyÚ secretRefrN) Ú swagger_typesÚ attribute_mapÚ_fs_typeÚ_imageÚ_keyringÚ _monitorsÚ_poolÚ _read_onlyÚ _secret_refÚ_user) Úselfrr r r r r rr©rú^/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_rbd_volume_source.pyÚ__init__s0   zV1RBDVolumeSource.__init__cCs|jS)a­ Gets the fs_type of this V1RBDVolumeSource. Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd :return: The fs_type of this V1RBDVolumeSource. :rtype: str )r)rrrrr@s zV1RBDVolumeSource.fs_typecCs ||_dS)a³ Sets the fs_type of this V1RBDVolumeSource. Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd :param fs_type: The fs_type of this V1RBDVolumeSource. :type: str N)r)rrrrrrKs cCs|jS)zù Gets the image of this V1RBDVolumeSource. The rados image name. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it :return: The image of this V1RBDVolumeSource. :rtype: str )r)rrrrr Ws zV1RBDVolumeSource.imagecCs|dkrtdƒ‚||_dS)zý Sets the image of this V1RBDVolumeSource. The rados image name. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it :param image: The image of this V1RBDVolumeSource. :type: str Nz-Invalid value for `image`, must not be `None`)Ú ValueErrorr)rr rrrr bs cCs|jS)a2 Gets the keyring of this V1RBDVolumeSource. Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it :return: The keyring of this V1RBDVolumeSource. :rtype: str )r)rrrrr ps zV1RBDVolumeSource.keyringcCs ||_dS)a8 Sets the keyring of this V1RBDVolumeSource. Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it :param keyring: The keyring of this V1RBDVolumeSource. :type: str N)r)rr rrrr {s cCs|jS)a Gets the monitors of this V1RBDVolumeSource. A collection of Ceph monitors. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it :return: The monitors of this V1RBDVolumeSource. :rtype: list[str] )r)rrrrr ‡s zV1RBDVolumeSource.monitorscCs|dkrtdƒ‚||_dS)a Sets the monitors of this V1RBDVolumeSource. A collection of Ceph monitors. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it :param monitors: The monitors of this V1RBDVolumeSource. :type: list[str] Nz0Invalid value for `monitors`, must not be `None`)r!r)rr rrrr ’s cCs|jS)a Gets the pool of this V1RBDVolumeSource. The rados pool name. Default is rbd. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it :return: The pool of this V1RBDVolumeSource. :rtype: str )r)rrrrr  s zV1RBDVolumeSource.poolcCs ||_dS)a  Sets the pool of this V1RBDVolumeSource. The rados pool name. Default is rbd. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it :param pool: The pool of this V1RBDVolumeSource. :type: str N)r)rr rrrr «s cCs|jS)a> Gets the read_only of this V1RBDVolumeSource. ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it :return: The read_only of this V1RBDVolumeSource. :rtype: bool )r)rrrrr ·s zV1RBDVolumeSource.read_onlycCs ||_dS)aF Sets the read_only of this V1RBDVolumeSource. ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it :param read_only: The read_only of this V1RBDVolumeSource. :type: bool N)r)rr rrrr Âs cCs|jS)ak Gets the secret_ref of this V1RBDVolumeSource. SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it :return: The secret_ref of this V1RBDVolumeSource. :rtype: V1LocalObjectReference )r)rrrrrÎs zV1RBDVolumeSource.secret_refcCs ||_dS)at Sets the secret_ref of this V1RBDVolumeSource. SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it :param secret_ref: The secret_ref of this V1RBDVolumeSource. :type: V1LocalObjectReference N)r)rrrrrrÙs cCs|jS)a Gets the user of this V1RBDVolumeSource. The rados user name. Default is admin. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it :return: The user of this V1RBDVolumeSource. :rtype: str )r)rrrrrås zV1RBDVolumeSource.usercCs ||_dS)a  Sets the user of this V1RBDVolumeSource. The rados user name. Default is admin. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it :param user: The user of this V1RBDVolumeSource. :type: str N)r)rrrrrrðs 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+V1RBDVolumeSource.to_dict..r"cSs&t|ddƒr"|d|djƒfS|S)Nér"r)r#r")Úitemrrrr% s) rrÚgetattrÚ isinstanceÚlistÚmapr#r"ÚdictÚitems)rÚresultÚattrÚ_Úvaluerrrr"üs     zV1RBDVolumeSource.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr")rrrrÚto_strszV1RBDVolumeSource.to_strcCs|jƒS)z* For `print` and `pprint` )r2)rrrrÚ__repr__szV1RBDVolumeSource.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)r)rÚ__dict__)rÚotherrrrÚ__eq__"s zV1RBDVolumeSource.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr5rrrÚ__ne__+szV1RBDVolumeSource.__ne__)NNNNNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__r ÚpropertyrÚsetterr r r r r rrr"r2r3r6r7rrrrrs. (          r)r;ÚpprintrÚsixrÚreÚobjectrrrrrÚ s