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)ÚV1ResourceRequirementszw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs(dddœ|_dddœ|_||_||_dS)aL V1ResourceRequirements - 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. zdict(str, str))ÚlimitsÚrequestsrrN)Ú swagger_typesÚ attribute_mapÚ_limitsÚ _requests)Úselfrr©r úb/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_resource_requirements.pyÚ__init__s   zV1ResourceRequirements.__init__cCs|jS)aH Gets the limits of this V1ResourceRequirements. Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ :return: The limits of this V1ResourceRequirements. :rtype: dict(str, str) )r )r r r r r.s zV1ResourceRequirements.limitscCs ||_dS)aM Sets the limits of this V1ResourceRequirements. Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ :param limits: The limits of this V1ResourceRequirements. :type: dict(str, str) N)r )r rr r r r9s cCs|jS)aÜ Gets the requests of this V1ResourceRequirements. Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ :return: The requests of this V1ResourceRequirements. :rtype: dict(str, str) )r )r r r r rEs zV1ResourceRequirements.requestscCs ||_dS)aã Sets the requests of this V1ResourceRequirements. Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ :param requests: The requests of this V1ResourceRequirements. :type: dict(str, str) N)r )r rr r r rPs 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 Úfsz0V1ResourceRequirements.to_dict..rcSs&t|ddƒr"|d|djƒfS|S)Nérr)rr)Úitemr r r rms) rrÚgetattrÚ isinstanceÚlistÚmaprrÚdictÚitems)r ÚresultÚattrÚ_Úvaluer r r r\s     zV1ResourceRequirements.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)r r r r Úto_strvszV1ResourceRequirements.to_strcCs|jƒS)z* For `print` and `pprint` )r)r r r r Ú__repr__|szV1ResourceRequirements.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)r Úotherr r r Ú__eq__‚s zV1ResourceRequirements.__eq__cCs ||k S)z< Returns true if both objects are not equal r )r r"r r r Ú__ne__‹szV1ResourceRequirements.__ne__)NN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrrr r#r$r r r r rs     r)r(ÚpprintrÚsixrÚreÚobjectrr r r r Ú s