U wiS@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) MemberExpressionzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strrZ PropertyKey)typeobject _propertyrrpropertyNcCsPt|d|_d|_d|_d|_|dk r0||_|dk r>||_|dk rL||_dS)z.MemberExpression - a model defined in OpenAPI.N) r__init___type_object_MemberExpression__propertyZ discriminatorrrr)selfrrrrY/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/member_expression.pyr .s zMemberExpression.__init__cCs|jS)zGet the type of this MemberExpression. Type of AST node :return: The type of this MemberExpression. :rtype: str r r rrrr>s zMemberExpression.typecCs ||_dS)zSet the type of this MemberExpression. Type of AST node :param type: The type of this MemberExpression. :type: str Nr)r rrrrrIs cCs|jS)zGet the object of this MemberExpression. :return: The object of this MemberExpression. :rtype: Expression r rrrrrTszMemberExpression.objectcCs ||_dS)zSet the object of this MemberExpression. :param object: The object of this MemberExpression. :type: Expression Nr)r rrrrr]scCs|jS)zGet the _property of this MemberExpression. :return: The _property of this MemberExpression. :rtype: PropertyKey r rrrrrfszMemberExpression._propertycCs ||_dS)zSet the _property of this MemberExpression. :param _property: The _property of this MemberExpression. :type: PropertyKey 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*MemberExpression.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemrrrrs ) openapi_typesitemsgetattr isinstancelistmaprrdict)r resultattr_valuerrrrxs"       zMemberExpression.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrrrrto_strszMemberExpression.to_strcCs|S)zFor `print` and `pprint`.)r)rrrr__repr__szMemberExpression.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__r otherrrr__eq__s zMemberExpression.__eq__cCs ||k S)z*Return true if both objects are not equal.rr,rrr__ne__szMemberExpression.__ne__)NNN)__name__ __module__ __qualname____doc__rZ attribute_mapr rrsetterrrrr)r*r.r/rrrrrs6       r)r3r'reZ!influxdb_client.domain.expressionrrrrrrs