U wi@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@seZdZdZddddZddddZdd d Zed d Zej dd ZeddZ e j ddZ eddZ e j ddZ ddZ ddZ ddZddZddZd S) PipeExpressionzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strrZCallExpression)typeargumentcallrrrNcCsPt|d|_d|_d|_d|_|dk r0||_|dk r>||_|dk rL||_dS)z,PipeExpression - a model defined in OpenAPI.N) r__init___type _argument_callZ discriminatorrrr)selfrrrr W/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/pipe_expression.pyr.s zPipeExpression.__init__cCs|jS)zGet the type of this PipeExpression. Type of AST node :return: The type of this PipeExpression. :rtype: str r r r r rr>s zPipeExpression.typecCs ||_dS)zSet the type of this PipeExpression. Type of AST node :param type: The type of this PipeExpression. :type: str Nr)r rr r rrIs cCs|jS)zGet the argument of this PipeExpression. :return: The argument of this PipeExpression. :rtype: Expression r rr r rrTszPipeExpression.argumentcCs ||_dS)zSet the argument of this PipeExpression. :param argument: The argument of this PipeExpression. :type: Expression Nr)r rr r rr]scCs|jS)zGet the call of this PipeExpression. :return: The call of this PipeExpression. :rtype: CallExpression r rr r rrfszPipeExpression.callcCs ||_dS)zSet the call of this PipeExpression. :param call: The call of this PipeExpression. :type: CallExpression Nr)r rr r rroscCsi}|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)xr r rz(PipeExpression.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemr r rrs ) openapi_typesitemsgetattr isinstancelistmaprrdict)r resultattr_valuer r rrxs"       zPipeExpression.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrr r rto_strszPipeExpression.to_strcCs|S)zFor `print` and `pprint`.)r(rr r r__repr__szPipeExpression.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__r otherr r r__eq__s zPipeExpression.__eq__cCs ||k S)z*Return true if both objects are not equal.r r+r r r__ne__szPipeExpression.__ne__)NNN)__name__ __module__ __qualname____doc__rZ attribute_maprpropertyrsetterrrrr(r)r-r.r r r rrs6       r)r2r&reZ!influxdb_client.domain.expressionrrr r r rs