U wi9@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@seZdZdZdddddddZdddd d d dZd+d dZeddZej ddZeddZ e j ddZ eddZ e j ddZ eddZ e j ddZ eddZ e j ddZ eddZej d dZd!d"Zd#d$Zd%d&Zd'd(Zd)d*Zd S),TelegrafPluginRequestzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strz"list[TelegrafPluginRequestPlugins]ZTelegrafRequestMetadata)name descriptionpluginsmetadataconfigorg_idrrrrrZorgIDNcCsd|_d|_d|_d|_d|_d|_d|_|dk r8||_|dk rF||_|dk rT||_ |dk rb||_ |dk rp||_ |dk r~||_ dS)z3TelegrafPluginRequest - a model defined in OpenAPI.N) _name _description_plugins _metadata_config_org_idZ discriminatorrrrrrr )selfrrrrrr r_/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/telegraf_plugin_request.py__init__2s&zTelegrafPluginRequest.__init__cCs|jS)zGet the name of this TelegrafPluginRequest. :return: The name of this TelegrafPluginRequest. :rtype: str r rrrrrIszTelegrafPluginRequest.namecCs ||_dS)zSet the name of this TelegrafPluginRequest. :param name: The name of this TelegrafPluginRequest. :type: str Nr)rrrrrrRscCs|jS)zGet the description of this TelegrafPluginRequest. :return: The description of this TelegrafPluginRequest. :rtype: str r rrrrr[sz!TelegrafPluginRequest.descriptioncCs ||_dS)zSet the description of this TelegrafPluginRequest. :param description: The description of this TelegrafPluginRequest. :type: str Nr)rrrrrrdscCs|jS)zGet the plugins of this TelegrafPluginRequest. :return: The plugins of this TelegrafPluginRequest. :rtype: list[TelegrafPluginRequestPlugins] r rrrrrmszTelegrafPluginRequest.pluginscCs ||_dS)zSet the plugins of this TelegrafPluginRequest. :param plugins: The plugins of this TelegrafPluginRequest. :type: list[TelegrafPluginRequestPlugins] Nr)rrrrrrvscCs|jS)zGet the metadata of this TelegrafPluginRequest. :return: The metadata of this TelegrafPluginRequest. :rtype: TelegrafRequestMetadata r rrrrrszTelegrafPluginRequest.metadatacCs ||_dS)zSet the metadata of this TelegrafPluginRequest. :param metadata: The metadata of this TelegrafPluginRequest. :type: TelegrafRequestMetadata Nr)rrrrrrscCs|jS)zGet the config of this TelegrafPluginRequest. :return: The config of this TelegrafPluginRequest. :rtype: str rrrrrrszTelegrafPluginRequest.configcCs ||_dS)zSet the config of this TelegrafPluginRequest. :param config: The config of this TelegrafPluginRequest. :type: str Nr)rrrrrrscCs|jS)zGet the org_id of this TelegrafPluginRequest. :return: The org_id of this TelegrafPluginRequest. :rtype: str rrrrrr szTelegrafPluginRequest.org_idcCs ||_dS)zSet the org_id of this TelegrafPluginRequest. :param org_id: The org_id of this TelegrafPluginRequest. :type: str 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/TelegrafPluginRequest.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemrrrrs ) openapi_typesitemsgetattr isinstancelistmaprrdict)rresultattr_valuerrrrs"       zTelegrafPluginRequest.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrrrrto_strszTelegrafPluginRequest.to_strcCs|S)zFor `print` and `pprint`.)r0rrrr__repr__szTelegrafPluginRequest.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r&r__dict__rotherrrr__eq__s zTelegrafPluginRequest.__eq__cCs ||k S)z*Return true if both objects are not equal.rr3rrr__ne__szTelegrafPluginRequest.__ne__)NNNNNN)__name__ __module__ __qualname____doc__r#Z attribute_maprpropertyrsetterrrrrr rr0r1r5r6rrrrrsZ              r)r:r.reobjectrrrrrs