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)ÚV1EmptyDirVolumeSourcezw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs(dddœ|_dddœ|_||_||_dS)aL V1EmptyDirVolumeSource - 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)ÚmediumÚ size_limitrZ sizeLimitN)Ú swagger_typesÚ attribute_mapÚ_mediumÚ _size_limit)Úselfrr©r úd/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_empty_dir_volume_source.pyÚ__init__s   zV1EmptyDirVolumeSource.__init__cCs|jS)a‡ Gets the medium of this V1EmptyDirVolumeSource. What type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir :return: The medium of this V1EmptyDirVolumeSource. :rtype: str )r )r r r rr.s zV1EmptyDirVolumeSource.mediumcCs ||_dS)aŒ Sets the medium of this V1EmptyDirVolumeSource. What type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir :param medium: The medium of this V1EmptyDirVolumeSource. :type: str N)r )r rr r rr9s cCs|jS)a: Gets the size_limit of this V1EmptyDirVolumeSource. Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir :return: The size_limit of this V1EmptyDirVolumeSource. :rtype: str )r )r r r rrEs z!V1EmptyDirVolumeSource.size_limitcCs ||_dS)aC Sets the size_limit of this V1EmptyDirVolumeSource. Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir :param size_limit: The size_limit of this V1EmptyDirVolumeSource. :type: str N)r )r rr r rrPs 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)Úxr r rÚfsz0V1EmptyDirVolumeSource.to_dict..rcSs&t|ddƒr"|d|djƒfS|S)Nérr)rr)Úitemr r rrms) rrÚgetattrÚ isinstanceÚlistÚmaprrÚdictÚitems)r ÚresultÚattrÚ_Úvaluer r rr\s     zV1EmptyDirVolumeSource.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)r r r rÚto_strvszV1EmptyDirVolumeSource.to_strcCs|jƒS)z* For `print` and `pprint` )r )r r r rÚ__repr__|szV1EmptyDirVolumeSource.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)r Úotherr r rÚ__eq__‚s zV1EmptyDirVolumeSource.__eq__cCs ||k S)z< Returns true if both objects are not equal r )r r#r r rÚ__ne__‹szV1EmptyDirVolumeSource.__ne__)NN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrr r!r$r%r r r rrs     r)r)ÚpprintrÚsixrÚreÚobjectrr r r rÚ s