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)ÚV1LabelSelectorzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs(dddœ|_dddœ|_||_||_dS)aE V1LabelSelector - 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. z list[V1LabelSelectorRequirement]zdict(str, str))Úmatch_expressionsÚ match_labelsZmatchExpressionsZ matchLabelsN)Ú swagger_typesÚ attribute_mapÚ_match_expressionsÚ _match_labels)Úselfrr©r ú[/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_label_selector.pyÚ__init__s   zV1LabelSelector.__init__cCs|jS)a Gets the match_expressions of this V1LabelSelector. matchExpressions is a list of label selector requirements. The requirements are ANDed. :return: The match_expressions of this V1LabelSelector. :rtype: list[V1LabelSelectorRequirement] )r )r r r r r.s z!V1LabelSelector.match_expressionscCs ||_dS)a& Sets the match_expressions of this V1LabelSelector. matchExpressions is a list of label selector requirements. The requirements are ANDed. :param match_expressions: The match_expressions of this V1LabelSelector. :type: list[V1LabelSelectorRequirement] N)r )r rr r r r9s cCs|jS)a£ Gets the match_labels of this V1LabelSelector. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. :return: The match_labels of this V1LabelSelector. :rtype: dict(str, str) )r )r r r r rEs zV1LabelSelector.match_labelscCs ||_dS)a® Sets the match_labels of this V1LabelSelector. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. :param match_labels: The match_labels of this V1LabelSelector. :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 Úfsz)V1LabelSelector.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     zV1LabelSelector.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)r r r r Úto_strvszV1LabelSelector.to_strcCs|jƒS)z* For `print` and `pprint` )r)r r r r Ú__repr__|szV1LabelSelector.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)r Úotherr r r Ú__eq__‚s zV1LabelSelector.__eq__cCs ||k S)z< Returns true if both objects are not equal r )r r"r r r Ú__ne__‹szV1LabelSelector.__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