U vi@s4dZddlZddlZddlmZGdddeZdS)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@seZdZdZdddddddddddddddddZd d d d d ddddddddddddZd*ddZeddZej ddZd d!Z d"d#Z d$d%Z d&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. strdatetimeZDashboardQueryZTaskStatusTypez list[Label]ZCheckBaseLinks)typeidnameorg_idtask_idowner_id created_at updated_atquerystatus descriptionlatest_completedlast_run_statuslast_run_errorlabelslinksrrrZorgIDZtaskIDZownerIDZ createdAtZ updatedAtrrrZlatestCompletedZ lastRunStatusZ lastRunErrorrrcustomNcCs@tj||||||||| | | | | |||dd|_d|_||_dS)z)CustomCheck - a model defined in OpenAPI.)rrr r r r r rrrrrrrrN)r__init___typeZ discriminatorr)selfrrrr r r r r rrrrrrrrrT/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/custom_check.pyrHs*zCustomCheck.__init__cCs|jS)znGet the type of this CustomCheck. :return: The type of this CustomCheck. :rtype: str )rrrrrrQszCustomCheck.typecCs|dkrtd||_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)rrrrrrZscCsi}|jD]z\}}t||}t|trBttdd|||<qt|drZ|||<qt|trttdd|||<q|||<q|S)z&Return the model properties as a dict.cSst|dr|S|S)Nto_dicthasattrr)xrrrmz%CustomCheck.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemrrrr"ts ) openapi_typesitemsgetattr isinstancelistmapr rdict)rresultattr_valuerrrres"       zCustomCheck.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrrrrto_str}szCustomCheck.to_strcCs|S)zFor `print` and `pprint`.)r3rrrr__repr__szCustomCheck.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r)r__dict__rotherrrr__eq__s zCustomCheck.__eq__cCs ||k S)z*Return true if both objects are not equal.rr6rrr__ne__szCustomCheck.__ne__)rNNNNNNNNNNNNNNN)__name__ __module__ __qualname____doc__r&Z attribute_maprpropertyrsetterrr3r4r8r9rrrrrsZ   r)r=r1reZ*influxdb_client.domain.check_discriminatorrrrrrrs