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)CreateDashboardRequestc @seZdZdZdddddddddZddd d d d d ddZd+ddZeddZej ddZeddZ e j ddZ eddZ e j ddZ eddZ e j ddZ eddZ e j d dZ d!d"Zd#d$Zd%d&Zd'd(Zd)d*ZdS),DashboardWithViewPropertieszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. objectstrzlist[CellWithViewProperties]z list[Label])linksidmetacellslabelsorg_idname descriptionrrrr r ZorgIDr r Nc Cstj||||dd|_d|_d|_d|_d|_d|_|dk rD||_|dk rR||_ |dk r`||_ |dk rn||_ |dk r|||_ dS)z9DashboardWithViewProperties - a model defined in OpenAPI.)r r r N) r__init___links_id_meta_cells_labelsZ discriminatorrrrr r ) selfrrrr r r r r rf/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/dashboard_with_view_properties.pyr8s"z$DashboardWithViewProperties.__init__cCs|jS)zGet the links of this DashboardWithViewProperties. :return: The links of this DashboardWithViewProperties. :rtype: object rrrrrrNsz!DashboardWithViewProperties.linkscCs ||_dS)zSet the links of this DashboardWithViewProperties. :param links: The links of this DashboardWithViewProperties. :type: object Nr)rrrrrrWscCs|jS)zGet the id of this DashboardWithViewProperties. :return: The id of this DashboardWithViewProperties. :rtype: str rrrrrr`szDashboardWithViewProperties.idcCs ||_dS)zSet the id of this DashboardWithViewProperties. :param id: The id of this DashboardWithViewProperties. :type: str Nr)rrrrrriscCs|jS)zGet the meta of this DashboardWithViewProperties. :return: The meta of this DashboardWithViewProperties. :rtype: object rrrrrrrsz DashboardWithViewProperties.metacCs ||_dS)zSet the meta of this DashboardWithViewProperties. :param meta: The meta of this DashboardWithViewProperties. :type: object Nr)rrrrrr{scCs|jS)zGet the cells of this DashboardWithViewProperties. :return: The cells of this DashboardWithViewProperties. :rtype: list[CellWithViewProperties] rrrrrr sz!DashboardWithViewProperties.cellscCs ||_dS)zSet the cells of this DashboardWithViewProperties. :param cells: The cells of this DashboardWithViewProperties. :type: list[CellWithViewProperties] Nr)rr rrrr scCs|jS)zGet the labels of this DashboardWithViewProperties. :return: The labels of this DashboardWithViewProperties. :rtype: list[Label] rrrrrr sz"DashboardWithViewProperties.labelscCs ||_dS)zSet the labels of this DashboardWithViewProperties. :param labels: The labels of this DashboardWithViewProperties. :type: list[Label] Nr)rr rrrr 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)xrrrz5DashboardWithViewProperties.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemrrrr!s ) openapi_typesitemsgetattr isinstancelistmaprrdict)rresultattr_valuerrrrs"       z#DashboardWithViewProperties.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrrrrto_strsz"DashboardWithViewProperties.to_strcCs|S)zFor `print` and `pprint`.)r2rrrr__repr__sz$DashboardWithViewProperties.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r(r__dict__rotherrrr__eq__s z"DashboardWithViewProperties.__eq__cCs ||k S)z*Return true if both objects are not equal.rr5rrr__ne__sz"DashboardWithViewProperties.__ne__)NNNNNNNN)__name__ __module__ __qualname____doc__r%Z attribute_maprpropertyrsetterrrr r rr2r3r7r8rrrrrsZ            r)r<r0reZ/influxdb_client.domain.create_dashboard_requestrrrrrrs