U vâ’ií ã @ 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 ZdZdddddddœZddddd d dœZd*dd „Zedd„ ƒZej dd„ ƒZedd„ ƒZ e j dd„ ƒZ edd„ ƒZej dd„ ƒZedd„ ƒZej dd„ ƒZedd„ ƒZ e j dd„ ƒZ edd„ ƒZej dd„ ƒZd d!„ Zd"d#„ Zd$d%„ Zd&d'„ Zd(d)„ ZdS )+Ú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Úcommitr r r r r r Nc C sr d| _ 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 discriminatorr r r r r r )Úselfr r r r r r © r úT/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/health_check.pyÚ__init__2 s" zHealthCheck.__init__c C s | j S )znGet the name of this HealthCheck. :return: The name of this HealthCheck. :rtype: str )r ©r r r r r G s zHealthCheck.namec C s |dkrt dƒ‚|| _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 )r r r r r r P s c C s | j S )ztGet the message of this HealthCheck. :return: The message of this HealthCheck. :rtype: str ©r r r r r r [ s zHealthCheck.messagec C s || _ dS )zzSet the message of this HealthCheck. :param message: The message of this HealthCheck. :type: str Nr )r r r r r r d s c C s | j S )z€Get the checks of this HealthCheck. :return: The checks of this HealthCheck. :rtype: list[HealthCheck] ©r r r r r r m s zHealthCheck.checksc C s || _ dS )z…Set the checks of this HealthCheck. :param checks: The checks of this HealthCheck. :type: list[HealthCheck] Nr )r r r r r r v s c C s | j S )zrGet the status of this HealthCheck. :return: The status of this HealthCheck. :rtype: str )r r r r r r s zHealthCheck.statusc C s |dkrt dƒ‚|| _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`)r r )r r r r r r ˆ s c C s | j S )ztGet the version of this HealthCheck. :return: The version of this HealthCheck. :rtype: str ©r r r r r r “ s zHealthCheck.versionc C s || _ dS )zzSet the version of this HealthCheck. :param version: The version of this HealthCheck. :type: str Nr )r r r r r r œ s c C s | j S )zrGet the commit of this HealthCheck. :return: The commit of this HealthCheck. :rtype: str ©r r r r r r ¥ s zHealthCheck.commitc C s || _ dS )zwSet the commit of this HealthCheck. :param commit: The commit of this HealthCheck. :type: str Nr )r r r r r r ® s c C sŽ i }| j ¡ D ]z\}}t| |ƒ}t|tƒrBttdd„ |ƒƒ||<