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)ÚV1beta1SubjectAccessReviewzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsFddddddœ|_dddd d dœ|_||_||_||_||_||_d S) aP V1beta1SubjectAccessReview - 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. ÚstrÚ V1ObjectMetaÚV1beta1SubjectAccessReviewSpecÚ V1beta1SubjectAccessReviewStatus)Ú api_versionÚkindÚmetadataÚspecÚstatusÚ apiVersionr r r r N)Ú swagger_typesÚ attribute_mapÚ _api_versionÚ_kindÚ _metadataÚ_specÚ_status)Úselfr r r r r ©rúg/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1beta1_subject_access_review.pyÚ__init__s   z#V1beta1SubjectAccessReview.__init__cCs|jS)a½ Gets the api_version of this V1beta1SubjectAccessReview. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1beta1SubjectAccessReview. :rtype: str )r)rrrrr 7s z&V1beta1SubjectAccessReview.api_versioncCs ||_dS)aÇ Sets the api_version of this V1beta1SubjectAccessReview. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1beta1SubjectAccessReview. :type: str N)r)rr rrrr Bs cCs|jS)a° Gets the kind of this V1beta1SubjectAccessReview. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1beta1SubjectAccessReview. :rtype: str )r)rrrrr Ns zV1beta1SubjectAccessReview.kindcCs ||_dS)a³ Sets the kind of this V1beta1SubjectAccessReview. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1beta1SubjectAccessReview. :type: str N)r)rr rrrr Ys cCs|jS)z§ Gets the metadata of this V1beta1SubjectAccessReview. :return: The metadata of this V1beta1SubjectAccessReview. :rtype: V1ObjectMeta )r)rrrrr esz#V1beta1SubjectAccessReview.metadatacCs ||_dS)z® Sets the metadata of this V1beta1SubjectAccessReview. :param metadata: The metadata of this V1beta1SubjectAccessReview. :type: V1ObjectMeta N)r)rr rrrr os cCs|jS)zò Gets the spec of this V1beta1SubjectAccessReview. Spec holds information about the request being evaluated :return: The spec of this V1beta1SubjectAccessReview. :rtype: V1beta1SubjectAccessReviewSpec )r)rrrrr zs zV1beta1SubjectAccessReview.speccCs|dkrtdƒ‚||_dS)zõ Sets the spec of this V1beta1SubjectAccessReview. Spec holds information about the request being evaluated :param spec: The spec of this V1beta1SubjectAccessReview. :type: V1beta1SubjectAccessReviewSpec Nz,Invalid value for `spec`, must not be `None`)Ú ValueErrorr)rr rrrr …s cCs|jS)a Gets the status of this V1beta1SubjectAccessReview. Status is filled in by the server and indicates whether the request is allowed or not :return: The status of this V1beta1SubjectAccessReview. :rtype: V1beta1SubjectAccessReviewStatus )r)rrrrr “s z!V1beta1SubjectAccessReview.statuscCs ||_dS)a Sets the status of this V1beta1SubjectAccessReview. Status is filled in by the server and indicates whether the request is allowed or not :param status: The status of this V1beta1SubjectAccessReview. :type: V1beta1SubjectAccessReviewStatus 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Ú´sz4V1beta1SubjectAccessReview.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"V1beta1SubjectAccessReview.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_strÄsz!V1beta1SubjectAccessReview.to_strcCs|jƒS)z* For `print` and `pprint` )r+)rrrrÚ__repr__Êsz#V1beta1SubjectAccessReview.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)r"rÚ__dict__)rÚotherrrrÚ__eq__Ðs z!V1beta1SubjectAccessReview.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr.rrrÚ__ne__Ùsz!V1beta1SubjectAccessReview.__ne__)NNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyr Úsetterr r r r rr+r,r/r0rrrrrs"        r)r4ÚpprintrÚsixrÚreÚobjectrrrrrÚ s