U wi @s4dZddlZddlZddlmZGdddeZdS)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 N) UserResponsec@s|eZdZdZddddddZddddd dZdd dZeddZej ddZddZ ddZ ddZ ddZ ddZd S) ResourceOwnerzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strZUserResponseLinks)roleidnamestatuslinksrrrrr ownerNactivecCs2tj|||||dd|_d|_|dk r.||_dS)z+ResourceOwner - a model defined in OpenAPI.)rrrr N)r__init___roleZ discriminatorr)selfrrrrr rV/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/resource_owner.pyr 2s zResourceOwner.__init__cCs|jS)zrGet the role of this ResourceOwner. :return: The role of this ResourceOwner. :rtype: str r rrrrr<szResourceOwner.rolecCs ||_dS)zuSet the role of this ResourceOwner. :param role: The role of this ResourceOwner. :type: str Nr)rrrrrrEscCsi}|jD]z\}}t||}t|trBttdd|||<qt|drZ|||<qt|trttdd|||<q|||<q|S)z&Return the model properties as a dict.cSst|dr|S|S)Nto_dicthasattrr)xrrrVz'ResourceOwner.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemrrrr]s ) openapi_typesitemsgetattr isinstancelistmaprrdict)rresultattr_valuerrrrNs"       zResourceOwner.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrrrrto_strfszResourceOwner.to_strcCs|S)zFor `print` and `pprint`.)r(rrrr__repr__jszResourceOwner.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__rotherrrr__eq__ns zResourceOwner.__eq__cCs ||k S)z*Return true if both objects are not equal.rr+rrr__ne__uszResourceOwner.__ne__)r NNr N)__name__ __module__ __qualname____doc__rZ attribute_mapr propertyrsetterrr(r)r-r.rrrrrs.    r)r2r&reZ$influxdb_client.domain.user_responserrrrrrs