mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 20:24:18 -06:00
26 lines
650 B
Go
26 lines
650 B
Go
package dtos
|
|
|
|
import "time"
|
|
|
|
type Folder struct {
|
|
Id int64 `json:"id"`
|
|
Uid string `json:"uid"`
|
|
Title string `json:"title"`
|
|
Url string `json:"url"`
|
|
HasAcl bool `json:"hasAcl"`
|
|
CanSave bool `json:"canSave"`
|
|
CanEdit bool `json:"canEdit"`
|
|
CanAdmin bool `json:"canAdmin"`
|
|
CreatedBy string `json:"createdBy"`
|
|
Created time.Time `json:"created"`
|
|
UpdatedBy string `json:"updatedBy"`
|
|
Updated time.Time `json:"updated"`
|
|
Version int `json:"version"`
|
|
}
|
|
|
|
type FolderSearchHit struct {
|
|
Id int64 `json:"id"`
|
|
Uid string `json:"uid"`
|
|
Title string `json:"title"`
|
|
}
|