U vi@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) ThresholdBasec@seZdZdZdddddZddd d dZdd dZeddZej ddZeddZ e j ddZ ddZ ddZ ddZ ddZddZd S) LesserThresholdzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strfloatZCheckStatusLevelbool)typevaluelevel all_valuesrrr Z allValueslesserNcCs2tj|||dd|_d|_d|_||_||_dS)z-LesserThreshold - a model defined in OpenAPI.)r r N)r__init___type_valueZ discriminatorrr)selfrrr r rX/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/lesser_threshold.pyr 0s zLesserThreshold.__init__cCs|jS)zvGet the type of this LesserThreshold. :return: The type of this LesserThreshold. :rtype: str )r rrrrr;szLesserThreshold.typecCs|dkrtd||_dS)zySet the type of this LesserThreshold. :param type: The type of this LesserThreshold. :type: str Nz,Invalid value for `type`, must not be `None`) ValueErrorr )rrrrrrDscCs|jS)zzGet the value of this LesserThreshold. :return: The value of this LesserThreshold. :rtype: float )rrrrrrOszLesserThreshold.valuecCs|dkrtd||_dS)z~Set the value of this LesserThreshold. :param value: The value of this LesserThreshold. :type: float Nz-Invalid value for `value`, must not be `None`)rr)rrrrrrXscCsi}|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)xrrrkz)LesserThreshold.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemrrrrrs ) openapi_typesitemsgetattr isinstancelistmaprrdict)rresultattr_rrrrrcs"       zLesserThreshold.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrrrrto_str{szLesserThreshold.to_strcCs|S)zFor `print` and `pprint`.)r(rrrr__repr__szLesserThreshold.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__rotherrrr__eq__s zLesserThreshold.__eq__cCs ||k S)z*Return true if both objects are not equal.rr+rrr__ne__szLesserThreshold.__ne__)r NNN)__name__ __module__ __qualname____doc__rZ attribute_mapr propertyrsetterrrr(r)r-r.rrrrrs2     r)r2r&reZ%influxdb_client.domain.threshold_baserrrrrrs