U vi,@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)ViewPropertiesc @seZdZdZdddddddddddd Zdd d d d d dddddd ZdAddZeddZej ddZeddZ e j ddZ eddZ e j ddZ edd Z e j d!d Z ed"d#Z e j d$d#Z ed%d&Zej d'd&Zed(d)Zej d*d)Zed+d,Zej d-d,Zed.d/Zej d0d/Zed1d2Zej d3d2Zed4d5Zej d6d5Zd7d8Zd9d:Zd;d<Zd=d>Zd?d@ZdS)BGaugeViewPropertieszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strzlist[DashboardQuery]zlist[DashboardColor]boolZ DecimalPlaces) typequeriescolorsshapenoteshow_note_when_emptyprefix tick_prefixsuffix tick_suffixdecimal_placesrrrr r ZshowNoteWhenEmptyr Z tickPrefixrZ tickSuffixZ decimalPlacesNc Cst|d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ ||_||_||_||_||_||_||_||_| |_| |_| |_dS)z1GaugeViewProperties - a model defined in OpenAPI.N)r__init___type_queries_colors_shape_note_show_note_when_empty_prefix _tick_prefix_suffix _tick_suffix_decimal_placesZ discriminatorrrrr r r r r rrr) selfrrrr r r r r rrrr]/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/gauge_view_properties.pyr>s0 zGaugeViewProperties.__init__cCs|jS)z~Get the type of this GaugeViewProperties. :return: The type of this GaugeViewProperties. :rtype: str )rrrrrr[szGaugeViewProperties.typecCs|dkrtd||_dS)zSet the type of this GaugeViewProperties. :param type: The type of this GaugeViewProperties. :type: str Nz,Invalid value for `type`, must not be `None`) ValueErrorr)rrrrrrdscCs|jS)zGet the queries of this GaugeViewProperties. :return: The queries of this GaugeViewProperties. :rtype: list[DashboardQuery] )rr rrrroszGaugeViewProperties.queriescCs|dkrtd||_dS)zSet the queries of this GaugeViewProperties. :param queries: The queries of this GaugeViewProperties. :type: list[DashboardQuery] Nz/Invalid value for `queries`, must not be `None`)r!r)rrrrrrxscCs|jS)zGet the colors of this GaugeViewProperties. Colors define color encoding of data into a visualization :return: The colors of this GaugeViewProperties. :rtype: list[DashboardColor] )rr rrrrs zGaugeViewProperties.colorscCs|dkrtd||_dS)zSet the colors of this GaugeViewProperties. Colors define color encoding of data into a visualization :param colors: The colors of this GaugeViewProperties. :type: list[DashboardColor] Nz.Invalid value for `colors`, must not be `None`)r!r)rrrrrrs cCs|jS)zGet the shape of this GaugeViewProperties. :return: The shape of this GaugeViewProperties. :rtype: str )rr rrrr szGaugeViewProperties.shapecCs|dkrtd||_dS)zSet the shape of this GaugeViewProperties. :param shape: The shape of this GaugeViewProperties. :type: str Nz-Invalid value for `shape`, must not be `None`)r!r)rr rrrr scCs|jS)z~Get the note of this GaugeViewProperties. :return: The note of this GaugeViewProperties. :rtype: str )rr rrrr szGaugeViewProperties.notecCs|dkrtd||_dS)zSet the note of this GaugeViewProperties. :param note: The note of this GaugeViewProperties. :type: str Nz,Invalid value for `note`, must not be `None`)r!r)rr rrrr scCs|jS)zGet the show_note_when_empty of this GaugeViewProperties. If true, will display note when empty :return: The show_note_when_empty of this GaugeViewProperties. :rtype: bool )rr rrrr s z(GaugeViewProperties.show_note_when_emptycCs|dkrtd||_dS)zSet the show_note_when_empty of this GaugeViewProperties. If true, will display note when empty :param show_note_when_empty: The show_note_when_empty of this GaugeViewProperties. :type: bool NzGz-GaugeViewProperties.to_dict..r"cSs&t|ddr"|d|dfS|S)Nr"rr#)itemrrrr&Ns ) openapi_typesitemsgetattr isinstancelistmapr$r"dict)rresultattr_valuerrrr"?s"       zGaugeViewProperties.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatr"r rrrto_strWszGaugeViewProperties.to_strcCs|S)zFor `print` and `pprint`.)r7r rrr__repr__[szGaugeViewProperties.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r-r__dict__rotherrrr__eq___s zGaugeViewProperties.__eq__cCs ||k S)z*Return true if both objects are not equal.rr:rrr__ne__fszGaugeViewProperties.__ne__) NNNNNNNNNNN)__name__ __module__ __qualname____doc__r*Z attribute_maprpropertyrsetterrrr r r r r rrrr"r7r8r<r=rrrrrs                       r)rAr5reZ&influxdb_client.domain.view_propertiesrrrrrrs