U wâ’io ã @ 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 )Ú PostCheckz‹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'PostCheck - a model defined in OpenAPI.Nr )Ú_typeÚ discriminatorr ©Úselfr © r úR/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/post_check.pyÚ__init__. s zPostCheck.__init__c C s | j S )zjGet the type of this PostCheck. :return: The type of this PostCheck. :rtype: str )r ©r r r r r 5 s zPostCheck.typec C s |dkrt dƒ‚|| _dS )zmSet the type of this PostCheck. :param type: The type of this PostCheck. :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 zPostCheck.get_real_child_modelc C sŽ i }| j ¡ D ]z\}}t| |ƒ}t|tƒrBttdd„ |ƒƒ||<