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 ) ModelPropertyzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strZPropertyKey Expression)typekeyvaluer r r Nc C sF d| _ d| _d| _d| _|dk r&|| _|dk r4|| _|dk rB|| _dS )z+ModelProperty - a model defined in OpenAPI.N)_type_key_valueZ discriminatorr r r )selfr r r r V/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/model_property.py__init__, s zModelProperty.__init__c C s | j S )zGet the type of this ModelProperty. Type of AST node :return: The type of this ModelProperty. :rtype: str r r r r r r : s zModelProperty.typec C s || _ dS )zSet the type of this ModelProperty. Type of AST node :param type: The type of this ModelProperty. :type: str Nr )r r r r r r E s c C s | j S )zxGet the key of this ModelProperty. :return: The key of this ModelProperty. :rtype: PropertyKey r r r r r r P s zModelProperty.keyc C s || _ dS )zzSet the key of this ModelProperty. :param key: The key of this ModelProperty. :type: PropertyKey Nr )r r r r r r Y s c C s | j S )z{Get the value of this ModelProperty. :return: The value of this ModelProperty. :rtype: Expression r r r r r r b s zModelProperty.valuec C s || _ dS )zSet the value of this ModelProperty. :param value: The value of this ModelProperty. :type: Expression Nr )r r r r r r k s c C s i }| j D ]z\}}t| |}t|trBttdd |||<