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@s.eZdZdZddddddddddddddd dd Zd d d dddddddddddddd ZdXddZeddZej d dZed!d"Z e j d#d"Z ed$d%Z e j d&d%Z ed'd(Z e j d)d(Z ed*d+Z e j d,d+Z ed-d.Zej d/d.Zed0d1Zej d2d1Zed3d4Zej d5d4Zed6d7Zej d8d7Zed9d:Zej d;d:Zedd=Zed?d@Zej dAd@ZedBdCZej dDdCZedEdFZej dGdFZedHdIZej dJdIZedKdLZej dMdLZdNdOZdPdQZdRdSZdTdUZdVdWZdS)YHistogramViewPropertieszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strzlist[DashboardQuery]zlist[DashboardColor]boolz list[str]z list[float]intfloat)typequeriescolorsshapenoteshow_note_when_emptyx_column fill_columnsx_domain x_axis_labelposition bin_countlegend_colorize_rows legend_hidelegend_opacitylegend_orientation_thresholdrr r r r ZshowNoteWhenEmptyZxColumnZ fillColumnsZxDomainZ xAxisLabelrZbinCountZlegendColorizeRowsZ legendHideZ legendOpacityZlegendOrientationThresholdNcCst|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||_"dS)z5HistogramViewProperties - a model defined in OpenAPI.N)#r__init___type_queries_colors_shape_note_show_note_when_empty _x_column _fill_columns _x_domain _x_axis_label _position _bin_count_legend_colorize_rows _legend_hide_legend_opacity_legend_orientation_thresholdZ discriminatorrr r r r r rrrrrrrrrr)selfrr r r r r rrrrrrrrrrr*a/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/histogram_view_properties.pyrHsL z HistogramViewProperties.__init__cCs|jS)zGet the type of this HistogramViewProperties. :return: The type of this HistogramViewProperties. :rtype: str )rr)r*r*r+rsszHistogramViewProperties.typecCs|dkrtd||_dS)zSet the type of this HistogramViewProperties. :param type: The type of this HistogramViewProperties. :type: str Nz,Invalid value for `type`, must not be `None`) ValueErrorr)r)rr*r*r+r|scCs|jS)zGet the queries of this HistogramViewProperties. :return: The queries of this HistogramViewProperties. :rtype: list[DashboardQuery] )rr,r*r*r+r szHistogramViewProperties.queriescCs|dkrtd||_dS)zSet the queries of this HistogramViewProperties. :param queries: The queries of this HistogramViewProperties. :type: list[DashboardQuery] Nz/Invalid value for `queries`, must not be `None`)r-r)r)r r*r*r+r scCs|jS)zGet the colors of this HistogramViewProperties. Colors define color encoding of data into a visualization :return: The colors of this HistogramViewProperties. :rtype: list[DashboardColor] )rr,r*r*r+r s zHistogramViewProperties.colorscCs|dkrtd||_dS)zSet the colors of this HistogramViewProperties. Colors define color encoding of data into a visualization :param colors: The colors of this HistogramViewProperties. :type: list[DashboardColor] Nz.Invalid value for `colors`, must not be `None`)r-r)r)r r*r*r+r s cCs|jS)zGet the shape of this HistogramViewProperties. :return: The shape of this HistogramViewProperties. :rtype: str )rr,r*r*r+r szHistogramViewProperties.shapecCs|dkrtd||_dS)zSet the shape of this HistogramViewProperties. :param shape: The shape of this HistogramViewProperties. :type: str Nz-Invalid value for `shape`, must not be `None`)r-r)r)r r*r*r+r scCs|jS)zGet the note of this HistogramViewProperties. :return: The note of this HistogramViewProperties. :rtype: str )rr,r*r*r+r szHistogramViewProperties.notecCs|dkrtd||_dS)zSet the note of this HistogramViewProperties. :param note: The note of this HistogramViewProperties. :type: str Nz,Invalid value for `note`, must not be `None`)r-r)r)r r*r*r+r scCs|jS)zGet the show_note_when_empty of this HistogramViewProperties. If true, will display note when empty :return: The show_note_when_empty of this HistogramViewProperties. :rtype: bool )rr,r*r*r+r s z,HistogramViewProperties.show_note_when_emptycCs|dkrtd||_dS)zSet the show_note_when_empty of this HistogramViewProperties. If true, will display note when empty :param show_note_when_empty: The show_note_when_empty of this HistogramViewProperties. :type: bool Nzz1HistogramViewProperties.to_dict..r2cSs&t|ddr"|d|dfS|S)Nr2rr3)itemr*r*r+r6s ) openapi_typesitemsgetattr isinstancelistmapr4r2dict)r)resultattr_valuer*r*r+r2s"       zHistogramViewProperties.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatr2r,r*r*r+to_strszHistogramViewProperties.to_strcCs|S)zFor `print` and `pprint`.)rGr,r*r*r+__repr__sz HistogramViewProperties.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r=r__dict__r)otherr*r*r+__eq__s zHistogramViewProperties.__eq__cCs ||k S)z*Return true if both objects are not equal.r*rJr*r*r+__ne__szHistogramViewProperties.__ne__)NNNNNNNNNNNNNNNN)__name__ __module__ __qualname____doc__r:Z attribute_maprpropertyrsetterr r r r r rrrrrrrrrrr2rGrHrLrMr*r*r*r+rs +                                r)rQrEreZ&influxdb_client.domain.view_propertiesrrr*r*r*r+s