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ŠeZdZdZdddœZdddœZddd „Zed d „ƒZej d d „ƒZed d„ƒZ e j dd„ƒZ dd„Z dd„Z dd„Z dd„Zdd„ZdS)ÚNotificationRulesz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. zlist[NotificationRule]ZLinks)Únotification_rulesÚlinksZnotificationRulesrNcCs2d|_d|_d|_|dk r ||_|dk r.||_dS)z/NotificationRules - a model defined in OpenAPI.N)Ú_notification_rulesÚ_linksZ discriminatorrr)Úselfrr©rúZ/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/notification_rules.pyÚ__init__*szNotificationRules.__init__cCs|jS)z©Get the notification_rules of this NotificationRules. :return: The notification_rules of this NotificationRules. :rtype: list[NotificationRule] ©r©rrrr r5sz$NotificationRules.notification_rulescCs ||_dS)zºSet the notification_rules of this NotificationRules. :param notification_rules: The notification_rules of this NotificationRules. :type: list[NotificationRule] Nr )rrrrr r>scCs|jS)z~Get the links of this NotificationRules. :return: The links of this NotificationRules. :rtype: Links ©rr rrr rGszNotificationRules.linkscCs ||_dS)z‚Set the links of this NotificationRules. :param links: The links of this NotificationRules. :type: Links Nr )rrrrr rPscCsŽ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 Úaóz+NotificationRules.to_dict..rcSs&t|ddƒr"|d|d ¡fS|S)Nérrr)Úitemrrr rhs ÿ) Ú openapi_typesÚitemsÚgetattrÚ isinstanceÚlistÚmaprrÚdict)rÚresultÚattrÚ_Úvaluerrr rYs"  þ   ý  zNotificationRules.to_dictcCst | ¡¡S)z.Return the string representation of the model.)ÚpprintÚpformatrr rrr Úto_strqszNotificationRules.to_strcCs| ¡S)zFor `print` and `pprint`.)r#r rrr Ú__repr__uszNotificationRules.__repr__cCst|tƒsdS|j|jkS)z&Return true if both objects are equal.F)rrÚ__dict__©rÚotherrrr Ú__eq__ys zNotificationRules.__eq__cCs ||k S)z*Return true if both objects are not equal.rr&rrr Ú__ne__€szNotificationRules.__ne__)NN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rZ attribute_mapr ÚpropertyrÚsetterrrr#r$r(r)rrrr rs*þþ     r)r-r!ÚreÚobjectrrrrr Ús