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 ) LesserThresholdzNOTE: 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 allValueslesserNc C s2 t j| ||d d| _d| _d| _|| _|| _dS )z-LesserThreshold - a model defined in OpenAPI.)r r N)r __init___type_valueZ discriminatorr r )selfr r r r r X/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/lesser_threshold.pyr 0 s zLesserThreshold.__init__c C s | j S )zvGet the type of this LesserThreshold. :return: The type of this LesserThreshold. :rtype: str )r r r r r r ; s zLesserThreshold.typec C s |dkrt d|| _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 )r r r r r r D s c C s | j S )zzGet the value of this LesserThreshold. :return: The value of this LesserThreshold. :rtype: float )r r r r r r O s zLesserThreshold.valuec C s |dkrt d|| _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`)r r )r r r r r r X s c C s i }| j D ]z\}}t| |}t|trBttdd |||<