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) Statementc@seZdZdZddddZddddZdd d Zed d Zej dd ZeddZ e j ddZ eddZ e j ddZ ddZ ddZ ddZddZddZd S) VariableAssignmentzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strZ Identifier Expression)typeidinitrrrNcCsPt|d|_d|_d|_d|_|dk r0||_|dk r>||_|dk rL||_dS)z0VariableAssignment - a model defined in OpenAPI.N) r__init___type_id_initZ discriminatorrrr)selfrrrr[/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/variable_assignment.pyr .s zVariableAssignment.__init__cCs|jS)zGet the type of this VariableAssignment. Type of AST node :return: The type of this VariableAssignment. :rtype: str r r rrrr>s zVariableAssignment.typecCs ||_dS)zSet the type of this VariableAssignment. Type of AST node :param type: The type of this VariableAssignment. :type: str Nr)r rrrrrIs cCs|jS)zGet the id of this VariableAssignment. :return: The id of this VariableAssignment. :rtype: Identifier r rrrrrTszVariableAssignment.idcCs ||_dS)zSet the id of this VariableAssignment. :param id: The id of this VariableAssignment. :type: Identifier Nr)r rrrrr]scCs|jS)zGet the init of this VariableAssignment. :return: The init of this VariableAssignment. :rtype: Expression r rrrrrfszVariableAssignment.initcCs ||_dS)zSet the init of this VariableAssignment. :param init: The init of this VariableAssignment. :type: Expression Nr)r rrrrroscCsi}|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,VariableAssignment.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemrrrrs ) openapi_typesitemsgetattr isinstancelistmaprrdict)r resultattr_valuerrrrxs"       zVariableAssignment.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrrrrto_strszVariableAssignment.to_strcCs|S)zFor `print` and `pprint`.)r)rrrr__repr__szVariableAssignment.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__r otherrrr__eq__s zVariableAssignment.__eq__cCs ||k S)z*Return true if both objects are not equal.rr,rrr__ne__szVariableAssignment.__ne__)NNN)__name__ __module__ __qualname____doc__rZ attribute_mapr propertyrsetterrrrr)r*r.r/rrrrrs6       r)r3r'reZ influxdb_client.domain.statementrrrrrrs