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)TelegramNotificationRuleBasec@seZdZdZdddddddddddddddddddddddddd d d Zd d ddddddddddddddddddd d!d"d#d$d%d&d Zd5d)d*Zd+d,Zd-d.Zd/d0Z d1d2Z d3d4Z d(S)6TelegramNotificationRulezNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strbooldatetimeZTaskStatusTypeintz list[TagRule]zlist[StatusRule]z list[Label]ZNotificationRuleBaseLinkstypemessage_template parse_modedisable_web_page_previewlatest_completedlast_run_statuslast_run_errorid endpoint_idorg_idtask_idowner_id created_at updated_atstatusname sleep_untileveryoffset runbook_link limit_everylimit tag_rules description status_ruleslabelslinksr ZmessageTemplateZ parseModeZdisableWebPagePreviewZlatestCompletedZ lastRunStatusZ lastRunErrorrZ endpointIDZorgIDZtaskIDZownerIDZ createdAtZ updatedAtrrZ sleepUntilrrZ runbookLinkZ limitEveryrZtagRulesr Z statusRulesr"r#telegramNcCsLtj|||||||||| | | | | ||||||||||||||dd|_dS)z6TelegramNotificationRule - a model defined in OpenAPI.rN)r__init__Z discriminator)selfr r r r r rrrrrrrrrrrrrrrrrrr r!r"r#r'b/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/telegram_notification_rule.pyr%^sBz!TelegramNotificationRule.__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(kz2TelegramNotificationRule.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"       z TelegramNotificationRule.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatr)r&r'r'r(to_str{szTelegramNotificationRule.to_strcCs|S)zFor `print` and `pprint`.)r?r>r'r'r(__repr__sz!TelegramNotificationRule.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r4r__dict__r&otherr'r'r(__eq__s zTelegramNotificationRule.__eq__cCs ||k S)z*Return true if both objects are not equal.r'rBr'r'r(__ne__szTelegramNotificationRule.__ne__)r$NNNNNNNNNNNNNNNNNNNNNNNNNN) __name__ __module__ __qualname____doc__r1Z attribute_mapr%r)r?r@rDrEr'r'r'r(rs~ r)rIr<reZ6influxdb_client.domain.telegram_notification_rule_baserrr'r'r'r(s