3 fY@s8dZddlmZddlmZddlZGdddeZdS)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@seZdZdZdddZeddZejddZedd Zejd d Zed d Z e jd d Z ddZ ddZ ddZ ddZ ddZdS)V1TokenReviewStatuszw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs2dddd|_dddd|_||_||_||_dS) aI V1TokenReviewStatus - 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. boolstr V1UserInfo) authenticatederroruserrr r N) swagger_types attribute_map_authenticated_error_user)selfrr r r`/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_token_review_status.py__init__s   zV1TokenReviewStatus.__init__cCs|jS)z Gets the authenticated of this V1TokenReviewStatus. Authenticated indicates that the token was associated with a known user. :return: The authenticated of this V1TokenReviewStatus. :rtype: bool )r )rrrrr1s z!V1TokenReviewStatus.authenticatedcCs ||_dS)z Sets the authenticated of this V1TokenReviewStatus. Authenticated indicates that the token was associated with a known user. :param authenticated: The authenticated of this V1TokenReviewStatus. :type: bool N)r )rrrrrr<s cCs|jS)z Gets the error of this V1TokenReviewStatus. Error indicates that the token couldn't be checked :return: The error of this V1TokenReviewStatus. :rtype: str )r)rrrrr Hs zV1TokenReviewStatus.errorcCs ||_dS)z Sets the error of this V1TokenReviewStatus. Error indicates that the token couldn't be checked :param error: The error of this V1TokenReviewStatus. :type: str N)r)rr rrrr Ss cCs|jS)z Gets the user of this V1TokenReviewStatus. User is the UserInfo associated with the provided token. :return: The user of this V1TokenReviewStatus. :rtype: V1UserInfo )r)rrrrr _s zV1TokenReviewStatus.usercCs ||_dS)z Sets the user of this V1TokenReviewStatus. User is the UserInfo associated with the provided token. :param user: The user of this V1TokenReviewStatus. :type: V1UserInfo N)r)rr rrrr js cCsi}xt|jD]z\}}t||}t|trDttdd|||<qt|dr\|j||<qt|trttdd|j ||<q|||<qW|S)z8 Returns the model properties as a dict cSst|dr|jS|S)Nto_dict)hasattrr)xrrrsz-V1TokenReviewStatus.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemrrrrs) rr getattr isinstancelistmaprrdictitems)rresultattr_valuerrrrvs     zV1TokenReviewStatus.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_strszV1TokenReviewStatus.to_strcCs|jS)z* For `print` and `pprint` )r$)rrrr__repr__szV1TokenReviewStatus.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)rr__dict__)rotherrrr__eq__s zV1TokenReviewStatus.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr'rrr__ne__szV1TokenReviewStatus.__ne__)NNN)__name__ __module__ __qualname____doc__rpropertyrsetterr r rr$r%r(r)rrrrrs      r)r-pprintrsixrreobjectrrrrr s