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 ZdZddddZddddZdd d Zedd Zej d d Zedd Z e j dd Z edd Zej dd Zdd Zdd Z dd Zdd Zdd ZdS )DictItemzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. str Expression)typekeyvalr r r Nc C sF d| _ d| _d| _d| _|dk r&|| _|dk r4|| _|dk rB|| _dS )z&DictItem - a model defined in OpenAPI.N)_type_key_valZ discriminatorr r r )selfr r r r Q/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/dict_item.py__init__, s zDictItem.__init__c C s | j S )zGet the type of this DictItem. Type of AST node :return: The type of this DictItem. :rtype: str r r r r r r : s z DictItem.typec C s || _ dS )zSet the type of this DictItem. Type of AST node :param type: The type of this DictItem. :type: str Nr )r r r r r r E s c C s | j S )zmGet the key of this DictItem. :return: The key of this DictItem. :rtype: Expression r r r r r r P s zDictItem.keyc C s || _ dS )zoSet the key of this DictItem. :param key: The key of this DictItem. :type: Expression Nr )r r r r r r Y s c C s | j S )zmGet the val of this DictItem. :return: The val of this DictItem. :rtype: Expression r r r r r r b s zDictItem.valc C s || _ dS )zoSet the val of this DictItem. :param val: The val of this DictItem. :type: Expression Nr )r r r r r r k s c C s i }| j D ]z\}}t| |}t|trBttdd |||<