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 edd„ƒZ e jdd„ƒZ dd„Z dd„Z dd„Z dd„Zdd„ZdS)Ú V1VolumeMountzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs<dddddœ|_dddddœ|_||_||_||_||_dS) aC V1VolumeMount - 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)Ú mount_pathÚnameÚ read_onlyÚsub_pathZ mountPathrÚreadOnlyZsubPathN)Ú swagger_typesÚ attribute_mapÚ _mount_pathÚ_nameÚ _read_onlyÚ _sub_path)Úselfrrr r ©rúY/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_volume_mount.pyÚ__init__s   zV1VolumeMount.__init__cCs|jS)zè Gets the mount_path of this V1VolumeMount. Path within the container at which the volume should be mounted. Must not contain ':'. :return: The mount_path of this V1VolumeMount. :rtype: str )r)rrrrr4s zV1VolumeMount.mount_pathcCs|dkrtdƒ‚||_dS)zñ Sets the mount_path of this V1VolumeMount. Path within the container at which the volume should be mounted. Must not contain ':'. :param mount_path: The mount_path of this V1VolumeMount. :type: str Nz2Invalid value for `mount_path`, must not be `None`)Ú ValueErrorr)rrrrrr?s cCs|jS)zª Gets the name of this V1VolumeMount. This must match the Name of a Volume. :return: The name of this V1VolumeMount. :rtype: str )r)rrrrrMs zV1VolumeMount.namecCs|dkrtdƒ‚||_dS)z­ Sets the name of this V1VolumeMount. This must match the Name of a Volume. :param name: The name of this V1VolumeMount. :type: str Nz,Invalid value for `name`, must not be `None`)rr)rrrrrrXs cCs|jS)zê Gets the read_only of this V1VolumeMount. Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. :return: The read_only of this V1VolumeMount. :rtype: bool )r)rrrrr fs zV1VolumeMount.read_onlycCs ||_dS)zò Sets the read_only of this V1VolumeMount. Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. :param read_only: The read_only of this V1VolumeMount. :type: bool N)r)rr rrrr qs cCs|jS)zø Gets the sub_path of this V1VolumeMount. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). :return: The sub_path of this V1VolumeMount. :rtype: str )r)rrrrr }s zV1VolumeMount.sub_pathcCs ||_dS)zÿ Sets the sub_path of this V1VolumeMount. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). :param sub_path: The sub_path of this V1VolumeMount. :type: str N)r)rr rrrr ˆ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'V1VolumeMount.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Ú_Úvaluerrrr”s     zV1VolumeMount.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_str®szV1VolumeMount.to_strcCs|jƒS)z* For `print` and `pprint` )r')rrrrÚ__repr__´szV1VolumeMount.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)rÚotherrrrÚ__eq__ºs zV1VolumeMount.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr*rrrÚ__ne__ÃszV1VolumeMount.__ne__)NNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrr r rr'r(r+r,rrrrrs       r)r0ÚpprintrÚsixrÚreÚobjectrrrrrÚ s