U vâ’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)ÚBucketsz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ZLinksz list[Bucket])ÚlinksÚbucketsrrNcCs2d|_d|_d|_|dk r ||_|dk r.||_dS)z%Buckets - a model defined in OpenAPI.N)Ú_linksÚ_bucketsZ discriminatorrr)Úselfrr©rúO/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/buckets.pyÚ__init__*szBuckets.__init__cCs|jS)zjGet the links of this Buckets. :return: The links of this Buckets. :rtype: Links ©r©rrrr r5sz Buckets.linkscCs ||_dS)znSet the links of this Buckets. :param links: The links of this Buckets. :type: Links Nr )rrrrr r>scCs|jS)zuGet the buckets of this Buckets. :return: The buckets of this Buckets. :rtype: list[Bucket] ©rr rrr rGszBuckets.bucketscCs ||_dS)z{Set the buckets of this Buckets. :param buckets: The buckets of this Buckets. :type: list[Bucket] 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!Buckets.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"  þ   ý  zBuckets.to_dictcCst | ¡¡S)z.Return the string representation of the model.)ÚpprintÚpformatrr rrr Úto_strqszBuckets.to_strcCs| ¡S)zFor `print` and `pprint`.)r#r rrr Ú__repr__uszBuckets.__repr__cCst|tƒsdS|j|jkS)z&Return true if both objects are equal.F)rrÚ__dict__©rÚotherrrr Ú__eq__ys zBuckets.__eq__cCs ||k S)z*Return true if both objects are not equal.rr&rrr Ú__ne__€szBuckets.__ne__)NN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rZ attribute_mapr ÚpropertyrÚsetterrrr#r$r(r)rrrr rs*þþ     r)r-r!ÚreÚobjectrrrrr Ús