U wi@s8dZddlmZddlZddlmZGdddeZdS)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 )absolute_importN) _BaseServicecseZdZdZdfdd ZddZddZd d Zd d Zd dZ ddZ ddZ ddZ ddZ ddZddZddZddZdd Zd!d"Zd#d$Zd%d&Zd'd(Zd)d*Zd+d,Zd-d.Zd/d0Zd1d2Zd3d4Zd5d6Zd7d8Zd9d:Zd;d<Z d=d>Z!d?d@Z"dAdBZ#dCdDZ$dEdFZ%dGdHZ&dIdJZ'dKdLZ(dMdNZ)dOdPZ*dQdRZ+dSdTZ,dUdVZ-dWdXZ.dYdZZ/d[d\Z0d]d^Z1d_d`Z2dadbZ3dcddZ4dedfZ5dgdhZ6didjZ7dkdlZ8dmdnZ9dodpZ:dqdrZ;dsdtZdydzZ?d{d|Z@d}d~ZAddZBddZCddZDddZEddZFddZGddZHddZIddZJddZKddZLddZMddZNddZOddZPddZQddZRddZSddZTZUS)DashboardsServicezNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. Ncst|dS)z3DashboardsService - a operation defined in OpenAPI.N)super__init__)self api_client __class__[/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/service/dashboards_service.pyrszDashboardsService.__init__cKs6d|d<|dr |j|f|S|j|f|}|SdS)a;Delete a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_dashboards_id(dashboard_id, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The ID of the dashboard to update. (required) :param str zap_trace_span: OpenTracing span context :return: None If the method is called asynchronously, returns the request thread. T_return_http_data_only async_reqN)get#delete_dashboards_id_with_http_infor dashboard_idkwargsdatar r r delete_dashboards_id s  z&DashboardsService.delete_dashboards_idcKsf|j|f|\}}}}}|jjdd||||gidg|d|d|dd|di|d dd S) aJDelete a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_dashboards_id_with_http_info(dashboard_id, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The ID of the dashboard to update. (required) :param str zap_trace_span: OpenTracing span context :return: None If the method is called asynchronously, returns the request thread. /api/v2/dashboards/{dashboardID}DELETENrr _preload_contentT_request_timeout urlopen_kw bodyZ post_paramsfilesZ response_typeZ auth_settingsrr rrZcollection_formatsr_delete_dashboards_id_preparercall_apirrrrlocal_var_params path_params query_params header_params body_paramsr r r r6s(   z5DashboardsService.delete_dashboards_id_with_http_infocsl|j|f|\}}}}}|jjdd||||gidg|d|d|dd|di|d dd IdHS) a{Delete a dashboard. This method makes an asynchronous HTTP request. :param async_req bool :param str dashboard_id: The ID of the dashboard to update. (required) :param str zap_trace_span: OpenTracing span context :return: None If the method is called asynchronously, returns the request thread. rrNrr rTrrrrr!r r r delete_dashboards_id_asyncYs(   z,DashboardsService.delete_dashboards_id_asyncc Kst}ddg}|d||d|ks0|ddkr8tdi}d|krP|d|d<g}i}d|krl|d|d<d}|jdg|d<|||||fS) Nrzap_trace_spanrzQMissing the required parameter `dashboard_id` when calling `delete_dashboards_id` dashboardIDZap-Trace-Spanapplication/jsonAcceptlocals_check_operation_params ValueErrorrselect_header_accept rrrr" all_paramsr#r$r%r&r r r rys&   z/DashboardsService._delete_dashboards_id_preparecKs:d|d<|dr"|j||f|S|j||f|}|SdS)aDelete a dashboard cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_dashboards_id_cells_id(dashboard_id, cell_id, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The ID of the dashboard to delete. (required) :param str cell_id: The ID of the cell to delete. (required) :param str zap_trace_span: OpenTracing span context :return: None If the method is called asynchronously, returns the request thread. Tr rN)r,delete_dashboards_id_cells_id_with_http_inforrcell_idrrr r r delete_dashboards_id_cells_ids  z/DashboardsService.delete_dashboards_id_cells_idc Ksh|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d dd S) aDelete a dashboard cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_dashboards_id_cells_id_with_http_info(dashboard_id, cell_id, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The ID of the dashboard to delete. (required) :param str cell_id: The ID of the cell to delete. (required) :param str zap_trace_span: OpenTracing span context :return: None If the method is called asynchronously, returns the request thread. //api/v2/dashboards/{dashboardID}/cells/{cellID}rNrr rTrrr&_delete_dashboards_id_cells_id_preparerr r rrr6rr"r#r$r%r&r r r r4s(   z>DashboardsService.delete_dashboards_id_cells_id_with_http_infoc sn|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d dd IdHS) aDelete a dashboard cell. This method makes an asynchronous HTTP request. :param async_req bool :param str dashboard_id: The ID of the dashboard to delete. (required) :param str cell_id: The ID of the cell to delete. (required) :param str zap_trace_span: OpenTracing span context :return: None If the method is called asynchronously, returns the request thread. r8rNrr rTrrrr9r;r r r #delete_dashboards_id_cells_id_asyncs(   z5DashboardsService.delete_dashboards_id_cells_id_asyncc Kst}dddg}|d||d|ks2|ddkr:tdd|ksN|ddkrVtdi}d|krn|d|d<d|kr|d|d<g}i}d|kr|d|d <d} |jd g|d <||||| fS) Nrr6r(r7zZMissing the required parameter `dashboard_id` when calling `delete_dashboards_id_cells_id`zUMissing the required parameter `cell_id` when calling `delete_dashboards_id_cells_id`r)cellIDr*r+r,r- rrr6rr"r3r#r$r%r&r r r r:s2      z8DashboardsService._delete_dashboards_id_cells_id_preparecKs:d|d<|dr"|j||f|S|j||f|}|SdS)aDelete a label from a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_dashboards_id_labels_id(dashboard_id, label_id, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The dashboard ID. (required) :param str label_id: The ID of the label to delete. (required) :param str zap_trace_span: OpenTracing span context :return: None If the method is called asynchronously, returns the request thread. Tr rN)r-delete_dashboards_id_labels_id_with_http_info)rrlabel_idrrr r r delete_dashboards_id_labels_ids  z0DashboardsService.delete_dashboards_id_labels_idc Ksh|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d dd S) aDelete a label from a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_dashboards_id_labels_id_with_http_info(dashboard_id, label_id, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The dashboard ID. (required) :param str label_id: The ID of the label to delete. (required) :param str zap_trace_span: OpenTracing span context :return: None If the method is called asynchronously, returns the request thread. 1/api/v2/dashboards/{dashboardID}/labels/{labelID}rNrr rTrrr'_delete_dashboards_id_labels_id_preparerr r rrr@rr"r#r$r%r&r r r r?(s(   z?DashboardsService.delete_dashboards_id_labels_id_with_http_infoc sn|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d dd IdHS) aDelete a label from a dashboard. This method makes an asynchronous HTTP request. :param async_req bool :param str dashboard_id: The dashboard ID. (required) :param str label_id: The ID of the label to delete. (required) :param str zap_trace_span: OpenTracing span context :return: None If the method is called asynchronously, returns the request thread. rBrNrr rTrrrrCrEr r r $delete_dashboards_id_labels_id_asyncLs(   z6DashboardsService.delete_dashboards_id_labels_id_asyncc Kst}dddg}|d||d|ks2|ddkr:tdd|ksN|ddkrVtdi}d|krn|d|d<d|kr|d|d<g}i}d|kr|d|d <d} |jd g|d <||||| fS) Nrr@r(rAz[Missing the required parameter `dashboard_id` when calling `delete_dashboards_id_labels_id`zWMissing the required parameter `label_id` when calling `delete_dashboards_id_labels_id`r)ZlabelIDr*r+r,r-) rrr@rr"r3r#r$r%r&r r r rDms2      z9DashboardsService._delete_dashboards_id_labels_id_preparecKs:d|d<|dr"|j||f|S|j||f|}|SdS)aRemove a member from a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_dashboards_id_members_id(user_id, dashboard_id, async_req=True) >>> result = thread.get() :param async_req bool :param str user_id: The ID of the member to remove. (required) :param str dashboard_id: The dashboard ID. (required) :param str zap_trace_span: OpenTracing span context :return: None If the method is called asynchronously, returns the request thread. Tr rN)r.delete_dashboards_id_members_id_with_http_inforuser_idrrrr r r delete_dashboards_id_members_ids  z1DashboardsService.delete_dashboards_id_members_idc Ksh|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d dd S) aRemove a member from a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_dashboards_id_members_id_with_http_info(user_id, dashboard_id, async_req=True) >>> result = thread.get() :param async_req bool :param str user_id: The ID of the member to remove. (required) :param str dashboard_id: The dashboard ID. (required) :param str zap_trace_span: OpenTracing span context :return: None If the method is called asynchronously, returns the request thread. 1/api/v2/dashboards/{dashboardID}/members/{userID}rNrr rTrrr(_delete_dashboards_id_members_id_preparerr r rrIrrr"r#r$r%r&r r r rGs(   z@DashboardsService.delete_dashboards_id_members_id_with_http_infoc sn|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d dd IdHS) aRemove a member from a dashboard. This method makes an asynchronous HTTP request. :param async_req bool :param str user_id: The ID of the member to remove. (required) :param str dashboard_id: The dashboard ID. (required) :param str zap_trace_span: OpenTracing span context :return: None If the method is called asynchronously, returns the request thread. rKrNrr rTrrrrLrNr r r %delete_dashboards_id_members_id_asyncs(   z7DashboardsService.delete_dashboards_id_members_id_asyncc Kst}dddg}|d||d|ks2|ddkr:tdd|ksN|ddkrVtdi}d|krn|d|d<d|kr|d|d<g}i}d|kr|d|d <d} |jd g|d <||||| fS) NrIrr(rJzWMissing the required parameter `user_id` when calling `delete_dashboards_id_members_id`z\Missing the required parameter `dashboard_id` when calling `delete_dashboards_id_members_id`userIDr)r*r+r,r- rrIrrr"r3r#r$r%r&r r r rMs2      z:DashboardsService._delete_dashboards_id_members_id_preparecKs:d|d<|dr"|j||f|S|j||f|}|SdS)aRemove an owner from a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_dashboards_id_owners_id(user_id, dashboard_id, async_req=True) >>> result = thread.get() :param async_req bool :param str user_id: The ID of the owner to remove. (required) :param str dashboard_id: The dashboard ID. (required) :param str zap_trace_span: OpenTracing span context :return: None If the method is called asynchronously, returns the request thread. Tr rN)r-delete_dashboards_id_owners_id_with_http_inforHr r r delete_dashboards_id_owners_id s  z0DashboardsService.delete_dashboards_id_owners_idc Ksh|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d dd S) aRemove an owner from a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_dashboards_id_owners_id_with_http_info(user_id, dashboard_id, async_req=True) >>> result = thread.get() :param async_req bool :param str user_id: The ID of the owner to remove. (required) :param str dashboard_id: The dashboard ID. (required) :param str zap_trace_span: OpenTracing span context :return: None If the method is called asynchronously, returns the request thread. 0/api/v2/dashboards/{dashboardID}/owners/{userID}rNrr rTrrr'_delete_dashboards_id_owners_id_preparerr rrNr r r rR"s(   z?DashboardsService.delete_dashboards_id_owners_id_with_http_infoc sn|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d dd IdHS) aRemove an owner from a dashboard. This method makes an asynchronous HTTP request. :param async_req bool :param str user_id: The ID of the owner to remove. (required) :param str dashboard_id: The dashboard ID. (required) :param str zap_trace_span: OpenTracing span context :return: None If the method is called asynchronously, returns the request thread. rTrNrr rTrrrrUrNr r r $delete_dashboards_id_owners_id_asyncFs(   z6DashboardsService.delete_dashboards_id_owners_id_asyncc Kst}dddg}|d||d|ks2|ddkr:tdd|ksN|ddkrVtdi}d|krn|d|d<d|kr|d|d<g}i}d|kr|d|d <d} |jd g|d <||||| fS) NrIrr(rSzVMissing the required parameter `user_id` when calling `delete_dashboards_id_owners_id`z[Missing the required parameter `dashboard_id` when calling `delete_dashboards_id_owners_id`rPr)r*r+r,r-rQr r r rVgs2      z9DashboardsService._delete_dashboards_id_owners_id_preparecKs2d|d<|dr|jf|S|jf|}|SdS)aList dashboards. Lists [dashboards](https://docs.influxdata.com/influxdb/latest/reference/glossary/#dashboard). #### Related guides - [Manage dashboards](https://docs.influxdata.com/influxdb/latest/visualize-data/dashboards/). This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_dashboards(async_req=True) >>> result = thread.get() :param async_req bool :param str zap_trace_span: OpenTracing span context :param int offset: The offset for pagination. The number of records to skip. For more information about pagination parameters, see [Pagination](https://docs.influxdata.com/influxdb/latest/api/#tag/Pagination). :param int limit: Limits the number of records returned. Default is `20`. :param bool descending: :param str owner: A user ID. Only returns [dashboards](https://docs.influxdata.com/influxdb/latest/reference/glossary/#dashboard) where the specified user has the `owner` role. :param str sort_by: The column to sort by. :param list[str] id: A list of dashboard IDs. Returns only the specified [dashboards](https://docs.influxdata.com/influxdb/latest/reference/glossary/#dashboard). If you specify `id` and `owner`, only `id` is used. :param str org_id: An organization ID. Only returns [dashboards](https://docs.influxdata.com/influxdb/latest/reference/glossary/#dashboard) that belong to the specified [organization](https://docs.influxdata.com/influxdb/latest/reference/glossary/#organization). :param str org: An organization name. Only returns [dashboards](https://docs.influxdata.com/influxdb/latest/reference/glossary/#dashboard) that belong to the specified [organization](https://docs.influxdata.com/influxdb/latest/reference/glossary/#organization). :return: Dashboards If the method is called asynchronously, returns the request thread. Tr rN)rget_dashboards_with_http_info)rrrr r r get_dashboardss    z DashboardsService.get_dashboardscKsd|jf|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d S) aList dashboards. Lists [dashboards](https://docs.influxdata.com/influxdb/latest/reference/glossary/#dashboard). #### Related guides - [Manage dashboards](https://docs.influxdata.com/influxdb/latest/visualize-data/dashboards/). This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_dashboards_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool :param str zap_trace_span: OpenTracing span context :param int offset: The offset for pagination. The number of records to skip. For more information about pagination parameters, see [Pagination](https://docs.influxdata.com/influxdb/latest/api/#tag/Pagination). :param int limit: Limits the number of records returned. Default is `20`. :param bool descending: :param str owner: A user ID. Only returns [dashboards](https://docs.influxdata.com/influxdb/latest/reference/glossary/#dashboard) where the specified user has the `owner` role. :param str sort_by: The column to sort by. :param list[str] id: A list of dashboard IDs. Returns only the specified [dashboards](https://docs.influxdata.com/influxdb/latest/reference/glossary/#dashboard). If you specify `id` and `owner`, only `id` is used. :param str org_id: An organization ID. Only returns [dashboards](https://docs.influxdata.com/influxdb/latest/reference/glossary/#dashboard) that belong to the specified [organization](https://docs.influxdata.com/influxdb/latest/reference/glossary/#organization). :param str org: An organization name. Only returns [dashboards](https://docs.influxdata.com/influxdb/latest/reference/glossary/#dashboard) that belong to the specified [organization](https://docs.influxdata.com/influxdb/latest/reference/glossary/#organization). :return: Dashboards If the method is called asynchronously, returns the request thread. /api/v2/dashboardsGET Dashboardsrr rTrrNr_get_dashboards_preparerr rrrr"r#r$r%r&r r r rXs(   z/DashboardsService.get_dashboards_with_http_infocsj|jf|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d Id HS) a?List dashboards. Lists [dashboards](https://docs.influxdata.com/influxdb/latest/reference/glossary/#dashboard). #### Related guides - [Manage dashboards](https://docs.influxdata.com/influxdb/latest/visualize-data/dashboards/). This method makes an asynchronous HTTP request. :param async_req bool :param str zap_trace_span: OpenTracing span context :param int offset: The offset for pagination. The number of records to skip. For more information about pagination parameters, see [Pagination](https://docs.influxdata.com/influxdb/latest/api/#tag/Pagination). :param int limit: Limits the number of records returned. Default is `20`. :param bool descending: :param str owner: A user ID. Only returns [dashboards](https://docs.influxdata.com/influxdb/latest/reference/glossary/#dashboard) where the specified user has the `owner` role. :param str sort_by: The column to sort by. :param list[str] id: A list of dashboard IDs. Returns only the specified [dashboards](https://docs.influxdata.com/influxdb/latest/reference/glossary/#dashboard). If you specify `id` and `owner`, only `id` is used. :param str org_id: An organization ID. Only returns [dashboards](https://docs.influxdata.com/influxdb/latest/reference/glossary/#dashboard) that belong to the specified [organization](https://docs.influxdata.com/influxdb/latest/reference/glossary/#organization). :param str org: An organization name. Only returns [dashboards](https://docs.influxdata.com/influxdb/latest/reference/glossary/#dashboard) that belong to the specified [organization](https://docs.influxdata.com/influxdb/latest/reference/glossary/#organization). :return: Dashboards If the method is called asynchronously, returns the request thread. rZr[r\rr rTrrNrr]r_r r r get_dashboards_asyncs(   z&DashboardsService.get_dashboards_asyncc Kst}ddddddddd g }|d ||d|krF|dd krFtd d|krb|dd krbtdd|kr~|ddkr~tdi}g}d|kr|d|dfd|kr|d|dfd|kr|d|dfd|kr|d|dfd|kr |d|dfd|kr&|d|dfd|krB|d|dfd |kr^|d |d fi}d|krx|d|d<d}|jdg|d<|||||fS)Nr(offsetlimitZ descendingownerZsort_byidZorg_idorgrYrzpInvalid value for parameter `offset` when calling `get_dashboards`, must be a value greater than or equal to `0`dznInvalid value for parameter `limit` when calling `get_dashboards`, must be a value less than or equal to `100`zoInvalid value for parameter `limit` when calling `get_dashboards`, must be a value greater than or equal to `1`ZsortByZorgIDr*r+r,r.r/r0appendrr1)rrr"r3r#r$r%r&r r r r^sF      z)DashboardsService._get_dashboards_preparecKs6d|d<|dr |j|f|S|j|f|}|SdS)aRetrieve a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_dashboards_id(dashboard_id, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The ID of the dashboard to update. (required) :param str zap_trace_span: OpenTracing span context :param str include: If `properties`, includes the cell view properties in the response. :return: DashboardWithViewProperties If the method is called asynchronously, returns the request thread. Tr rN)r get_dashboards_id_with_http_inforr r r get_dashboards_id$s  z#DashboardsService.get_dashboards_idcKsf|j|f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d S) aRetrieve a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_dashboards_id_with_http_info(dashboard_id, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The ID of the dashboard to update. (required) :param str zap_trace_span: OpenTracing span context :param str include: If `properties`, includes the cell view properties in the response. :return: DashboardWithViewProperties If the method is called asynchronously, returns the request thread. rr[DashboardWithViewPropertiesrr rTrrNr_get_dashboards_id_preparerr rr!r r r rj;s(   z2DashboardsService.get_dashboards_id_with_http_infocsl|j|f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d Id HS) aRetrieve a dashboard. This method makes an asynchronous HTTP request. :param async_req bool :param str dashboard_id: The ID of the dashboard to update. (required) :param str zap_trace_span: OpenTracing span context :param str include: If `properties`, includes the cell view properties in the response. :return: DashboardWithViewProperties If the method is called asynchronously, returns the request thread. rr[rlrr rTrrNrrmr!r r r get_dashboards_id_async_s(   z)DashboardsService.get_dashboards_id_asyncc Kst}dddg}|d||d|ks2|ddkr:tdi}d|krR|d|d<g}d|krp|d|dfi}d|kr|d|d<d}|jdg|d <|||||fS) Nrr(includerkzNMissing the required parameter `dashboard_id` when calling `get_dashboards_id`r)r*r+r,rhr2r r r rns*    z,DashboardsService._get_dashboards_id_preparecKs:d|d<|dr"|j||f|S|j||f|}|SdS)a|Retrieve the view for a cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_dashboards_id_cells_id_view(dashboard_id, cell_id, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The dashboard ID. (required) :param str cell_id: The cell ID. (required) :param str zap_trace_span: OpenTracing span context :return: View If the method is called asynchronously, returns the request thread. Tr rN)r.get_dashboards_id_cells_id_view_with_http_infor5r r r get_dashboards_id_cells_id_views  z1DashboardsService.get_dashboards_id_cells_id_viewc Ksh|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d S) aRetrieve the view for a cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_dashboards_id_cells_id_view_with_http_info(dashboard_id, cell_id, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The dashboard ID. (required) :param str cell_id: The cell ID. (required) :param str zap_trace_span: OpenTracing span context :return: View If the method is called asynchronously, returns the request thread. 4/api/v2/dashboards/{dashboardID}/cells/{cellID}/viewr[Viewrr rTrrNr(_get_dashboards_id_cells_id_view_preparerr rr;r r r rqs(   z@DashboardsService.get_dashboards_id_cells_id_view_with_http_infoc sn|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d Id HS) aRetrieve the view for a cell. This method makes an asynchronous HTTP request. :param async_req bool :param str dashboard_id: The dashboard ID. (required) :param str cell_id: The cell ID. (required) :param str zap_trace_span: OpenTracing span context :return: View If the method is called asynchronously, returns the request thread. rsr[rtrr rTrrNrrur;r r r %get_dashboards_id_cells_id_view_asyncs(   z7DashboardsService.get_dashboards_id_cells_id_view_asyncc Kst}dddg}|d||d|ks2|ddkr:tdd|ksN|ddkrVtdi}d|krn|d|d<d|kr|d|d<g}i}d|kr|d|d <d} |jd g|d <||||| fS) Nrr6r(rrz\Missing the required parameter `dashboard_id` when calling `get_dashboards_id_cells_id_view`zWMissing the required parameter `cell_id` when calling `get_dashboards_id_cells_id_view`r)r=r*r+r,r-r>r r r rvs2      z:DashboardsService._get_dashboards_id_cells_id_view_preparecKs6d|d<|dr |j|f|S|j|f|}|SdS)aEList all labels for a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_dashboards_id_labels(dashboard_id, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The dashboard ID. (required) :param str zap_trace_span: OpenTracing span context :return: LabelsResponse If the method is called asynchronously, returns the request thread. Tr rN)r'get_dashboards_id_labels_with_http_inforr r r get_dashboards_id_labelss  z*DashboardsService.get_dashboards_id_labelscKsf|j|f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d S) aTList all labels for a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_dashboards_id_labels_with_http_info(dashboard_id, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The dashboard ID. (required) :param str zap_trace_span: OpenTracing span context :return: LabelsResponse If the method is called asynchronously, returns the request thread. '/api/v2/dashboards/{dashboardID}/labelsr[LabelsResponserr rTrrNr!_get_dashboards_id_labels_preparerr rr!r r r rx0s(   z9DashboardsService.get_dashboards_id_labels_with_http_infocsl|j|f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d Id HS) aList all labels for a dashboard. This method makes an asynchronous HTTP request. :param async_req bool :param str dashboard_id: The dashboard ID. (required) :param str zap_trace_span: OpenTracing span context :return: LabelsResponse If the method is called asynchronously, returns the request thread. rzr[r{rr rTrrNrr|r!r r r get_dashboards_id_labels_asyncSs(   z0DashboardsService.get_dashboards_id_labels_asyncc Kst}ddg}|d||d|ks0|ddkr8tdi}d|krP|d|d<g}i}d|krl|d|d<d}|jdg|d<|||||fS) Nrr(ryzUMissing the required parameter `dashboard_id` when calling `get_dashboards_id_labels`r)r*r+r,r-r2r r r r}ss&   z3DashboardsService._get_dashboards_id_labels_preparecKs6d|d<|dr |j|f|S|j|f|}|SdS)aBList all dashboard members. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_dashboards_id_members(dashboard_id, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The dashboard ID. (required) :param str zap_trace_span: OpenTracing span context :return: ResourceMembers If the method is called asynchronously, returns the request thread. Tr rN)r(get_dashboards_id_members_with_http_inforr r r get_dashboards_id_memberss  z+DashboardsService.get_dashboards_id_memberscKsf|j|f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d S) aQList all dashboard members. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_dashboards_id_members_with_http_info(dashboard_id, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The dashboard ID. (required) :param str zap_trace_span: OpenTracing span context :return: ResourceMembers If the method is called asynchronously, returns the request thread. (/api/v2/dashboards/{dashboardID}/membersr[ResourceMembersrr rTrrNr"_get_dashboards_id_members_preparerr rr!r r r rs(   z:DashboardsService.get_dashboards_id_members_with_http_infocsl|j|f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d Id HS) a}List all dashboard members. This method makes an asynchronous HTTP request. :param async_req bool :param str dashboard_id: The dashboard ID. (required) :param str zap_trace_span: OpenTracing span context :return: ResourceMembers If the method is called asynchronously, returns the request thread. rr[rrr rTrrNrrr!r r r get_dashboards_id_members_asyncs(   z1DashboardsService.get_dashboards_id_members_asyncc Kst}ddg}|d||d|ks0|ddkr8tdi}d|krP|d|d<g}i}d|krl|d|d<d}|jdg|d<|||||fS) Nrr(rzVMissing the required parameter `dashboard_id` when calling `get_dashboards_id_members`r)r*r+r,r-r2r r r rs&   z4DashboardsService._get_dashboards_id_members_preparecKs6d|d<|dr |j|f|S|j|f|}|SdS)a?List all dashboard owners. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_dashboards_id_owners(dashboard_id, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The dashboard ID. (required) :param str zap_trace_span: OpenTracing span context :return: ResourceOwners If the method is called asynchronously, returns the request thread. Tr rN)r'get_dashboards_id_owners_with_http_inforr r r get_dashboards_id_ownerss  z*DashboardsService.get_dashboards_id_ownerscKsf|j|f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d S) aNList all dashboard owners. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_dashboards_id_owners_with_http_info(dashboard_id, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The dashboard ID. (required) :param str zap_trace_span: OpenTracing span context :return: ResourceOwners If the method is called asynchronously, returns the request thread. '/api/v2/dashboards/{dashboardID}/ownersr[ResourceOwnersrr rTrrNr!_get_dashboards_id_owners_preparerr rr!r r r rs(   z9DashboardsService.get_dashboards_id_owners_with_http_infocsl|j|f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d Id HS) a{List all dashboard owners. This method makes an asynchronous HTTP request. :param async_req bool :param str dashboard_id: The dashboard ID. (required) :param str zap_trace_span: OpenTracing span context :return: ResourceOwners If the method is called asynchronously, returns the request thread. rr[rrr rTrrNrrr!r r r get_dashboards_id_owners_async;s(   z0DashboardsService.get_dashboards_id_owners_asyncc Kst}ddg}|d||d|ks0|ddkr8tdi}d|krP|d|d<g}i}d|krl|d|d<d}|jdg|d<|||||fS) Nrr(rzUMissing the required parameter `dashboard_id` when calling `get_dashboards_id_owners`r)r*r+r,r-r2r r r r[s&   z3DashboardsService._get_dashboards_id_owners_preparecKs6d|d<|dr |j|f|S|j|f|}|SdS)a}Update a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.patch_dashboards_id(dashboard_id, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The ID of the dashboard to update. (required) :param str zap_trace_span: OpenTracing span context :param PatchDashboardRequest patch_dashboard_request: :return: Dashboard If the method is called asynchronously, returns the request thread. Tr rN)r"patch_dashboards_id_with_http_inforr r r patch_dashboards_idvs  z%DashboardsService.patch_dashboards_idcKsf|j|f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d S) aUpdate a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.patch_dashboards_id_with_http_info(dashboard_id, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The ID of the dashboard to update. (required) :param str zap_trace_span: OpenTracing span context :param PatchDashboardRequest patch_dashboard_request: :return: Dashboard If the method is called asynchronously, returns the request thread. rPATCH Dashboardrr rTrrNr_patch_dashboards_id_preparerr rr!r r r rs(   z4DashboardsService.patch_dashboards_id_with_http_infocsl|j|f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d Id HS) aUpdate a dashboard. This method makes an asynchronous HTTP request. :param async_req bool :param str dashboard_id: The ID of the dashboard to update. (required) :param str zap_trace_span: OpenTracing span context :param PatchDashboardRequest patch_dashboard_request: :return: Dashboard If the method is called asynchronously, returns the request thread. rrrrr rTrrNrrr!r r r patch_dashboards_id_asyncs(   z+DashboardsService.patch_dashboards_id_asyncc Kst}dddg}|d||d|ks2|ddkr:tdi}d|krR|d|d<g}i}d|krn|d|d<d}d|kr|d}|jdg|d <|jdg|d <|||||fS) Nrr(Zpatch_dashboard_requestrzPMissing the required parameter `dashboard_id` when calling `patch_dashboards_id`r)r*r+r, Content-Typer.r/r0rr1Zselect_header_content_typer2r r r rs0    z.DashboardsService._patch_dashboards_id_preparecKs>d|d<|dr$|j|||f|S|j|||f|}|SdS)a~Update the non-positional information related to a cell. Updates the non positional information related to a cell. Updates to a single cell's positional data could cause grid conflicts. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.patch_dashboards_id_cells_id(dashboard_id, cell_id, cell_update, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The ID of the dashboard to update. (required) :param str cell_id: The ID of the cell to update. (required) :param CellUpdate cell_update: (required) :param str zap_trace_span: OpenTracing span context :return: Cell If the method is called asynchronously, returns the request thread. Tr rN)r+patch_dashboards_id_cells_id_with_http_info)rrr6 cell_updaterrr r r patch_dashboards_id_cells_ids  z.DashboardsService.patch_dashboards_id_cells_idc Ksj|j|||f|\}}}}} |jjdd|||| gidg|d|d|dd|di|d d d S) aUpdate the non-positional information related to a cell. Updates the non positional information related to a cell. Updates to a single cell's positional data could cause grid conflicts. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.patch_dashboards_id_cells_id_with_http_info(dashboard_id, cell_id, cell_update, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The ID of the dashboard to update. (required) :param str cell_id: The ID of the cell to update. (required) :param CellUpdate cell_update: (required) :param str zap_trace_span: OpenTracing span context :return: Cell If the method is called asynchronously, returns the request thread. r8rCellrr rTrrNr%_patch_dashboards_id_cells_id_preparerr r rrr6rrr"r#r$r%r&r r r r s(   z=DashboardsService.patch_dashboards_id_cells_id_with_http_infoc sp|j|||f|\}}}}} |jjdd|||| gidg|d|d|dd|di|d d d Id HS) aUpdate the non-positional information related to a cell. Updates the non positional information related to a cell. Updates to a single cell's positional data could cause grid conflicts. This method makes an asynchronous HTTP request. :param async_req bool :param str dashboard_id: The ID of the dashboard to update. (required) :param str cell_id: The ID of the cell to update. (required) :param CellUpdate cell_update: (required) :param str zap_trace_span: OpenTracing span context :return: Cell If the method is called asynchronously, returns the request thread. r8rrrr rTrrNrrrr r r "patch_dashboards_id_cells_id_async2s(   z4DashboardsService.patch_dashboards_id_cells_id_asyncc Kst}ddddg}|d||d|ks4|ddkrd|d<|dr$|j|||f|S|j|||f|}|SdS)aUpdate the view for a cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.patch_dashboards_id_cells_id_view(dashboard_id, cell_id, view, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The ID of the dashboard to update. (required) :param str cell_id: The ID of the cell to update. (required) :param View view: (required) :param str zap_trace_span: OpenTracing span context :return: View If the method is called asynchronously, returns the request thread. Tr rN)r0patch_dashboards_id_cells_id_view_with_http_info)rrr6viewrrr r r !patch_dashboards_id_cells_id_views  z3DashboardsService.patch_dashboards_id_cells_id_viewc Ksj|j|||f|\}}}}} |jjdd|||| gidg|d|d|dd|di|d d d S) aUpdate the view for a cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.patch_dashboards_id_cells_id_view_with_http_info(dashboard_id, cell_id, view, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The ID of the dashboard to update. (required) :param str cell_id: The ID of the cell to update. (required) :param View view: (required) :param str zap_trace_span: OpenTracing span context :return: View If the method is called asynchronously, returns the request thread. rsrrtrr rTrrNr*_patch_dashboards_id_cells_id_view_preparerr r rrr6rrr"r#r$r%r&r r r rs(   zBDashboardsService.patch_dashboards_id_cells_id_view_with_http_infoc sp|j|||f|\}}}}} |jjdd|||| gidg|d|d|dd|di|d d d Id HS) aUpdate the view for a cell. This method makes an asynchronous HTTP request. :param async_req bool :param str dashboard_id: The ID of the dashboard to update. (required) :param str cell_id: The ID of the cell to update. (required) :param View view: (required) :param str zap_trace_span: OpenTracing span context :return: View If the method is called asynchronously, returns the request thread. rsrrtrr rTrrNrrrr r r 'patch_dashboards_id_cells_id_view_asyncs(   z9DashboardsService.patch_dashboards_id_cells_id_view_asyncc Kst}ddddg}|d||d|ks4|ddkr>> thread = api.post_dashboards(create_dashboard_request, async_req=True) >>> result = thread.get() :param async_req bool :param CreateDashboardRequest create_dashboard_request: Dashboard to create (required) :param str zap_trace_span: OpenTracing span context :return: Dashboard If the method is called asynchronously, returns the request thread. Tr rN)rpost_dashboards_with_http_info)rcreate_dashboard_requestrrr r r post_dashboards s  z!DashboardsService.post_dashboardscKsf|j|f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d S) afCreate a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_dashboards_with_http_info(create_dashboard_request, async_req=True) >>> result = thread.get() :param async_req bool :param CreateDashboardRequest create_dashboard_request: Dashboard to create (required) :param str zap_trace_span: OpenTracing span context :return: Dashboard If the method is called asynchronously, returns the request thread. rZPOSTrrr rTrrNr_post_dashboards_preparerr rrrrr"r#r$r%r&r r r r s(   z0DashboardsService.post_dashboards_with_http_infocsl|j|f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d Id HS) aCreate a dashboard. This method makes an asynchronous HTTP request. :param async_req bool :param CreateDashboardRequest create_dashboard_request: Dashboard to create (required) :param str zap_trace_span: OpenTracing span context :return: Dashboard If the method is called asynchronously, returns the request thread. rZrrrr rTrrNrrrr r r post_dashboards_asyncCs(   z'DashboardsService.post_dashboards_asyncc Kst}ddg}|d||d|ks0|ddkr8tdi}g}i}d|krX|d|d<d}d|krl|d}|jdg|d<|jdg|d<|||||fS) Nrr(rzXMissing the required parameter `create_dashboard_request` when calling `post_dashboards`r*r+r,rr) rrrr"r3r#r$r%r&r r r rcs,  z*DashboardsService._post_dashboards_preparecKs:d|d<|dr"|j||f|S|j||f|}|SdS)aCreate a dashboard cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_dashboards_id_cells(dashboard_id, create_cell, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The ID of the dashboard to update. (required) :param CreateCell create_cell: Cell that will be added (required) :param str zap_trace_span: OpenTracing span context :return: Cell If the method is called asynchronously, returns the request thread. Tr rN)r'post_dashboards_id_cells_with_http_info)rr create_cellrrr r r post_dashboards_id_cellss  z*DashboardsService.post_dashboards_id_cellsc Ksh|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d S) aCreate a dashboard cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_dashboards_id_cells_with_http_info(dashboard_id, create_cell, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The ID of the dashboard to update. (required) :param CreateCell create_cell: Cell that will be added (required) :param str zap_trace_span: OpenTracing span context :return: Cell If the method is called asynchronously, returns the request thread. &/api/v2/dashboards/{dashboardID}/cellsrrrr rTrrNr!_post_dashboards_id_cells_preparerr r rrrrr"r#r$r%r&r r r rs(   z9DashboardsService.post_dashboards_id_cells_with_http_infoc sn|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d Id HS) aCreate a dashboard cell. This method makes an asynchronous HTTP request. :param async_req bool :param str dashboard_id: The ID of the dashboard to update. (required) :param CreateCell create_cell: Cell that will be added (required) :param str zap_trace_span: OpenTracing span context :return: Cell If the method is called asynchronously, returns the request thread. rrrrr rTrrNrrrr r r post_dashboards_id_cells_asyncs(   z0DashboardsService.post_dashboards_id_cells_asyncc Kst}dddg}|d||d|ks2|ddkr:tdd|ksN|ddkrVtdi}d|krn|d|d<g}i}d|kr|d|d<d} d|kr|d} |jd g|d <|jd g|d <||||| fS) Nrrr(rzUMissing the required parameter `dashboard_id` when calling `post_dashboards_id_cells`zTMissing the required parameter `create_cell` when calling `post_dashboards_id_cells`r)r*r+r,rr) rrrrr"r3r#r$r%r&r r r rs8     z3DashboardsService._post_dashboards_id_cells_preparecKs:d|d<|dr"|j||f|S|j||f|}|SdS)aAdd a label to a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_dashboards_id_labels(dashboard_id, label_mapping, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The dashboard ID. (required) :param LabelMapping label_mapping: Label to add (required) :param str zap_trace_span: OpenTracing span context :return: LabelResponse If the method is called asynchronously, returns the request thread. Tr rN)r(post_dashboards_id_labels_with_http_info)rr label_mappingrrr r r post_dashboards_id_labelss  z+DashboardsService.post_dashboards_id_labelsc Ksh|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d S) aAdd a label to a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_dashboards_id_labels_with_http_info(dashboard_id, label_mapping, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The dashboard ID. (required) :param LabelMapping label_mapping: Label to add (required) :param str zap_trace_span: OpenTracing span context :return: LabelResponse If the method is called asynchronously, returns the request thread. rzr LabelResponserr rTrrNr"_post_dashboards_id_labels_preparerr r rrrrr"r#r$r%r&r r r rs(   z:DashboardsService.post_dashboards_id_labels_with_http_infoc sn|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d Id HS) aAdd a label to a dashboard. This method makes an asynchronous HTTP request. :param async_req bool :param str dashboard_id: The dashboard ID. (required) :param LabelMapping label_mapping: Label to add (required) :param str zap_trace_span: OpenTracing span context :return: LabelResponse If the method is called asynchronously, returns the request thread. rzrrrr rTrrNrrrr r r post_dashboards_id_labels_async>s(   z1DashboardsService.post_dashboards_id_labels_asyncc Kst}dddg}|d||d|ks2|ddkr:tdd|ksN|ddkrVtdi}d|krn|d|d<g}i}d|kr|d|d<d} d|kr|d} |jd g|d <|jd g|d <||||| fS) Nrrr(rzVMissing the required parameter `dashboard_id` when calling `post_dashboards_id_labels`zWMissing the required parameter `label_mapping` when calling `post_dashboards_id_labels`r)r*r+r,rr) rrrrr"r3r#r$r%r&r r r r_s8     z4DashboardsService._post_dashboards_id_labels_preparecKs:d|d<|dr"|j||f|S|j||f|}|SdS)aAdd a member to a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_dashboards_id_members(dashboard_id, add_resource_member_request_body, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The dashboard ID. (required) :param AddResourceMemberRequestBody add_resource_member_request_body: User to add as member (required) :param str zap_trace_span: OpenTracing span context :return: ResourceMember If the method is called asynchronously, returns the request thread. Tr rN)r)post_dashboards_id_members_with_http_inforr add_resource_member_request_bodyrrr r r post_dashboards_id_memberss  z,DashboardsService.post_dashboards_id_membersc Ksh|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d S) aAdd a member to a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_dashboards_id_members_with_http_info(dashboard_id, add_resource_member_request_body, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The dashboard ID. (required) :param AddResourceMemberRequestBody add_resource_member_request_body: User to add as member (required) :param str zap_trace_span: OpenTracing span context :return: ResourceMember If the method is called asynchronously, returns the request thread. rrResourceMemberrr rTrrNr#_post_dashboards_id_members_preparerr r rrrrr"r#r$r%r&r r r rs(   z;DashboardsService.post_dashboards_id_members_with_http_infoc sn|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d Id HS) aAdd a member to a dashboard. This method makes an asynchronous HTTP request. :param async_req bool :param str dashboard_id: The dashboard ID. (required) :param AddResourceMemberRequestBody add_resource_member_request_body: User to add as member (required) :param str zap_trace_span: OpenTracing span context :return: ResourceMember If the method is called asynchronously, returns the request thread. rrrrr rTrrNrrrr r r post_dashboards_id_members_asyncs(   z2DashboardsService.post_dashboards_id_members_asyncc Kst}dddg}|d||d|ks2|ddkr:tdd|ksN|ddkrVtdi}d|krn|d|d<g}i}d|kr|d|d<d} d|kr|d} |jd g|d <|jd g|d <||||| fS) Nrrr(rzWMissing the required parameter `dashboard_id` when calling `post_dashboards_id_members`zkMissing the required parameter `add_resource_member_request_body` when calling `post_dashboards_id_members`r)r*r+r,rr rrrrr"r3r#r$r%r&r r r rs8     z5DashboardsService._post_dashboards_id_members_preparecKs:d|d<|dr"|j||f|S|j||f|}|SdS)aAdd an owner to a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_dashboards_id_owners(dashboard_id, add_resource_member_request_body, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The dashboard ID. (required) :param AddResourceMemberRequestBody add_resource_member_request_body: User to add as owner (required) :param str zap_trace_span: OpenTracing span context :return: ResourceOwner If the method is called asynchronously, returns the request thread. Tr rN)r(post_dashboards_id_owners_with_http_inforr r r post_dashboards_id_owners s  z+DashboardsService.post_dashboards_id_ownersc Ksh|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d S) aAdd an owner to a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_dashboards_id_owners_with_http_info(dashboard_id, add_resource_member_request_body, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The dashboard ID. (required) :param AddResourceMemberRequestBody add_resource_member_request_body: User to add as owner (required) :param str zap_trace_span: OpenTracing span context :return: ResourceOwner If the method is called asynchronously, returns the request thread. rr ResourceOwnerrr rTrrNr"_post_dashboards_id_owners_preparerr rrr r r r s(   z:DashboardsService.post_dashboards_id_owners_with_http_infoc sn|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d Id HS) aAdd an owner to a dashboard. This method makes an asynchronous HTTP request. :param async_req bool :param str dashboard_id: The dashboard ID. (required) :param AddResourceMemberRequestBody add_resource_member_request_body: User to add as owner (required) :param str zap_trace_span: OpenTracing span context :return: ResourceOwner If the method is called asynchronously, returns the request thread. rrrrr rTrrNrrrr r r post_dashboards_id_owners_async@ s(   z1DashboardsService.post_dashboards_id_owners_asyncc Kst}dddg}|d||d|ks2|ddkr:tdd|ksN|ddkrVtdi}d|krn|d|d<g}i}d|kr|d|d<d} d|kr|d} |jd g|d <|jd g|d <||||| fS) Nrrr(rzVMissing the required parameter `dashboard_id` when calling `post_dashboards_id_owners`zjMissing the required parameter `add_resource_member_request_body` when calling `post_dashboards_id_owners`r)r*r+r,rrrr r r ra s8     z4DashboardsService._post_dashboards_id_owners_preparecKs:d|d<|dr"|j||f|S|j||f|}|SdS)aReplace cells in a dashboard. Replaces all cells in a dashboard. This is used primarily to update the positional information of all cells. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.put_dashboards_id_cells(dashboard_id, cell, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The ID of the dashboard to update. (required) :param list[Cell] cell: (required) :param str zap_trace_span: OpenTracing span context :return: Dashboard If the method is called asynchronously, returns the request thread. Tr rN)r&put_dashboards_id_cells_with_http_info)rrcellrrr r r put_dashboards_id_cells s  z)DashboardsService.put_dashboards_id_cellsc Ksh|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d S) aReplace cells in a dashboard. Replaces all cells in a dashboard. This is used primarily to update the positional information of all cells. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.put_dashboards_id_cells_with_http_info(dashboard_id, cell, async_req=True) >>> result = thread.get() :param async_req bool :param str dashboard_id: The ID of the dashboard to update. (required) :param list[Cell] cell: (required) :param str zap_trace_span: OpenTracing span context :return: Dashboard If the method is called asynchronously, returns the request thread. rPUTrrr rTrrNr _put_dashboards_id_cells_preparerr r rrrrr"r#r$r%r&r r r r s(   z8DashboardsService.put_dashboards_id_cells_with_http_infoc sn|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d Id HS) a*Replace cells in a dashboard. Replaces all cells in a dashboard. This is used primarily to update the positional information of all cells. This method makes an asynchronous HTTP request. :param async_req bool :param str dashboard_id: The ID of the dashboard to update. (required) :param list[Cell] cell: (required) :param str zap_trace_span: OpenTracing span context :return: Dashboard If the method is called asynchronously, returns the request thread. rrrrr rTrrNrrrr r r put_dashboards_id_cells_async s(   z/DashboardsService.put_dashboards_id_cells_asyncc Kst}dddg}|d||d|ks2|ddkr:tdd|ksN|ddkrVtdi}d|krn|d|d<g}i}d|kr|d|d<d} d|kr|d} |jd g|d <|jd g|d <||||| fS) Nrrr(rzTMissing the required parameter `dashboard_id` when calling `put_dashboards_id_cells`zLMissing the required parameter `cell` when calling `put_dashboards_id_cells`r)r*r+r,rr) rrrrr"r3r#r$r%r&r r r r s8     z2DashboardsService._put_dashboards_id_cells_prepare)N)V__name__ __module__ __qualname____doc__rrrr'rr7r4r<r:rAr?rFrDrJrGrOrMrSrRrWrVrYrXr`r^rkrjrornrrrqrwrvryrxr~r}rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr __classcell__r r r r rs# $!!$!!$!!$!!+(+$!$!!# # # $!!&#+%"+# $!%$!%$!%$!%%"r)r __future__rreZ%influxdb_client.service._base_servicerrr r r r s