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@seZdZdZddddddZdd d d d dZd)ddZeddZej ddZeddZ e j ddZ eddZ e j ddZ eddZ e j ddZ eddZ e j ddZ dd Zd!d"Zd#d$Zd%d&Zd'd(Zd S)*TemplateSummaryzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. z list[str]strZTemplateSummarySummaryZTemplateSummaryDiffzlist[TemplateSummaryErrors])sourcesstack_idsummarydifferrorsrZstackIDrrrNcCsnd|_d|_d|_d|_d|_d|_|dk r2||_|dk r@||_|dk rN||_|dk r\||_ |dk rj||_ dS)z-TemplateSummary - a model defined in OpenAPI.N) _sources _stack_id_summary_diff_errorsZ discriminatorrrrrr)selfrrrrrrX/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/template_summary.py__init__0s zTemplateSummary.__init__cCs|jS)zGet the sources of this TemplateSummary. :return: The sources of this TemplateSummary. :rtype: list[str] r rrrrrDszTemplateSummary.sourcescCs ||_dS)zSet the sources of this TemplateSummary. :param sources: The sources of this TemplateSummary. :type: list[str] Nr)rrrrrrMscCs|jS)z~Get the stack_id of this TemplateSummary. :return: The stack_id of this TemplateSummary. :rtype: str r rrrrrVszTemplateSummary.stack_idcCs ||_dS)zSet the stack_id of this TemplateSummary. :param stack_id: The stack_id of this TemplateSummary. :type: str Nr)rrrrrr_scCs|jS)zGet the summary of this TemplateSummary. :return: The summary of this TemplateSummary. :rtype: TemplateSummarySummary r rrrrrhszTemplateSummary.summarycCs ||_dS)zSet the summary of this TemplateSummary. :param summary: The summary of this TemplateSummary. :type: TemplateSummarySummary Nr)rrrrrrqscCs|jS)zGet the diff of this TemplateSummary. :return: The diff of this TemplateSummary. :rtype: TemplateSummaryDiff r rrrrrzszTemplateSummary.diffcCs ||_dS)zSet the diff of this TemplateSummary. :param diff: The diff of this TemplateSummary. :type: TemplateSummaryDiff Nr)rrrrrrscCs|jS)zGet the errors of this TemplateSummary. :return: The errors of this TemplateSummary. :rtype: list[TemplateSummaryErrors] r rrrrrszTemplateSummary.errorscCs ||_dS)zSet the errors of this TemplateSummary. :param errors: The errors of this TemplateSummary. :type: list[TemplateSummaryErrors] Nr)rrrrrrscCsi}|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)TemplateSummary.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemrrrrs ) openapi_typesitemsgetattr isinstancelistmaprrdict)rresultattr_valuerrrrs"       zTemplateSummary.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrrrrto_strszTemplateSummary.to_strcCs|S)zFor `print` and `pprint`.)r-rrrr__repr__szTemplateSummary.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r#r__dict__rotherrrr__eq__s zTemplateSummary.__eq__cCs ||k S)z*Return true if both objects are not equal.rr0rrr__ne__szTemplateSummary.__ne__)NNNNN)__name__ __module__ __qualname____doc__r Z attribute_maprpropertyrsetterrrrrrr-r.r2r3rrrrrsN            r)r7r+reobjectrrrrrs