adguard-home-manager/lib/models/server.dart

27 lines
496 B
Dart
Raw Normal View History

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;
bool runningOnHa;
2022-09-26 18:49:41 +02:00
Server({
required this.id,
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,
required this.defaultServer,
2023-03-24 21:17:48 +01:00
this.authToken,
required this.runningOnHa,
});
}