U wâ’iu ã@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€eZdZdZddiZddiZddddœZdd d „Zed d „ƒZ e j d d „ƒZ dd„Z dd„Z dd„Z dd„Zdd„Zdd„ZdS)Ú Thresholdz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ÚtypeÚstrZGreaterThresholdZLesserThresholdZRangeThreshold)ZgreaterZlesserÚrangeNcCsd|_d|_||_dS)z'Threshold - a model defined in OpenAPI.Nr)Ú_typeÚ discriminatorr©Úselfr©r úQ/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/threshold.pyÚ__init__.szThreshold.__init__cCs|jS)zjGet the type of this Threshold. :return: The type of this Threshold. :rtype: str )r©r r r r r5szThreshold.typecCs|dkrtdƒ‚||_dS)zmSet the type of this Threshold. :param type: The type of this Threshold. :type: str Nz,Invalid value for `type`, must not be `None`)Ú ValueErrorrrr r r r>scCs |j|j}||}|j |¡S)z:Return the real base class specified by the discriminator.)Ú attribute_maprÚdiscriminator_value_class_mapÚget)r ÚdataZdiscriminator_keyZdiscriminator_valuer r r Úget_real_child_modelIs zThreshold.get_real_child_modelcCsŽ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 ÚWóz#Threshold.to_dict..rcSs&t|ddƒr"|d|d ¡fS|S)Nérrr)Úitemr r r r^s ÿ) Ú openapi_typesÚitemsÚgetattrÚ isinstanceÚlistÚmaprrÚdict)r ÚresultÚattrÚ_Úvaluer r r rOs"  þ   ý  zThreshold.to_dictcCst | ¡¡S)z.Return the string representation of the model.)ÚpprintÚpformatrr r r r Úto_strgszThreshold.to_strcCs| ¡S)zFor `print` and `pprint`.)r)r r r r Ú__repr__kszThreshold.__repr__cCst|tƒsdS|j|jkS)z&Return true if both objects are equal.F)rrÚ__dict__©r Úotherr r r Ú__eq__os zThreshold.__eq__cCs ||k S)z*Return true if both objects are not equal.r r,r r r Ú__ne__vszThreshold.__ne__)N)Ú__name__Ú __module__Ú __qualname__Ú__doc__rrrr ÚpropertyrÚsetterrrr)r*r.r/r r r r rs,ÿÿý   r)r3r'ÚreÚobjectrr r r r Ús