U wi~@s4dZddlZddlZddlmZGdddeZdS)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 N)SMTPNotificationRuleBasec@seZdZdZddddddddddddddddddddddddddd d Zd d d ddddddddddddddddddd d!d"d#d$d%d Zd4d(d)Zd*d+Zd,d-Zd.d/Z d0d1Z d2d3Z d'S)5SMTPNotificationRulezNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strdatetimeZTaskStatusTypeintz list[TagRule]zlist[StatusRule]z list[Label]ZNotificationRuleBaseLinkstypesubject_template body_templatetolatest_completedlast_run_statuslast_run_errorid endpoint_idorg_idtask_idowner_id created_at updated_atstatusname sleep_untileveryoffset runbook_link limit_everylimit tag_rules description status_ruleslabelslinksrZsubjectTemplateZ bodyTemplater ZlatestCompletedZ lastRunStatusZ lastRunErrorrZ endpointIDZorgIDZtaskIDZownerIDZ createdAtZ updatedAtrrZ sleepUntilrrZ runbookLinkZ limitEveryrZtagRulesrZ statusRulesr!r"smtpNcCsLtj|||||||||| | | | | ||||||||||||||dd|_dS)z2SMTPNotificationRule - a model defined in OpenAPI.rN)r__init__Z discriminator)selfrr r r r r rrrrrrrrrrrrrrrrrrr r!r"r&^/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/smtp_notification_rule.pyr$^sBzSMTPNotificationRule.__init__cCsi}|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'kz.SMTPNotificationRule.to_dict..r(cSs&t|ddr"|d|dfS|S)Nr(rr))itemr&r&r'r,rs ) openapi_typesitemsgetattr isinstancelistmapr*r(dict)r%resultattr_valuer&r&r'r(cs"       zSMTPNotificationRule.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatr(r%r&r&r'to_str{szSMTPNotificationRule.to_strcCs|S)zFor `print` and `pprint`.)r>r=r&r&r'__repr__szSMTPNotificationRule.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r3r__dict__r%otherr&r&r'__eq__s zSMTPNotificationRule.__eq__cCs ||k S)z*Return true if both objects are not equal.r&rAr&r&r'__ne__szSMTPNotificationRule.__ne__)r#NNNNNNNNNNNNNNNNNNNNNNNNNN) __name__ __module__ __qualname____doc__r0Z attribute_mapr$r(r>r?rCrDr&r&r&r'rs~ r)rHr;reZ2influxdb_client.domain.smtp_notification_rule_baserrr&r&r&r's