U vi+@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 @seZdZdZdddddddddddd Zd d d d dddddddd ZdCddZeddZej ddZeddZ e j ddZ eddZ e j d dZ 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.Zed0d1Zej d2d1Zed3d4Zej d5d4Zed6d7Zej d8d7Zd9d:Zd;d<Zd=d>Zd?d@ZdAdBZdS)DCheckViewPropertieszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. boolstrZCheckzlist[DashboardQuery]zlist[DashboardColor]floatint) adaptive_zoom_hidetypeshapecheck_idcheckqueriescolorslegend_colorize_rows legend_hidelegend_opacitylegend_orientation_thresholdZadaptiveZoomHider r ZcheckIDr r rZlegendColorizeRowsZ legendHideZ legendOpacityZlegendOrientationThresholdNc Cst|d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ |dk r`||_||_||_||_|dk r||_||_||_|dk r||_| dk r| |_| dk r| |_| dk r| |_dS)z1CheckViewProperties - a model defined in OpenAPI.N)r__init___adaptive_zoom_hide_type_shape _check_id_check_queries_colors_legend_colorize_rows _legend_hide_legend_opacity_legend_orientation_thresholdZ discriminatorrr r r r r rrrrr) selfrr r r r r rrrrrr ]/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/check_view_properties.pyr>s< zCheckViewProperties.__init__cCs|jS)zGet the adaptive_zoom_hide of this CheckViewProperties. :return: The adaptive_zoom_hide of this CheckViewProperties. :rtype: bool rrr r r!rasz&CheckViewProperties.adaptive_zoom_hidecCs ||_dS)zSet the adaptive_zoom_hide of this CheckViewProperties. :param adaptive_zoom_hide: The adaptive_zoom_hide of this CheckViewProperties. :type: bool Nr")rrr r r!rjscCs|jS)z~Get the type of this CheckViewProperties. :return: The type of this CheckViewProperties. :rtype: str )rr#r r r!r sszCheckViewProperties.typecCs|dkrtd||_dS)zSet the type of this CheckViewProperties. :param type: The type of this CheckViewProperties. :type: str Nz,Invalid value for `type`, must not be `None`) ValueErrorr)rr r r r!r |scCs|jS)zGet the shape of this CheckViewProperties. :return: The shape of this CheckViewProperties. :rtype: str )rr#r r r!r szCheckViewProperties.shapecCs|dkrtd||_dS)zSet the shape of this CheckViewProperties. :param shape: The shape of this CheckViewProperties. :type: str Nz-Invalid value for `shape`, must not be `None`)r$r)rr r r r!r scCs|jS)zGet the check_id of this CheckViewProperties. :return: The check_id of this CheckViewProperties. :rtype: str )rr#r r r!r szCheckViewProperties.check_idcCs|dkrtd||_dS)zSet the check_id of this CheckViewProperties. :param check_id: The check_id of this CheckViewProperties. :type: str Nz0Invalid value for `check_id`, must not be `None`)r$r)rr r r r!r scCs|jS)zGet the check of this CheckViewProperties. :return: The check of this CheckViewProperties. :rtype: Check rr#r r r!r szCheckViewProperties.checkcCs ||_dS)zSet the check of this CheckViewProperties. :param check: The check of this CheckViewProperties. :type: Check Nr%)rr r r r!r scCs|jS)zGet the queries of this CheckViewProperties. :return: The queries of this CheckViewProperties. :rtype: list[DashboardQuery] )rr#r r r!r szCheckViewProperties.queriescCs|dkrtd||_dS)zSet the queries of this CheckViewProperties. :param queries: The queries of this CheckViewProperties. :type: list[DashboardQuery] Nz/Invalid value for `queries`, must not be `None`)r$r)rr r r r!r scCs|jS)zGet the colors of this CheckViewProperties. Colors define color encoding of data into a visualization :return: The colors of this CheckViewProperties. :rtype: list[DashboardColor] )rr#r r r!rs zCheckViewProperties.colorscCs|dkrtd||_dS)zSet the colors of this CheckViewProperties. Colors define color encoding of data into a visualization :param colors: The colors of this CheckViewProperties. :type: list[DashboardColor] Nz.Invalid value for `colors`, must not be `None`)r$r)rrr r r!rs cCs|jS)zGet the legend_colorize_rows of this CheckViewProperties. :return: The legend_colorize_rows of this CheckViewProperties. :rtype: bool rr#r r r!rsz(CheckViewProperties.legend_colorize_rowscCs ||_dS)zSet the legend_colorize_rows of this CheckViewProperties. :param legend_colorize_rows: The legend_colorize_rows of this CheckViewProperties. :type: bool Nr&)rrr r r!rscCs|jS)zGet the legend_hide of this CheckViewProperties. :return: The legend_hide of this CheckViewProperties. :rtype: bool rr#r r r!rszCheckViewProperties.legend_hidecCs ||_dS)zSet the legend_hide of this CheckViewProperties. :param legend_hide: The legend_hide of this CheckViewProperties. :type: bool Nr')rrr r r!rscCs|jS)zGet the legend_opacity of this CheckViewProperties. :return: The legend_opacity of this CheckViewProperties. :rtype: float rr#r r r!rsz"CheckViewProperties.legend_opacitycCs ||_dS)zSet the legend_opacity of this CheckViewProperties. :param legend_opacity: The legend_opacity of this CheckViewProperties. :type: float Nr()rrr r r!rscCs|jS)zGet the legend_orientation_threshold of this CheckViewProperties. :return: The legend_orientation_threshold of this CheckViewProperties. :rtype: int rr#r r r!r#sz0CheckViewProperties.legend_orientation_thresholdcCs ||_dS)zSet the legend_orientation_threshold of this CheckViewProperties. :param legend_orientation_threshold: The legend_orientation_threshold of this CheckViewProperties. :type: int Nr))rrr r r!r,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*)xr r r!=z-CheckViewProperties.to_dict..r*cSs&t|ddr"|d|dfS|S)Nr*rr+)itemr r r!r.Ds ) openapi_typesitemsgetattr isinstancelistmapr,r*dict)rresultattr_valuer r r!r*5s"       zCheckViewProperties.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatr*r#r r r!to_strMszCheckViewProperties.to_strcCs|S)zFor `print` and `pprint`.)r?r#r r r!__repr__QszCheckViewProperties.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r5r__dict__rotherr r r!__eq__Us zCheckViewProperties.__eq__cCs ||k S)z*Return true if both objects are not equal.r rBr r r!__ne__\szCheckViewProperties.__ne__) NNNNNNNNNNN)__name__ __module__ __qualname____doc__r2Z attribute_maprpropertyrsetterr r r r r rrrrrr*r?r@rDrEr r r r!rs #                      r)rIr=reZ&influxdb_client.domain.view_propertiesrrr r r r!s