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)ÚTasksz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ZLinksz list[Task])ÚlinksÚtasksrrNcCs2d|_d|_d|_|dk r ||_|dk r.||_dS)z#Tasks - a model defined in OpenAPI.N)Ú_linksÚ_tasksZ discriminatorrr)Úselfrr©rúM/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/tasks.pyÚ__init__*szTasks.__init__cCs|jS)zfGet the links of this Tasks. :return: The links of this Tasks. :rtype: Links ©r©rrrr r5sz Tasks.linkscCs ||_dS)zjSet the links of this Tasks. :param links: The links of this Tasks. :type: Links Nr )rrrrr r>scCs|jS)zkGet the tasks of this Tasks. :return: The tasks of this Tasks. :rtype: list[Task] ©rr rrr rGsz Tasks.taskscCs ||_dS)zoSet the tasks of this Tasks. :param tasks: The tasks of this Tasks. :type: list[Task] 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ózTasks.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"  þ   ý  z Tasks.to_dictcCst | ¡¡S)z.Return the string representation of the model.)ÚpprintÚpformatrr rrr Úto_strqsz Tasks.to_strcCs| ¡S)zFor `print` and `pprint`.)r#r rrr Ú__repr__uszTasks.__repr__cCst|tƒsdS|j|jkS)z&Return true if both objects are equal.F)rrÚ__dict__©rÚotherrrr Ú__eq__ys z Tasks.__eq__cCs ||k S)z*Return true if both objects are not equal.rr&rrr Ú__ne__€sz Tasks.__ne__)NN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rZ attribute_mapr ÚpropertyrÚsetterrrr#r$r(r)rrrr rs*þþ     r)r-r!ÚreÚobjectrrrrr Ús