U wâ’iÄã@s(dZddlZddlZGdd„deƒZdS)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äeZdZdZddddddœZddddd dœZd&d d „Zed d„ƒZej dd„ƒZedd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ dd„Zdd„Zd d!„Zd"d#„Zd$d%„Zd S)'ÚTelegrafRequestz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ÚstrZTelegrafRequestMetadata)ÚnameÚ descriptionÚmetadataÚconfigÚorg_idrrrrZorgIDNcCsnd|_d|_d|_d|_d|_d|_|dk r2||_|dk r@||_|dk rN||_|dk r\||_ |dk rj||_ dS)z-TelegrafRequest - a model defined in OpenAPI.N) Ú_nameÚ _descriptionÚ _metadataÚ_configÚ_org_idZ discriminatorrrrrr)Úselfrrrrr©rúX/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/telegraf_request.pyÚ__init__0s zTelegrafRequest.__init__cCs|jS)zvGet the name of this TelegrafRequest. :return: The name of this TelegrafRequest. :rtype: str ©r ©rrrrrDszTelegrafRequest.namecCs ||_dS)zySet the name of this TelegrafRequest. :param name: The name of this TelegrafRequest. :type: str Nr)rrrrrrMscCs|jS)z„Get the description of this TelegrafRequest. :return: The description of this TelegrafRequest. :rtype: str ©r rrrrrVszTelegrafRequest.descriptioncCs ||_dS)zŽSet the description of this TelegrafRequest. :param description: The description of this TelegrafRequest. :type: str Nr)rrrrrr_scCs|jS)z’Get the metadata of this TelegrafRequest. :return: The metadata of this TelegrafRequest. :rtype: TelegrafRequestMetadata ©r rrrrrhszTelegrafRequest.metadatacCs ||_dS)z™Set the metadata of this TelegrafRequest. :param metadata: The metadata of this TelegrafRequest. :type: TelegrafRequestMetadata Nr)rrrrrrqscCs|jS)zzGet the config of this TelegrafRequest. :return: The config of this TelegrafRequest. :rtype: str ©r rrrrrzszTelegrafRequest.configcCs ||_dS)zSet the config of this TelegrafRequest. :param config: The config of this TelegrafRequest. :type: str Nr)rrrrrrƒscCs|jS)zzGet the org_id of this TelegrafRequest. :return: The org_id of this TelegrafRequest. :rtype: str ©r rrrrrŒszTelegrafRequest.org_idcCs ||_dS)zSet the org_id of this TelegrafRequest. :param org_id: The org_id of this TelegrafRequest. :type: str Nr)rrrrrr•scCsŽi}|j ¡D]z\}}t||ƒ}t|tƒrBttdd„|ƒƒ||<qt|dƒrZ| ¡||<qt|tƒr€ttdd„| ¡ƒƒ||<q|||<q|S)z&Return the model properties as a dict.cSst|dƒr| ¡S|S)NÚto_dict©Úhasattrr)ÚxrrrÚ¦óz)TelegrafRequest.to_dict..rcSs&t|ddƒr"|d|d ¡fS|S)Nérrr)Úitemrrrr­s ÿ) Ú openapi_typesÚitemsÚgetattrÚ isinstanceÚlistÚmaprrÚdict)rÚresultÚattrÚ_Úvaluerrrržs"  þ   ý  zTelegrafRequest.to_dictcCst | ¡¡S)z.Return the string representation of the model.)ÚpprintÚpformatrrrrrÚto_str¶szTelegrafRequest.to_strcCs| ¡S)zFor `print` and `pprint`.)r-rrrrÚ__repr__ºszTelegrafRequest.__repr__cCst|tƒsdS|j|jkS)z&Return true if both objects are equal.F)r#rÚ__dict__©rÚotherrrrÚ__eq__¾s zTelegrafRequest.__eq__cCs ||k S)z*Return true if both objects are not equal.rr0rrrÚ__ne__ÅszTelegrafRequest.__ne__)NNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__r Z attribute_maprÚpropertyrÚsetterrrrrrr-r.r2r3rrrrrsNû û           r)r7r+ÚreÚobjectrrrrrÚs