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 edd„ƒZ e jdd„ƒZ dd„Z dd„Z dd„Zdd„Zdd„ZdS)ÚV1SubjectAccessReviewSpeczw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsFddddddœ|_ddd d d dœ|_||_||_||_||_||_d S) aO V1SubjectAccessReviewSpec - 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, list[str])z list[str]ÚV1NonResourceAttributesÚV1ResourceAttributesÚstr)ÚextraÚgroupsÚnon_resource_attributesÚresource_attributesÚuserrr ÚnonResourceAttributesÚresourceAttributesr N)Ú swagger_typesÚ attribute_mapÚ_extraÚ_groupsÚ_non_resource_attributesÚ_resource_attributesÚ_user)Úselfrr r r r ©rúg/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_subject_access_review_spec.pyÚ__init__s   z"V1SubjectAccessReviewSpec.__init__cCs|jS)a? Gets the extra of this V1SubjectAccessReviewSpec. Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here. :return: The extra of this V1SubjectAccessReviewSpec. :rtype: dict(str, list[str]) )r)rrrrr7s zV1SubjectAccessReviewSpec.extracCs ||_dS)aC Sets the extra of this V1SubjectAccessReviewSpec. Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here. :param extra: The extra of this V1SubjectAccessReviewSpec. :type: dict(str, list[str]) N)r)rrrrrrBs cCs|jS)zÏ Gets the groups of this V1SubjectAccessReviewSpec. Groups is the groups you're testing for. :return: The groups of this V1SubjectAccessReviewSpec. :rtype: list[str] )r)rrrrr Ns z V1SubjectAccessReviewSpec.groupscCs ||_dS)zÔ Sets the groups of this V1SubjectAccessReviewSpec. Groups is the groups you're testing for. :param groups: The groups of this V1SubjectAccessReviewSpec. :type: list[str] N)r)rr rrrr Ys cCs|jS)a$ Gets the non_resource_attributes of this V1SubjectAccessReviewSpec. NonResourceAttributes describes information for a non-resource access request :return: The non_resource_attributes of this V1SubjectAccessReviewSpec. :rtype: V1NonResourceAttributes )r)rrrrr es z1V1SubjectAccessReviewSpec.non_resource_attributescCs ||_dS)a: Sets the non_resource_attributes of this V1SubjectAccessReviewSpec. NonResourceAttributes describes information for a non-resource access request :param non_resource_attributes: The non_resource_attributes of this V1SubjectAccessReviewSpec. :type: V1NonResourceAttributes N)r)rr rrrr ps cCs|jS)a Gets the resource_attributes of this V1SubjectAccessReviewSpec. ResourceAuthorizationAttributes describes information for a resource access request :return: The resource_attributes of this V1SubjectAccessReviewSpec. :rtype: V1ResourceAttributes )r)rrrrr |s z-V1SubjectAccessReviewSpec.resource_attributescCs ||_dS)a1 Sets the resource_attributes of this V1SubjectAccessReviewSpec. ResourceAuthorizationAttributes describes information for a resource access request :param resource_attributes: The resource_attributes of this V1SubjectAccessReviewSpec. :type: V1ResourceAttributes N)r)rr rrrr ‡s cCs|jS)a1 Gets the user of this V1SubjectAccessReviewSpec. User is the user you're testing for. If you specify "User" but not "Groups", then is it interpreted as "What if User were not a member of any groups :return: The user of this V1SubjectAccessReviewSpec. :rtype: str )r)rrrrr “s zV1SubjectAccessReviewSpec.usercCs ||_dS)a4 Sets the user of this V1SubjectAccessReviewSpec. User is the user you're testing for. If you specify "User" but not "Groups", then is it interpreted as "What if User were not a member of any groups :param user: The user of this V1SubjectAccessReviewSpec. :type: str N)r)rr rrrr ž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Ú´sz3V1SubjectAccessReviewSpec.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!V1SubjectAccessReviewSpec.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_strÄsz V1SubjectAccessReviewSpec.to_strcCs|jƒS)z* For `print` and `pprint` )r*)rrrrÚ__repr__Êsz"V1SubjectAccessReviewSpec.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)r!rÚ__dict__)rÚotherrrrÚ__eq__Ðs z V1SubjectAccessReviewSpec.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr-rrrÚ__ne__Ùsz V1SubjectAccessReviewSpec.__ne__)NNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterr r r r rr*r+r.r/rrrrrs"        r)r3ÚpprintrÚsixrÚreÚobjectrrrrrÚ s