ModelList

class ModelList(models: List<ModelInfo>, val requestId: String? = null) : List<ModelInfo> (source)

What GET /v1/models returned: the models, in the server's order, as a List<ModelInfo>, plus the call's requestId (the x-typesafe-request-id header). It equals any list holding the same models, whatever its request id, so a test can compare it with listOf(...).

Constructors

Link copied to clipboard
constructor(models: List<ModelInfo>, requestId: String? = null)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String