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@seZdZdZdddddZddd d dZd$d d ZeddZej ddZeddZ e j ddZ eddZ e j ddZ eddZ e j ddZ ddZ ddZddZd d!Zd"d#Zd S)%TemplateSummaryErrorszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. Z TemplateKindstrz list[str]z list[int])kindreasonfieldsindexesrrrrNcCsZd|_d|_d|_d|_d|_|dk r,||_|dk r:||_|dk rH||_|dk rV||_dS)z3TemplateSummaryErrors - a model defined in OpenAPI.N) _kind_reason_fields_indexesZ discriminatorrrrr)selfrrrrr _/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/template_summary_errors.py__init__.szTemplateSummaryErrors.__init__cCs|jS)zGet the kind of this TemplateSummaryErrors. :return: The kind of this TemplateSummaryErrors. :rtype: TemplateKind rr r r rr?szTemplateSummaryErrors.kindcCs ||_dS)zSet the kind of this TemplateSummaryErrors. :param kind: The kind of this TemplateSummaryErrors. :type: TemplateKind Nr)r rr r rrHscCs|jS)zGet the reason of this TemplateSummaryErrors. :return: The reason of this TemplateSummaryErrors. :rtype: str r rr r rrQszTemplateSummaryErrors.reasoncCs ||_dS)zSet the reason of this TemplateSummaryErrors. :param reason: The reason of this TemplateSummaryErrors. :type: str Nr)r rr r rrZscCs|jS)zGet the fields of this TemplateSummaryErrors. :return: The fields of this TemplateSummaryErrors. :rtype: list[str] r rr r rrcszTemplateSummaryErrors.fieldscCs ||_dS)zSet the fields of this TemplateSummaryErrors. :param fields: The fields of this TemplateSummaryErrors. :type: list[str] Nr)r rr r rrlscCs|jS)zGet the indexes of this TemplateSummaryErrors. :return: The indexes of this TemplateSummaryErrors. :rtype: list[int] r rr r rruszTemplateSummaryErrors.indexescCs ||_dS)zSet the indexes of this TemplateSummaryErrors. :param indexes: The indexes of this TemplateSummaryErrors. :type: list[int] Nr)r rr r rr~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)xr r rz/TemplateSummaryErrors.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemr r rrs ) openapi_typesitemsgetattr isinstancelistmaprrdict)r resultattr_valuer r rrs"       zTemplateSummaryErrors.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrr r rto_strszTemplateSummaryErrors.to_strcCs|S)zFor `print` and `pprint`.)r*rr r r__repr__szTemplateSummaryErrors.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r r__dict__r otherr r r__eq__s zTemplateSummaryErrors.__eq__cCs ||k S)z*Return true if both objects are not equal.r r-r r r__ne__szTemplateSummaryErrors.__ne__)NNNN)__name__ __module__ __qualname____doc__rZ attribute_maprpropertyrsetterrrrrr*r+r/r0r r r rrsB         r)r4r(reobjectrr r r rs