SwarmUiModelsRemoteDataSource

Defines the SwarmUiModelsRemoteDataSource contract for the SDAI domain layer.

Author

Dmitriy Moroz

Functions

Link copied to clipboard
abstract suspend fun fetchSwarmModels(baseUrl: String, sessionId: String, credentials: AuthorizationCredentials): List<SwarmUiModel>

Loads SDAI data through fetchSwarmModels.

Link copied to clipboard
abstract suspend fun getNewSession(baseUrl: String, credentials: AuthorizationCredentials): String

Loads SDAI data through getNewSession.