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 ZdZddddZddddZdd dZedd Zej dd Zedd Z e j dd Z edd Zej dd Zdd Zdd Z dd Zdd Zdd Zd S ) TemplateApplyTemplatezNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strz list[str]zlist[object])content_typesourcescontentsZcontentTyper r Nc C sF d| _ d| _d| _d| _|dk r&|| _|dk r4|| _|dk rB|| _dS )z3TemplateApplyTemplate - a model defined in OpenAPI.N) _content_type_sources _contentsZ discriminatorr r r )selfr r r r _/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/template_apply_template.py__init__, s zTemplateApplyTemplate.__init__c C s | j S )zGet the content_type of this TemplateApplyTemplate. :return: The content_type of this TemplateApplyTemplate. :rtype: str r r r r r r : s z"TemplateApplyTemplate.content_typec C s || _ dS )zSet the content_type of this TemplateApplyTemplate. :param content_type: The content_type of this TemplateApplyTemplate. :type: str Nr )r r r r r r C s c C s | j S )zGet the sources of this TemplateApplyTemplate. :return: The sources of this TemplateApplyTemplate. :rtype: list[str] r r r r r r L s zTemplateApplyTemplate.sourcesc C s || _ dS )zSet the sources of this TemplateApplyTemplate. :param sources: The sources of this TemplateApplyTemplate. :type: list[str] Nr )r r r r r r U s c C s | j S )zGet the contents of this TemplateApplyTemplate. :return: The contents of this TemplateApplyTemplate. :rtype: list[object] r r r r r r ^ s zTemplateApplyTemplate.contentsc C s || _ dS )zSet the contents of this TemplateApplyTemplate. :param contents: The contents of this TemplateApplyTemplate. :type: list[object] Nr )r r r r r r g s c C s i }| j D ]z\}}t| |}t|trBttdd |||<