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@seZdZdZdddZdddZdddZed d Zej d d Zed d Z e j dd Z ddZ ddZ ddZ ddZddZdS)TemplateApplyRemoteszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. str)url content_typerZ contentTypeNcCs*d|_d|_d|_||_|dk r&||_dS)z2TemplateApplyRemotes - a model defined in OpenAPI.N)_url _content_typeZ discriminatorrr)selfrrr ^/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/template_apply_remotes.py__init__*s zTemplateApplyRemotes.__init__cCs|jS)z~Get the url of this TemplateApplyRemotes. :return: The url of this TemplateApplyRemotes. :rtype: str )rrr r r r4szTemplateApplyRemotes.urlcCs|dkrtd||_dS)zSet the url of this TemplateApplyRemotes. :param url: The url of this TemplateApplyRemotes. :type: str Nz+Invalid value for `url`, must not be `None`) ValueErrorr)rrr r r r=scCs|jS)zGet the content_type of this TemplateApplyRemotes. :return: The content_type of this TemplateApplyRemotes. :rtype: str rr r r r rHsz!TemplateApplyRemotes.content_typecCs ||_dS)zSet the content_type of this TemplateApplyRemotes. :param content_type: The content_type of this TemplateApplyRemotes. :type: str Nr)rrr r r rQscCsi}|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 bz.TemplateApplyRemotes.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemr r r ris ) openapi_typesitemsgetattr isinstancelistmaprrdict)rresultattr_valuer r r rZs"       zTemplateApplyRemotes.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrr r r r to_strrszTemplateApplyRemotes.to_strcCs|S)zFor `print` and `pprint`.)r$r r r r __repr__vszTemplateApplyRemotes.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__rotherr r r __eq__zs zTemplateApplyRemotes.__eq__cCs ||k S)z*Return true if both objects are not equal.r r'r r r __ne__szTemplateApplyRemotes.__ne__)NN)__name__ __module__ __qualname____doc__rZ attribute_mapr propertyrsetterrrr$r%r)r*r r r r rs*     r)r.r"reobjectrr r r r s