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@s¨eZdZdZddddœZddddœZdd d „Zed d „ƒZej d d „ƒZedd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ dd„Z dd„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_idrrZrunIDNcCsFd|_d|_d|_d|_|dk r&||_|dk r4||_|dk rB||_dS)z&LogEvent - a model defined in OpenAPI.N)Ú_timeÚ_messageÚ_run_idZ discriminatorrrr)Úselfrrr©r úQ/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/log_event.pyÚ__init__,szLogEvent.__init__cCs|jS)aGet 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.timecCs ||_dS)aSet 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 rr r r rEs cCs|jS)z¡Get the message of this LogEvent. A description of the event that occurred. :return: The message of this LogEvent. :rtype: str ©r rr r r rPs zLogEvent.messagecCs ||_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 rr r r r[s cCs|jS)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 rr r r rfs zLogEvent.run_idcCs ||_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 rr r r rqs cCsŽ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)Úxr r r Ú„óz"LogEvent.to_dict..rcSs&t|ddƒr"|d|d ¡fS|S)Nérrr)Úitemr r r r‹s ÿ) Ú openapi_typesÚitemsÚgetattrÚ isinstanceÚlistÚmaprrÚdict)r ÚresultÚattrÚ_Úvaluer r r r|s"  þ   ý  zLogEvent.to_dictcCst | ¡¡S)z.Return the string representation of the model.)ÚpprintÚpformatrrr r r Úto_str”szLogEvent.to_strcCs| ¡S)zFor `print` and `pprint`.)r(rr r r Ú__repr__˜szLogEvent.__repr__cCst|tƒsdS|j|jkS)z&Return true if both objects are equal.F)rrÚ__dict__©r Úotherr r r Ú__eq__œs zLogEvent.__eq__cCs ||k S)z*Return true if both objects are not equal.r r+r r r Ú__ne__£szLogEvent.__ne__)NNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rZ attribute_maprÚpropertyrÚsetterrrrr(r)r-r.r r r r rs6ýý       r)r2r&ÚreÚobjectrr r r r Ús