U vid@s(dZddlZddlZGdddeZdS)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@seZdZdZdddddZddd d dZd$d d ZeddZej ddZeddZ e j ddZ eddZ e j ddZ eddZ e j ddZ ddZ ddZddZd d!Zd"d#Zd S)% 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_windowrrrZaggregateWindowNcCsZd|_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 discriminatorrrrr)selfrrrrr V/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/builder_config.py__init__.szBuilderConfig.__init__cCs|jS)z~Get the buckets of this BuilderConfig. :return: The buckets of this BuilderConfig. :rtype: list[str] rr r r r r?szBuilderConfig.bucketscCs ||_dS)zSet the buckets of this BuilderConfig. :param buckets: The buckets of this BuilderConfig. :type: list[str] Nr)r rr r r rHscCs|jS)zGet the tags of this BuilderConfig. :return: The tags of this BuilderConfig. :rtype: list[BuilderTagsType] rrr r r rQszBuilderConfig.tagscCs ||_dS)zSet the tags of this BuilderConfig. :param tags: The tags of this BuilderConfig. :type: list[BuilderTagsType] Nr)r rr r r rZscCs|jS)zGet the functions of this BuilderConfig. :return: The functions of this BuilderConfig. :rtype: list[BuilderFunctionsType] r rr r r rcszBuilderConfig.functionscCs ||_dS)zSet the functions of this BuilderConfig. :param functions: The functions of this BuilderConfig. :type: list[BuilderFunctionsType] Nr)r rr r r rlscCs|jS)zGet the aggregate_window of this BuilderConfig. :return: The aggregate_window of this BuilderConfig. :rtype: BuilderConfigAggregateWindow r rr r r ruszBuilderConfig.aggregate_windowcCs ||_dS)zSet the aggregate_window of this BuilderConfig. :param aggregate_window: The aggregate_window of this BuilderConfig. :type: BuilderConfigAggregateWindow Nr)r rr r r r~scCsi}|jD]z\}}t||}t|trBttdd|||<qt|drZ|||<qt|trttdd|||<q|||<q|S)z&Return the model properties as a dict.cSst|dr|S|S)Nto_dicthasattrr)xr r r z'BuilderConfig.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemr r r rs ) openapi_typesitemsgetattr isinstancelistmaprrdict)r resultattr_valuer r r rs"       zBuilderConfig.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrr r r to_strszBuilderConfig.to_strcCs|S)zFor `print` and `pprint`.)r)rr r r __repr__szBuilderConfig.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__r otherr r r __eq__s zBuilderConfig.__eq__cCs ||k S)z*Return true if both objects are not equal.r r,r r r __ne__szBuilderConfig.__ne__)NNNN)__name__ __module__ __qualname____doc__rZ attribute_maprpropertyrsetterrrrrr)r*r.r/r r r r rsB         r)r3r'reobjectrr r r r s