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)CheckDiscriminatorc @ s e Zd ZdZdddddddddddddddddZd d ddd ddddddddddddZd*ddZedd Zej dd Zd d! Z d"d# Zd$d% Zd&d' Z d(d) ZdS )+CustomCheckzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strdatetimeZDashboardQueryZTaskStatusTypezlist[Label]ZCheckBaseLinks)typeidnameorg_idtask_idowner_id created_at updated_atquerystatusdescriptionlatest_completedlast_run_statuslast_run_errorlabelslinksr r r ZorgIDZtaskIDZownerIDZ createdAtZ updatedAtr r r ZlatestCompletedZ lastRunStatusZlastRunErrorr r customNc C s@ t j| |||||||| | ||| |||d d| _d| _|| _dS )z)CustomCheck - a model defined in OpenAPI.)r r r r r r r r r r r r r r r N)r __init___typeZ discriminatorr )selfr r r r r r r r r r r r r r r r r T/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/custom_check.pyr H s *zCustomCheck.__init__c C s | j S )znGet the type of this CustomCheck. :return: The type of this CustomCheck. :rtype: str )r r r r r r Q s zCustomCheck.typec C s |dkrt d|| _dS )zqSet the type of this CustomCheck. :param type: The type of this CustomCheck. :type: str Nz,Invalid value for `type`, must not be `None`) ValueErrorr )r r r r r r Z s c C s i }| j D ]z\}}t| |}t|trBttdd |||<