U vâ’in ã@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@sleZdZdZddiZddiZddd„Zedd „ƒZej d d „ƒZd d „Z d d„Z dd„Z dd„Z dd„ZdS)Ú LabelMappingz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. Úlabel_idÚstrZlabelIDNcCsd|_d|_||_dS)z*LabelMapping - a model defined in OpenAPI.N)Ú _label_idZ discriminatorr©Úselfr©rúU/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/label_mapping.pyÚ__init__(szLabelMapping.__init__cCs|jS)z¬Get the label_id of this LabelMapping. A label ID. Specifies the label to attach. :return: The label_id of this LabelMapping. :rtype: str )r©rrrr r/s zLabelMapping.label_idcCs|dkrtdƒ‚||_dS)z³Set the label_id of this LabelMapping. A label ID. Specifies the label to attach. :param label_id: The label_id of this LabelMapping. :type: str Nz0Invalid value for `label_id`, must not be `None`)Ú ValueErrorrrrrr r: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 )Úxrrr ÚOóz&LabelMapping.to_dict..r cSs&t|ddƒr"|d|d ¡fS|S)Nér rr)Úitemrrr rVs ÿ) Ú openapi_typesÚitemsÚgetattrÚ isinstanceÚlistÚmaprr Údict)rÚresultÚattrÚ_Úvaluerrr r Gs"  þ   ý  zLabelMapping.to_dictcCst | ¡¡S)z.Return the string representation of the model.)ÚpprintÚpformatr r rrr Úto_str_szLabelMapping.to_strcCs| ¡S)zFor `print` and `pprint`.)r"r rrr Ú__repr__cszLabelMapping.__repr__cCst|tƒsdS|j|jkS)z&Return true if both objects are equal.F)rrÚ__dict__©rÚotherrrr Ú__eq__gs zLabelMapping.__eq__cCs ||k S)z*Return true if both objects are not equal.rr%rrr Ú__ne__nszLabelMapping.__ne__)N)Ú__name__Ú __module__Ú __qualname__Ú__doc__rZ attribute_mapr ÚpropertyrÚsetterr r"r#r'r(rrrr rs"ÿÿ   r)r,r ÚreÚobjectrrrrr Ús