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)SlackNotificationRuleBasec@seZdZdZdddddddddddddddddddddddddd d Zd d d ddddddddddddddddddd d!d"d#d$d Zd3d'd(Zd)d*Zd+d,Zd-d.Z d/d0Z d1d2Z d&S)4SlackNotificationRulezNOTE: 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]ZNotificationRuleBaseLinkstypechannelmessage_templatelatest_completedlast_run_statuslast_run_errorid endpoint_idorg_idtask_idowner_id created_at updated_atstatusname sleep_untileveryoffset runbook_link limit_everylimit tag_rules description status_ruleslabelslinksrr ZmessageTemplateZlatestCompletedZ lastRunStatusZ lastRunErrorrZ endpointIDZorgIDZtaskIDZownerIDZ createdAtZ updatedAtrrZ sleepUntilrrZ runbookLinkZ limitEveryrZtagRulesrZ statusRulesr r!slackNcCsJtj|||||||||| | | | | |||||||||||||dd|_dS)z3SlackNotificationRule - a model defined in OpenAPI.rN)r__init__Z discriminator)selfrr r r r r rrrrrrrrrrrrrrrrrrr r!r%_/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/slack_notification_rule.pyr#\s@zSlackNotificationRule.__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&iz/SlackNotificationRule.to_dict..r'cSs&t|ddr"|d|dfS|S)Nr'rr()itemr%r%r&r+ps ) openapi_typesitemsgetattr isinstancelistmapr)r'dict)r$resultattr_valuer%r%r&r'as"       zSlackNotificationRule.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatr'r$r%r%r&to_stryszSlackNotificationRule.to_strcCs|S)zFor `print` and `pprint`.)r=r<r%r%r&__repr__}szSlackNotificationRule.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r2r__dict__r$otherr%r%r&__eq__s zSlackNotificationRule.__eq__cCs ||k S)z*Return true if both objects are not equal.r%r@r%r%r&__ne__szSlackNotificationRule.__ne__)r"NNNNNNNNNNNNNNNNNNNNNNNNN) __name__ __module__ __qualname____doc__r/Z attribute_mapr#r'r=r>rBrCr%r%r%r&rsz r)rGr:reZ3influxdb_client.domain.slack_notification_rule_baserrr%r%r%r&s