U wi @ 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 ZdZdddddZdddddZd"d dZedd Zej dd Zedd Z e j dd Z edd Zej dd Zedd Zej dd Zdd Z dd Zdd Zdd Zd d! Zd S )#TelegrafPluginzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strzdict(str, object))typenamedescriptionconfigr r r r Nc C sZ d| _ d| _d| _d| _d| _|dk r,|| _|dk r:|| _|dk rH|| _|dk rV|| _dS )z,TelegrafPlugin - a model defined in OpenAPI.N) _type_name_description_configZ discriminatorr r r r )selfr r r r r W/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/telegraf_plugin.py__init__. s zTelegrafPlugin.__init__c C s | j S )ztGet the type of this TelegrafPlugin. :return: The type of this TelegrafPlugin. :rtype: str r r r r r r ? s zTelegrafPlugin.typec C s || _ dS )zwSet the type of this TelegrafPlugin. :param type: The type of this TelegrafPlugin. :type: str Nr )r r r r r r H s c C s | j S )ztGet the name of this TelegrafPlugin. :return: The name of this TelegrafPlugin. :rtype: str r r r r r r Q s zTelegrafPlugin.namec C s || _ dS )zwSet the name of this TelegrafPlugin. :param name: The name of this TelegrafPlugin. :type: str Nr )r r r r r r Z s c C s | j S )zGet the description of this TelegrafPlugin. :return: The description of this TelegrafPlugin. :rtype: str r r r r r r c s zTelegrafPlugin.descriptionc C s || _ dS )zSet the description of this TelegrafPlugin. :param description: The description of this TelegrafPlugin. :type: str Nr )r r r r r r l s c C s | j S )zGet the config of this TelegrafPlugin. :return: The config of this TelegrafPlugin. :rtype: dict(str, object) r r r r r r u s zTelegrafPlugin.configc C s || _ dS )zSet the config of this TelegrafPlugin. :param config: The config of this TelegrafPlugin. :type: dict(str, object) Nr )r r r r r r ~ s c C s i }| j D ]z\}}t| |}t|trBttdd |||<