U vi@s(dZddlZddlZGdddeZdS)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@seZdZdZddddZddddZddd Zed d Zej d d Zed dZ e j ddZ eddZ e j ddZ ddZ ddZ ddZddZddZdS)CreateDashboardRequestzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. str)org_idname descriptionZorgIDrrNcCs6d|_d|_d|_d|_||_||_|dk r2||_dS)z4CreateDashboardRequest - a model defined in OpenAPI.N)_org_id_name _descriptionZ discriminatorrrr)selfrrrr `/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/create_dashboard_request.py__init__,szCreateDashboardRequest.__init__cCs|jS)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 )rr r r r r8s zCreateDashboardRequest.org_idcCs|dkrtd||_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 rr r r rCs cCs|jS)zGet the name of this CreateDashboardRequest. The user-facing name of the dashboard. :return: The name of this CreateDashboardRequest. :rtype: str )rrr r r rPs zCreateDashboardRequest.namecCs|dkrtd||_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`)rr)r rr r r r[s cCs|jS)zGet the description of this CreateDashboardRequest. The user-facing description of the dashboard. :return: The description of this CreateDashboardRequest. :rtype: str r rr r r rhs z"CreateDashboardRequest.descriptioncCs ||_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 rr r r rss cCsi}|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)xr r r z0CreateDashboardRequest.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemr r r rs ) openapi_typesitemsgetattr isinstancelistmaprrdict)r resultattr_valuer r r r~s"       zCreateDashboardRequest.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrr r r to_strszCreateDashboardRequest.to_strcCs|S)zFor `print` and `pprint`.)r&rr r r __repr__szCreateDashboardRequest.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__r otherr r r __eq__s zCreateDashboardRequest.__eq__cCs ||k S)z*Return true if both objects are not equal.r r)r r r __ne__szCreateDashboardRequest.__ne__)NNN)__name__ __module__ __qualname____doc__rZ attribute_mapr propertyrsetterrrrr&r'r+r,r r r r rs6       r)r0r$reobjectrr r r r s