LocalAiModel

data class LocalAiModel(val id: String, val type: LocalAiModel.Type, val name: String, val size: String, val sources: List<String>, val downloaded: Boolean = false, val selected: Boolean = false)(source)

Carries LocalAiModel data through the SDAI domain layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(id: String, type: LocalAiModel.Type, name: String, size: String, sources: List<String>, downloaded: Boolean = false, selected: Boolean = false)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
enum Type(val key: String) : Enum<LocalAiModel.Type>

Properties

Link copied to clipboard

Exposes the downloaded value used by the SDAI domain layer.

Link copied to clipboard
val id: String

Exposes the id value used by the SDAI domain layer.

Link copied to clipboard

Exposes the name value used by the SDAI domain layer.

Link copied to clipboard

Exposes the selected value used by the SDAI domain layer.

Link copied to clipboard

Exposes the size value used by the SDAI domain layer.

Link copied to clipboard

Exposes the sources value used by the SDAI domain layer.

Link copied to clipboard

Exposes the type value used by the SDAI domain layer.