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)ResourceMemberzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strZUserResponseLinks)roleidnamestatuslinksrrrrr memberNactivecCs2tj|||||dd|_d|_|dk r.||_dS)z,ResourceMember - a model defined in OpenAPI.)rrrr N)r__init___roleZ discriminatorr)selfrrrrr rW/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/resource_member.pyr 2s zResourceMember.__init__cCs|jS)ztGet the role of this ResourceMember. :return: The role of this ResourceMember. :rtype: str r rrrrr<szResourceMember.rolecCs ||_dS)zwSet the role of this ResourceMember. :param role: The role of this ResourceMember. :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(ResourceMember.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemrrrr]s ) openapi_typesitemsgetattr isinstancelistmaprrdict)rresultattr_valuerrrrNs"       zResourceMember.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrrrrto_strfszResourceMember.to_strcCs|S)zFor `print` and `pprint`.)r(rrrr__repr__jszResourceMember.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__rotherrrr__eq__ns zResourceMember.__eq__cCs ||k S)z*Return true if both objects are not equal.rr+rrr__ne__uszResourceMember.__ne__)r NNr N)__name__ __module__ __qualname____doc__rZ attribute_mapr propertyrsetterrr(r)r-r.rrrrrs.    r)r2r&reZ$influxdb_client.domain.user_responserrrrrrs