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 ZdZddddœZddddœZdd d „Zedd„ ƒZej d d„ ƒZedd„ ƒZ e j dd„ ƒZ edd„ ƒZej dd„ ƒZdd„ Zdd„ Z dd„ Zdd„ Zdd„ ZdS )ÚLogEventz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ÚdatetimeÚstr)ÚtimeÚmessageÚrun_idr r ZrunIDNc C sF d| _ d| _d| _d| _|dk r&|| _|dk r4|| _|dk rB|| _dS )z&LogEvent - a model defined in OpenAPI.N)Ú_timeÚ_messageÚ_run_idZ discriminatorr r r )Úselfr r r © r úQ/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/log_event.pyÚ__init__, s zLogEvent.__init__c C s | j S )a Get the time of this LogEvent. The time ([RFC3339Nano date/time format](https://docs.influxdata.com/influxdb/latest/reference/glossary/#rfc3339nano-timestamp)) that the event occurred. :return: The time of this LogEvent. :rtype: datetime ©r ©r r r r r : s z LogEvent.timec C s || _ dS )a Set the time of this LogEvent. The time ([RFC3339Nano date/time format](https://docs.influxdata.com/influxdb/latest/reference/glossary/#rfc3339nano-timestamp)) that the event occurred. :param time: The time of this LogEvent. :type: datetime Nr )r r r r r r E s c C s | j S )z¡Get the message of this LogEvent. A description of the event that occurred. :return: The message of this LogEvent. :rtype: str ©r r r r r r P s zLogEvent.messagec C s || _ dS )z§Set the message of this LogEvent. A description of the event that occurred. :param message: The message of this LogEvent. :type: str Nr )r r r r r r [ s c C s | j S )z¦Get the run_id of this LogEvent. The ID of the task run that generated the event. :return: The run_id of this LogEvent. :rtype: str ©r r r r r r f s zLogEvent.run_idc C s || _ dS )z«Set the run_id of this LogEvent. The ID of the task run that generated the event. :param run_id: The run_id of this LogEvent. :type: str Nr )r r r r r r q s c C sŽ i }| j ¡ D ]z\}}t| |ƒ}t|tƒrBttdd„ |ƒƒ||<