U vi~@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)HTTPNotificationRuleBasec@seZdZdZddddddddddddddddddddddddd d Zd d d ddddddddddddddddddd d!d"d#d Zd2d&d'Zd(d)Zd*d+Zd,d-Z d.d/Z d0d1Z d%S)3HTTPNotificationRulezNOTE: 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]ZNotificationRuleBaseLinkstypeurllatest_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 ZlatestCompletedZ lastRunStatusZ lastRunErrorr Z endpointIDZorgIDZtaskIDZownerIDZ createdAtZ updatedAtrrZ sleepUntilrrZ runbookLinkZ limitEveryrZtagRulesrZ statusRulesrr httpNcCsHtj|||||||||| | | | | ||||||||||||dd|_dS)z2HTTPNotificationRule - a model defined in OpenAPI.rN)r__init__Z discriminator)selfrr r r r r rrrrrrrrrrrrrrrrrrr r$^/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/http_notification_rule.pyr"Zs>zHTTPNotificationRule.__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%gz.HTTPNotificationRule.to_dict..r&cSs&t|ddr"|d|dfS|S)Nr&rr')itemr$r$r%r*ns ) openapi_typesitemsgetattr isinstancelistmapr(r&dict)r#resultattr_valuer$r$r%r&_s"       zHTTPNotificationRule.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatr&r#r$r$r%to_strwszHTTPNotificationRule.to_strcCs|S)zFor `print` and `pprint`.)r<r;r$r$r%__repr__{szHTTPNotificationRule.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r1r__dict__r#otherr$r$r%__eq__s zHTTPNotificationRule.__eq__cCs ||k S)z*Return true if both objects are not equal.r$r?r$r$r%__ne__szHTTPNotificationRule.__ne__)r!NNNNNNNNNNNNNNNNNNNNNNNN) __name__ __module__ __qualname____doc__r.Z attribute_mapr"r&r<r=rArBr$r$r$r%rsv r)rFr9reZ2influxdb_client.domain.http_notification_rule_baserrr$r$r$r%s