GetDashboardRoutesResult

Result type for dashboard route listing operations with cache-first support.

This result type is used by zync.api.route.ZyncRouteManager.fetchRoutesForDashboard to provide offline-first route listing with intelligent caching.

Inheritors

Types

Link copied to clipboard
@ObjCName(name = "failure")
data class Failure(val error: ZyncError) : GetDashboardRoutesResult

Failed route retrieval with error information.

Link copied to clipboard
@ObjCName(name = "success")
data class Success(val data: List<ZyncRoute>, val currentPage: Int, val totalPages: Int, val totalRecords: Int) : GetDashboardRoutesResult

Successful route retrieval with pagination information.