U viF@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@seZdZdZdddZdddZddd Zed d Zej d d Zed dZ e j ddZ ddZ ddZ ddZ ddZddZdS)BuiltinStatementzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strZ Identifier)typeidrrNcCs<t|d|_d|_d|_|dk r*||_|dk r8||_dS)z.BuiltinStatement - a model defined in OpenAPI.N)r__init___type_idZ discriminatorrr)selfrrr Y/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/builtin_statement.pyr,s zBuiltinStatement.__init__cCs|jS)zGet the type of this BuiltinStatement. Type of AST node :return: The type of this BuiltinStatement. :rtype: str rr r r r r9s zBuiltinStatement.typecCs ||_dS)zSet the type of this BuiltinStatement. Type of AST node :param type: The type of this BuiltinStatement. :type: str Nr )r rr r r rDs cCs|jS)z{Get the id of this BuiltinStatement. :return: The id of this BuiltinStatement. :rtype: Identifier r rr r r rOszBuiltinStatement.idcCs ||_dS)z|Set the id of this BuiltinStatement. :param id: The id of this BuiltinStatement. :type: Identifier Nr)r rr r r rXscCsi}|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)xr r r iz*BuiltinStatement.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemr r r rps ) openapi_typesitemsgetattr isinstancelistmaprrdict)r resultattr_valuer r r ras"       zBuiltinStatement.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrr r r to_stryszBuiltinStatement.to_strcCs|S)zFor `print` and `pprint`.)r%rr r r __repr__}szBuiltinStatement.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__r otherr r r __eq__s zBuiltinStatement.__eq__cCs ||k S)z*Return true if both objects are not equal.r r(r r r __ne__szBuiltinStatement.__ne__)NN)__name__ __module__ __qualname____doc__rZ attribute_maprpropertyrsetterrrr%r&r*r+r r r r rs*     r)r/r#reZ influxdb_client.domain.statementrrr r r r s