U wâ’i0ã@s4dZddlZddlZddlmZGdd„deƒZdS)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 @s¶eZdZdZdddddddddddddœ Zd d d d d ddddddddœ ZdFdd„Zedd„ƒZej dd„ƒZedd„ƒZ e j dd„ƒZ edd„ƒZ e j d d„ƒZ ed!d"„ƒ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.„ƒZed0d1„ƒZej d2d1„ƒZed3d4„ƒZej d5d4„ƒZed6d7„ƒZej d8d7„ƒZed9d:„ƒZej d;d:„ƒZdd?„Zd@dA„ZdBdC„ZdDdE„ZdS)GÚSingleStatViewPropertiesz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. Ústrzlist[DashboardQuery]zlist[DashboardColor]ÚboolZ StaticLegendZ DecimalPlaces) ÚtypeÚqueriesÚcolorsÚshapeÚnoteÚshow_note_when_emptyÚprefixÚ tick_prefixÚsuffixÚ tick_suffixÚ static_legendÚdecimal_placesrrrr r ZshowNoteWhenEmptyr Z tickPrefixrZ tickSuffixZ staticLegendZ decimalPlacesNc Cs¬t |¡d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_||_||_||_||_||_||_||_||_| |_| |_| dk r¢| |_| |_dS)z6SingleStatViewProperties - a model defined in OpenAPI.N)rÚ__init__Ú_typeÚ_queriesÚ_colorsÚ_shapeÚ_noteÚ_show_note_when_emptyÚ_prefixÚ _tick_prefixÚ_suffixÚ _tick_suffixÚ_static_legendÚ_decimal_placesZ discriminatorrrrr r r r r rrrr) Úselfrrrr r r r r rrrr©r úc/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/single_stat_view_properties.pyr@s6 z!SingleStatViewProperties.__init__cCs|jS)zˆGet the type of this SingleStatViewProperties. :return: The type of this SingleStatViewProperties. :rtype: str )r©rr r r!r`szSingleStatViewProperties.typecCs|dkrtdƒ‚||_dS)z‹Set the type of this SingleStatViewProperties. :param type: The type of this SingleStatViewProperties. :type: str Nz,Invalid value for `type`, must not be `None`)Ú ValueErrorr)rrr r r!riscCs|jS)zŸGet the queries of this SingleStatViewProperties. :return: The queries of this SingleStatViewProperties. :rtype: list[DashboardQuery] )rr"r r r!rtsz SingleStatViewProperties.queriescCs|dkrtdƒ‚||_dS)z¥Set the queries of this SingleStatViewProperties. :param queries: The queries of this SingleStatViewProperties. :type: list[DashboardQuery] Nz/Invalid value for `queries`, must not be `None`)r#r)rrr r r!r}scCs|jS)zàGet the colors of this SingleStatViewProperties. Colors define color encoding of data into a visualization :return: The colors of this SingleStatViewProperties. :rtype: list[DashboardColor] )rr"r r r!rˆs zSingleStatViewProperties.colorscCs|dkrtdƒ‚||_dS)zåSet the colors of this SingleStatViewProperties. Colors define color encoding of data into a visualization :param colors: The colors of this SingleStatViewProperties. :type: list[DashboardColor] Nz.Invalid value for `colors`, must not be `None`)r#r)rrr r r!r“s cCs|jS)zŠGet the shape of this SingleStatViewProperties. :return: The shape of this SingleStatViewProperties. :rtype: str )rr"r r r!r  szSingleStatViewProperties.shapecCs|dkrtdƒ‚||_dS)zŽSet the shape of this SingleStatViewProperties. :param shape: The shape of this SingleStatViewProperties. :type: str Nz-Invalid value for `shape`, must not be `None`)r#r)rr r r r!r ©scCs|jS)zˆGet the note of this SingleStatViewProperties. :return: The note of this SingleStatViewProperties. :rtype: str )rr"r r r!r ´szSingleStatViewProperties.notecCs|dkrtdƒ‚||_dS)z‹Set the note of this SingleStatViewProperties. :param note: The note of this SingleStatViewProperties. :type: str Nz,Invalid value for `note`, must not be `None`)r#r)rr r r r!r ½scCs|jS)zØGet the show_note_when_empty of this SingleStatViewProperties. If true, will display note when empty :return: The show_note_when_empty of this SingleStatViewProperties. :rtype: bool )rr"r r r!r Ès z-SingleStatViewProperties.show_note_when_emptycCs|dkrtdƒ‚||_dS)zëSet the show_note_when_empty of this SingleStatViewProperties. If true, will display note when empty :param show_note_when_empty: The show_note_when_empty of this SingleStatViewProperties. :type: bool Nz^óz2SingleStatViewProperties.to_dict..r%cSs&t|ddƒr"|d|d ¡fS|S)Nér%rr&)Úitemr r r!r)es ÿ) Ú openapi_typesÚitemsÚgetattrÚ isinstanceÚlistÚmapr'r%Údict)rÚresultÚattrÚ_Úvaluer r r!r%Vs"  þ   ý  z SingleStatViewProperties.to_dictcCst | ¡¡S)z.Return the string representation of the model.)ÚpprintÚpformatr%r"r r r!Úto_strnszSingleStatViewProperties.to_strcCs| ¡S)zFor `print` and `pprint`.)r:r"r r r!Ú__repr__rsz!SingleStatViewProperties.__repr__cCst|tƒsdS|j|jkS)z&Return true if both objects are equal.F)r0rÚ__dict__©rÚotherr r r!Ú__eq__vs zSingleStatViewProperties.__eq__cCs ||k S)z*Return true if both objects are not equal.r r=r r r!Ú__ne__}szSingleStatViewProperties.__ne__) NNNNNNNNNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__r-Z attribute_maprÚpropertyrÚsetterrrr r r r r rrrrr%r:r;r?r@r r r r!rs¢ôô                         r)rDr8ÚreZ&influxdb_client.domain.view_propertiesrrr r r r!Ús