U wâ’iyã@s(dZddlZddlZGdd„deƒZdS)a InfluxDB OSS API Service. The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. # noqa: E501 OpenAPI spec version: 2.0.0 Generated by: https://openapi-generator.tech éNc@sÆeZdZdZdddddœZdddddœZd#d d „Zed d„ƒZej dd„ƒZedd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ dd„Z dd„Zdd„Zdd „Zd!d"„Zd S)$Ú UserResponsez‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ÚstrZUserResponseLinks)ÚidÚnameÚstatusÚlinksrrrrNÚactivecCsRd|_d|_d|_d|_d|_|dk r,||_||_|dk r@||_|dk rN||_dS)z*UserResponse - a model defined in OpenAPI.N) Ú_idÚ_nameÚ_statusÚ_linksZ discriminatorrrrr)Úselfrrrr©rúU/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/user_response.pyÚ__init__.szUserResponse.__init__cCs|jS)z‚Get the id of this UserResponse. The user ID. :return: The id of this UserResponse. :rtype: str ©r ©r rrrr>s zUserResponse.idcCs ||_dS)zƒSet the id of this UserResponse. The user ID. :param id: The id of this UserResponse. :type: str Nr)r rrrrrIs cCs|jS)zˆGet the name of this UserResponse. The user name. :return: The name of this UserResponse. :rtype: str )r rrrrrTs zUserResponse.namecCs|dkrtdƒ‚||_dS)z‹Set the name of this UserResponse. The user name. :param name: The name of this UserResponse. :type: str Nz,Invalid value for `name`, must not be `None`)Ú ValueErrorr )r rrrrr_s cCs|jS)zÃGet the status of this UserResponse. The status of a user. An inactive user can't read or write resources. :return: The status of this UserResponse. :rtype: str ©r rrrrrls zUserResponse.statuscCs ||_dS)zÈSet the status of this UserResponse. The status of a user. An inactive user can't read or write resources. :param status: The status of this UserResponse. :type: str Nr)r rrrrrws cCs|jS)z€Get the links of this UserResponse. :return: The links of this UserResponse. :rtype: UserResponseLinks ©r rrrrr‚szUserResponse.linkscCs ||_dS)z„Set the links of this UserResponse. :param links: The links of this UserResponse. :type: UserResponseLinks Nr)r rrrrr‹scCsŽi}|j ¡D]z\}}t||ƒ}t|tƒrBttdd„|ƒƒ||<qt|dƒrZ| ¡||<qt|tƒr€ttdd„| ¡ƒƒ||<q|||<q|S)z&Return the model properties as a dict.cSst|dƒr| ¡S|S)NÚto_dict©Úhasattrr)ÚxrrrÚœóz&UserResponse.to_dict..rcSs&t|ddƒr"|d|d ¡fS|S)Nérrr)Úitemrrrr£s ÿ) Ú openapi_typesÚitemsÚgetattrÚ isinstanceÚlistÚmaprrÚdict)r ÚresultÚattrÚ_Úvaluerrrr”s"  þ   ý  zUserResponse.to_dictcCst | ¡¡S)z.Return the string representation of the model.)ÚpprintÚpformatrrrrrÚto_str¬szUserResponse.to_strcCs| ¡S)zFor `print` and `pprint`.)r+rrrrÚ__repr__°szUserResponse.__repr__cCst|tƒsdS|j|jkS)z&Return true if both objects are equal.F)r!rÚ__dict__©r ÚotherrrrÚ__eq__´s zUserResponse.__eq__cCs ||k S)z*Return true if both objects are not equal.rr.rrrÚ__ne__»szUserResponse.__ne__)NNrN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rZ attribute_maprÚpropertyrÚsetterrrrrr+r,r0r1rrrrrsBüü         r)r5r)ÚreÚobjectrrrrrÚs