GetDashboardJobsWithStatsResult

Result type for dashboard job operations.

This sealed class represents the outcome of fetching jobs for the dashboard, including both job list and statistics. Stats are only populated on page 1 to avoid redundant API calls, as they are date-range scoped rather than page-scoped.

Inheritors

Types

Link copied to clipboard

Failed dashboard jobs fetch operation.

Link copied to clipboard
data class Success(val jobs: List<ZyncJobCompact>, val stats: ZyncJobStats?, val currentPage: Int, val totalPages: Int, val totalRecords: Int, val syncStatus: ZyncDashboardSyncStatus, val lastSyncedAt: String) : GetDashboardJobsWithStatsResult

Successful dashboard jobs fetch operation.