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) MemberAssignmentzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strZMemberExpression Expression)typememberinitrrrNcCsPt|d|_d|_d|_d|_|dk r0||_|dk r>||_|dk rL||_dS)z.MemberAssignment - a model defined in OpenAPI.N) r__init___type_member_initZ discriminatorrrr)selfrrrrY/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/member_assignment.pyr .s zMemberAssignment.__init__cCs|jS)zGet the type of this MemberAssignment. Type of AST node :return: The type of this MemberAssignment. :rtype: str r r rrrr>s zMemberAssignment.typecCs ||_dS)zSet the type of this MemberAssignment. Type of AST node :param type: The type of this MemberAssignment. :type: str Nr)r rrrrrIs cCs|jS)zGet the member of this MemberAssignment. :return: The member of this MemberAssignment. :rtype: MemberExpression r rrrrrTszMemberAssignment.membercCs ||_dS)zSet the member of this MemberAssignment. :param member: The member of this MemberAssignment. :type: MemberExpression Nr)r rrrrr]scCs|jS)zGet the init of this MemberAssignment. :return: The init of this MemberAssignment. :rtype: Expression r rrrrrfszMemberAssignment.initcCs ||_dS)zSet the init of this MemberAssignment. :param init: The init of this MemberAssignment. :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*MemberAssignment.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemrrrrs ) openapi_typesitemsgetattr isinstancelistmaprrdict)r resultattr_valuerrrrxs"       zMemberAssignment.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrrrrto_strszMemberAssignment.to_strcCs|S)zFor `print` and `pprint`.)r)rrrr__repr__szMemberAssignment.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__r otherrrr__eq__s zMemberAssignment.__eq__cCs ||k S)z*Return true if both objects are not equal.rr,rrr__ne__szMemberAssignment.__ne__)NNN)__name__ __module__ __qualname____doc__rZ attribute_mapr propertyrsetterrrrr)r*r.r/rrrrrs6       r)r3r'reZ influxdb_client.domain.statementrrrrrrs