U vâ’iã@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)#ÚLabelz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. Ústrzdict(str, str))ÚidÚorg_idÚnameÚ propertiesrZorgIDrrNcCsZd|_d|_d|_d|_d|_|dk r,||_|dk r:||_|dk rH||_|dk rV||_dS)z#Label - a model defined in OpenAPI.N) Ú_idÚ_org_idÚ_nameÚ _propertiesZ discriminatorrrrr)Úselfrrrr©r úM/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/label.pyÚ__init__.szLabel.__init__cCs|jS)z^Get the id of this Label. :return: The id of this Label. :rtype: str ©r©r r r rr?szLabel.idcCs ||_dS)z_Set the id of this Label. :param id: The id of this Label. :type: str Nr)r rr r rrHscCs|jS)zfGet the org_id of this Label. :return: The org_id of this Label. :rtype: str ©r rr r rrQsz Label.org_idcCs ||_dS)zkSet the org_id of this Label. :param org_id: The org_id of this Label. :type: str Nr)r rr r rrZscCs|jS)zbGet the name of this Label. :return: The name of this Label. :rtype: str ©r rr r rrcsz Label.namecCs ||_dS)zeSet the name of this Label. :param name: The name of this Label. :type: str Nr)r rr r rrlscCs|jS)zûGet the properties of this Label. Key-value pairs associated with this label. To remove a property, send an update with an empty value (`""`) for the key. :return: The properties of this Label. :rtype: dict(str, str) ©r rr r rrus zLabel.propertiescCs ||_dS)aSet the properties of this Label. Key-value pairs associated with this label. To remove a property, send an update with an empty value (`""`) for the key. :param properties: The properties of this Label. :type: dict(str, str) Nr)r rr r rr€s cCsŽ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)Úxr r rÚ“ózLabel.to_dict..rcSs&t|ddƒr"|d|d ¡fS|S)Nérrr)Úitemr r rršs ÿ) Ú openapi_typesÚitemsÚgetattrÚ isinstanceÚlistÚmaprrÚdict)r ÚresultÚattrÚ_Úvaluer r rr‹s"  þ   ý  z Label.to_dictcCst | ¡¡S)z.Return the string representation of the model.)ÚpprintÚpformatrrr r rÚto_str£sz Label.to_strcCs| ¡S)zFor `print` and `pprint`.)r*rr r rÚ__repr__§szLabel.__repr__cCst|tƒsdS|j|jkS)z&Return true if both objects are equal.F)r rÚ__dict__©r Úotherr r rÚ__eq__«s z Label.__eq__cCs ||k S)z*Return true if both objects are not equal.r r-r r rÚ__ne__²sz Label.__ne__)NNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rZ attribute_maprÚpropertyrÚsetterrrrrr*r+r/r0r r r rrsBüü         r)r4r(ÚreÚobjectrr r r rÚs