U wi` @ s( d Z ddlZddlZG dd deZdS )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 @ s e Zd ZdZdddddZddd d dZd$dd Zedd Zej dd Zedd Z e j dd Z edd Zej dd Zedd Zej dd Zdd Z dd Zdd Zd d! Zd"d# ZdS )%TemplateSummaryErrorszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ZTemplateKindstrz list[str]z list[int])kindreasonfieldsindexesr r r r Nc C sZ d| _ d| _d| _d| _d| _|dk r,|| _|dk r:|| _|dk rH|| _|dk rV|| _dS )z3TemplateSummaryErrors - a model defined in OpenAPI.N) _kind_reason_fields_indexesZ discriminatorr r r r )selfr r r r r _/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/template_summary_errors.py__init__. s zTemplateSummaryErrors.__init__c C s | j S )zGet the kind of this TemplateSummaryErrors. :return: The kind of this TemplateSummaryErrors. :rtype: TemplateKind r r r r r r ? s zTemplateSummaryErrors.kindc C s || _ dS )zSet the kind of this TemplateSummaryErrors. :param kind: The kind of this TemplateSummaryErrors. :type: TemplateKind Nr )r r r r r r H s c C s | j S )zGet the reason of this TemplateSummaryErrors. :return: The reason of this TemplateSummaryErrors. :rtype: str r r r r r r Q s zTemplateSummaryErrors.reasonc C s || _ dS )zSet the reason of this TemplateSummaryErrors. :param reason: The reason of this TemplateSummaryErrors. :type: str Nr )r r r r r r Z s c C s | j S )zGet the fields of this TemplateSummaryErrors. :return: The fields of this TemplateSummaryErrors. :rtype: list[str] r r r r r r c s zTemplateSummaryErrors.fieldsc C s || _ dS )zSet the fields of this TemplateSummaryErrors. :param fields: The fields of this TemplateSummaryErrors. :type: list[str] Nr )r r r r r r l s c C s | j S )zGet the indexes of this TemplateSummaryErrors. :return: The indexes of this TemplateSummaryErrors. :rtype: list[int] r r r r r r u s zTemplateSummaryErrors.indexesc C s || _ dS )zSet the indexes of this TemplateSummaryErrors. :param indexes: The indexes of this TemplateSummaryErrors. :type: list[int] Nr )r r r r r r ~ s c C s i }| j D ]z\}}t| |}t|trBttdd |||<