U vi @ s4 d Z ddlZddlZddlmZ G dd deZdS )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 @ s e Zd ZdZdddddZddd d dZdd dZedd Zej dd Zedd Z e j dd Z dd Zdd Zdd Z dd Zdd ZdS ) GreaterThresholdzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strfloatZCheckStatusLevelbool)typevaluelevel all_valuesr r r Z allValuesgreaterNc C s2 t j| ||d d| _d| _d| _|| _|| _dS )z.GreaterThreshold - a model defined in OpenAPI.)r r N)r __init___type_valueZ discriminatorr r )selfr r r r r Y/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/greater_threshold.pyr 0 s zGreaterThreshold.__init__c C s | j S )zxGet the type of this GreaterThreshold. :return: The type of this GreaterThreshold. :rtype: str )r r r r r r ; s zGreaterThreshold.typec C s |dkrt d|| _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 )r r r r r r D s c C s | j S )z|Get the value of this GreaterThreshold. :return: The value of this GreaterThreshold. :rtype: float )r r r r r r O s zGreaterThreshold.valuec C s |dkrt d|| _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`)r r )r r r r r r X s c C s i }| j D ]z\}}t| |}t|trBttdd |||<