U vig@s4dZddlZddlZddlmZGdddeZdS)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@seZdZdZdddddZdddddZd"d d Zed d Zej dd ZeddZ e j ddZ eddZ e j ddZ eddZ e j ddZ ddZ ddZddZddZd d!Zd S)#BinaryExpressionzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strr)typeoperatorleftrightrrrrNcCsdt|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 discriminatorrrrr)selfrrrrrY/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/binary_expression.pyr 0s zBinaryExpression.__init__cCs|jS)zGet the type of this BinaryExpression. Type of AST node :return: The type of this BinaryExpression. :rtype: str r rrrrrCs zBinaryExpression.typecCs ||_dS)zSet the type of this BinaryExpression. Type of AST node :param type: The type of this BinaryExpression. :type: str Nr)rrrrrrNs cCs|jS)zGet the operator of this BinaryExpression. :return: The operator of this BinaryExpression. :rtype: str r rrrrrYszBinaryExpression.operatorcCs ||_dS)zSet the operator of this BinaryExpression. :param operator: The operator of this BinaryExpression. :type: str Nr)rrrrrrbscCs|jS)zGet the left of this BinaryExpression. :return: The left of this BinaryExpression. :rtype: Expression r rrrrrkszBinaryExpression.leftcCs ||_dS)zSet the left of this BinaryExpression. :param left: The left of this BinaryExpression. :type: Expression Nr)rrrrrrtscCs|jS)zGet the right of this BinaryExpression. :return: The right of this BinaryExpression. :rtype: Expression r rrrrr}szBinaryExpression.rightcCs ||_dS)zSet the right of this BinaryExpression. :param right: The right of this BinaryExpression. :type: Expression Nr)rrrrrrscCsi}|jD]z\}}t||}t|trBttdd|||<qt|drZ|||<qt|trttdd|||<q|||<q|S)z&Return the model properties as a dict.cSst|dr|S|S)Nto_dicthasattrr)xrrrz*BinaryExpression.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemrrrrs ) openapi_typesitemsgetattr isinstancelistmaprrdict)rresultattr_valuerrrrs"       zBinaryExpression.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrrrrto_strszBinaryExpression.to_strcCs|S)zFor `print` and `pprint`.)r+rrrr__repr__szBinaryExpression.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r!r__dict__rotherrrr__eq__s zBinaryExpression.__eq__cCs ||k S)z*Return true if both objects are not equal.rr.rrr__ne__szBinaryExpression.__ne__)NNNN)__name__ __module__ __qualname____doc__rZ attribute_mapr propertyrsetterrrrrr+r,r0r1rrrrrsB         r)r5r)reZ!influxdb_client.domain.expressionrrrrrrs