U vâ’iÈ ã @ s( d Z ddlZddlZG dd„ 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Š e Zd ZdZdddœZdddœZddd „Zed d„ ƒZej dd„ ƒZed d„ ƒZ e j dd„ ƒZ dd„ Zdd„ Zdd„ 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. ZLinkszlist[Bucket])ÚlinksÚbucketsr r Nc C s2 d| _ d| _d| _|dk r || _|dk r.|| _dS )z%Buckets - a model defined in OpenAPI.N)Ú_linksÚ_bucketsZ discriminatorr r )Úselfr r © r úO/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/buckets.pyÚ__init__* s zBuckets.__init__c C s | j S )zjGet the links of this Buckets. :return: The links of this Buckets. :rtype: Links ©r ©r r r r r 5 s z Buckets.linksc C s || _ dS )znSet the links of this Buckets. :param links: The links of this Buckets. :type: Links Nr )r r r r r r > s c C s | j S )zuGet the buckets of this Buckets. :return: The buckets of this Buckets. :rtype: list[Bucket] ©r r r r r r G s zBuckets.bucketsc C s || _ dS )z{Set the buckets of this Buckets. :param buckets: The buckets of this Buckets. :type: list[Bucket] Nr )r r r r r r P s c C sŽ i }| j ¡ D ]z\}}t| |ƒ}t|tƒrBttdd„ |ƒƒ||<