U vi@s(dZddlZddlZGdddeZdS)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 Nc@seZdZdZdddddZdddd dZd#d d Zed dZej ddZeddZ e j ddZ eddZ e j ddZ eddZ e j ddZ ddZ ddZddZdd Zd!d"Zd S)$DashboardQueryzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strZ QueryEditModeZ BuilderConfig)text edit_modenamebuilder_configrZeditModerZ builderConfigNcCsZd|_d|_d|_d|_d|_|dk r,||_|dk r:||_|dk rH||_|dk rV||_dS)z,DashboardQuery - a model defined in OpenAPI.N) _text _edit_mode_name_builder_configZ discriminatorrrrr)selfrrrrr W/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/dashboard_query.py__init__.szDashboardQuery.__init__cCs|jS)zGet the text of this DashboardQuery. The text of the Flux query. :return: The text of this DashboardQuery. :rtype: str rr r r rr?s zDashboardQuery.textcCs ||_dS)zSet the text of this DashboardQuery. The text of the Flux query. :param text: The text of this DashboardQuery. :type: str Nr)r rr r rrJs cCs|jS)zGet the edit_mode of this DashboardQuery. :return: The edit_mode of this DashboardQuery. :rtype: QueryEditMode r rr r rrUszDashboardQuery.edit_modecCs ||_dS)zSet the edit_mode of this DashboardQuery. :param edit_mode: The edit_mode of this DashboardQuery. :type: QueryEditMode Nr)r rr r rr^scCs|jS)ztGet the name of this DashboardQuery. :return: The name of this DashboardQuery. :rtype: str r rr r rrgszDashboardQuery.namecCs ||_dS)zwSet the name of this DashboardQuery. :param name: The name of this DashboardQuery. :type: str Nr)r rr r rrpscCs|jS)zGet the builder_config of this DashboardQuery. :return: The builder_config of this DashboardQuery. :rtype: BuilderConfig r rr r rryszDashboardQuery.builder_configcCs ||_dS)zSet the builder_config of this DashboardQuery. :param builder_config: The builder_config of this DashboardQuery. :type: BuilderConfig Nr)r rr r rrscCsi}|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 rz(DashboardQuery.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemr r rrs ) openapi_typesitemsgetattr isinstancelistmaprrdict)r resultattr_valuer r rrs"       zDashboardQuery.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrr r rto_strszDashboardQuery.to_strcCs|S)zFor `print` and `pprint`.)r*rr r r__repr__szDashboardQuery.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r r__dict__r otherr r r__eq__s zDashboardQuery.__eq__cCs ||k S)z*Return true if both objects are not equal.r r-r r r__ne__szDashboardQuery.__ne__)NNNN)__name__ __module__ __qualname____doc__rZ attribute_maprpropertyrsetterrrrrr*r+r/r0r r r rrsB         r)r4r(reobjectrr r r rs