U vâ’iS ã @ 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 )ÚCheckz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ÚtypeÚstrZDeadmanCheckZCustomCheckZThresholdCheck)ZdeadmanZcustomÚ thresholdNc C s d| _ d| _|| _dS )z#Check - a model defined in OpenAPI.Nr )Ú_typeÚ discriminatorr ©Úselfr © r úM/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/check.pyÚ__init__. s zCheck.__init__c C s | j S )zbGet the type of this Check. :return: The type of this Check. :rtype: str )r ©r r r r r 5 s z Check.typec C s |dkrt dƒ‚|| _dS )zeSet the type of this Check. :param type: The type of this Check. :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 zCheck.get_real_child_modelc C sŽ i }| j ¡ D ]z\}}t| |ƒ}t|tƒrBttdd„ |ƒƒ||<