3 f÷ÔYfã@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)ÚV1FCVolumeSourcezw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs<dddddœ|_dddd dœ|_||_||_||_||_d S) aF V1FCVolumeSource - 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ÚintÚboolz list[str])Úfs_typeÚlunÚ read_onlyÚ target_ww_nsÚfsTyper ÚreadOnlyZ targetWWNsN)Ú swagger_typesÚ attribute_mapÚ_fs_typeÚ_lunÚ _read_onlyÚ _target_ww_ns)Úselfrr r r ©rú]/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_fc_volume_source.pyÚ__init__s   zV1FCVolumeSource.__init__cCs|jS)a8 Gets the fs_type of this V1FCVolumeSource. 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 V1FCVolumeSource. :rtype: str )r)rrrrr4s zV1FCVolumeSource.fs_typecCs ||_dS)a> Sets the fs_type of this V1FCVolumeSource. 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 V1FCVolumeSource. :type: str N)r)rrrrrr?s cCs|jS)z§ Gets the lun of this V1FCVolumeSource. Required: FC target lun number :return: The lun of this V1FCVolumeSource. :rtype: int )r)rrrrr Ks zV1FCVolumeSource.luncCs|dkrtdƒ‚||_dS)z© Sets the lun of this V1FCVolumeSource. Required: FC target lun number :param lun: The lun of this V1FCVolumeSource. :type: int Nz+Invalid value for `lun`, must not be `None`)Ú ValueErrorr)rr rrrr Vs cCs|jS)zþ Gets the read_only of this V1FCVolumeSource. Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. :return: The read_only of this V1FCVolumeSource. :rtype: bool )r)rrrrr ds zV1FCVolumeSource.read_onlycCs ||_dS)a Sets the read_only of this V1FCVolumeSource. Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. :param read_only: The read_only of this V1FCVolumeSource. :type: bool N)r)rr rrrr os cCs|jS)zË Gets the target_ww_ns of this V1FCVolumeSource. Required: FC target worldwide names (WWNs) :return: The target_ww_ns of this V1FCVolumeSource. :rtype: list[str] )r)rrrrr {s zV1FCVolumeSource.target_ww_nscCs|dkrtdƒ‚||_dS)zÖ Sets the target_ww_ns of this V1FCVolumeSource. Required: FC target worldwide names (WWNs) :param target_ww_ns: The target_ww_ns of this V1FCVolumeSource. :type: list[str] Nz4Invalid value for `target_ww_ns`, must not be `None`)rr)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*V1FCVolumeSource.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     zV1FCVolumeSource.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_str®szV1FCVolumeSource.to_strcCs|jƒS)z* For `print` and `pprint` )r))rrrrÚ__repr__´szV1FCVolumeSource.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)r rÚ__dict__)rÚotherrrrÚ__eq__ºs zV1FCVolumeSource.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr,rrrÚ__ne__ÃszV1FCVolumeSource.__ne__)NNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterr r r rr)r*r-r.rrrrrs      r)r2ÚpprintrÚsixrÚreÚobjectrrrrrÚ s