data class RepositoryCache
Repository cache
sealed class Status |
RepositoryCache(definition: RepositoryDefinition, name: String, description: String = "", logo: String? = null, links: Links = Links(), status: RepositoryCache.Status = Status.Ok)
Repository cache |
val definition: RepositoryDefinition
Definition of this repository |
|
val description: String
Description of this repository |
|
val links: Links
Links about this repository |
|
val logo: String?
Logo of this repostiory |
|
val name: String
Name of this repository |
|
val status: RepositoryCache.Status
Status of repository, filled after update |
fun fromRepository(definition: RepositoryDefinition, repository: Repository): RepositoryCache
Create a cache object from the RepositoryDefinition and Repository |