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)ÚV1beta1SubjectAccessReviewSpeczw 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) aT V1beta1SubjectAccessReviewSpec - 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]ÚV1beta1NonResourceAttributesÚV1beta1ResourceAttributesÚstr)ÚextraÚgroupÚnon_resource_attributesÚresource_attributesÚuserrr ÚnonResourceAttributesÚresourceAttributesr N)Ú swagger_typesÚ attribute_mapÚ_extraÚ_groupÚ_non_resource_attributesÚ_resource_attributesÚ_user)Úselfrr r r r ©rúl/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1beta1_subject_access_review_spec.pyÚ__init__s   z'V1beta1SubjectAccessReviewSpec.__init__cCs|jS)aI Gets the extra of this V1beta1SubjectAccessReviewSpec. 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 V1beta1SubjectAccessReviewSpec. :rtype: dict(str, list[str]) )r)rrrrr7s z$V1beta1SubjectAccessReviewSpec.extracCs ||_dS)aM Sets the extra of this V1beta1SubjectAccessReviewSpec. 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 V1beta1SubjectAccessReviewSpec. :type: dict(str, list[str]) N)r)rrrrrrBs cCs|jS)z× Gets the group of this V1beta1SubjectAccessReviewSpec. Groups is the groups you're testing for. :return: The group of this V1beta1SubjectAccessReviewSpec. :rtype: list[str] )r)rrrrr Ns z$V1beta1SubjectAccessReviewSpec.groupcCs ||_dS)zÛ Sets the group of this V1beta1SubjectAccessReviewSpec. Groups is the groups you're testing for. :param group: The group of this V1beta1SubjectAccessReviewSpec. :type: list[str] N)r)rr rrrr Ys cCs|jS)a3 Gets the non_resource_attributes of this V1beta1SubjectAccessReviewSpec. NonResourceAttributes describes information for a non-resource access request :return: The non_resource_attributes of this V1beta1SubjectAccessReviewSpec. :rtype: V1beta1NonResourceAttributes )r)rrrrr es z6V1beta1SubjectAccessReviewSpec.non_resource_attributescCs ||_dS)aI Sets the non_resource_attributes of this V1beta1SubjectAccessReviewSpec. NonResourceAttributes describes information for a non-resource access request :param non_resource_attributes: The non_resource_attributes of this V1beta1SubjectAccessReviewSpec. :type: V1beta1NonResourceAttributes N)r)rr rrrr ps cCs|jS)a. Gets the resource_attributes of this V1beta1SubjectAccessReviewSpec. ResourceAuthorizationAttributes describes information for a resource access request :return: The resource_attributes of this V1beta1SubjectAccessReviewSpec. :rtype: V1beta1ResourceAttributes )r)rrrrr |s z2V1beta1SubjectAccessReviewSpec.resource_attributescCs ||_dS)a@ Sets the resource_attributes of this V1beta1SubjectAccessReviewSpec. ResourceAuthorizationAttributes describes information for a resource access request :param resource_attributes: The resource_attributes of this V1beta1SubjectAccessReviewSpec. :type: V1beta1ResourceAttributes N)r)rr rrrr ‡s cCs|jS)a: Gets the user of this V1beta1SubjectAccessReviewSpec. User is the user you're testing for. If you specify "User" but not "Group", then is it interpreted as "What if User were not a member of any groups :return: The user of this V1beta1SubjectAccessReviewSpec. :rtype: str )r)rrrrr “s z#V1beta1SubjectAccessReviewSpec.usercCs ||_dS)a= Sets the user of this V1beta1SubjectAccessReviewSpec. User is the user you're testing for. If you specify "User" but not "Group", then is it interpreted as "What if User were not a member of any groups :param user: The user of this V1beta1SubjectAccessReviewSpec. :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Ú´sz8V1beta1SubjectAccessReviewSpec.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&V1beta1SubjectAccessReviewSpec.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_strÄsz%V1beta1SubjectAccessReviewSpec.to_strcCs|jƒS)z* For `print` and `pprint` )r*)rrrrÚ__repr__Êsz'V1beta1SubjectAccessReviewSpec.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)r!rÚ__dict__)rÚotherrrrÚ__eq__Ðs z%V1beta1SubjectAccessReviewSpec.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr-rrrÚ__ne__Ùsz%V1beta1SubjectAccessReviewSpec.__ne__)NNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterr r r r rr*r+r.r/rrrrrs"        r)r3ÚpprintrÚsixrÚreÚobjectrrrrrÚ s