U vâ’iíã@s(dZddlZddlZGdd„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@seZdZdZdddddddœZddddd d dœZd*d d „Zedd„ƒZej dd„ƒZedd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ edd„ƒZej dd„ƒZd d!„Zd"d#„Zd$d%„Zd&d'„Zd(d)„Zd S)+Ú HealthCheckz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. Ústrzlist[HealthCheck])ÚnameÚmessageÚchecksÚstatusÚversionÚcommitrrrrrr NcCsrd|_d|_d|_d|_d|_d|_d|_||_|dk r>||_|dk rL||_ ||_ |dk r`||_ |dk rn||_ dS)z)HealthCheck - a model defined in OpenAPI.N) Ú_nameÚ_messageÚ_checksÚ_statusÚ_versionÚ_commitZ discriminatorrrrrrr )Úselfrrrrrr ©rúT/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/health_check.pyÚ__init__2s"zHealthCheck.__init__cCs|jS)znGet the name of this HealthCheck. :return: The name of this HealthCheck. :rtype: str )r ©rrrrrGszHealthCheck.namecCs|dkrtdƒ‚||_dS)zqSet the name of this HealthCheck. :param name: The name of this HealthCheck. :type: str Nz,Invalid value for `name`, must not be `None`)Ú ValueErrorr )rrrrrrPscCs|jS)ztGet the message of this HealthCheck. :return: The message of this HealthCheck. :rtype: str ©r rrrrr[szHealthCheck.messagecCs ||_dS)zzSet the message of this HealthCheck. :param message: The message of this HealthCheck. :type: str Nr)rrrrrrdscCs|jS)z€Get the checks of this HealthCheck. :return: The checks of this HealthCheck. :rtype: list[HealthCheck] ©r rrrrrmszHealthCheck.checkscCs ||_dS)z…Set the checks of this HealthCheck. :param checks: The checks of this HealthCheck. :type: list[HealthCheck] Nr)rrrrrrvscCs|jS)zrGet the status of this HealthCheck. :return: The status of this HealthCheck. :rtype: str )r rrrrrszHealthCheck.statuscCs|dkrtdƒ‚||_dS)zwSet the status of this HealthCheck. :param status: The status of this HealthCheck. :type: str Nz.Invalid value for `status`, must not be `None`)rr )rrrrrrˆscCs|jS)ztGet the version of this HealthCheck. :return: The version of this HealthCheck. :rtype: str ©rrrrrr“szHealthCheck.versioncCs ||_dS)zzSet the version of this HealthCheck. :param version: The version of this HealthCheck. :type: str Nr)rrrrrrœscCs|jS)zrGet the commit of this HealthCheck. :return: The commit of this HealthCheck. :rtype: str ©rrrrrr ¥szHealthCheck.commitcCs ||_dS)zwSet the commit of this HealthCheck. :param commit: The commit of this HealthCheck. :type: str Nr)rr rrrr ®scCsŽi}|j ¡D]z\}}t||ƒ}t|tƒrBttdd„|ƒƒ||<qt|dƒrZ| ¡||<qt|tƒr€ttdd„| ¡ƒƒ||<q|||<q|S)z&Return the model properties as a dict.cSst|dƒr| ¡S|S)NÚto_dict©Úhasattrr)ÚxrrrÚ¿óz%HealthCheck.to_dict..rcSs&t|ddƒr"|d|d ¡fS|S)Nérrr)ÚitemrrrrÆs ÿ) Ú openapi_typesÚitemsÚgetattrÚ isinstanceÚlistÚmaprrÚdict)rÚresultÚattrÚ_Úvaluerrrr·s"  þ   ý  zHealthCheck.to_dictcCst | ¡¡S)z.Return the string representation of the model.)ÚpprintÚpformatrrrrrÚto_strÏszHealthCheck.to_strcCs| ¡S)zFor `print` and `pprint`.)r/rrrrÚ__repr__ÓszHealthCheck.__repr__cCst|tƒsdS|j|jkS)z&Return true if both objects are equal.F)r%rÚ__dict__©rÚotherrrrÚ__eq__×s zHealthCheck.__eq__cCs ||k S)z*Return true if both objects are not equal.rr2rrrÚ__ne__ÞszHealthCheck.__ne__)NNNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__r"Z attribute_maprÚpropertyrÚsetterrrrrr rr/r0r4r5rrrrrsZú ú             r)r9r-ÚreÚobjectrrrrrÚs