From 8eb9137d4bbbcda0f89cce682048103d3914e496 Mon Sep 17 00:00:00 2001 From: Pavel Dmitriev Date: Wed, 15 May 2024 17:12:10 +0300 Subject: [PATCH] SearchRegisteredModelsRequest.orderBy fix --- model_types.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/model_types.go b/model_types.go index 9a9b34f..e015272 100644 --- a/model_types.go +++ b/model_types.go @@ -202,10 +202,10 @@ func (e *TransitionModelVersionStageRequest) serialize() []byte { type TransitionModelVersionStageResponse GetModelVersionResponse type SearchRegisteredModelsRequest struct { - Filter string `json:"filter,omitempty"` - MaxResults int64 `json:"max_results,omitempty"` - OrderBy []string `json:"order_by,omitempty"` - PageToken string `json:"page_token,omitempty"` + Filter string `json:"filter,omitempty"` + MaxResults int64 `json:"max_results,omitempty"` + OrderBy string `json:"order_by,omitempty"` + PageToken string `json:"page_token,omitempty"` } func (e *SearchRegisteredModelsRequest) serialize() []byte {