RecommendedServerInfo

data class RecommendedServerInfo(    val address: String,     val responseTime: Long,     val score: RecommendedServerInfoScore,     val issues: Collection<RecommendedServerIssue>,     val systemInfo: Result<<ERROR CLASS>>)

Constructors

Link copied to clipboard
fun RecommendedServerInfo(    address: String,     responseTime: Long,     score: RecommendedServerInfoScore,     issues: Collection<RecommendedServerIssue>,     systemInfo: Result<<ERROR CLASS>>)

Functions

Link copied to clipboard
fun firstIssueOrNull(): RecommendedServerIssue?

The issues are ordered by importance. When showing a single issue to an end user you normally want to show the first one.

Properties

Link copied to clipboard
val address: String
Link copied to clipboard
val issues: Collection<RecommendedServerIssue>
Link copied to clipboard
val responseTime: Long
Link copied to clipboard
val score: RecommendedServerInfoScore
Link copied to clipboard
val systemInfo: Result<<ERROR CLASS>>