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) GreaterThresholdzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strfloatZCheckStatusLevelbool)typevaluelevel all_valuesrrr Z allValuesgreaterNcCs2tj|||dd|_d|_d|_||_||_dS)z.GreaterThreshold - a model defined in OpenAPI.)r r N)r__init___type_valueZ discriminatorrr)selfrrr r rY/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/greater_threshold.pyr 0s zGreaterThreshold.__init__cCs|jS)zxGet the type of this GreaterThreshold. :return: The type of this GreaterThreshold. :rtype: str )r rrrrr;szGreaterThreshold.typecCs|dkrtd||_dS)z{Set the type of this GreaterThreshold. :param type: The type of this GreaterThreshold. :type: str Nz,Invalid value for `type`, must not be `None`) ValueErrorr )rrrrrrDscCs|jS)z|Get the value of this GreaterThreshold. :return: The value of this GreaterThreshold. :rtype: float )rrrrrrOszGreaterThreshold.valuecCs|dkrtd||_dS)zSet the value of this GreaterThreshold. :param value: The value of this GreaterThreshold. :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*GreaterThreshold.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemrrrrrs ) openapi_typesitemsgetattr isinstancelistmaprrdict)rresultattr_rrrrrcs"       zGreaterThreshold.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrrrrto_str{szGreaterThreshold.to_strcCs|S)zFor `print` and `pprint`.)r(rrrr__repr__szGreaterThreshold.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__rotherrrr__eq__s zGreaterThreshold.__eq__cCs ||k S)z*Return true if both objects are not equal.rr+rrr__ne__szGreaterThreshold.__ne__)r NNN)__name__ __module__ __qualname____doc__rZ attribute_mapr propertyrsetterrrr(r)r-r.rrrrrs2     r)r2r&reZ%influxdb_client.domain.threshold_baserrrrrrs