/* Options: Date: 2024-12-22 21:08:04 Version: 8.51 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: CreateFileSystemItem.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ICreateDb { } export enum FileAccessType { Public = 'Public', Team = 'Team', Private = 'Private', } export class FileSystemFile implements IFile { public id: number; public fileName: string; public filePath: string; public contentType: string; public contentLength: number; // @References("typeof(MyApp.ServiceModel.FileSystemItem)") public fileSystemItemId: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class FileSystemItem implements IFileItem { public id: number; public fileAccessType?: FileAccessType; public file: FileSystemFile; public appUserId: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export interface IFileItem { fileAccessType?: FileAccessType; } export interface IFile { id: number; fileName: string; filePath: string; contentType: string; contentLength: number; } export class CreateFileSystemItem implements IReturn, ICreateDb, IFileItem { public fileAccessType?: FileAccessType; public file: FileSystemFile; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'CreateFileSystemItem'; } public getMethod() { return 'POST'; } public createResponse() { return new FileSystemItem(); } }