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) TemplateExportByNamezNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strzlist[TemplateExportByIDOrgIDs]z#list[TemplateExportByNameResources])stack_idorg_ids resourcesZstackIDZorgIDsrNcCsFd|_d|_d|_d|_|dk r&||_|dk r4||_|dk rB||_dS)z2TemplateExportByName - a model defined in OpenAPI.N) _stack_id_org_ids _resourcesZ discriminatorrrr)selfrrrr _/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/template_export_by_name.py__init__,szTemplateExportByName.__init__cCs|jS)zGet the stack_id of this TemplateExportByName. :return: The stack_id of this TemplateExportByName. :rtype: str rr r r r r:szTemplateExportByName.stack_idcCs ||_dS)zSet the stack_id of this TemplateExportByName. :param stack_id: The stack_id of this TemplateExportByName. :type: str Nr)r rr r r rCscCs|jS)zGet the org_ids of this TemplateExportByName. :return: The org_ids of this TemplateExportByName. :rtype: list[TemplateExportByIDOrgIDs] rrr r r rLszTemplateExportByName.org_idscCs ||_dS)zSet the org_ids of this TemplateExportByName. :param org_ids: The org_ids of this TemplateExportByName. :type: list[TemplateExportByIDOrgIDs] Nr)r rr r r rUscCs|jS)zGet the resources of this TemplateExportByName. :return: The resources of this TemplateExportByName. :rtype: list[TemplateExportByNameResources] r rr r r r^szTemplateExportByName.resourcescCs ||_dS)zSet the resources of this TemplateExportByName. :param resources: The resources of this TemplateExportByName. :type: list[TemplateExportByNameResources] 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.TemplateExportByName.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemr r r rs ) openapi_typesitemsgetattr isinstancelistmaprrdict)r resultattr_valuer r r rps"       zTemplateExportByName.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrr r r to_strszTemplateExportByName.to_strcCs|S)zFor `print` and `pprint`.)r'rr r r __repr__szTemplateExportByName.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__r otherr r r __eq__s zTemplateExportByName.__eq__cCs ||k S)z*Return true if both objects are not equal.r r*r r r __ne__szTemplateExportByName.__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