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), DashboardzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. objectstrz list[Cell]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)z'Dashboard - a model defined in OpenAPI.)r r r N) r__init___links_id_meta_cells_labelsZ discriminatorrrrr r ) selfrrrr r r r r rQ/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/dashboard.pyr8s"zDashboard.__init__cCs|jS)zoGet the links of this Dashboard. :return: The links of this Dashboard. :rtype: object rrrrrrNszDashboard.linkscCs ||_dS)zsSet the links of this Dashboard. :param links: The links of this Dashboard. :type: object Nr)rrrrrrWscCs|jS)zfGet the id of this Dashboard. :return: The id of this Dashboard. :rtype: str rrrrrr`sz Dashboard.idcCs ||_dS)zgSet the id of this Dashboard. :param id: The id of this Dashboard. :type: str Nr)rrrrrriscCs|jS)zmGet the meta of this Dashboard. :return: The meta of this Dashboard. :rtype: object rrrrrrrszDashboard.metacCs ||_dS)zpSet the meta of this Dashboard. :param meta: The meta of this Dashboard. :type: object Nr)rrrrrr{scCs|jS)zsGet the cells of this Dashboard. :return: The cells of this Dashboard. :rtype: list[Cell] rrrrrr szDashboard.cellscCs ||_dS)zwSet the cells of this Dashboard. :param cells: The cells of this Dashboard. :type: list[Cell] Nr)rr rrrr scCs|jS)zvGet the labels of this Dashboard. :return: The labels of this Dashboard. :rtype: list[Label] rrrrrr szDashboard.labelscCs ||_dS)z{Set the labels of this Dashboard. :param labels: The labels of this Dashboard. :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)xrrrz#Dashboard.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemrrrr!s ) openapi_typesitemsgetattr isinstancelistmaprrdict)rresultattr_valuerrrrs"       zDashboard.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrrrrto_strszDashboard.to_strcCs|S)zFor `print` and `pprint`.)r2rrrr__repr__szDashboard.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r(r__dict__rotherrrr__eq__s zDashboard.__eq__cCs ||k S)z*Return true if both objects are not equal.rr5rrr__ne__szDashboard.__ne__)NNNNNNNN)__name__ __module__ __qualname____doc__r%Z attribute_maprpropertyrsetterrrr r rr2r3r7r8rrrrrsZ            r)r<r0reZ/influxdb_client.domain.create_dashboard_requestrrrrrrs