U vi @ 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 ZdZdddddZdddd dZd#ddZed d Zej dd Zedd Z e j dd Z edd Zej dd Zedd Zej dd Zdd Z dd Zdd Zdd Zd!d" Zd S )$DashboardQueryzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strZ QueryEditModeZ BuilderConfig)text edit_modenamebuilder_configr ZeditModer Z builderConfigNc C sZ d| _ d| _d| _d| _d| _|dk r,|| _|dk r:|| _|dk rH|| _|dk rV|| _dS )z,DashboardQuery - a model defined in OpenAPI.N) _text _edit_mode_name_builder_configZ discriminatorr r r r )selfr r r r r W/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/dashboard_query.py__init__. s zDashboardQuery.__init__c C s | j S )zGet the text of this DashboardQuery. The text of the Flux query. :return: The text of this DashboardQuery. :rtype: str r r r r r r ? s zDashboardQuery.textc C s || _ dS )zSet the text of this DashboardQuery. The text of the Flux query. :param text: The text of this DashboardQuery. :type: str Nr )r r r r r r J s c C s | j S )zGet the edit_mode of this DashboardQuery. :return: The edit_mode of this DashboardQuery. :rtype: QueryEditMode r r r r r r U s zDashboardQuery.edit_modec C s || _ dS )zSet the edit_mode of this DashboardQuery. :param edit_mode: The edit_mode of this DashboardQuery. :type: QueryEditMode Nr )r r r r r r ^ s c C s | j S )ztGet the name of this DashboardQuery. :return: The name of this DashboardQuery. :rtype: str r r r r r r g s zDashboardQuery.namec C s || _ dS )zwSet the name of this DashboardQuery. :param name: The name of this DashboardQuery. :type: str Nr )r r r r r r p s c C s | j S )zGet the builder_config of this DashboardQuery. :return: The builder_config of this DashboardQuery. :rtype: BuilderConfig r r r r r r y s zDashboardQuery.builder_configc C s || _ dS )zSet the builder_config of this DashboardQuery. :param builder_config: The builder_config of this DashboardQuery. :type: BuilderConfig Nr )r r r r r r s c C s i }| j D ]z\}}t| |}t|trBttdd |||<