mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-08-20 20:13:00 +00:00
30 lines
521 B
Dart
30 lines
521 B
Dart
|
import 'package:hive/hive.dart';
|
||
|
|
||
|
part 'backblaze_bucket.g.dart';
|
||
|
|
||
|
@HiveType(typeId: 6)
|
||
|
class BackblazeBucket {
|
||
|
BackblazeBucket(
|
||
|
{required this.bucketId,
|
||
|
required this.bucketName,
|
||
|
required this.applicationKeyId,
|
||
|
required this.applicationKey});
|
||
|
|
||
|
@HiveField(0)
|
||
|
final String bucketId;
|
||
|
|
||
|
@HiveField(1)
|
||
|
final String applicationKeyId;
|
||
|
|
||
|
@HiveField(2)
|
||
|
final String applicationKey;
|
||
|
|
||
|
@HiveField(3)
|
||
|
final String bucketName;
|
||
|
|
||
|
@override
|
||
|
String toString() {
|
||
|
return '$bucketName';
|
||
|
}
|
||
|
}
|