mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-13 20:23:16 +00:00
29 lines
922 B
Dart
29 lines
922 B
Dart
import 'package:selfprivacy/logic/models/disk_size.dart';
|
|
import 'package:selfprivacy/logic/models/hive/server_details.dart';
|
|
import 'package:selfprivacy/logic/models/hive/server_domain.dart';
|
|
import 'package:selfprivacy/logic/models/hive/user.dart';
|
|
|
|
class LaunchInstallationData {
|
|
LaunchInstallationData({
|
|
required this.rootUser,
|
|
required this.dnsApiToken,
|
|
required this.dnsProviderType,
|
|
required this.serverDomain,
|
|
required this.serverTypeId,
|
|
required this.errorCallback,
|
|
required this.successCallback,
|
|
required this.storageSize,
|
|
required this.customSshKey,
|
|
});
|
|
|
|
final User rootUser;
|
|
final String dnsApiToken;
|
|
final ServerDomain serverDomain;
|
|
final DnsProviderType dnsProviderType;
|
|
final String serverTypeId;
|
|
final Function() errorCallback;
|
|
final Function(ServerHostingDetails details) successCallback;
|
|
final DiskSize storageSize;
|
|
final String? customSshKey;
|
|
}
|