2022-09-26 16:08:56 +02:00
|
|
|
class Server {
|
2022-09-26 18:49:41 +02:00
|
|
|
final String id;
|
|
|
|
String name;
|
|
|
|
String connectionMethod;
|
|
|
|
String domain;
|
|
|
|
String? path;
|
|
|
|
int? port;
|
2023-03-24 21:17:48 +01:00
|
|
|
String? user;
|
|
|
|
String? password;
|
2022-09-26 18:49:41 +02:00
|
|
|
bool defaultServer;
|
2023-03-24 21:17:48 +01:00
|
|
|
String? authToken;
|
2022-10-16 23:59:56 +02:00
|
|
|
bool runningOnHa;
|
2022-09-26 16:08:56 +02:00
|
|
|
|
2022-09-26 18:49:41 +02:00
|
|
|
Server({
|
|
|
|
required this.id,
|
2022-09-26 16:08:56 +02:00
|
|
|
required this.name,
|
|
|
|
required this.connectionMethod,
|
|
|
|
required this.domain,
|
|
|
|
this.path,
|
|
|
|
this.port,
|
2023-03-24 21:17:48 +01:00
|
|
|
this.user,
|
|
|
|
this.password,
|
2022-09-27 02:38:59 +02:00
|
|
|
required this.defaultServer,
|
2023-03-24 21:17:48 +01:00
|
|
|
this.authToken,
|
2022-10-16 23:59:56 +02:00
|
|
|
required this.runningOnHa,
|
2022-09-26 16:08:56 +02:00
|
|
|
});
|
|
|
|
}
|