NodeMode.dart 977 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. import 'package:dart_json_mapper/dart_json_mapper.dart';
  2. @jsonSerializable
  3. class NodeMode {
  4. int? id;
  5. String? name;
  6. String? host;
  7. String? group;
  8. String? type;
  9. int? port;
  10. String? uuid;
  11. String? method;
  12. int? v2AlterId;
  13. String? v2Net;
  14. String? v2Type;
  15. String? v2Host;
  16. String? v2Path;
  17. String? v2Tls;
  18. String? v2Sni;
  19. int? udp;
  20. int? vless;
  21. String? vlessPulkey;
  22. String? ip;
  23. @JsonProperty(name: "online_users")
  24. int? onlineUsers;
  25. @JsonProperty(name: "country_code")
  26. String? countryCode;
  27. NodeMode(
  28. {this.id,
  29. this.name,
  30. this.host,
  31. this.group,
  32. this.type,
  33. this.port,
  34. this.uuid,
  35. this.method,
  36. this.v2AlterId,
  37. this.v2Net,
  38. this.v2Type,
  39. this.v2Host,
  40. this.v2Path,
  41. this.v2Tls,
  42. this.v2Sni,
  43. this.udp,
  44. this.vless,
  45. this.vlessPulkey,
  46. this.ip,
  47. this.onlineUsers,
  48. this.countryCode,
  49. });
  50. }