U vi @ 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 ZdZddddZddddZddd Zed d Zej dd Zed d Z e j dd Z edd Zej dd Zdd Zdd Z dd Zdd Zdd ZdS )CreateDashboardRequestzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. str)org_idnamedescriptionZorgIDr r Nc C s6 d| _ d| _d| _d| _|| _|| _|dk r2|| _dS )z4CreateDashboardRequest - a model defined in OpenAPI.N)_org_id_name_descriptionZ discriminatorr r r )selfr r r r `/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/create_dashboard_request.py__init__, s zCreateDashboardRequest.__init__c C s | j S )zGet the org_id of this CreateDashboardRequest. The ID of the organization that owns the dashboard. :return: The org_id of this CreateDashboardRequest. :rtype: str )r r r r r r 8 s zCreateDashboardRequest.org_idc C s |dkrt d|| _dS )zSet the org_id of this CreateDashboardRequest. The ID of the organization that owns the dashboard. :param org_id: The org_id of this CreateDashboardRequest. :type: str Nz.Invalid value for `org_id`, must not be `None`) ValueErrorr )r r r r r r C s c C s | j S )zGet the name of this CreateDashboardRequest. The user-facing name of the dashboard. :return: The name of this CreateDashboardRequest. :rtype: str )r r r r r r P s zCreateDashboardRequest.namec C s |dkrt d|| _dS )zSet the name of this CreateDashboardRequest. The user-facing name of the dashboard. :param name: The name of this CreateDashboardRequest. :type: str Nz,Invalid value for `name`, must not be `None`)r r )r r r r r r [ s c C s | j S )zGet the description of this CreateDashboardRequest. The user-facing description of the dashboard. :return: The description of this CreateDashboardRequest. :rtype: str r r r r r r h s z"CreateDashboardRequest.descriptionc C s || _ dS )zSet the description of this CreateDashboardRequest. The user-facing description of the dashboard. :param description: The description of this CreateDashboardRequest. :type: str Nr )r r r r r r s s c C s i }| j D ]z\}}t| |}t|trBttdd |||<