U vid @ s( d Z ddlZddlZG dd deZdS )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 ZdZdddddZddd d dZd$dd Zedd Zej dd Zedd Z e j dd Z edd Zej dd Zedd Zej dd Zdd Z dd Zdd Zd d! Zd"d# ZdS )% BuilderConfigzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. z list[str]zlist[BuilderTagsType]zlist[BuilderFunctionsType]ZBuilderConfigAggregateWindow)bucketstags functionsaggregate_windowr r r ZaggregateWindowNc C sZ d| _ d| _d| _d| _d| _|dk r,|| _|dk r:|| _|dk rH|| _|dk rV|| _dS )z+BuilderConfig - a model defined in OpenAPI.N) _buckets_tags _functions_aggregate_windowZ discriminatorr r r r )selfr r r r r V/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/builder_config.py__init__. s zBuilderConfig.__init__c C s | j S )z~Get the buckets of this BuilderConfig. :return: The buckets of this BuilderConfig. :rtype: list[str] r r r r r r ? s zBuilderConfig.bucketsc C s || _ dS )zSet the buckets of this BuilderConfig. :param buckets: The buckets of this BuilderConfig. :type: list[str] Nr )r r r r r r H s c C s | j S )zGet the tags of this BuilderConfig. :return: The tags of this BuilderConfig. :rtype: list[BuilderTagsType] r r r r r r Q s zBuilderConfig.tagsc C s || _ dS )zSet the tags of this BuilderConfig. :param tags: The tags of this BuilderConfig. :type: list[BuilderTagsType] Nr )r r r r r r Z s c C s | j S )zGet the functions of this BuilderConfig. :return: The functions of this BuilderConfig. :rtype: list[BuilderFunctionsType] r r r r r r c s zBuilderConfig.functionsc C s || _ dS )zSet the functions of this BuilderConfig. :param functions: The functions of this BuilderConfig. :type: list[BuilderFunctionsType] Nr )r r r r r r l s c C s | j S )zGet the aggregate_window of this BuilderConfig. :return: The aggregate_window of this BuilderConfig. :rtype: BuilderConfigAggregateWindow r r r r r r u s zBuilderConfig.aggregate_windowc C s || _ dS )zSet the aggregate_window of this BuilderConfig. :param aggregate_window: The aggregate_window of this BuilderConfig. :type: BuilderConfigAggregateWindow Nr )r r r r r r ~ s c C s i }| j D ]z\}}t| |}t|trBttdd |||<