U vig @ 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 ZdZdddddZdddddZd"d dZedd Zej dd Zedd Z e j dd Z edd Zej dd Zedd Zej dd Zdd Z dd Zdd Zdd Zd d! Zd S )#BinaryExpressionzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strr )typeoperatorleftrightr r r r Nc C sd t | d| _d| _d| _d| _d| _|dk r6|| _|dk rD|| _|dk rR|| _ |dk r`|| _ dS )z.BinaryExpression - a model defined in OpenAPI.N)r __init___type _operator_left_rightZ discriminatorr r r r )selfr r r r r Y/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/binary_expression.pyr 0 s zBinaryExpression.__init__c C s | j S )zGet the type of this BinaryExpression. Type of AST node :return: The type of this BinaryExpression. :rtype: str r r r r r r C s zBinaryExpression.typec C s || _ dS )zSet the type of this BinaryExpression. Type of AST node :param type: The type of this BinaryExpression. :type: str Nr )r r r r r r N s c C s | j S )zGet the operator of this BinaryExpression. :return: The operator of this BinaryExpression. :rtype: str r r r r r r Y s zBinaryExpression.operatorc C s || _ dS )zSet the operator of this BinaryExpression. :param operator: The operator of this BinaryExpression. :type: str Nr )r r r r r r b s c C s | j S )zGet the left of this BinaryExpression. :return: The left of this BinaryExpression. :rtype: Expression r r r r r r k s zBinaryExpression.leftc C s || _ dS )zSet the left of this BinaryExpression. :param left: The left of this BinaryExpression. :type: Expression Nr )r r r r r r t s c C s | j S )zGet the right of this BinaryExpression. :return: The right of this BinaryExpression. :rtype: Expression r r r r r r } s zBinaryExpression.rightc C s || _ dS )zSet the right of this BinaryExpression. :param right: The right of this BinaryExpression. :type: Expression Nr )r r r r r r s c C s i }| j D ]z\}}t| |}t|trBttdd |||<