From 1340962d125e5478f7572780df622fafa205b9c7 Mon Sep 17 00:00:00 2001 From: Pavel Dmitriev Date: Wed, 15 May 2024 17:28:44 +0300 Subject: [PATCH] SearchModelVersionsRequest OrderBy fix --- model_types.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/model_types.go b/model_types.go index e015272..3ef145b 100644 --- a/model_types.go +++ b/model_types.go @@ -138,10 +138,10 @@ type GetDownloadUriForModelVersionArtifactsResponse struct { } type SearchModelVersionsRequest 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 *SearchModelVersionsRequest) serialize() []byte {