U wiA @ 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 )UnaryExpressionzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strr )typeoperatorargumentr r r Nc C sP t | d| _d| _d| _d| _|dk r0|| _|dk r>|| _|dk rL|| _dS )z-UnaryExpression - a model defined in OpenAPI.N) r __init___type _operator _argumentZ discriminatorr r r )selfr r r r X/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/unary_expression.pyr . s zUnaryExpression.__init__c C s | j S )zGet the type of this UnaryExpression. Type of AST node :return: The type of this UnaryExpression. :rtype: str r r r r r r > s zUnaryExpression.typec C s || _ dS )zSet the type of this UnaryExpression. Type of AST node :param type: The type of this UnaryExpression. :type: str Nr )r r r r r r I s c C s | j S )z~Get the operator of this UnaryExpression. :return: The operator of this UnaryExpression. :rtype: str r r r r r r T s zUnaryExpression.operatorc C s || _ dS )zSet the operator of this UnaryExpression. :param operator: The operator of this UnaryExpression. :type: str Nr )r r r r r r ] s c C s | j S )zGet the argument of this UnaryExpression. :return: The argument of this UnaryExpression. :rtype: Expression r r r r r r f s zUnaryExpression.argumentc C s || _ dS )zSet the argument of this UnaryExpression. :param argument: The argument of this UnaryExpression. :type: Expression Nr )r r r r r r o s c C s i }| j D ]z\}}t| |}t|trBttdd |||<