U wi ,@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 @szeZdZdZddddddddddd Zd d d d ddddddd Zd?ddZeddZej ddZeddZ e j ddZ eddZ e j ddZ 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-Zed/d0Zej d1d0Zed2d3Zej d4d3Zd5d6Zd7d8Zd9d:Zd;d<Zd=d>ZdS)@TableViewPropertieszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strzlist[DashboardQuery]zlist[DashboardColor]boolZTableViewPropertiesTableOptionszlist[RenamableField]Z DecimalPlaces) typequeriescolorsshapenoteshow_note_when_empty table_options field_options time_formatdecimal_placesrrrr r ZshowNoteWhenEmptyZ tableOptionsZ fieldOptionsZ timeFormatZ decimalPlacesNc Cst|d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ ||_ ||_||_||_||_||_||_||_| |_| |_dS)z1TableViewProperties - a model defined in OpenAPI.N)r__init___type_queries_colors_shape_note_show_note_when_empty_table_options_field_options _time_format_decimal_placesZ discriminatorrrrr r r r r rr) selfrrrr r r r r rrr]/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/table_view_properties.pyr<s, zTableViewProperties.__init__cCs|jS)z~Get the type of this TableViewProperties. :return: The type of this TableViewProperties. :rtype: str )rrrrrrWszTableViewProperties.typecCs|dkrtd||_dS)zSet the type of this TableViewProperties. :param type: The type of this TableViewProperties. :type: str Nz,Invalid value for `type`, must not be `None`) ValueErrorr)rrrrrr`scCs|jS)zGet the queries of this TableViewProperties. :return: The queries of this TableViewProperties. :rtype: list[DashboardQuery] )rrrrrrkszTableViewProperties.queriescCs|dkrtd||_dS)zSet the queries of this TableViewProperties. :param queries: The queries of this TableViewProperties. :type: list[DashboardQuery] Nz/Invalid value for `queries`, must not be `None`)rr)rrrrrrtscCs|jS)zGet the colors of this TableViewProperties. Colors define color encoding of data into a visualization :return: The colors of this TableViewProperties. :rtype: list[DashboardColor] )rrrrrrs zTableViewProperties.colorscCs|dkrtd||_dS)zSet the colors of this TableViewProperties. Colors define color encoding of data into a visualization :param colors: The colors of this TableViewProperties. :type: list[DashboardColor] Nz.Invalid value for `colors`, must not be `None`)rr)rrrrrrs cCs|jS)zGet the shape of this TableViewProperties. :return: The shape of this TableViewProperties. :rtype: str )rrrrrr szTableViewProperties.shapecCs|dkrtd||_dS)zSet the shape of this TableViewProperties. :param shape: The shape of this TableViewProperties. :type: str Nz-Invalid value for `shape`, must not be `None`)rr)rr rrrr scCs|jS)z~Get the note of this TableViewProperties. :return: The note of this TableViewProperties. :rtype: str )rrrrrr szTableViewProperties.notecCs|dkrtd||_dS)zSet the note of this TableViewProperties. :param note: The note of this TableViewProperties. :type: str Nz,Invalid value for `note`, must not be `None`)rr)rr rrrr scCs|jS)zGet the show_note_when_empty of this TableViewProperties. If true, will display note when empty :return: The show_note_when_empty of this TableViewProperties. :rtype: bool )rrrrrr s z(TableViewProperties.show_note_when_emptycCs|dkrtd||_dS)zSet the show_note_when_empty of this TableViewProperties. If true, will display note when empty :param show_note_when_empty: The show_note_when_empty of this TableViewProperties. :type: bool Nz7z-TableViewProperties.to_dict..r cSs&t|ddr"|d|dfS|S)Nr rr!)itemrrrr$>s ) openapi_typesitemsgetattr isinstancelistmapr"r dict)rresultattr_valuerrrr /s"       zTableViewProperties.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatr rrrrto_strGszTableViewProperties.to_strcCs|S)zFor `print` and `pprint`.)r5rrrr__repr__KszTableViewProperties.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r+r__dict__rotherrrr__eq__Os zTableViewProperties.__eq__cCs ||k S)z*Return true if both objects are not equal.rr8rrr__ne__VszTableViewProperties.__ne__) NNNNNNNNNN)__name__ __module__ __qualname____doc__r(Z attribute_maprpropertyrsetterrrr r r r r rrr r5r6r:r;rrrrrs                     r)r?r3reZ&influxdb_client.domain.view_propertiesrrrrrrs