U wi:@s(dZddlZddlZGdddeZdS)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@seZdZdZddddddddddddddddZd d d d d dddddddddddZdRddZeddZej ddZeddZ e j d dZ ed!d"Z e j d#d"Z ed$d%Z e j d&d%Z ed'd(Z e j d)d(Z ed*d+Zej d,d+Zed-d.Zej d/d.Zed0d1Zej d2d1Zed3d4Zej d5d4Zed6d7Zej d8d7Zed9d:Zej d;d:Zedd=Zed?d@Zej dAd@ZedBdCZej dDdCZedEdFZej dGdFZdHdIZdJdKZdLdMZdNdOZdPdQZdS)S'TemplateSummarySummaryNotificationRuleszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. Z TemplateKindstrz'list[TemplateSummarySummaryStatusRules]z$list[TemplateSummarySummaryTagRules]zlist[TemplateSummaryLabel]z list[object])kindtemplate_meta_namename descriptionendpoint_template_meta_name endpoint_id endpoint_typeeveryoffsetmessage_templatestatus status_rules tag_ruleslabel_associationsenv_referencesrZtemplateMetaNamerrZendpointTemplateMetaNameZ endpointIDZ endpointTyper r ZmessageTemplaterZ statusRulesZtagRulesZlabelAssociationsZ envReferencesNcCs>d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_|dk rn||_|dk r|||_|dk r||_|dk r||_|dk r||_|dk r||_|dk r||_|dk r||_| dk r| |_| dk r| |_| dk r| |_| dk r | |_| dk r| |_|dk r*||_|dk r:||_dS)zETemplateSummarySummaryNotificationRules - a model defined in OpenAPI.N)_kind_template_meta_name_name _description_endpoint_template_meta_name _endpoint_id_endpoint_type_every_offset_message_template_status _status_rules _tag_rules_label_associations_env_referencesZ discriminatorrrrrrr r r r r rrrrr)selfrrrrrr r r r r rrrrrr#s/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/template_summary_summary_notification_rules.py__init__Ds\    z0TemplateSummarySummaryNotificationRules.__init__cCs|jS)zGet the kind of this TemplateSummarySummaryNotificationRules. :return: The kind of this TemplateSummarySummaryNotificationRules. :rtype: TemplateKind rr"r#r#r$rvsz,TemplateSummarySummaryNotificationRules.kindcCs ||_dS)zSet the kind of this TemplateSummarySummaryNotificationRules. :param kind: The kind of this TemplateSummarySummaryNotificationRules. :type: TemplateKind Nr&)r"rr#r#r$rscCs|jS)zGet the template_meta_name of this TemplateSummarySummaryNotificationRules. :return: The template_meta_name of this TemplateSummarySummaryNotificationRules. :rtype: str rr'r#r#r$rsz:TemplateSummarySummaryNotificationRules.template_meta_namecCs ||_dS)zSet the template_meta_name of this TemplateSummarySummaryNotificationRules. :param template_meta_name: The template_meta_name of this TemplateSummarySummaryNotificationRules. :type: str Nr()r"rr#r#r$rscCs|jS)zGet the name of this TemplateSummarySummaryNotificationRules. :return: The name of this TemplateSummarySummaryNotificationRules. :rtype: str rr'r#r#r$rsz,TemplateSummarySummaryNotificationRules.namecCs ||_dS)zSet the name of this TemplateSummarySummaryNotificationRules. :param name: The name of this TemplateSummarySummaryNotificationRules. :type: str Nr))r"rr#r#r$rscCs|jS)zGet the description of this TemplateSummarySummaryNotificationRules. :return: The description of this TemplateSummarySummaryNotificationRules. :rtype: str rr'r#r#r$rsz3TemplateSummarySummaryNotificationRules.descriptioncCs ||_dS)zSet the description of this TemplateSummarySummaryNotificationRules. :param description: The description of this TemplateSummarySummaryNotificationRules. :type: str Nr*)r"rr#r#r$rscCs|jS)zGet the endpoint_template_meta_name of this TemplateSummarySummaryNotificationRules. :return: The endpoint_template_meta_name of this TemplateSummarySummaryNotificationRules. :rtype: str rr'r#r#r$rszCTemplateSummarySummaryNotificationRules.endpoint_template_meta_namecCs ||_dS)zSet the endpoint_template_meta_name of this TemplateSummarySummaryNotificationRules. :param endpoint_template_meta_name: The endpoint_template_meta_name of this TemplateSummarySummaryNotificationRules. :type: str Nr+)r"rr#r#r$rscCs|jS)zGet the endpoint_id of this TemplateSummarySummaryNotificationRules. :return: The endpoint_id of this TemplateSummarySummaryNotificationRules. :rtype: str rr'r#r#r$r sz3TemplateSummarySummaryNotificationRules.endpoint_idcCs ||_dS)zSet the endpoint_id of this TemplateSummarySummaryNotificationRules. :param endpoint_id: The endpoint_id of this TemplateSummarySummaryNotificationRules. :type: str Nr,)r"r r#r#r$r scCs|jS)zGet the endpoint_type of this TemplateSummarySummaryNotificationRules. :return: The endpoint_type of this TemplateSummarySummaryNotificationRules. :rtype: str rr'r#r#r$r sz5TemplateSummarySummaryNotificationRules.endpoint_typecCs ||_dS)zSet the endpoint_type of this TemplateSummarySummaryNotificationRules. :param endpoint_type: The endpoint_type of this TemplateSummarySummaryNotificationRules. :type: str Nr-)r"r r#r#r$r scCs|jS)zGet the every of this TemplateSummarySummaryNotificationRules. :return: The every of this TemplateSummarySummaryNotificationRules. :rtype: str rr'r#r#r$r sz-TemplateSummarySummaryNotificationRules.everycCs ||_dS)zSet the every of this TemplateSummarySummaryNotificationRules. :param every: The every of this TemplateSummarySummaryNotificationRules. :type: str Nr.)r"r r#r#r$r scCs|jS)zGet the offset of this TemplateSummarySummaryNotificationRules. :return: The offset of this TemplateSummarySummaryNotificationRules. :rtype: str rr'r#r#r$r sz.TemplateSummarySummaryNotificationRules.offsetcCs ||_dS)zSet the offset of this TemplateSummarySummaryNotificationRules. :param offset: The offset of this TemplateSummarySummaryNotificationRules. :type: str Nr/)r"r r#r#r$r scCs|jS)zGet the message_template of this TemplateSummarySummaryNotificationRules. :return: The message_template of this TemplateSummarySummaryNotificationRules. :rtype: str rr'r#r#r$r sz8TemplateSummarySummaryNotificationRules.message_templatecCs ||_dS)zSet the message_template of this TemplateSummarySummaryNotificationRules. :param message_template: The message_template of this TemplateSummarySummaryNotificationRules. :type: str Nr0)r"r r#r#r$r !scCs|jS)zGet the status of this TemplateSummarySummaryNotificationRules. :return: The status of this TemplateSummarySummaryNotificationRules. :rtype: str rr'r#r#r$r*sz.TemplateSummarySummaryNotificationRules.statuscCs ||_dS)zSet the status of this TemplateSummarySummaryNotificationRules. :param status: The status of this TemplateSummarySummaryNotificationRules. :type: str Nr1)r"rr#r#r$r3scCs|jS)zGet the status_rules of this TemplateSummarySummaryNotificationRules. :return: The status_rules of this TemplateSummarySummaryNotificationRules. :rtype: list[TemplateSummarySummaryStatusRules] rr'r#r#r$r<sz4TemplateSummarySummaryNotificationRules.status_rulescCs ||_dS)zSet the status_rules of this TemplateSummarySummaryNotificationRules. :param status_rules: The status_rules of this TemplateSummarySummaryNotificationRules. :type: list[TemplateSummarySummaryStatusRules] Nr2)r"rr#r#r$rEscCs|jS)zGet the tag_rules of this TemplateSummarySummaryNotificationRules. :return: The tag_rules of this TemplateSummarySummaryNotificationRules. :rtype: list[TemplateSummarySummaryTagRules] rr'r#r#r$rNsz1TemplateSummarySummaryNotificationRules.tag_rulescCs ||_dS)zSet the tag_rules of this TemplateSummarySummaryNotificationRules. :param tag_rules: The tag_rules of this TemplateSummarySummaryNotificationRules. :type: list[TemplateSummarySummaryTagRules] Nr3)r"rr#r#r$rWscCs|jS)zGet the label_associations of this TemplateSummarySummaryNotificationRules. :return: The label_associations of this TemplateSummarySummaryNotificationRules. :rtype: list[TemplateSummaryLabel] r r'r#r#r$r`sz:TemplateSummarySummaryNotificationRules.label_associationscCs ||_dS)zSet the label_associations of this TemplateSummarySummaryNotificationRules. :param label_associations: The label_associations of this TemplateSummarySummaryNotificationRules. :type: list[TemplateSummaryLabel] Nr4)r"rr#r#r$riscCs|jS)zGet the env_references of this TemplateSummarySummaryNotificationRules. :return: The env_references of this TemplateSummarySummaryNotificationRules. :rtype: list[object] r!r'r#r#r$rrsz6TemplateSummarySummaryNotificationRules.env_referencescCs ||_dS)zSet the env_references of this TemplateSummarySummaryNotificationRules. :param env_references: The env_references of this TemplateSummarySummaryNotificationRules. :type: list[object] Nr5)r"rr#r#r$r{scCsi}|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_dicthasattrr6)xr#r#r$zATemplateSummarySummaryNotificationRules.to_dict..r6cSs&t|ddr"|d|dfS|S)Nr6rr7)itemr#r#r$r:s ) openapi_typesitemsgetattr isinstancelistmapr8r6dict)r"resultattr_valuer#r#r$r6s"       z/TemplateSummarySummaryNotificationRules.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatr6r'r#r#r$to_strsz.TemplateSummarySummaryNotificationRules.to_strcCs|S)zFor `print` and `pprint`.)rKr'r#r#r$__repr__sz0TemplateSummarySummaryNotificationRules.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rAr__dict__r"otherr#r#r$__eq__s z.TemplateSummarySummaryNotificationRules.__eq__cCs ||k S)z*Return true if both objects are not equal.r#rNr#r#r$__ne__sz.TemplateSummarySummaryNotificationRules.__ne__)NNNNNNNNNNNNNNN)__name__ __module__ __qualname____doc__r>Z attribute_mapr%propertyrsetterrrrrr r r r r rrrrrr6rKrLrPrQr#r#r#r$rs 2                              r)rUrIreobjectrr#r#r#r$s