U wiR @ 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 )TemplateExportByIDResourceszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strZTemplateKind)idkindnamer r r Nc C s6 d| _ d| _d| _d| _|| _|| _|dk r2|| _dS )z9TemplateExportByIDResources - a model defined in OpenAPI.N)_id_kind_nameZ discriminatorr r r )selfr r r r g/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/template_export_by_id_resources.py__init__, s z$TemplateExportByIDResources.__init__c C s | j S )zGet the id of this TemplateExportByIDResources. :return: The id of this TemplateExportByIDResources. :rtype: str )r r r r r r 8 s zTemplateExportByIDResources.idc C s |dkrt d|| _dS )zSet the id of this TemplateExportByIDResources. :param id: The id of this TemplateExportByIDResources. :type: str Nz*Invalid value for `id`, must not be `None`) ValueErrorr )r r r r r r A s c C s | j S )zGet the kind of this TemplateExportByIDResources. :return: The kind of this TemplateExportByIDResources. :rtype: TemplateKind )r r r r r r L s z TemplateExportByIDResources.kindc C s |dkrt d|| _dS )zSet the kind of this TemplateExportByIDResources. :param kind: The kind of this TemplateExportByIDResources. :type: TemplateKind Nz,Invalid value for `kind`, must not be `None`)r r )r r r r r r U s c C s | j S )a Get the name of this TemplateExportByIDResources. if defined with id, name is used for resource exported by id. if defined independently, resources strictly matching name are exported :return: The name of this TemplateExportByIDResources. :rtype: str r r r r r r ` s z TemplateExportByIDResources.namec C s || _ dS )a Set the name of this TemplateExportByIDResources. if defined with id, name is used for resource exported by id. if defined independently, resources strictly matching name are exported :param name: The name of this TemplateExportByIDResources. :type: str Nr )r r r r r r k s c C s i }| j D ]z\}}t| |}t|trBttdd |||<