GetJobStatsResult

sealed class GetJobStatsResult

Result type for job statistics operations.

This sealed class represents the outcome of fetching job statistics for a date range. It provides a type-safe way to handle both successful and failed operations.

Inheritors

Types

Link copied to clipboard
data class Failure(val error: ZyncError) : GetJobStatsResult

Failed job stats fetch operation.

Link copied to clipboard
data class Success(val data: ZyncJobStats, val isPartialData: Boolean = false) : GetJobStatsResult

Successful job stats fetch operation.