mirror of
https://github.com/rainloreley/shlink-manager.git
synced 2024-11-22 09:53:03 +01:00
20 lines
525 B
Dart
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);
|
|
}
|