Chore: Deprecate FolderID in PatchLibraryElementCommand (#77472)

* Chore: Deprecate FolderID in PatchLibraryElementCommand

* chore: regen specs
This commit is contained in:
Kat Yang
2023-11-06 11:31:01 -05:00
committed by GitHub
parent dd5314c6a8
commit 2c7f364067
6 changed files with 25 additions and 16 deletions

View File

@@ -216,6 +216,8 @@ type CreateLibraryElementCommand struct {
// PatchLibraryElementCommand is the command for patching a LibraryElement
type PatchLibraryElementCommand struct {
// ID of the folder where the library element is stored.
//
// Deprecated: use FolderUID instead
FolderID int64 `json:"folderId" binding:"Default(-1)"`
// UID of the folder where the library element is stored.
FolderUID *string `json:"folderUid"`