U viRk@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 @seZdZdZdddddddddddddddddddddddddddddddd Zd d d d ddddddddddddddddddd d!d"d#d$d%d&d'd(d Zdd*d+Zed,d-Zej d.d-Zed/d0Z e j d1d0Z ed2d3Z e j d4d3Z ed5d6Z e j d7d6Z ed8d9Z e j d:d9Z ed;d<Zej d=d<Zed>d?Zej d@d?ZedAdBZej dCdBZedDdEZej dFdEZedGdHZej dIdHZedJdKZej dLdKZedMdNZej dOdNZedPdQZej dRdQZedSdTZej dUdTZedVdWZej dXdWZedYdZZej d[dZZed\d]Zej d^d]Zed_d`Zej dad`ZedbdcZej dddcZededfZej dgdfZedhdiZej djdiZedkdlZej dmdlZedndoZej dpdoZedqdrZ e j dsdrZ edtduZ!e!j dvduZ!edwdxZ"e"j dydxZ"edzd{Z#e#j d|d{Z#ed}d~Z$e$j dd~Z$eddZ%e%j ddZ%eddZ&e&j ddZ&eddZ'e'j ddZ'ddZ(ddZ)ddZ*ddZ+ddZ,d)S)HeatmapViewPropertieszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. boolstrzlist[DashboardQuery]z list[str]intfloatz list[float])adaptive_zoom_hide time_formattypequeriescolorsshapenoteshow_note_when_emptyx_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_stepx_domainy_domain x_axis_label y_axis_labelx_prefixx_suffixy_prefixy_suffixbin_sizelegend_colorize_rows legend_hidelegend_opacitylegend_orientation_thresholdZadaptiveZoomHideZ timeFormatr r r r rZshowNoteWhenEmptyZxColumnZgenerateXAxisTicksZ xTotalTicksZ xTickStartZ xTickStepZyColumnZgenerateYAxisTicksZ yTotalTicksZ yTickStartZ yTickStepZxDomainZyDomainZ xAxisLabelZ yAxisLabelZxPrefixZxSuffixZyPrefixZySuffixZbinSizeZlegendColorizeRowsZ legendHideZ legendOpacityZlegendOrientationThresholdNc Cst|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|_ d|_!|dk r||_"|dk r||_#||_$||_%||_&||_'||_(||_)| |_*| dk r | |_+| dk r0| |_,| dk r@| |_-| dk rP| |_.||_/|dk rf||_0|dk rv||_1|dk r||_2|dk r||_3||_4||_5||_6||_7||_8||_9||_:||_;||_<|dk r||_=|dk r||_>|dk r||_?|dk r ||_@dS)z3HeatmapViewProperties - a model defined in OpenAPI.N)Ar__init___adaptive_zoom_hide _time_format_type_queries_colors_shape_note_show_note_when_empty _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 _x_domain _y_domain _x_axis_label _y_axis_label _x_prefix _x_suffix _y_prefix _y_suffix _bin_size_legend_colorize_rows _legend_hide_legend_opacity_legend_orientation_thresholdZ discriminatorrr r r r r rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&) selfrr r r r r rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&rH_/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/heatmap_view_properties.pyr'fs             zHeatmapViewProperties.__init__cCs|jS)zGet the adaptive_zoom_hide of this HeatmapViewProperties. :return: The adaptive_zoom_hide of this HeatmapViewProperties. :rtype: bool r(rGrHrHrIrsz(HeatmapViewProperties.adaptive_zoom_hidecCs ||_dS)zSet the adaptive_zoom_hide of this HeatmapViewProperties. :param adaptive_zoom_hide: The adaptive_zoom_hide of this HeatmapViewProperties. :type: bool NrJ)rGrrHrHrIrscCs|jS)zGet the time_format of this HeatmapViewProperties. :return: The time_format of this HeatmapViewProperties. :rtype: str r)rKrHrHrIr sz!HeatmapViewProperties.time_formatcCs ||_dS)zSet the time_format of this HeatmapViewProperties. :param time_format: The time_format of this HeatmapViewProperties. :type: str NrL)rGr rHrHrIr scCs|jS)zGet the type of this HeatmapViewProperties. :return: The type of this HeatmapViewProperties. :rtype: str )r*rKrHrHrIr szHeatmapViewProperties.typecCs|dkrtd||_dS)zSet the type of this HeatmapViewProperties. :param type: The type of this HeatmapViewProperties. :type: str Nz,Invalid value for `type`, must not be `None`) ValueErrorr*)rGr rHrHrIr scCs|jS)zGet the queries of this HeatmapViewProperties. :return: The queries of this HeatmapViewProperties. :rtype: list[DashboardQuery] )r+rKrHrHrIr szHeatmapViewProperties.queriescCs|dkrtd||_dS)zSet the queries of this HeatmapViewProperties. :param queries: The queries of this HeatmapViewProperties. :type: list[DashboardQuery] Nz/Invalid value for `queries`, must not be `None`)rMr+)rGr rHrHrIr scCs|jS)zGet the colors of this HeatmapViewProperties. Colors define color encoding of data into a visualization :return: The colors of this HeatmapViewProperties. :rtype: list[str] )r,rKrHrHrIr s zHeatmapViewProperties.colorscCs|dkrtd||_dS)zSet the colors of this HeatmapViewProperties. Colors define color encoding of data into a visualization :param colors: The colors of this HeatmapViewProperties. :type: list[str] Nz.Invalid value for `colors`, must not be `None`)rMr,)rGr rHrHrIr s cCs|jS)zGet the shape of this HeatmapViewProperties. :return: The shape of this HeatmapViewProperties. :rtype: str )r-rKrHrHrIr szHeatmapViewProperties.shapecCs|dkrtd||_dS)zSet the shape of this HeatmapViewProperties. :param shape: The shape of this HeatmapViewProperties. :type: str Nz-Invalid value for `shape`, must not be `None`)rMr-)rGr rHrHrIr &scCs|jS)zGet the note of this HeatmapViewProperties. :return: The note of this HeatmapViewProperties. :rtype: str )r.rKrHrHrIr1szHeatmapViewProperties.notecCs|dkrtd||_dS)zSet the note of this HeatmapViewProperties. :param note: The note of this HeatmapViewProperties. :type: str Nz,Invalid value for `note`, must not be `None`)rMr.)rGrrHrHrIr:scCs|jS)zGet the show_note_when_empty of this HeatmapViewProperties. If true, will display note when empty :return: The show_note_when_empty of this HeatmapViewProperties. :rtype: bool )r/rKrHrHrIrEs z*HeatmapViewProperties.show_note_when_emptycCs|dkrtd||_dS)zSet the show_note_when_empty of this HeatmapViewProperties. If true, will display note when empty :param show_note_when_empty: The show_note_when_empty of this HeatmapViewProperties. :type: bool NzrKrHrHrIreszHeatmapViewProperties.x_prefixcCs|dkrtd||_dS)zSet the x_prefix of this HeatmapViewProperties. :param x_prefix: The x_prefix of this HeatmapViewProperties. :type: str Nz0Invalid value for `x_prefix`, must not be `None`)rMr>)rGrrHrHrIrnscCs|jS)zGet the x_suffix of this HeatmapViewProperties. :return: The x_suffix of this HeatmapViewProperties. :rtype: str )r?rKrHrHrIryszHeatmapViewProperties.x_suffixcCs|dkrtd||_dS)zSet the x_suffix of this HeatmapViewProperties. :param x_suffix: The x_suffix of this HeatmapViewProperties. :type: str Nz0Invalid value for `x_suffix`, must not be `None`)rMr?)rGrrHrHrIrscCs|jS)zGet the y_prefix of this HeatmapViewProperties. :return: The y_prefix of this HeatmapViewProperties. :rtype: str )r@rKrHrHrIr szHeatmapViewProperties.y_prefixcCs|dkrtd||_dS)zSet the y_prefix of this HeatmapViewProperties. :param y_prefix: The y_prefix of this HeatmapViewProperties. :type: str Nz0Invalid value for `y_prefix`, must not be `None`)rMr@)rGr rHrHrIr scCs|jS)zGet the y_suffix of this HeatmapViewProperties. :return: The y_suffix of this HeatmapViewProperties. :rtype: str )rArKrHrHrIr!szHeatmapViewProperties.y_suffixcCs|dkrtd||_dS)zSet the y_suffix of this HeatmapViewProperties. :param y_suffix: The y_suffix of this HeatmapViewProperties. :type: str Nz0Invalid value for `y_suffix`, must not be `None`)rMrA)rGr!rHrHrIr!scCs|jS)zGet the bin_size of this HeatmapViewProperties. :return: The bin_size of this HeatmapViewProperties. :rtype: float )rBrKrHrHrIr"szHeatmapViewProperties.bin_sizecCs|dkrtd||_dS)zSet the bin_size of this HeatmapViewProperties. :param bin_size: The bin_size of this HeatmapViewProperties. :type: float Nz0Invalid value for `bin_size`, must not be `None`)rMrB)rGr"rHrHrIr"scCs|jS)zGet the legend_colorize_rows of this HeatmapViewProperties. :return: The legend_colorize_rows of this HeatmapViewProperties. :rtype: bool rCrKrHrHrIr#sz*HeatmapViewProperties.legend_colorize_rowscCs ||_dS)zSet the legend_colorize_rows of this HeatmapViewProperties. :param legend_colorize_rows: The legend_colorize_rows of this HeatmapViewProperties. :type: bool NrV)rGr#rHrHrIr#scCs|jS)zGet the legend_hide of this HeatmapViewProperties. :return: The legend_hide of this HeatmapViewProperties. :rtype: bool rDrKrHrHrIr$sz!HeatmapViewProperties.legend_hidecCs ||_dS)zSet the legend_hide of this HeatmapViewProperties. :param legend_hide: The legend_hide of this HeatmapViewProperties. :type: bool NrW)rGr$rHrHrIr$scCs|jS)zGet the legend_opacity of this HeatmapViewProperties. :return: The legend_opacity of this HeatmapViewProperties. :rtype: float rErKrHrHrIr%sz$HeatmapViewProperties.legend_opacitycCs ||_dS)zSet the legend_opacity of this HeatmapViewProperties. :param legend_opacity: The legend_opacity of this HeatmapViewProperties. :type: float NrX)rGr%rHrHrIr%scCs|jS)zGet the legend_orientation_threshold of this HeatmapViewProperties. :return: The legend_orientation_threshold of this HeatmapViewProperties. :rtype: int rFrKrHrHrIr&sz2HeatmapViewProperties.legend_orientation_thresholdcCs ||_dS)zSet the legend_orientation_threshold of this HeatmapViewProperties. :param legend_orientation_threshold: The legend_orientation_threshold of this HeatmapViewProperties. :type: int NrY)rGr&rHrHrIr&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_dicthasattrrZ)xrHrHrIz/HeatmapViewProperties.to_dict..rZcSs&t|ddr"|d|dfS|S)NrZrr[)itemrHrHrIr^ s ) openapi_typesitemsgetattr isinstancelistmapr\rZdict)rGresultattr_valuerHrHrIrZs"       zHeatmapViewProperties.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrZrKrHrHrIto_str)szHeatmapViewProperties.to_strcCs|S)zFor `print` and `pprint`.)rorKrHrHrI__repr__-szHeatmapViewProperties.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rer__dict__rGotherrHrHrI__eq__1s zHeatmapViewProperties.__eq__cCs ||k S)z*Return true if both objects are not equal.rHrrrHrHrI__ne__8szHeatmapViewProperties.__ne__)NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN)-__name__ __module__ __qualname____doc__rbZ attribute_mapr'propertyrsetterr r r r r rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&rZrorprtrurHrHrHrIrs#" S                                                              r)ryrmreZ&influxdb_client.domain.view_propertiesrrrHrHrHrIs