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@seZdZdZddddZddddZdd d Zed d Zej dd ZeddZ e j ddZ eddZ e j ddZ ddZ ddZ ddZddZddZd S) TemplateApplyTemplatezNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strz list[str]z list[object]) content_typesourcescontentsZ contentTyperrNcCsFd|_d|_d|_d|_|dk r&||_|dk r4||_|dk rB||_dS)z3TemplateApplyTemplate - a model defined in OpenAPI.N) _content_type_sources _contentsZ discriminatorrrr)selfrrrr _/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/template_apply_template.py__init__,szTemplateApplyTemplate.__init__cCs|jS)zGet the content_type of this TemplateApplyTemplate. :return: The content_type of this TemplateApplyTemplate. :rtype: str rr r r r r:sz"TemplateApplyTemplate.content_typecCs ||_dS)zSet the content_type of this TemplateApplyTemplate. :param content_type: The content_type of this TemplateApplyTemplate. :type: str Nr)r rr r r rCscCs|jS)zGet the sources of this TemplateApplyTemplate. :return: The sources of this TemplateApplyTemplate. :rtype: list[str] rrr r r rLszTemplateApplyTemplate.sourcescCs ||_dS)zSet the sources of this TemplateApplyTemplate. :param sources: The sources of this TemplateApplyTemplate. :type: list[str] Nr)r rr r r rUscCs|jS)zGet the contents of this TemplateApplyTemplate. :return: The contents of this TemplateApplyTemplate. :rtype: list[object] r rr r r r^szTemplateApplyTemplate.contentscCs ||_dS)zSet the contents of this TemplateApplyTemplate. :param contents: The contents of this TemplateApplyTemplate. :type: list[object] Nr)r rr r r rgscCsi}|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 r xz/TemplateApplyTemplate.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemr r r rs ) openapi_typesitemsgetattr isinstancelistmaprrdict)r resultattr_valuer r r rps"       zTemplateApplyTemplate.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrr r r to_strszTemplateApplyTemplate.to_strcCs|S)zFor `print` and `pprint`.)r'rr r r __repr__szTemplateApplyTemplate.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__r otherr r r __eq__s zTemplateApplyTemplate.__eq__cCs ||k S)z*Return true if both objects are not equal.r r*r r r __ne__szTemplateApplyTemplate.__ne__)NNN)__name__ __module__ __qualname____doc__rZ attribute_mapr propertyrsetterrrrr'r(r,r-r r r r rs6       r)r1r%reobjectrr r r r s