🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-09 03:09:17 | PHP 8.2.33
📂
/ (Root)
/
opt
/
alt
/
python38
/
lib
/
python3.8
/
site-packages
/
influxdb_client
/
domain
/
__pycache__
📍 /opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/__pycache__
🔄 Refresh
✏️
Editing: telegraf.cpython-38.pyc
Read Only
U w�i� � @ s4 d Z ddlZddlZddlmZ G 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 � N)�TelegrafRequestc @ s� e Zd ZdZddddddddd�Zddd d ddd dd�Zd%dd�Zedd� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zdd� Zdd� Z dd � Zd!d"� Zd#d$� ZdS )&�Telegrafz�NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. �str�objectzlist[Label]ZTelegrafRequestMetadata)�id�links�labels�name�description�metadata�config�org_idr r r r r r r ZorgIDNc C s\ t j| |||||d� d| _d| _d| _d| _|dk r<|| _|dk rJ|| _|dk rX|| _dS )z&Telegraf - a model defined in OpenAPI.)r r r r r N) r �__init__�_id�_links�_labelsZ discriminatorr r r ) �selfr r r r r r r r � r �P/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/telegraf.pyr 8 s zTelegraf.__init__c C s | j S )zdGet the id of this Telegraf. :return: The id of this Telegraf. :rtype: str �r �r r r r r H s zTelegraf.idc C s || _ dS )zeSet the id of this Telegraf. :param id: The id of this Telegraf. :type: str Nr )r r r r r r Q s c C s | j S )zmGet the links of this Telegraf. :return: The links of this Telegraf. :rtype: object �r r r r r r Z s zTelegraf.linksc C s || _ dS )zqSet the links of this Telegraf. :param links: The links of this Telegraf. :type: object Nr )r r r r r r c s c C s | j S )ztGet the labels of this Telegraf. :return: The labels of this Telegraf. :rtype: list[Label] �r r r r r r l s zTelegraf.labelsc C s || _ dS )zySet the labels of this Telegraf. :param labels: The labels of this Telegraf. :type: list[Label] Nr )r r r r r r u s c C s� i }| j �� D ]z\}}t| |�}t|t�rBttdd� |��||<