U vâ’iNã@s4dZddlZddlZddlmZGdd„deƒZdS)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¨eZdZdZddddœZddddœZdd d „Zed d „ƒZej dd „ƒZedd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ dd„Z dd„Z dd„Zdd„Zdd„Zd S) ÚFunctionExpressionz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. Ústrzlist[ModelProperty]ÚNode)ÚtypeÚparamsÚbodyrrrNcCsPt |¡d|_d|_d|_d|_|dk r0||_|dk r>||_|dk rL||_dS)z0FunctionExpression - a model defined in OpenAPI.N) rÚ__init__Ú_typeÚ_paramsÚ_bodyZ discriminatorrrr)Úselfrrr©rú[/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/function_expression.pyr .s zFunctionExpression.__init__cCs|jS)z–Get the type of this FunctionExpression. Type of AST node :return: The type of this FunctionExpression. :rtype: str ©r ©r rrrr>s zFunctionExpression.typecCs ||_dS)z™Set the type of this FunctionExpression. Type of AST node :param type: The type of this FunctionExpression. :type: str Nr)r rrrrrIs cCs|jS)z­Get the params of this FunctionExpression. Function parameters :return: The params of this FunctionExpression. :rtype: list[ModelProperty] ©r rrrrrTs zFunctionExpression.paramscCs ||_dS)z²Set the params of this FunctionExpression. Function parameters :param params: The params of this FunctionExpression. :type: list[ModelProperty] Nr)r rrrrr_s cCs|jS)z}Get the body of this FunctionExpression. :return: The body of this FunctionExpression. :rtype: Node ©r rrrrrjszFunctionExpression.bodycCs ||_dS)z€Set the body of this FunctionExpression. :param body: The body of this FunctionExpression. :type: Node Nr)r rrrrrsscCsŽi}|j ¡D]z\}}t||ƒ}t|tƒrBttdd„|ƒƒ||<qt|dƒrZ| ¡||<qt|tƒr€ttdd„| ¡ƒƒ||<q|||<q|S)z&Return the model properties as a dict.cSst|dƒr| ¡S|S)NÚto_dict©Úhasattrr)ÚxrrrÚ„óz,FunctionExpression.to_dict..rcSs&t|ddƒr"|d|d ¡fS|S)Nérrr)Úitemrrrr‹s ÿ) Ú openapi_typesÚitemsÚgetattrÚ isinstanceÚlistÚmaprrÚdict)r ÚresultÚattrÚ_Úvaluerrrr|s"  þ   ý  zFunctionExpression.to_dictcCst | ¡¡S)z.Return the string representation of the model.)ÚpprintÚpformatrrrrrÚto_str”szFunctionExpression.to_strcCs| ¡S)zFor `print` and `pprint`.)r)rrrrÚ__repr__˜szFunctionExpression.__repr__cCst|tƒsdS|j|jkS)z&Return true if both objects are equal.F)rrÚ__dict__©r ÚotherrrrÚ__eq__œs zFunctionExpression.__eq__cCs ||k S)z*Return true if both objects are not equal.rr,rrrÚ__ne__£szFunctionExpression.__ne__)NNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rZ attribute_mapr ÚpropertyrÚsetterrrrr)r*r.r/rrrrrs6ýý       r)r3r'ÚreZ!influxdb_client.domain.expressionrrrrrrÚs