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)ÚV1ResourceQuotaSpeczw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs(dddœ|_dddœ|_||_||_dS)aI V1ResourceQuotaSpec - 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)z list[str])ÚhardÚscopesrrN)Ú swagger_typesÚ attribute_mapÚ_hardÚ_scopes)Úselfrr©r ú`/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_resource_quota_spec.pyÚ__init__s   zV1ResourceQuotaSpec.__init__cCs|jS)aE Gets the hard of this V1ResourceQuotaSpec. Hard is the set of desired hard limits for each named resource. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md :return: The hard of this V1ResourceQuotaSpec. :rtype: dict(str, str) )r )r r r r r.s zV1ResourceQuotaSpec.hardcCs ||_dS)aH Sets the hard of this V1ResourceQuotaSpec. Hard is the set of desired hard limits for each named resource. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md :param hard: The hard of this V1ResourceQuotaSpec. :type: dict(str, str) N)r )r rr r r r9s cCs|jS)a Gets the scopes of this V1ResourceQuotaSpec. A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects. :return: The scopes of this V1ResourceQuotaSpec. :rtype: list[str] )r )r r r r rEs zV1ResourceQuotaSpec.scopescCs ||_dS)a Sets the scopes of this V1ResourceQuotaSpec. A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects. :param scopes: The scopes of this V1ResourceQuotaSpec. :type: list[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 Úfsz-V1ResourceQuotaSpec.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     zV1ResourceQuotaSpec.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)r r r r Úto_strvszV1ResourceQuotaSpec.to_strcCs|jƒS)z* For `print` and `pprint` )r)r r r r Ú__repr__|szV1ResourceQuotaSpec.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)r Úotherr r r Ú__eq__‚s zV1ResourceQuotaSpec.__eq__cCs ||k S)z< Returns true if both objects are not equal r )r r"r r r Ú__ne__‹szV1ResourceQuotaSpec.__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