U wi$@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@seZdZdZddddZddddZdd d Zed d Zej d d ZeddZ e j ddZ eddZ e j ddZ ddZ ddZ ddZddZddZdS)MetadataBackupzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. filezlist[BucketMetadataManifest])kvsqlbucketsrrrNcCs.d|_d|_d|_d|_||_||_||_dS)z,MetadataBackup - a model defined in OpenAPI.N)_kv_sql_bucketsZ discriminatorrrr)selfrrrr W/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/metadata_backup.py__init__,szMetadataBackup.__init__cCs|jS)zqGet the kv of this MetadataBackup. :return: The kv of this MetadataBackup. :rtype: file )rr r r r r7szMetadataBackup.kvcCs|dkrtd||_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 rr r r r@scCs|jS)zsGet the sql of this MetadataBackup. :return: The sql of this MetadataBackup. :rtype: file )rrr r r rKszMetadataBackup.sqlcCs|dkrtd||_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`)rr)r rr r r rTscCs|jS)zGet the buckets of this MetadataBackup. :return: The buckets of this MetadataBackup. :rtype: list[BucketMetadataManifest] )r rr r r r_szMetadataBackup.bucketscCs|dkrtd||_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`)rr )r rr r r rhscCsi}|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(MetadataBackup.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemr r r rs ) openapi_typesitemsgetattr isinstancelistmaprrdict)r resultattr_valuer r r rss"       zMetadataBackup.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrr r r to_strszMetadataBackup.to_strcCs|S)zFor `print` and `pprint`.)r%rr r r __repr__szMetadataBackup.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__r otherr r r __eq__s zMetadataBackup.__eq__cCs ||k S)z*Return true if both objects are not equal.r r(r r r __ne__szMetadataBackup.__ne__)NNN)__name__ __module__ __qualname____doc__rZ attribute_mapr propertyrsetterrrrr%r&r*r+r r r r rs6       r)r/r#reobjectrr r r r s