U vi @ s4 d Z ddlZddlZddlmZ G 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 N) Expressionc @ 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 )IndexExpressionzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strr )typearrayindexr r r Nc C sP t | d| _d| _d| _d| _|dk r0|| _|dk r>|| _|dk rL|| _dS )z-IndexExpression - a model defined in OpenAPI.N) r __init___type_array_indexZ discriminatorr r r )selfr r r r X/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/index_expression.pyr . s zIndexExpression.__init__c C s | j S )zGet the type of this IndexExpression. Type of AST node :return: The type of this IndexExpression. :rtype: str r r r r r r > s zIndexExpression.typec C s || _ dS )zSet the type of this IndexExpression. Type of AST node :param type: The type of this IndexExpression. :type: str Nr )r r r r r r I s c C s | j S )zGet the array of this IndexExpression. :return: The array of this IndexExpression. :rtype: Expression r r r r r r T s zIndexExpression.arrayc C s || _ dS )zSet the array of this IndexExpression. :param array: The array of this IndexExpression. :type: Expression Nr )r r r r r r ] s c C s | j S )zGet the index of this IndexExpression. :return: The index of this IndexExpression. :rtype: Expression r r r r r r f s zIndexExpression.indexc C s || _ dS )zSet the index of this IndexExpression. :param index: The index of this IndexExpression. :type: Expression Nr )r r r r r r o s c C s i }| j D ]z\}}t| |}t|trBttdd |||<