U wil @ s( d Z ddlZddlZG dd deZdS )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 ZdZddddZddddZdd d Zedd Zej d d Zedd Z e j dd Z edd Zej dd Zdd Zdd Z dd Zdd Zdd ZdS )TelegrafPluginszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strzlist[TelegrafPlugin])versionospluginsr r r Nc C sF d| _ d| _d| _d| _|dk r&|| _|dk r4|| _|dk rB|| _dS )z-TelegrafPlugins - a model defined in OpenAPI.N)_version_os_pluginsZ discriminatorr r r )selfr r r r X/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/telegraf_plugins.py__init__, s zTelegrafPlugins.__init__c C s | j S )z|Get the version of this TelegrafPlugins. :return: The version of this TelegrafPlugins. :rtype: str r r r r r r : s zTelegrafPlugins.versionc C s || _ dS )zSet the version of this TelegrafPlugins. :param version: The version of this TelegrafPlugins. :type: str Nr )r r r r r r C s c C s | j S )zrGet the os of this TelegrafPlugins. :return: The os of this TelegrafPlugins. :rtype: str r r r r r r L s zTelegrafPlugins.osc C s || _ dS )zsSet the os of this TelegrafPlugins. :param os: The os of this TelegrafPlugins. :type: str Nr )r r r r r r U s c C s | j S )zGet the plugins of this TelegrafPlugins. :return: The plugins of this TelegrafPlugins. :rtype: list[TelegrafPlugin] r r r r r r ^ s zTelegrafPlugins.pluginsc C s || _ dS )zSet the plugins of this TelegrafPlugins. :param plugins: The plugins of this TelegrafPlugins. :type: list[TelegrafPlugin] Nr )r r r r r r g s c C s i }| j D ]z\}}t| |}t|trBttdd |||<