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;
|
|
|
|
String user;
|
|
|
|
String password;
|
|
|
|
bool defaultServer;
|
2022-09-27 02:38:59 +02:00
|
|
|
String authToken;
|
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,
|
|
|
|
required this.user,
|
|
|
|
required this.password,
|
2022-09-27 02:38:59 +02:00
|
|
|
required this.defaultServer,
|
|
|
|
required this.authToken
|
2022-09-26 16:08:56 +02:00
|
|
|
});
|
|
|
|
}
|