U viS @ 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 )#ConditionalExpressionzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strr )typetest alternate consequentr r r r Nc C sd t | d| _d| _d| _d| _d| _|dk r6|| _|dk rD|| _|dk rR|| _ |dk r`|| _ dS )z3ConditionalExpression - a model defined in OpenAPI.N)r __init___type_test _alternate_consequentZ discriminatorr r r r )selfr r r r r ^/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/conditional_expression.pyr 0 s zConditionalExpression.__init__c C s | j S )zGet the type of this ConditionalExpression. Type of AST node :return: The type of this ConditionalExpression. :rtype: str r r r r r r C s zConditionalExpression.typec C s || _ dS )zSet the type of this ConditionalExpression. Type of AST node :param type: The type of this ConditionalExpression. :type: str Nr )r r r r r r N s c C s | j S )zGet the test of this ConditionalExpression. :return: The test of this ConditionalExpression. :rtype: Expression r r r r r r Y s zConditionalExpression.testc C s || _ dS )zSet the test of this ConditionalExpression. :param test: The test of this ConditionalExpression. :type: Expression Nr )r r r r r r b s c C s | j S )zGet the alternate of this ConditionalExpression. :return: The alternate of this ConditionalExpression. :rtype: Expression r r r r r r k s zConditionalExpression.alternatec C s || _ dS )zSet the alternate of this ConditionalExpression. :param alternate: The alternate of this ConditionalExpression. :type: Expression Nr )r r r r r r t s c C s | j S )zGet the consequent of this ConditionalExpression. :return: The consequent of this ConditionalExpression. :rtype: Expression r r r r r r } s z ConditionalExpression.consequentc C s || _ dS )zSet the consequent of this ConditionalExpression. :param consequent: The consequent of this ConditionalExpression. :type: Expression Nr )r r r r r r s c C s i }| j D ]z\}}t| |}t|trBttdd |||<