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,
|
|
|
|
required this.domainName,
|
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-02-21 09:11:04 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
final User rootUser;
|
|
|
|
final String dnsApiToken;
|
|
|
|
final String domainName;
|
|
|
|
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-02-21 09:11:04 +00:00
|
|
|
}
|