U wi0@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 @seZdZdZddddddddd d d d d Zddddddddddddd ZdKddZeddZej ddZed 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*Z e j d+d*Z ed,d-Zej d.d-Zed/d0Zej d1d0Zed2d3Zej d4d3Zed5d6Zej d7d6Zed8d9Zej d:d9Zed;d<Zej d=d<Zed>d?Zej d@d?ZdAdBZdCdDZdEdFZdGdHZdIdJZdS)LTemplateSummarySummaryzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. z#list[TemplateSummarySummaryBuckets]zlist[CheckDiscriminator]z&list[TemplateSummarySummaryDashboards]zlist[TemplateSummaryLabel]z)list[TemplateSummarySummaryLabelMappings]z list[str]z'list[NotificationEndpointDiscriminator]z-list[TemplateSummarySummaryNotificationRules]z!list[TemplateSummarySummaryTasks]zlist[TelegrafRequest]z%list[TemplateSummarySummaryVariables]) bucketschecks dashboardslabelslabel_mappingsmissing_env_refsmissing_secretsnotification_endpointsnotification_rulestaskstelegraf_configs variablesrrrrZ labelMappingsZmissingEnvRefsZmissingSecretsZnotificationEndpointsZnotificationRulesr ZtelegrafConfigsrNc Csd|_d|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ |dk r\||_ |dk rj||_|dk rx||_|dk r||_|dk r||_|dk r||_|dk r||_|dk r||_| dk r| |_| dk r| |_| dk r| |_| dk r| |_dS)z4TemplateSummarySummary - a model defined in OpenAPI.N)_buckets_checks _dashboards_labels_label_mappings_missing_env_refs_missing_secrets_notification_endpoints_notification_rules_tasks_telegraf_configs _variablesZ discriminatorrrrrrrr r r r r r) selfrrrrrrr r r r r rr`/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/template_summary_summary.py__init__>sJzTemplateSummarySummary.__init__cCs|jS)zGet the buckets of this TemplateSummarySummary. :return: The buckets of this TemplateSummarySummary. :rtype: list[TemplateSummarySummaryBuckets] rrrrrrgszTemplateSummarySummary.bucketscCs ||_dS)zSet the buckets of this TemplateSummarySummary. :param buckets: The buckets of this TemplateSummarySummary. :type: list[TemplateSummarySummaryBuckets] Nr)rrrrrrpscCs|jS)zGet the checks of this TemplateSummarySummary. :return: The checks of this TemplateSummarySummary. :rtype: list[CheckDiscriminator] rr rrrryszTemplateSummarySummary.checkscCs ||_dS)zSet the checks of this TemplateSummarySummary. :param checks: The checks of this TemplateSummarySummary. :type: list[CheckDiscriminator] Nr!)rrrrrrscCs|jS)zGet the dashboards of this TemplateSummarySummary. :return: The dashboards of this TemplateSummarySummary. :rtype: list[TemplateSummarySummaryDashboards] rr rrrrsz!TemplateSummarySummary.dashboardscCs ||_dS)zSet the dashboards of this TemplateSummarySummary. :param dashboards: The dashboards of this TemplateSummarySummary. :type: list[TemplateSummarySummaryDashboards] Nr")rrrrrrscCs|jS)zGet the labels of this TemplateSummarySummary. :return: The labels of this TemplateSummarySummary. :rtype: list[TemplateSummaryLabel] rr rrrrszTemplateSummarySummary.labelscCs ||_dS)zSet the labels of this TemplateSummarySummary. :param labels: The labels of this TemplateSummarySummary. :type: list[TemplateSummaryLabel] Nr#)rrrrrrscCs|jS)zGet the label_mappings of this TemplateSummarySummary. :return: The label_mappings of this TemplateSummarySummary. :rtype: list[TemplateSummarySummaryLabelMappings] rr rrrrsz%TemplateSummarySummary.label_mappingscCs ||_dS)zSet the label_mappings of this TemplateSummarySummary. :param label_mappings: The label_mappings of this TemplateSummarySummary. :type: list[TemplateSummarySummaryLabelMappings] Nr$)rrrrrrscCs|jS)zGet the missing_env_refs of this TemplateSummarySummary. :return: The missing_env_refs of this TemplateSummarySummary. :rtype: list[str] rr rrrrsz'TemplateSummarySummary.missing_env_refscCs ||_dS)zSet the missing_env_refs of this TemplateSummarySummary. :param missing_env_refs: The missing_env_refs of this TemplateSummarySummary. :type: list[str] Nr%)rrrrrrscCs|jS)zGet the missing_secrets of this TemplateSummarySummary. :return: The missing_secrets of this TemplateSummarySummary. :rtype: list[str] rr rrrr sz&TemplateSummarySummary.missing_secretscCs ||_dS)zSet the missing_secrets of this TemplateSummarySummary. :param missing_secrets: The missing_secrets of this TemplateSummarySummary. :type: list[str] Nr&)rr rrrr scCs|jS)zGet the notification_endpoints of this TemplateSummarySummary. :return: The notification_endpoints of this TemplateSummarySummary. :rtype: list[NotificationEndpointDiscriminator] rr rrrr sz-TemplateSummarySummary.notification_endpointscCs ||_dS)zSet the notification_endpoints of this TemplateSummarySummary. :param notification_endpoints: The notification_endpoints of this TemplateSummarySummary. :type: list[NotificationEndpointDiscriminator] Nr')rr rrrr scCs|jS)zGet the notification_rules of this TemplateSummarySummary. :return: The notification_rules of this TemplateSummarySummary. :rtype: list[TemplateSummarySummaryNotificationRules] rr rrrr sz)TemplateSummarySummary.notification_rulescCs ||_dS)zSet the notification_rules of this TemplateSummarySummary. :param notification_rules: The notification_rules of this TemplateSummarySummary. :type: list[TemplateSummarySummaryNotificationRules] Nr()rr rrrr scCs|jS)zGet the tasks of this TemplateSummarySummary. :return: The tasks of this TemplateSummarySummary. :rtype: list[TemplateSummarySummaryTasks] rr rrrr szTemplateSummarySummary.taskscCs ||_dS)zSet the tasks of this TemplateSummarySummary. :param tasks: The tasks of this TemplateSummarySummary. :type: list[TemplateSummarySummaryTasks] Nr))rr rrrr scCs|jS)zGet the telegraf_configs of this TemplateSummarySummary. :return: The telegraf_configs of this TemplateSummarySummary. :rtype: list[TelegrafRequest] rr rrrr sz'TemplateSummarySummary.telegraf_configscCs ||_dS)zSet the telegraf_configs of this TemplateSummarySummary. :param telegraf_configs: The telegraf_configs of this TemplateSummarySummary. :type: list[TelegrafRequest] Nr*)rr rrrr $scCs|jS)zGet the variables of this TemplateSummarySummary. :return: The variables of this TemplateSummarySummary. :rtype: list[TemplateSummarySummaryVariables] rr rrrr-sz TemplateSummarySummary.variablescCs ||_dS)zSet the variables of this TemplateSummarySummary. :param variables: The variables of this TemplateSummarySummary. :type: list[TemplateSummarySummaryVariables] Nr+)rrrrrr6scCsi}|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,)xrrrGz0TemplateSummarySummary.to_dict..r,cSs&t|ddr"|d|dfS|S)Nr,rr-)itemrrrr0Ns ) openapi_typesitemsgetattr isinstancelistmapr.r,dict)rresultattr_valuerrrr,?s"       zTemplateSummarySummary.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatr,r rrrto_strWszTemplateSummarySummary.to_strcCs|S)zFor `print` and `pprint`.)rAr rrr__repr__[szTemplateSummarySummary.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r7r__dict__rotherrrr__eq___s zTemplateSummarySummary.__eq__cCs ||k S)z*Return true if both objects are not equal.rrDrrr__ne__fszTemplateSummarySummary.__ne__) NNNNNNNNNNNN)__name__ __module__ __qualname____doc__r4Z attribute_maprpropertyrsetterrrrrrr r r r r rr,rArBrFrGrrrrrs )                        r)rKr?reobjectrrrrrs