U wâ’iõ ã@s(dZddlZddlZGdd„deƒZdS)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ŠeZdZdZdddœZdddœZddd „Zed d „ƒZej d d „ƒZed d„ƒZ e j dd„ƒZ dd„Z dd„Z dd„Z dd„Zdd„ZdS)ÚSourcesz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ZResourceMembersLinksz list[Source])ÚlinksÚsourcesrrNcCs2d|_d|_d|_|dk r ||_|dk r.||_dS)z%Sources - a model defined in OpenAPI.N)Ú_linksÚ_sourcesZ discriminatorrr)Úselfrr©rúO/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/sources.pyÚ__init__*szSources.__init__cCs|jS)zyGet the links of this Sources. :return: The links of this Sources. :rtype: ResourceMembersLinks ©r©rrrr r5sz Sources.linkscCs ||_dS)z}Set the links of this Sources. :param links: The links of this Sources. :type: ResourceMembersLinks Nr )rrrrr r>scCs|jS)zuGet the sources of this Sources. :return: The sources of this Sources. :rtype: list[Source] ©rr rrr rGszSources.sourcescCs ||_dS)z{Set the sources of this Sources. :param sources: The sources of this Sources. :type: list[Source] Nr )rrrrr rPscCsŽi}|j ¡D]z\}}t||ƒ}t|tƒrBttdd„|ƒƒ||<qt|dƒrZ| ¡||<qt|tƒr€ttdd„| ¡ƒƒ||<q|||<q|S)z&Return the model properties as a dict.cSst|dƒr| ¡S|S)NÚto_dict©Úhasattrr)Úxrrr Úaóz!Sources.to_dict..rcSs&t|ddƒr"|d|d ¡fS|S)Nérrr)Úitemrrr rhs ÿ) Ú openapi_typesÚitemsÚgetattrÚ isinstanceÚlistÚmaprrÚdict)rÚresultÚattrÚ_Úvaluerrr rYs"  þ   ý  zSources.to_dictcCst | ¡¡S)z.Return the string representation of the model.)ÚpprintÚpformatrr rrr Úto_strqszSources.to_strcCs| ¡S)zFor `print` and `pprint`.)r#r rrr Ú__repr__uszSources.__repr__cCst|tƒsdS|j|jkS)z&Return true if both objects are equal.F)rrÚ__dict__©rÚotherrrr Ú__eq__ys zSources.__eq__cCs ||k S)z*Return true if both objects are not equal.rr&rrr Ú__ne__€szSources.__ne__)NN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rZ attribute_mapr ÚpropertyrÚsetterrrr#r$r(r)rrrr rs*þþ     r)r-r!ÚreÚobjectrrrrr Ús