U wâ’iu ã @ s( d Z ddlZddlZG dd„ 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€ e Zd ZdZddiZddiZddddœZdd d „Zedd„ ƒZ e j d d„ ƒZ dd„ Zdd„ Zdd„ 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ÚrangeNc C s d| _ 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__. s zThreshold.__init__c C s | j S )zjGet the type of this Threshold. :return: The type of this Threshold. :rtype: str )r ©r r r r r 5 s zThreshold.typec C s |dkrt dƒ‚|| _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`)Ú ValueErrorr r r r r r > s c C s | 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_modelI s zThreshold.get_real_child_modelc C sŽ i }| j ¡ D ]z\}}t| |ƒ}t|tƒrBttdd„ |ƒƒ||<