U wi @ s( d Z ddlZddlZG dd deZdS )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 Nc @ s e Zd ZdZddddZddddZdd d Zedd Zej d d Zedd Z e j dd Z edd Zej dd Zdd Zdd Z dd Zdd Zdd ZdS )PatchDashboardRequestzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strZCellWithViewProperties)namedescriptioncellsr r r Nc C sF d| _ d| _d| _d| _|dk r&|| _|dk r4|| _|dk rB|| _dS )z3PatchDashboardRequest - a model defined in OpenAPI.N)_name_description_cellsZ discriminatorr r r )selfr r r r _/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/patch_dashboard_request.py__init__, s zPatchDashboardRequest.__init__c C s | j S )zGet the name of this PatchDashboardRequest. optional, when provided will replace the name :return: The name of this PatchDashboardRequest. :rtype: str r r r r r r : s zPatchDashboardRequest.namec C s || _ dS )zSet the name of this PatchDashboardRequest. optional, when provided will replace the name :param name: The name of this PatchDashboardRequest. :type: str Nr )r r r r r r E s c C s | j S )zGet the description of this PatchDashboardRequest. optional, when provided will replace the description :return: The description of this PatchDashboardRequest. :rtype: str r r r r r r P s z!PatchDashboardRequest.descriptionc C s || _ dS )zSet the description of this PatchDashboardRequest. optional, when provided will replace the description :param description: The description of this PatchDashboardRequest. :type: str Nr )r r r r r r [ s c C s | j S )zGet the cells of this PatchDashboardRequest. :return: The cells of this PatchDashboardRequest. :rtype: CellWithViewProperties r r r r r r f s zPatchDashboardRequest.cellsc C s || _ dS )zSet the cells of this PatchDashboardRequest. :param cells: The cells of this PatchDashboardRequest. :type: CellWithViewProperties Nr )r r r r r r o s c C s i }| j D ]z\}}t| |}t|trBttdd |||<