some file moving and struct renaming (#57686)

This commit is contained in:
Kristin Laemmert
2022-10-26 11:52:01 -04:00
committed by GitHub
parent 8917bd57e6
commit 6c982e5b71
7 changed files with 84 additions and 80 deletions
+5 -5
View File
@@ -71,26 +71,26 @@ type DeleteFolderCommand struct {
UID string `json:"uid"`
}
// GetFolderCommand is used for all folder Get requests. Only one of UID, ID, or
// GetFolderQuery is used for all folder Get requests. Only one of UID, ID, or
// Title should be set; if multilpe fields are set by the caller the dashboard
// service will select the field with the most specificity, in order: ID, UID,
// Title.
type GetFolderCommand struct {
type GetFolderQuery struct {
UID *string
ID *int
Title *string
}
// GetParentsCommand captures the information required by the folder service to
// GetParentsQuery captures the information required by the folder service to
// return a list of all parent folders of a given folder.
type GetParentsCommand struct {
type GetParentsQuery struct {
UID string
}
// GetTreeCommand captures the information required by the folder service to
// return a list of child folders of the given folder.
type GetTreeCommand struct {
type GetTreeQuery struct {
UID string
Depth int64