U wâ’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 ZdZddddddœZddddd dœZd&dd„Zed d„ ƒZej dd„ ƒZedd„ ƒZ e j dd„ ƒZ edd„ ƒZej dd„ ƒZedd„ ƒZej dd„ ƒZedd„ ƒZ e j dd„ ƒZ dd„ Zdd„ Zd d!„ Zd"d#„ Zd$d%„ Zd S )'ÚTelegrafRequestz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ÚstrZTelegrafRequestMetadata)ÚnameÚdescriptionÚmetadataÚconfigÚorg_idr r r r ZorgIDNc C sn d| _ d| _d| _d| _d| _d| _|dk r2|| _|dk r@|| _|dk rN|| _|dk r\|| _ |dk rj|| _ dS )z-TelegrafRequest - a model defined in OpenAPI.N)Ú_nameÚ_descriptionÚ _metadataÚ_configÚ_org_idZ discriminatorr r r r r )Úselfr r r r r © r úX/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/telegraf_request.pyÚ__init__0 s zTelegrafRequest.__init__c C s | j S )zvGet the name of this TelegrafRequest. :return: The name of this TelegrafRequest. :rtype: str ©r ©r r r r r D s zTelegrafRequest.namec C s || _ dS )zySet the name of this TelegrafRequest. :param name: The name of this TelegrafRequest. :type: str Nr )r r r r r r M s c C s | j S )z„Get the description of this TelegrafRequest. :return: The description of this TelegrafRequest. :rtype: str ©r r r r r r V s zTelegrafRequest.descriptionc C s || _ dS )zŽSet the description of this TelegrafRequest. :param description: The description of this TelegrafRequest. :type: str Nr )r r r r r r _ s c C s | j S )z’Get the metadata of this TelegrafRequest. :return: The metadata of this TelegrafRequest. :rtype: TelegrafRequestMetadata ©r r r r r r h s zTelegrafRequest.metadatac C s || _ dS )z™Set the metadata of this TelegrafRequest. :param metadata: The metadata of this TelegrafRequest. :type: TelegrafRequestMetadata Nr )r r r r r r q s c C s | j S )zzGet the config of this TelegrafRequest. :return: The config of this TelegrafRequest. :rtype: str ©r r r r r r z s zTelegrafRequest.configc C s || _ dS )zSet the config of this TelegrafRequest. :param config: The config of this TelegrafRequest. :type: str Nr )r r r r r r ƒ s c C s | j S )zzGet the org_id of this TelegrafRequest. :return: The org_id of this TelegrafRequest. :rtype: str ©r r r r r r Œ s zTelegrafRequest.org_idc C s || _ dS )zSet the org_id of this TelegrafRequest. :param org_id: The org_id of this TelegrafRequest. :type: str Nr )r r r r r r • s c C sŽ i }| j ¡ D ]z\}}t| |ƒ}t|tƒrBttdd„ |ƒƒ||<