/* Options: Date: 2025-07-18 01:21:59 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://hcbtas-q-albamfs-api.azurewebsites.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: StorageGetListReq.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; import 'dart:collection'; class MediaContent implements IConvertible { String? fileName; String? contentType; Uint8List? file; Uri? uri; MediaContent({this.fileName,this.contentType,this.file,this.uri}); MediaContent.fromJson(Map json) { fromMap(json); } fromMap(Map json) { fileName = json['fileName']; contentType = json['contentType']; file = JsonConverters.fromJson(json['file'],'Uint8List',context!); uri = JsonConverters.fromJson(json['uri'],'Uri',context!); return this; } Map toJson() => { 'fileName': fileName, 'contentType': contentType, 'file': JsonConverters.toJson(file,'Uint8List',context!), 'uri': JsonConverters.toJson(uri,'Uri',context!) }; getTypeName() => "MediaContent"; TypeContext? context = _ctx; } class StorageResponse implements IConvertible { List? mediaList; StorageResponse({this.mediaList}); StorageResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { mediaList = JsonConverters.fromJson(json['mediaList'],'List',context!); return this; } Map toJson() => { 'mediaList': JsonConverters.toJson(mediaList,'List',context!) }; getTypeName() => "StorageResponse"; TypeContext? context = _ctx; } // @Route("/storage/list", "GET") class StorageGetListReq implements IReturn, IConvertible { StorageGetListReq(); StorageGetListReq.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => StorageResponse(); getResponseTypeName() => "StorageResponse"; getTypeName() => "StorageGetListReq"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'hcbtas_q_albamfs_api.azurewebsites.net', types: { 'MediaContent': TypeInfo(TypeOf.Class, create:() => MediaContent()), 'Uint8List': TypeInfo(TypeOf.Class, create:() => Uint8List(0)), 'Uri': TypeInfo(TypeOf.Class, create:() => Uri()), 'StorageResponse': TypeInfo(TypeOf.Class, create:() => StorageResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'StorageGetListReq': TypeInfo(TypeOf.Class, create:() => StorageGetListReq()), });