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 eddZ e jddZ ddZ ddZ ddZ ddZddZdS)V1beta1UserInfozw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs<ddddd|_ddddd|_||_||_||_||_d S) aE V1beta1UserInfo - 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]str)extragroupsuidusernamerrrr N) swagger_types attribute_map_extra_groups_uid _username)selfrrrr r[/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1beta1_user_info.py__init__s   zV1beta1UserInfo.__init__cCs|jS)z Gets the extra of this V1beta1UserInfo. Any additional information provided by the authenticator. :return: The extra of this V1beta1UserInfo. :rtype: dict(str, list[str]) )r )rrrrr4s zV1beta1UserInfo.extracCs ||_dS)z Sets the extra of this V1beta1UserInfo. Any additional information provided by the authenticator. :param extra: The extra of this V1beta1UserInfo. :type: dict(str, list[str]) N)r )rrrrrr?s cCs|jS)z Gets the groups of this V1beta1UserInfo. The names of groups this user is a part of. :return: The groups of this V1beta1UserInfo. :rtype: list[str] )r )rrrrrKs zV1beta1UserInfo.groupscCs ||_dS)z Sets the groups of this V1beta1UserInfo. The names of groups this user is a part of. :param groups: The groups of this V1beta1UserInfo. :type: list[str] N)r )rrrrrrVs cCs|jS)a Gets the uid of this V1beta1UserInfo. A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs. :return: The uid of this V1beta1UserInfo. :rtype: str )r)rrrrrbs zV1beta1UserInfo.uidcCs ||_dS)a! Sets the uid of this V1beta1UserInfo. A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs. :param uid: The uid of this V1beta1UserInfo. :type: str N)r)rrrrrrms cCs|jS)z Gets the username of this V1beta1UserInfo. The name that uniquely identifies this user among all active users. :return: The username of this V1beta1UserInfo. :rtype: str )r)rrrrr ys zV1beta1UserInfo.usernamecCs ||_dS)z Sets the username of this V1beta1UserInfo. The name that uniquely identifies this user among all active users. :param username: The username of this V1beta1UserInfo. :type: str N)r)rr rrrr s 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)V1beta1UserInfo.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemrrrrs) rr getattr isinstancelistmaprrdictitems)rresultattr_valuerrrrs     zV1beta1UserInfo.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_strszV1beta1UserInfo.to_strcCs|jS)z* For `print` and `pprint` )r$)rrrr__repr__szV1beta1UserInfo.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)rr__dict__)rotherrrr__eq__s zV1beta1UserInfo.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr'rrr__ne__szV1beta1UserInfo.__ne__)NNNN)__name__ __module__ __qualname____doc__rpropertyrsetterrrr rr$r%r(r)rrrrrs       r)r-pprintrsixrreobjectrrrrr s