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„ƒZedd „ƒZejd d „ƒZed d „ƒZ e jd d „ƒZ edd„ƒZ e jdd„ƒZ dd„Z dd„Z dd„Z dd„Zdd„ZdS)ÚV1alpha1RuleWithOperationszw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs<dddddœ|_dddddœ|_||_||_||_||_dS)aP V1alpha1RuleWithOperations - 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[str])Ú api_groupsÚ api_versionsÚ operationsÚ resourcesÚ apiGroupsÚ apiVersionsrrN)Ú swagger_typesÚ attribute_mapÚ _api_groupsÚ _api_versionsÚ _operationsÚ _resources)Úselfrrrr©rúg/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1alpha1_rule_with_operations.pyÚ__init__s   z#V1alpha1RuleWithOperations.__init__cCs|jS)a: Gets the api_groups of this V1alpha1RuleWithOperations. APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required. :return: The api_groups of this V1alpha1RuleWithOperations. :rtype: list[str] )r )rrrrr4s z%V1alpha1RuleWithOperations.api_groupscCs ||_dS)aC Sets the api_groups of this V1alpha1RuleWithOperations. APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required. :param api_groups: The api_groups of this V1alpha1RuleWithOperations. :type: list[str] N)r )rrrrrr?s cCs|jS)aD Gets the api_versions of this V1alpha1RuleWithOperations. APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required. :return: The api_versions of this V1alpha1RuleWithOperations. :rtype: list[str] )r)rrrrrKs z'V1alpha1RuleWithOperations.api_versionscCs ||_dS)aO Sets the api_versions of this V1alpha1RuleWithOperations. APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required. :param api_versions: The api_versions of this V1alpha1RuleWithOperations. :type: list[str] N)r)rrrrrrVs cCs|jS)aY Gets the operations of this V1alpha1RuleWithOperations. Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required. :return: The operations of this V1alpha1RuleWithOperations. :rtype: list[str] )r)rrrrrbs z%V1alpha1RuleWithOperations.operationscCs ||_dS)ab Sets the operations of this V1alpha1RuleWithOperations. Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required. :param operations: The operations of this V1alpha1RuleWithOperations. :type: list[str] N)r)rrrrrrms cCs|jS)aš Gets the resources of this V1alpha1RuleWithOperations. Resources is a list of resources this rule applies to. For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required. :return: The resources of this V1alpha1RuleWithOperations. :rtype: list[str] )r)rrrrrys z$V1alpha1RuleWithOperations.resourcescCs ||_dS)a¢ Sets the resources of this V1alpha1RuleWithOperations. Resources is a list of resources this rule applies to. For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required. :param resources: The resources of this V1alpha1RuleWithOperations. :type: list[str] N)r)rrrrrr„s 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)ÚxrrrÚšsz4V1alpha1RuleWithOperations.to_dict..rcSs&t|ddƒr"|d|djƒfS|S)Nérr)rr)Úitemrrrr¡s) rr ÚgetattrÚ isinstanceÚlistÚmaprrÚdictÚitems)rÚresultÚattrÚ_Úvaluerrrr�s     z"V1alpha1RuleWithOperations.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_strªsz!V1alpha1RuleWithOperations.to_strcCs|jƒS)z* For `print` and `pprint` )r%)rrrrÚ__repr__°sz#V1alpha1RuleWithOperations.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)rÚotherrrrÚ__eq__¶s z!V1alpha1RuleWithOperations.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr(rrrÚ__ne__¿sz!V1alpha1RuleWithOperations.__ne__)NNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrrrr%r&r)r*rrrrrs       r)r.ÚpprintrÚsixrÚreÚobjectrrrrrÚ s