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@sveZdZdZddd„Zedd„ƒZejdd„ƒZedd „ƒZejd d „ƒZd d „Z d d„Z dd„Z dd„Z dd„Z dS)ÚV1ProjectedVolumeSourcezw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs(dddœ|_dddœ|_||_||_dS)aM V1ProjectedVolumeSource - 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. Úintzlist[V1VolumeProjection])Ú default_modeÚsourcesÚ defaultModerN)Ú swagger_typesÚ attribute_mapÚ _default_modeÚ_sources)Úselfrr©rúd/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_projected_volume_source.pyÚ__init__s   z V1ProjectedVolumeSource.__init__cCs|jS)a¹ Gets the default_mode of this V1ProjectedVolumeSource. Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. :return: The default_mode of this V1ProjectedVolumeSource. :rtype: int )r )r rrrr.s z$V1ProjectedVolumeSource.default_modecCs ||_dS)aÄ Sets the default_mode of this V1ProjectedVolumeSource. Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. :param default_mode: The default_mode of this V1ProjectedVolumeSource. :type: int N)r )r rrrrr9s cCs|jS)zÎ Gets the sources of this V1ProjectedVolumeSource. list of volume projections :return: The sources of this V1ProjectedVolumeSource. :rtype: list[V1VolumeProjection] )r )r rrrrEs zV1ProjectedVolumeSource.sourcescCs|dkrtdƒ‚||_dS)zÔ Sets the sources of this V1ProjectedVolumeSource. list of volume projections :param sources: The sources of this V1ProjectedVolumeSource. :type: list[V1VolumeProjection] Nz/Invalid value for `sources`, must not be `None`)Ú ValueErrorr )r rrrrrPs 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Úhsz1V1ProjectedVolumeSource.to_dict..rcSs&t|ddƒr"|d|djƒfS|S)Nérr)rr)Úitemrrrros) rr ÚgetattrÚ isinstanceÚlistÚmaprrÚdictÚitems)r ÚresultÚattrÚ_Úvaluerrrr^s     zV1ProjectedVolumeSource.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)r rrrÚto_strxszV1ProjectedVolumeSource.to_strcCs|jƒS)z* For `print` and `pprint` )r")r rrrÚ__repr__~sz V1ProjectedVolumeSource.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)r ÚotherrrrÚ__eq__„s zV1ProjectedVolumeSource.__eq__cCs ||k S)z< Returns true if both objects are not equal r)r r%rrrÚ__ne__szV1ProjectedVolumeSource.__ne__)NN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrr"r#r&r'rrrrrs    r)r+ÚpprintrÚsixrÚreÚobjectrrrrrÚ s