Success

data class Success(val jobs: List<ZyncJobCompact>, val stats: ZyncJobStats?, val currentPage: Int, val totalPages: Int, val totalRecords: Int, val isPartialData: Boolean) : GetDashboardJobsResult

Successful dashboard jobs fetch operation.

Constructors

Link copied to clipboard
constructor(jobs: List<ZyncJobCompact>, stats: ZyncJobStats?, currentPage: Int, totalPages: Int, totalRecords: Int, isPartialData: Boolean)

Properties

Link copied to clipboard

Current page number (1-indexed)

Link copied to clipboard

True if data is from cache (potentially incomplete), false if from API

Link copied to clipboard

List of jobs for the requested page

Link copied to clipboard

Job statistics for the date range (only populated when page == 1, null otherwise)

Link copied to clipboard

Total number of pages available

Link copied to clipboard

Total number of records across all pages