U wâ’iTã@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‚eZdZdZddiZddiZdddddœZdd d „Zed d „ƒZ e j dd „ƒZ dd„Z dd„Z dd„Z dd„Zdd„Zdd„Zd S)ÚNotificationEndpointz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ÚtypeZNotificationEndpointTypeZSlackNotificationEndpointZPagerDutyNotificationEndpointZHTTPNotificationEndpointZTelegramNotificationEndpoint)ZslackZ pagerdutyÚhttpZtelegramNcCsd|_d|_||_dS)z2NotificationEndpoint - a model defined in OpenAPI.Nr)Ú_typeÚ discriminatorr©Úselfr©r ú]/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/notification_endpoint.pyÚ__init__/szNotificationEndpoint.__init__cCs|jS)z•Get the type of this NotificationEndpoint. :return: The type of this NotificationEndpoint. :rtype: NotificationEndpointType )r©rr r r r6szNotificationEndpoint.typecCs|dkrtdƒ‚||_dS)z˜Set the type of this NotificationEndpoint. :param type: The type of this NotificationEndpoint. :type: NotificationEndpointType Nz,Invalid value for `type`, must not be `None`)Ú ValueErrorrrr r r r?scCs |j|j}||}|j |¡S)z:Return the real base class specified by the discriminator.)Ú attribute_maprÚdiscriminator_value_class_mapÚget)rÚdataZdiscriminator_keyZdiscriminator_valuer r r Úget_real_child_modelJs z)NotificationEndpoint.get_real_child_modelcCsŽ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)Úxr r r ÚXóz.NotificationEndpoint.to_dict..rcSs&t|ddƒr"|d|d ¡fS|S)Nérrr)Úitemr r r r_s ÿ) Ú openapi_typesÚitemsÚgetattrÚ isinstanceÚlistÚmaprrÚdict)rÚresultÚattrÚ_Úvaluer r r rPs"  þ   ý  zNotificationEndpoint.to_dictcCst | ¡¡S)z.Return the string representation of the model.)ÚpprintÚpformatrr r r r Úto_strhszNotificationEndpoint.to_strcCs| ¡S)zFor `print` and `pprint`.)r(r r r r Ú__repr__lszNotificationEndpoint.__repr__cCst|tƒsdS|j|jkS)z&Return true if both objects are equal.F)rrÚ__dict__©rÚotherr r r Ú__eq__ps zNotificationEndpoint.__eq__cCs ||k S)z*Return true if both objects are not equal.r r+r r r Ú__ne__wszNotificationEndpoint.__ne__)N)Ú__name__Ú __module__Ú __qualname__Ú__doc__rrrr ÚpropertyrÚsetterrrr(r)r-r.r r r r rs.ÿÿü   r)r2r&ÚreÚobjectrr r r r Ús