2022-10-14 19:00:44 +00:00
|
|
|
import 'package:selfprivacy/logic/models/disk_size.dart';
|
|
|
|
import 'package:selfprivacy/logic/models/price.dart';
|
2022-10-16 00:51:10 +00:00
|
|
|
import 'package:selfprivacy/logic/models/server_provider_location.dart';
|
2022-10-14 19:00:44 +00:00
|
|
|
|
|
|
|
class ServerType {
|
|
|
|
ServerType({
|
|
|
|
required this.title,
|
|
|
|
required this.identifier,
|
|
|
|
required this.ram,
|
|
|
|
required this.cores,
|
|
|
|
required this.disk,
|
|
|
|
required this.price,
|
2022-10-16 00:51:10 +00:00
|
|
|
required this.location,
|
2022-10-14 19:00:44 +00:00
|
|
|
});
|
|
|
|
final String title;
|
|
|
|
final String identifier;
|
2023-02-15 07:03:13 +00:00
|
|
|
final double ram; // GB !!
|
2022-10-14 19:00:44 +00:00
|
|
|
final DiskSize disk;
|
|
|
|
final int cores;
|
|
|
|
final Price price;
|
2022-10-16 00:51:10 +00:00
|
|
|
final ServerProviderLocation location;
|
2022-10-14 19:00:44 +00:00
|
|
|
}
|