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@s\eZdZdZddd„Zedd„ƒZejdd„ƒZdd „Zd d „Z d d „Z dd„Z dd„Z dS)ÚV1NodeSelectorTermzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsddi|_ddi|_||_dS)aH V1NodeSelectorTerm - 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. Úmatch_expressionszlist[V1NodeSelectorRequirement]ÚmatchExpressionsN)Ú swagger_typesÚ attribute_mapÚ_match_expressions)Úselfr©r ú_/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_node_selector_term.pyÚ__init__s  zV1NodeSelectorTerm.__init__cCs|jS)a Gets the match_expressions of this V1NodeSelectorTerm. Required. A list of node selector requirements. The requirements are ANDed. :return: The match_expressions of this V1NodeSelectorTerm. :rtype: list[V1NodeSelectorRequirement] )r )r r r r r+s z$V1NodeSelectorTerm.match_expressionscCs|dkrtdƒ‚||_dS)a  Sets the match_expressions of this V1NodeSelectorTerm. Required. A list of node selector requirements. The requirements are ANDed. :param match_expressions: The match_expressions of this V1NodeSelectorTerm. :type: list[V1NodeSelectorRequirement] Nz9Invalid value for `match_expressions`, must not be `None`)Ú ValueErrorr )r rr r r r6s 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 ÚNsz,V1NodeSelectorTerm.to_dict..rcSs&t|ddƒr"|d|djƒfS|S)Nérr)rr)Úitemr r r rUs) rrÚgetattrÚ isinstanceÚlistÚmaprrÚdictÚitems)r ÚresultÚattrÚ_Úvaluer r r rDs     zV1NodeSelectorTerm.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)r r r r Úto_str^szV1NodeSelectorTerm.to_strcCs|jƒS)z* For `print` and `pprint` )r)r r r r Ú__repr__dszV1NodeSelectorTerm.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)r Úotherr r r Ú__eq__js zV1NodeSelectorTerm.__eq__cCs ||k S)z< Returns true if both objects are not equal r )r r"r r r Ú__ne__sszV1NodeSelectorTerm.__ne__)N) Ú__name__Ú __module__Ú __qualname__Ú__doc__r ÚpropertyrÚsetterrrr r#r$r r r r rs   r)r(ÚpprintrÚsixrÚreÚobjectrr r r r Ú s