2023-08-06 23:28:02 +00:00
|
|
|
import 'package:selfprivacy/logic/models/disk_size.dart';
|
2023-02-22 17:03:58 +00:00
|
|
|
import 'package:selfprivacy/logic/models/hive/server_details.dart';
|
2023-02-21 09:11:04 +00:00
|
|
|
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,
|
2023-04-28 17:19:52 +00:00
|
|
|
required this.serverDomain,
|
2023-02-22 17:58:59 +00:00
|
|
|
required this.serverTypeId,
|
2023-02-22 17:03:58 +00:00
|
|
|
required this.errorCallback,
|
|
|
|
required this.successCallback,
|
2023-08-06 23:28:02 +00:00
|
|
|
required this.storageSize,
|
2023-02-21 09:11:04 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
final User rootUser;
|
|
|
|
final String dnsApiToken;
|
2023-04-28 17:19:52 +00:00
|
|
|
final ServerDomain serverDomain;
|
2023-02-21 09:11:04 +00:00
|
|
|
final DnsProviderType dnsProviderType;
|
2023-02-22 17:58:59 +00:00
|
|
|
final String serverTypeId;
|
2023-02-22 17:03:58 +00:00
|
|
|
final Function() errorCallback;
|
|
|
|
final Function(ServerHostingDetails details) successCallback;
|
2023-08-06 23:28:02 +00:00
|
|
|
final DiskSize storageSize;
|
2023-02-21 09:11:04 +00:00
|
|
|
}
|