U wib@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 d dd d d d dddd ddd d d Zddddddddddddddddddd 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%ddZ&ddZ'ddZ(ddZ)ddZ*d+S)XYViewPropertieszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. boolstrzlist[DashboardQuery]zlist[DashboardColor]zdict(str, str)ZAxesZ StaticLegendz list[str]intfloatZXYGeom)adaptive_zoom_hide time_formattypequeriescolors color_mappingshapenoteshow_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_dimensionpositiongeomlegend_colorize_rows legend_hidelegend_opacitylegend_orientation_thresholdZadaptiveZoomHideZ timeFormatr r r Z colorMappingrrZshowNoteWhenEmptyrZ staticLegendZxColumnZgenerateXAxisTicksZ xTotalTicksZ xTickStartZ xTickStepZyColumnZgenerateYAxisTicksZ yTotalTicksZ yTickStartZ yTickStepZ shadeBelowZhoverDimensionrr ZlegendColorizeRowsZ legendHideZ legendOpacityZlegendOrientationThresholdNcCs2t|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 r2| |_+| dk rB| |_,|dk rR||_-|dk rb||_.|dk rr||_/|dk r||_0|dk r||_1|dk r||_2|dk r||_3|dk r||_4|dk r||_5|dk r||_6||_7||_8|dk r||_9|dk r||_:|dk r||_;|dk r.||_rGrDrDrEr szXYViewProperties.geomcCs|dkrtd||_dS)z~Set the geom of this XYViewProperties. :param geom: The geom of this XYViewProperties. :type: XYGeom Nz,Invalid value for `geom`, must not be `None`)rIr>)rCr rDrDrEr scCs|jS)zGet the legend_colorize_rows of this XYViewProperties. :return: The legend_colorize_rows of this XYViewProperties. :rtype: bool r?rGrDrDrEr!sz%XYViewProperties.legend_colorize_rowscCs ||_dS)zSet the legend_colorize_rows of this XYViewProperties. :param legend_colorize_rows: The legend_colorize_rows of this XYViewProperties. :type: bool NrX)rCr!rDrDrEr!scCs|jS)zGet the legend_hide of this XYViewProperties. :return: The legend_hide of this XYViewProperties. :rtype: bool r@rGrDrDrEr"szXYViewProperties.legend_hidecCs ||_dS)zSet the legend_hide of this XYViewProperties. :param legend_hide: The legend_hide of this XYViewProperties. :type: bool NrY)rCr"rDrDrEr"scCs|jS)zGet the legend_opacity of this XYViewProperties. :return: The legend_opacity of this XYViewProperties. :rtype: float rArGrDrDrEr#szXYViewProperties.legend_opacitycCs ||_dS)zSet the legend_opacity of this XYViewProperties. :param legend_opacity: The legend_opacity of this XYViewProperties. :type: float NrZ)rCr#rDrDrEr#scCs|jS)zGet the legend_orientation_threshold of this XYViewProperties. :return: The legend_orientation_threshold of this XYViewProperties. :rtype: int rBrGrDrDrEr$sz-XYViewProperties.legend_orientation_thresholdcCs ||_dS)zSet the legend_orientation_threshold of this XYViewProperties. :param legend_orientation_threshold: The legend_orientation_threshold of this XYViewProperties. :type: int Nr[)rCr$rDrDrEr$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\)xrDrDrEz*XYViewProperties.to_dict..r\cSs&t|ddr"|d|dfS|S)Nr\rr])itemrDrDrEr`s ) openapi_typesitemsgetattr isinstancelistmapr^r\dict)rCresultattr_valuerDrDrEr\s"       zXYViewProperties.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatr\rGrDrDrEto_strszXYViewProperties.to_strcCs|S)zFor `print` and `pprint`.)rqrGrDrDrE__repr__szXYViewProperties.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rgr__dict__rCotherrDrDrE__eq__s zXYViewProperties.__eq__cCs ||k S)z*Return true if both objects are not equal.rDrtrDrDrE__ne__szXYViewProperties.__ne__)NNNNNNNNNNNNNNNNNNNNNNNNNNNNN)+__name__ __module__ __qualname____doc__rdZ attribute_mapr%propertyrsetterr r r r r rrrrrrrrrrrrrrrrrrr r!r"r#r$r\rqrrrvrwrDrDrDrErsn! U                                                          r)r{roreZ&influxdb_client.domain.view_propertiesrrrDrDrDrEs