/* Options: Date: 2026-08-12 23:59:29 Version: 10.09 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: QueryFileSystemItems.* //ExcludeTypes: //DefaultImports: */ package dtos import ( ss "github.com/ServiceStack/servicestack-go" ) type FileAccessType string const ( FileAccessTypePublic FileAccessType = "Public" FileAccessTypeTeam = "Team" FileAccessTypePrivate = "Private" ) type FileSystemFile struct { Id int `json:"id,omitempty"` FileName string `json:"fileName"` FilePath string `json:"filePath"` ContentType string `json:"contentType"` ContentLength int64 `json:"contentLength,omitempty"` // @References("typeof(MyApp.ServiceModel.FileSystemItem)") FileSystemItemId int `json:"fileSystemItemId,omitempty"` } type FileSystemItem struct { Id int `json:"id,omitempty"` FileAccessType *FileAccessType `json:"fileAccessType,omitempty"` File FileSystemFile `json:"file"` AppUserId string `json:"appUserId"` } type QueryFileSystemItems struct { ss.QueryDb AppUserId *int `json:"appUserId,omitempty"` FileAccessType *FileAccessType `json:"fileAccessType,omitempty"` } func (QueryFileSystemItems) CreateResponse() (r ss.QueryResponse[FileSystemItem]) { return } func (QueryFileSystemItems) HttpMethod() string { return "GET" }