shlink-manager/lib/API/Classes/ShlinkStats/shlink_stats.dart
2024-01-28 00:32:09 +01:00

20 lines
525 B
Dart

import 'package:shlink_app/API/Classes/ShortURL/visits_summary.dart';
/// Includes data about the statistics of a Shlink instance
class ShlinkStats {
/// Data about non-orphan visits
VisitsSummary nonOrphanVisits;
/// Data about orphan visits (without any valid slug assigned)
VisitsSummary orphanVisits;
/// Total count of all short URLs
int shortUrlsCount;
/// Total count all all tags
int tagsCount;
ShlinkStats(this.nonOrphanVisits, this.orphanVisits, this.shortUrlsCount,
this.tagsCount);
}