U wi$ @ 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 ZdZddddZddddZdd d Zedd Zej d d Zedd Z e j dd Z edd Zej dd Zdd Zdd Z dd Zdd Zdd ZdS )MetadataBackupzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. filezlist[BucketMetadataManifest])kvsqlbucketsr r r Nc C s. d| _ d| _d| _d| _|| _|| _|| _dS )z,MetadataBackup - a model defined in OpenAPI.N)_kv_sql_bucketsZ discriminatorr r r )selfr r r r W/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/metadata_backup.py__init__, s zMetadataBackup.__init__c C s | j S )zqGet the kv of this MetadataBackup. :return: The kv of this MetadataBackup. :rtype: file )r r r r r r 7 s zMetadataBackup.kvc C s |dkrt d|| _dS )zrSet the kv of this MetadataBackup. :param kv: The kv of this MetadataBackup. :type: file Nz*Invalid value for `kv`, must not be `None`) ValueErrorr )r r r r r r @ s c C s | j S )zsGet the sql of this MetadataBackup. :return: The sql of this MetadataBackup. :rtype: file )r r r r r r K s zMetadataBackup.sqlc C s |dkrt d|| _dS )zuSet the sql of this MetadataBackup. :param sql: The sql of this MetadataBackup. :type: file Nz+Invalid value for `sql`, must not be `None`)r r )r r r r r r T s c C s | j S )zGet the buckets of this MetadataBackup. :return: The buckets of this MetadataBackup. :rtype: list[BucketMetadataManifest] )r r r r r r _ s zMetadataBackup.bucketsc C s |dkrt d|| _dS )zSet the buckets of this MetadataBackup. :param buckets: The buckets of this MetadataBackup. :type: list[BucketMetadataManifest] Nz/Invalid value for `buckets`, must not be `None`)r r )r r r r r r h s c C s i }| j D ]z\}}t| |}t|trBttdd |||<