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ÞeZdZdZd!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 dd„Z dd„Zdd„Zdd„Zdd „ZdS)"ÚV1AzureDiskVolumeSourcezw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsPdddddddœ|_dddddd dœ|_||_||_||_||_||_||_d S) aM V1AzureDiskVolumeSource - 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)Ú caching_modeÚ disk_nameÚdisk_uriÚfs_typeÚkindÚ read_onlyZ cachingModeZdiskNameZdiskURIÚfsTyper ÚreadOnlyN)Ú swagger_typesÚ attribute_mapÚ _caching_modeÚ _disk_nameÚ _disk_uriÚ_fs_typeÚ_kindÚ _read_only)Úselfrrr r r r ©rúe/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_azure_disk_volume_source.pyÚ__init__s$   z V1AzureDiskVolumeSource.__init__cCs|jS)zØ Gets the caching_mode of this V1AzureDiskVolumeSource. Host Caching mode: None, Read Only, Read Write. :return: The caching_mode of this V1AzureDiskVolumeSource. :rtype: str )r)rrrrr:s z$V1AzureDiskVolumeSource.caching_modecCs ||_dS)zã Sets the caching_mode of this V1AzureDiskVolumeSource. Host Caching mode: None, Read Only, Read Write. :param caching_mode: The caching_mode of this V1AzureDiskVolumeSource. :type: str N)r)rrrrrrEs cCs|jS)zÐ Gets the disk_name of this V1AzureDiskVolumeSource. The Name of the data disk in the blob storage :return: The disk_name of this V1AzureDiskVolumeSource. :rtype: str )r)rrrrrQs z!V1AzureDiskVolumeSource.disk_namecCs|dkrtdƒ‚||_dS)zØ Sets the disk_name of this V1AzureDiskVolumeSource. The Name of the data disk in the blob storage :param disk_name: The disk_name of this V1AzureDiskVolumeSource. :type: str Nz1Invalid value for `disk_name`, must not be `None`)Ú ValueErrorr)rrrrrr\s cCs|jS)zÊ Gets the disk_uri of this V1AzureDiskVolumeSource. The URI the data disk in the blob storage :return: The disk_uri of this V1AzureDiskVolumeSource. :rtype: str )r)rrrrr js z V1AzureDiskVolumeSource.disk_uricCs|dkrtdƒ‚||_dS)zÑ Sets the disk_uri of this V1AzureDiskVolumeSource. The URI the data disk in the blob storage :param disk_uri: The disk_uri of this V1AzureDiskVolumeSource. :type: str Nz0Invalid value for `disk_uri`, must not be `None`)rr)rr rrrr us cCs|jS)aF Gets the fs_type of this V1AzureDiskVolumeSource. Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. :return: The fs_type of this V1AzureDiskVolumeSource. :rtype: str )r)rrrrr ƒs zV1AzureDiskVolumeSource.fs_typecCs ||_dS)aL Sets the fs_type of this V1AzureDiskVolumeSource. Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. :param fs_type: The fs_type of this V1AzureDiskVolumeSource. :type: str N)r)rr rrrr Žs cCs|jS)ab Gets the kind of this V1AzureDiskVolumeSource. Expected values Shared: mulitple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared :return: The kind of this V1AzureDiskVolumeSource. :rtype: str )r)rrrrr šs zV1AzureDiskVolumeSource.kindcCs ||_dS)ae Sets the kind of this V1AzureDiskVolumeSource. Expected values Shared: mulitple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared :param kind: The kind of this V1AzureDiskVolumeSource. :type: str N)r)rr rrrr ¥s cCs|jS)a Gets the read_only of this V1AzureDiskVolumeSource. Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. :return: The read_only of this V1AzureDiskVolumeSource. :rtype: bool )r)rrrrr ±s z!V1AzureDiskVolumeSource.read_onlycCs ||_dS)a  Sets the read_only of this V1AzureDiskVolumeSource. Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. :param read_only: The read_only of this V1AzureDiskVolumeSource. :type: bool 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ÚÒsz1V1AzureDiskVolumeSource.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     zV1AzureDiskVolumeSource.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_strâszV1AzureDiskVolumeSource.to_strcCs|jƒS)z* For `print` and `pprint` )r,)rrrrÚ__repr__èsz V1AzureDiskVolumeSource.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)r#rÚ__dict__)rÚotherrrrÚ__eq__îs zV1AzureDiskVolumeSource.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr/rrrÚ__ne__÷szV1AzureDiskVolumeSource.__ne__)NNNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrr r r r rr,r-r0r1rrrrrs& "        r)r5ÚpprintrÚsixrÚreÚobjectrrrrrÚ s