ModelStateResponse

data class ModelStateResponse(val published: Boolean, val validationError: StatusResponse)

State common to all model types. Includes publishing and validation information.

Constructors

Link copied to clipboard
fun ModelStateResponse(published: Boolean, validationError: StatusResponse)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Indicates if this model has been published.

Link copied to clipboard

Indicates the latest validation error on the model if any. A model may have validation errors if there were problems during the model creation/update. e.g. in the case of a TfLiteModel, if a tflite model file was missing or in the wrong format. This field will be empty for valid models.