U wi:o@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!@seZdZdZddddddddddddddddddddddddddddddddd Zd d d d ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d Zdd+d,Zed-d.Zej d/d.Zed0d1Z e j d2d1Z ed3d4Z e j d5d4Z ed6d7Z e j d8d7Z ed9d:Z e j d;d:Z edd=Zed?d@Zej dAd@ZedBdCZej dDdCZedEdFZej dGdFZedHdIZej dJdIZedKdLZej dMdLZedNdOZej dPdOZedQdRZej dSdRZedTdUZej dVdUZedWdXZej dYdXZedZd[Zej d\d[Zed]d^Zej d_d^Zed`daZej dbdaZedcddZej deddZedfdgZej dhdgZedidjZej dkdjZedldmZej dndmZedodpZej dqdpZedrdsZ e j dtdsZ edudvZ!e!j dwdvZ!edxdyZ"e"j dzdyZ"ed{d|Z#e#j d}d|Z#ed~dZ$e$j ddZ$eddZ%e%j ddZ%eddZ&e&j ddZ&eddZ'e'j ddZ'eddZ(e(j ddZ(ddZ)ddZ*ddZ+ddZ,ddZ-d*S)ScatterViewPropertieszNOTE: 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_step fill_columnssymbol_columnsx_domainy_domain x_axis_label y_axis_labelx_prefixx_suffixy_prefixy_suffixlegend_colorize_rows legend_hidelegend_opacitylegend_orientation_thresholdZadaptiveZoomHideZ timeFormatr r r r rZshowNoteWhenEmptyZxColumnZgenerateXAxisTicksZ xTotalTicksZ xTickStartZ xTickStepZyColumnZgenerateYAxisTicksZ yTotalTicksZ yTickStartZ yTickStepZ fillColumnsZ symbolColumnsZxDomainZyDomainZ xAxisLabelZ yAxisLabelZxPrefixZxSuffixZyPrefixZySuffixZlegendColorizeRowsZ 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|_!d|_"|dk r||_#|dk r||_$||_%||_&||_'||_(||_)||_*| |_+| dk r&| |_,| dk r6| |_-| dk rF| |_.| dk rV| |_/||_0|dk rl||_1|dk r|||_2|dk r||_3|dk r||_4||_5||_6||_7||_8||_9||_:||_;||_<||_=||_>|dk r||_?|dk r||_@|dk r||_A| dk r| |_BdS)z3ScatterViewProperties - a model defined in OpenAPI.N)Cr__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 _fill_columns_symbol_columns _x_domain _y_domain _x_axis_label _y_axis_label _x_prefix _x_suffix _y_prefix _y_suffix_legend_colorize_rows _legend_hide_legend_opacity_legend_orientation_thresholdZ discriminatorrr r r r r rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r')!selfrr r r r r rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r'rJ_/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/scatter_view_properties.pyr(hs             zScatterViewProperties.__init__cCs|jS)zGet the adaptive_zoom_hide of this ScatterViewProperties. :return: The adaptive_zoom_hide of this ScatterViewProperties. :rtype: bool r)rIrJrJrKrsz(ScatterViewProperties.adaptive_zoom_hidecCs ||_dS)zSet the adaptive_zoom_hide of this ScatterViewProperties. :param adaptive_zoom_hide: The adaptive_zoom_hide of this ScatterViewProperties. :type: bool NrL)rIrrJrJrKrscCs|jS)zGet the time_format of this ScatterViewProperties. :return: The time_format of this ScatterViewProperties. :rtype: str r*rMrJrJrKr sz!ScatterViewProperties.time_formatcCs ||_dS)zSet the time_format of this ScatterViewProperties. :param time_format: The time_format of this ScatterViewProperties. :type: str NrN)rIr rJrJrKr scCs|jS)zGet the type of this ScatterViewProperties. :return: The type of this ScatterViewProperties. :rtype: str )r+rMrJrJrKr szScatterViewProperties.typecCs|dkrtd||_dS)zSet the type of this ScatterViewProperties. :param type: The type of this ScatterViewProperties. :type: str Nz,Invalid value for `type`, must not be `None`) ValueErrorr+)rIr rJrJrKr scCs|jS)zGet the queries of this ScatterViewProperties. :return: The queries of this ScatterViewProperties. :rtype: list[DashboardQuery] )r,rMrJrJrKr szScatterViewProperties.queriescCs|dkrtd||_dS)zSet the queries of this ScatterViewProperties. :param queries: The queries of this ScatterViewProperties. :type: list[DashboardQuery] Nz/Invalid value for `queries`, must not be `None`)rOr,)rIr rJrJrKr scCs|jS)zGet the colors of this ScatterViewProperties. Colors define color encoding of data into a visualization :return: The colors of this ScatterViewProperties. :rtype: list[str] )r-rMrJrJrKr s zScatterViewProperties.colorscCs|dkrtd||_dS)zSet the colors of this ScatterViewProperties. Colors define color encoding of data into a visualization :param colors: The colors of this ScatterViewProperties. :type: list[str] Nz.Invalid value for `colors`, must not be `None`)rOr-)rIr rJrJrKr s cCs|jS)zGet the shape of this ScatterViewProperties. :return: The shape of this ScatterViewProperties. :rtype: str )r.rMrJrJrKr !szScatterViewProperties.shapecCs|dkrtd||_dS)zSet the shape of this ScatterViewProperties. :param shape: The shape of this ScatterViewProperties. :type: str Nz-Invalid value for `shape`, must not be `None`)rOr.)rIr rJrJrKr *scCs|jS)zGet the note of this ScatterViewProperties. :return: The note of this ScatterViewProperties. :rtype: str )r/rMrJrJrKr5szScatterViewProperties.notecCs|dkrtd||_dS)zSet the note of this ScatterViewProperties. :param note: The note of this ScatterViewProperties. :type: str Nz,Invalid value for `note`, must not be `None`)rOr/)rIrrJrJrKr>scCs|jS)zGet the show_note_when_empty of this ScatterViewProperties. If true, will display note when empty :return: The show_note_when_empty of this ScatterViewProperties. :rtype: bool )r0rMrJrJrKrIs z*ScatterViewProperties.show_note_when_emptycCs|dkrtd||_dS)zSet the show_note_when_empty of this ScatterViewProperties. If true, will display note when empty :param show_note_when_empty: The show_note_when_empty of this ScatterViewProperties. :type: bool NzrMrJrJrKrUszScatterViewProperties.y_domaincCs|dkrtd||_dS)zSet the y_domain of this ScatterViewProperties. :param y_domain: The y_domain of this ScatterViewProperties. :type: list[float] Nz0Invalid value for `y_domain`, must not be `None`)rOr>)rIrrJrJrKr^scCs|jS)zGet the x_axis_label of this ScatterViewProperties. :return: The x_axis_label of this ScatterViewProperties. :rtype: str )r?rMrJrJrKrisz"ScatterViewProperties.x_axis_labelcCs|dkrtd||_dS)zSet the x_axis_label of this ScatterViewProperties. :param x_axis_label: The x_axis_label of this ScatterViewProperties. :type: str Nz4Invalid value for `x_axis_label`, must not be `None`)rOr?)rIrrJrJrKrrscCs|jS)zGet the y_axis_label of this ScatterViewProperties. :return: The y_axis_label of this ScatterViewProperties. :rtype: str )r@rMrJrJrKr}sz"ScatterViewProperties.y_axis_labelcCs|dkrtd||_dS)zSet the y_axis_label of this ScatterViewProperties. :param y_axis_label: The y_axis_label of this ScatterViewProperties. :type: str Nz4Invalid value for `y_axis_label`, must not be `None`)rOr@)rIrrJrJrKrscCs|jS)zGet the x_prefix of this ScatterViewProperties. :return: The x_prefix of this ScatterViewProperties. :rtype: str )rArMrJrJrKr szScatterViewProperties.x_prefixcCs|dkrtd||_dS)zSet the x_prefix of this ScatterViewProperties. :param x_prefix: The x_prefix of this ScatterViewProperties. :type: str Nz0Invalid value for `x_prefix`, must not be `None`)rOrA)rIr rJrJrKr scCs|jS)zGet the x_suffix of this ScatterViewProperties. :return: The x_suffix of this ScatterViewProperties. :rtype: str )rBrMrJrJrKr!szScatterViewProperties.x_suffixcCs|dkrtd||_dS)zSet the x_suffix of this ScatterViewProperties. :param x_suffix: The x_suffix of this ScatterViewProperties. :type: str Nz0Invalid value for `x_suffix`, must not be `None`)rOrB)rIr!rJrJrKr!scCs|jS)zGet the y_prefix of this ScatterViewProperties. :return: The y_prefix of this ScatterViewProperties. :rtype: str )rCrMrJrJrKr"szScatterViewProperties.y_prefixcCs|dkrtd||_dS)zSet the y_prefix of this ScatterViewProperties. :param y_prefix: The y_prefix of this ScatterViewProperties. :type: str Nz0Invalid value for `y_prefix`, must not be `None`)rOrC)rIr"rJrJrKr"scCs|jS)zGet the y_suffix of this ScatterViewProperties. :return: The y_suffix of this ScatterViewProperties. :rtype: str )rDrMrJrJrKr#szScatterViewProperties.y_suffixcCs|dkrtd||_dS)zSet the y_suffix of this ScatterViewProperties. :param y_suffix: The y_suffix of this ScatterViewProperties. :type: str Nz0Invalid value for `y_suffix`, must not be `None`)rOrD)rIr#rJrJrKr#scCs|jS)zGet the legend_colorize_rows of this ScatterViewProperties. :return: The legend_colorize_rows of this ScatterViewProperties. :rtype: bool rErMrJrJrKr$sz*ScatterViewProperties.legend_colorize_rowscCs ||_dS)zSet the legend_colorize_rows of this ScatterViewProperties. :param legend_colorize_rows: The legend_colorize_rows of this ScatterViewProperties. :type: bool NrX)rIr$rJrJrKr$scCs|jS)zGet the legend_hide of this ScatterViewProperties. :return: The legend_hide of this ScatterViewProperties. :rtype: bool rFrMrJrJrKr%sz!ScatterViewProperties.legend_hidecCs ||_dS)zSet the legend_hide of this ScatterViewProperties. :param legend_hide: The legend_hide of this ScatterViewProperties. :type: bool NrY)rIr%rJrJrKr%scCs|jS)zGet the legend_opacity of this ScatterViewProperties. :return: The legend_opacity of this ScatterViewProperties. :rtype: float rGrMrJrJrKr&sz$ScatterViewProperties.legend_opacitycCs ||_dS)zSet the legend_opacity of this ScatterViewProperties. :param legend_opacity: The legend_opacity of this ScatterViewProperties. :type: float NrZ)rIr&rJrJrKr&scCs|jS)zGet the legend_orientation_threshold of this ScatterViewProperties. :return: The legend_orientation_threshold of this ScatterViewProperties. :rtype: int rHrMrJrJrKr'sz2ScatterViewProperties.legend_orientation_thresholdcCs ||_dS)zSet the legend_orientation_threshold of this ScatterViewProperties. :param legend_orientation_threshold: The legend_orientation_threshold of this ScatterViewProperties. :type: int Nr[)rIr'rJrJrKr' 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\)xrJrJrK1z/ScatterViewProperties.to_dict..r\cSs&t|ddr"|d|dfS|S)Nr\rr])itemrJrJrKr`8s ) openapi_typesitemsgetattr isinstancelistmapr^r\dict)rIresultattr_valuerJrJrKr\)s"       zScatterViewProperties.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatr\rMrJrJrKto_strAszScatterViewProperties.to_strcCs|S)zFor `print` and `pprint`.)rqrMrJrJrK__repr__EszScatterViewProperties.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rgr__dict__rIotherrJrJrK__eq__Is zScatterViewProperties.__eq__cCs ||k S)z*Return true if both objects are not equal.rJrtrJrJrK__ne__PszScatterViewProperties.__ne__) NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN).__name__ __module__ __qualname____doc__rdZ attribute_mapr(propertyrsetterr r r r r rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r'r\rqrrrvrwrJrJrJrKrs$# U                                                                r)r{roreZ&influxdb_client.domain.view_propertiesrrrJrJrJrKs