U wil@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@seZdZdZddddZddddZdd d Zed d Zej d d ZeddZ e j ddZ eddZ e j ddZ ddZ ddZ ddZddZddZdS)TelegrafPluginszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strzlist[TelegrafPlugin])versionospluginsrrrNcCsFd|_d|_d|_d|_|dk r&||_|dk r4||_|dk rB||_dS)z-TelegrafPlugins - a model defined in OpenAPI.N)_version_os_pluginsZ discriminatorrrr)selfrrrr X/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/telegraf_plugins.py__init__,szTelegrafPlugins.__init__cCs|jS)z|Get the version of this TelegrafPlugins. :return: The version of this TelegrafPlugins. :rtype: str rr r r r r:szTelegrafPlugins.versioncCs ||_dS)zSet the version of this TelegrafPlugins. :param version: The version of this TelegrafPlugins. :type: str Nr)r rr r r rCscCs|jS)zrGet the os of this TelegrafPlugins. :return: The os of this TelegrafPlugins. :rtype: str rrr r r rLszTelegrafPlugins.oscCs ||_dS)zsSet the os of this TelegrafPlugins. :param os: The os of this TelegrafPlugins. :type: str Nr)r rr r r rUscCs|jS)zGet the plugins of this TelegrafPlugins. :return: The plugins of this TelegrafPlugins. :rtype: list[TelegrafPlugin] r rr r r r^szTelegrafPlugins.pluginscCs ||_dS)zSet the plugins of this TelegrafPlugins. :param plugins: The plugins of this TelegrafPlugins. :type: list[TelegrafPlugin] Nr)r rr r r rgscCsi}|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 xz)TelegrafPlugins.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemr r r rs ) openapi_typesitemsgetattr isinstancelistmaprrdict)r resultattr_valuer r r rps"       zTelegrafPlugins.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrr r r to_strszTelegrafPlugins.to_strcCs|S)zFor `print` and `pprint`.)r'rr r r __repr__szTelegrafPlugins.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__r otherr r r __eq__s zTelegrafPlugins.__eq__cCs ||k S)z*Return true if both objects are not equal.r r*r r r __ne__szTelegrafPlugins.__ne__)NNN)__name__ __module__ __qualname____doc__rZ attribute_mapr propertyrsetterrrrr'r(r,r-r r r r rs6       r)r1r%reobjectrr r r r s