U vij@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@seZdZdZddddddddddddd d d ddd d d dddddd ddd d d Zd ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d Zdd,d-Zed.d/Zej d0d/Zed1d2Z e j d3d2Z ed4d5Z e j d6d5Z ed7d8Z e j d9d8Z ed:d;Z e j dZej d?d>Zed@dAZej dBdAZedCdDZej dEdDZedFdGZej dHdGZedIdJZej dKdJZedLdMZej dNdMZedOdPZej dQdPZedRdSZej dTdSZedUdVZej dWdVZedXdYZej dZdYZed[d\Zej d]d\Zed^d_Zej d`d_ZedadbZej dcdbZedddeZej dfdeZedgdhZej didhZedjdkZej dldkZedmdnZej dodnZedpdqZej drdqZedsdtZ e j dudtZ edvdwZ!e!j dxdwZ!edydzZ"e"j d{dzZ"ed|d}Z#e#j d~d}Z#eddZ$e$j ddZ$eddZ%e%j ddZ%eddZ&e&j ddZ&ddZ'ddZ(ddZ)ddZ*ddZ+d+S)LinePlusSingleStatPropertieszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. boolstrzlist[DashboardQuery]zlist[DashboardColor]ZAxesZ StaticLegendz list[str]intfloatZ DecimalPlaces)adaptive_zoom_hide time_formattypequeriescolorsshapenoteshow_note_when_emptyaxes static_legendx_columngenerate_x_axis_ticks x_total_ticks x_tick_start x_tick_stepy_columngenerate_y_axis_ticks y_total_ticks y_tick_start y_tick_step shade_belowhover_dimensionpositionprefixsuffixdecimal_placeslegend_colorize_rows legend_hidelegend_opacitylegend_orientation_thresholdZadaptiveZoomHideZ timeFormatr r r r rZshowNoteWhenEmptyrZ staticLegendZxColumnZgenerateXAxisTicksZ xTotalTicksZ xTickStartZ xTickStepZyColumnZgenerateYAxisTicksZ yTotalTicksZ yTickStartZ yTickStepZ shadeBelowZhoverDimensionrrr Z decimalPlacesZlegendColorizeRowsZ legendHideZ legendOpacityZlegendOrientationThresholdNcCs6t|d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_ |dk r||_!|dk r||_"||_#||_$||_%||_&||_'||_(| |_)| dk r| |_*| dk r*| |_+| dk r:| |_,| dk rJ| |_-|dk rZ||_.|dk rj||_/|dk rz||_0|dk r||_1|dk r||_2|dk r||_3|dk r||_4|dk r||_5|dk r||_6||_7||_8||_9||_:|dk r||_;|dk r||_<|dk r"||_=|dk r2||_>dS)z:LinePlusSingleStatProperties - a model defined in OpenAPI.N)?r__init___adaptive_zoom_hide _time_format_type_queries_colors_shape_note_show_note_when_empty_axes_static_legend _x_column_generate_x_axis_ticks_x_total_ticks _x_tick_start _x_tick_step _y_column_generate_y_axis_ticks_y_total_ticks _y_tick_start _y_tick_step _shade_below_hover_dimension _position_prefix_suffix_decimal_places_legend_colorize_rows _legend_hide_legend_opacity_legend_orientation_thresholdZ discriminatorrr r r r r rrrrrrrrrrrrrrrrrrr r!r"r#r$r%)selfrr r r r r rrrrrrrrrrrrrrrrrrr r!r"r#r$r%rFh/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/line_plus_single_stat_properties.pyr&ds                  z%LinePlusSingleStatProperties.__init__cCs|jS)zGet the adaptive_zoom_hide of this LinePlusSingleStatProperties. :return: The adaptive_zoom_hide of this LinePlusSingleStatProperties. :rtype: bool r'rErFrFrGrsz/LinePlusSingleStatProperties.adaptive_zoom_hidecCs ||_dS)zSet the adaptive_zoom_hide of this LinePlusSingleStatProperties. :param adaptive_zoom_hide: The adaptive_zoom_hide of this LinePlusSingleStatProperties. :type: bool NrH)rErrFrFrGrscCs|jS)zGet the time_format of this LinePlusSingleStatProperties. :return: The time_format of this LinePlusSingleStatProperties. :rtype: str r(rIrFrFrGr sz(LinePlusSingleStatProperties.time_formatcCs ||_dS)zSet the time_format of this LinePlusSingleStatProperties. :param time_format: The time_format of this LinePlusSingleStatProperties. :type: str NrJ)rEr rFrFrGr scCs|jS)zGet the type of this LinePlusSingleStatProperties. :return: The type of this LinePlusSingleStatProperties. :rtype: str )r)rIrFrFrGr sz!LinePlusSingleStatProperties.typecCs|dkrtd||_dS)zSet the type of this LinePlusSingleStatProperties. :param type: The type of this LinePlusSingleStatProperties. :type: str Nz,Invalid value for `type`, must not be `None`) ValueErrorr))rEr rFrFrGr scCs|jS)zGet the queries of this LinePlusSingleStatProperties. :return: The queries of this LinePlusSingleStatProperties. :rtype: list[DashboardQuery] )r*rIrFrFrGr sz$LinePlusSingleStatProperties.queriescCs|dkrtd||_dS)zSet the queries of this LinePlusSingleStatProperties. :param queries: The queries of this LinePlusSingleStatProperties. :type: list[DashboardQuery] Nz/Invalid value for `queries`, must not be `None`)rKr*)rEr rFrFrGr scCs|jS)zGet the colors of this LinePlusSingleStatProperties. Colors define color encoding of data into a visualization :return: The colors of this LinePlusSingleStatProperties. :rtype: list[DashboardColor] )r+rIrFrFrGr s z#LinePlusSingleStatProperties.colorscCs|dkrtd||_dS)zSet the colors of this LinePlusSingleStatProperties. Colors define color encoding of data into a visualization :param colors: The colors of this LinePlusSingleStatProperties. :type: list[DashboardColor] Nz.Invalid value for `colors`, must not be `None`)rKr+)rEr rFrFrGr s cCs|jS)zGet the shape of this LinePlusSingleStatProperties. :return: The shape of this LinePlusSingleStatProperties. :rtype: str )r,rIrFrFrGr sz"LinePlusSingleStatProperties.shapecCs|dkrtd||_dS)zSet the shape of this LinePlusSingleStatProperties. :param shape: The shape of this LinePlusSingleStatProperties. :type: str Nz-Invalid value for `shape`, must not be `None`)rKr,)rEr rFrFrGr 'scCs|jS)zGet the note of this LinePlusSingleStatProperties. :return: The note of this LinePlusSingleStatProperties. :rtype: str )r-rIrFrFrGr2sz!LinePlusSingleStatProperties.notecCs|dkrtd||_dS)zSet the note of this LinePlusSingleStatProperties. :param note: The note of this LinePlusSingleStatProperties. :type: str Nz,Invalid value for `note`, must not be `None`)rKr-)rErrFrFrGr;scCs|jS)zGet the show_note_when_empty of this LinePlusSingleStatProperties. If true, will display note when empty :return: The show_note_when_empty of this LinePlusSingleStatProperties. :rtype: bool )r.rIrFrFrGrFs z1LinePlusSingleStatProperties.show_note_when_emptycCs|dkrtd||_dS)zSet the show_note_when_empty of this LinePlusSingleStatProperties. If true, will display note when empty :param show_note_when_empty: The show_note_when_empty of this LinePlusSingleStatProperties. :type: bool NzrIrFrFrGrpsz#LinePlusSingleStatProperties.prefixcCs|dkrtd||_dS)zSet the prefix of this LinePlusSingleStatProperties. :param prefix: The prefix of this LinePlusSingleStatProperties. :type: str Nz.Invalid value for `prefix`, must not be `None`)rKr>)rErrFrFrGryscCs|jS)zGet the suffix of this LinePlusSingleStatProperties. :return: The suffix of this LinePlusSingleStatProperties. :rtype: str )r?rIrFrFrGr sz#LinePlusSingleStatProperties.suffixcCs|dkrtd||_dS)zSet the suffix of this LinePlusSingleStatProperties. :param suffix: The suffix of this LinePlusSingleStatProperties. :type: str Nz.Invalid value for `suffix`, must not be `None`)rKr?)rEr rFrFrGr scCs|jS)zGet the decimal_places of this LinePlusSingleStatProperties. :return: The decimal_places of this LinePlusSingleStatProperties. :rtype: DecimalPlaces )r@rIrFrFrGr!sz+LinePlusSingleStatProperties.decimal_placescCs|dkrtd||_dS)zSet the decimal_places of this LinePlusSingleStatProperties. :param decimal_places: The decimal_places of this LinePlusSingleStatProperties. :type: DecimalPlaces Nz6Invalid value for `decimal_places`, must not be `None`)rKr@)rEr!rFrFrGr!scCs|jS)zGet the legend_colorize_rows of this LinePlusSingleStatProperties. :return: The legend_colorize_rows of this LinePlusSingleStatProperties. :rtype: bool rArIrFrFrGr"sz1LinePlusSingleStatProperties.legend_colorize_rowscCs ||_dS)zSet the legend_colorize_rows of this LinePlusSingleStatProperties. :param legend_colorize_rows: The legend_colorize_rows of this LinePlusSingleStatProperties. :type: bool NrY)rEr"rFrFrGr"scCs|jS)zGet the legend_hide of this LinePlusSingleStatProperties. :return: The legend_hide of this LinePlusSingleStatProperties. :rtype: bool rBrIrFrFrGr#sz(LinePlusSingleStatProperties.legend_hidecCs ||_dS)zSet the legend_hide of this LinePlusSingleStatProperties. :param legend_hide: The legend_hide of this LinePlusSingleStatProperties. :type: bool NrZ)rEr#rFrFrGr#scCs|jS)zGet the legend_opacity of this LinePlusSingleStatProperties. :return: The legend_opacity of this LinePlusSingleStatProperties. :rtype: float rCrIrFrFrGr$sz+LinePlusSingleStatProperties.legend_opacitycCs ||_dS)zSet the legend_opacity of this LinePlusSingleStatProperties. :param legend_opacity: The legend_opacity of this LinePlusSingleStatProperties. :type: float Nr[)rEr$rFrFrGr$scCs|jS)zGet the legend_orientation_threshold of this LinePlusSingleStatProperties. :return: The legend_orientation_threshold of this LinePlusSingleStatProperties. :rtype: int rDrIrFrFrGr%sz9LinePlusSingleStatProperties.legend_orientation_thresholdcCs ||_dS)zSet the legend_orientation_threshold of this LinePlusSingleStatProperties. :param legend_orientation_threshold: The legend_orientation_threshold of this LinePlusSingleStatProperties. :type: int Nr\)rEr%rFrFrGr%scCsi}|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])xrFrFrGz6LinePlusSingleStatProperties.to_dict..r]cSs&t|ddr"|d|dfS|S)Nr]rr^)itemrFrFrGras ) openapi_typesitemsgetattr isinstancelistmapr_r]dict)rEresultattr_valuerFrFrGr]s"       z$LinePlusSingleStatProperties.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatr]rIrFrFrGto_str sz#LinePlusSingleStatProperties.to_strcCs|S)zFor `print` and `pprint`.)rrrIrFrFrG__repr__sz%LinePlusSingleStatProperties.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rhr__dict__rEotherrFrFrG__eq__s z#LinePlusSingleStatProperties.__eq__cCs ||k S)z*Return true if both objects are not equal.rFrurFrFrG__ne__sz#LinePlusSingleStatProperties.__ne__)NNNNNNNNNNNNNNNNNNNNNNNNNNNNNN),__name__ __module__ __qualname____doc__reZ attribute_mapr&propertyrsetterr r r r r rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r]rrrsrwrxrFrFrFrGrsz"! V                                                            r)r|rpreZ&influxdb_client.domain.view_propertiesrrrFrFrFrGs