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 @szeZdZdZdddddddd d d d Zd dddddddddd ZdBddZeddZej ddZeddZ e j ddZ 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-Zed/d0Zej d1d0Zed2d3Zej d4d3Zed5d6Zej d7d6Zd8d9Zd:d;Zdd?Zd@dAZdS)CTemplateSummaryDiffzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. z list[TemplateSummaryDiffBuckets]zlist[TemplateSummaryDiffChecks]z#list[TemplateSummaryDiffDashboards]zlist[TemplateSummaryDiffLabels]z&list[TemplateSummaryDiffLabelMappings]z.list[TemplateSummaryDiffNotificationEndpoints]z*list[TemplateSummaryDiffNotificationRules]zlist[TemplateSummaryDiffTasks]z(list[TemplateSummaryDiffTelegrafConfigs]z"list[TemplateSummaryDiffVariables]) bucketschecks dashboardslabelslabel_mappingsnotification_endpointsnotification_rulestaskstelegraf_configs variablesrrrrZ labelMappingsZnotificationEndpointsZnotificationRulesr ZtelegrafConfigsr Nc Csd|_d|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ |dk rP||_ |dk r^||_ |dk rl||_ |dk rz||_|dk r||_|dk r||_|dk r||_|dk r||_| dk r| |_| dk r| |_dS)z1TemplateSummaryDiff - a model defined in OpenAPI.N)_buckets_checks _dashboards_labels_label_mappings_notification_endpoints_notification_rules_tasks_telegraf_configs _variablesZ discriminatorrrrrrrr r r r ) selfrrrrrrr r r r r]/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/template_summary_diff.py__init__:s>zTemplateSummaryDiff.__init__cCs|jS)zGet the buckets of this TemplateSummaryDiff. :return: The buckets of this TemplateSummaryDiff. :rtype: list[TemplateSummaryDiffBuckets] r rrrrr]szTemplateSummaryDiff.bucketscCs ||_dS)zSet the buckets of this TemplateSummaryDiff. :param buckets: The buckets of this TemplateSummaryDiff. :type: list[TemplateSummaryDiffBuckets] Nr)rrrrrrfscCs|jS)zGet the checks of this TemplateSummaryDiff. :return: The checks of this TemplateSummaryDiff. :rtype: list[TemplateSummaryDiffChecks] rrrrrroszTemplateSummaryDiff.checkscCs ||_dS)zSet the checks of this TemplateSummaryDiff. :param checks: The checks of this TemplateSummaryDiff. :type: list[TemplateSummaryDiffChecks] Nr)rrrrrrxscCs|jS)zGet the dashboards of this TemplateSummaryDiff. :return: The dashboards of this TemplateSummaryDiff. :rtype: list[TemplateSummaryDiffDashboards] rrrrrrszTemplateSummaryDiff.dashboardscCs ||_dS)zSet the dashboards of this TemplateSummaryDiff. :param dashboards: The dashboards of this TemplateSummaryDiff. :type: list[TemplateSummaryDiffDashboards] Nr)rrrrrrscCs|jS)zGet the labels of this TemplateSummaryDiff. :return: The labels of this TemplateSummaryDiff. :rtype: list[TemplateSummaryDiffLabels] rrrrrrszTemplateSummaryDiff.labelscCs ||_dS)zSet the labels of this TemplateSummaryDiff. :param labels: The labels of this TemplateSummaryDiff. :type: list[TemplateSummaryDiffLabels] Nr)rrrrrrscCs|jS)zGet the label_mappings of this TemplateSummaryDiff. :return: The label_mappings of this TemplateSummaryDiff. :rtype: list[TemplateSummaryDiffLabelMappings] rrrrrrsz"TemplateSummaryDiff.label_mappingscCs ||_dS)zSet the label_mappings of this TemplateSummaryDiff. :param label_mappings: The label_mappings of this TemplateSummaryDiff. :type: list[TemplateSummaryDiffLabelMappings] Nr )rrrrrrscCs|jS)zGet the notification_endpoints of this TemplateSummaryDiff. :return: The notification_endpoints of this TemplateSummaryDiff. :rtype: list[TemplateSummaryDiffNotificationEndpoints] rrrrrrsz*TemplateSummaryDiff.notification_endpointscCs ||_dS)zSet the notification_endpoints of this TemplateSummaryDiff. :param notification_endpoints: The notification_endpoints of this TemplateSummaryDiff. :type: list[TemplateSummaryDiffNotificationEndpoints] Nr!)rrrrrrscCs|jS)zGet the notification_rules of this TemplateSummaryDiff. :return: The notification_rules of this TemplateSummaryDiff. :rtype: list[TemplateSummaryDiffNotificationRules] rrrrrr sz&TemplateSummaryDiff.notification_rulescCs ||_dS)zSet the notification_rules of this TemplateSummaryDiff. :param notification_rules: The notification_rules of this TemplateSummaryDiff. :type: list[TemplateSummaryDiffNotificationRules] Nr")rr rrrr scCs|jS)zGet the tasks of this TemplateSummaryDiff. :return: The tasks of this TemplateSummaryDiff. :rtype: list[TemplateSummaryDiffTasks] rrrrrr szTemplateSummaryDiff.taskscCs ||_dS)zSet the tasks of this TemplateSummaryDiff. :param tasks: The tasks of this TemplateSummaryDiff. :type: list[TemplateSummaryDiffTasks] Nr#)rr rrrr scCs|jS)zGet the telegraf_configs of this TemplateSummaryDiff. :return: The telegraf_configs of this TemplateSummaryDiff. :rtype: list[TemplateSummaryDiffTelegrafConfigs] rrrrrr sz$TemplateSummaryDiff.telegraf_configscCs ||_dS)zSet the telegraf_configs of this TemplateSummaryDiff. :param telegraf_configs: The telegraf_configs of this TemplateSummaryDiff. :type: list[TemplateSummaryDiffTelegrafConfigs] Nr$)rr rrrr scCs|jS)zGet the variables of this TemplateSummaryDiff. :return: The variables of this TemplateSummaryDiff. :rtype: list[TemplateSummaryDiffVariables] rrrrrr szTemplateSummaryDiff.variablescCs ||_dS)zSet the variables of this TemplateSummaryDiff. :param variables: The variables of this TemplateSummaryDiff. :type: list[TemplateSummaryDiffVariables] Nr%)rr rrrr 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_dicthasattrr&)xrrrz-TemplateSummaryDiff.to_dict..r&cSs&t|ddr"|d|dfS|S)Nr&rr')itemrrrr* s ) openapi_typesitemsgetattr isinstancelistmapr(r&dict)rresultattr_valuerrrr&s"       zTemplateSummaryDiff.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatr&rrrrto_str)szTemplateSummaryDiff.to_strcCs|S)zFor `print` and `pprint`.)r;rrrr__repr__-szTemplateSummaryDiff.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r1r__dict__rotherrrr__eq__1s zTemplateSummaryDiff.__eq__cCs ||k S)z*Return true if both objects are not equal.rr>rrr__ne__8szTemplateSummaryDiff.__ne__) NNNNNNNNNN)__name__ __module__ __qualname____doc__r.Z attribute_maprpropertyrsetterrrrrrr r r r r&r;r<r@rArrrrrs #                    r)rEr9reobjectrrrrrs