/* Options: Date: 2025-07-04 11:37:33 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://doapigw.baasbv.nl/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetDashboard.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class TileGroupDto implements IConvertible { String? ID; String? DashboardID; String? Name; int? Cols; int? Rows; int? Order; List? Tiles; TileGroupDto({this.ID,this.DashboardID,this.Name,this.Cols,this.Rows,this.Order,this.Tiles}); TileGroupDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ID = json['ID']; DashboardID = json['DashboardID']; Name = json['Name']; Cols = json['Cols']; Rows = json['Rows']; Order = json['Order']; Tiles = JsonConverters.fromJson(json['Tiles'],'List',context!); return this; } Map toJson() => { 'ID': ID, 'DashboardID': DashboardID, 'Name': Name, 'Cols': Cols, 'Rows': Rows, 'Order': Order, 'Tiles': JsonConverters.toJson(Tiles,'List',context!) }; getTypeName() => "TileGroupDto"; TypeContext? context = _ctx; } class DashboardDto implements IConvertible { String? ID; int? UserID; List? TileGroups; DashboardDto({this.ID,this.UserID,this.TileGroups}); DashboardDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ID = json['ID']; UserID = json['UserID']; TileGroups = JsonConverters.fromJson(json['TileGroups'],'List',context!); return this; } Map toJson() => { 'ID': ID, 'UserID': UserID, 'TileGroups': JsonConverters.toJson(TileGroups,'List',context!) }; getTypeName() => "DashboardDto"; TypeContext? context = _ctx; } // @Route("/dashboards", "GET") class GetDashboard implements IReturn, IConvertible, IGet { GetDashboard(); GetDashboard.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => DashboardDto(); getResponseTypeName() => "DashboardDto"; getTypeName() => "GetDashboard"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'doapigw.baasbv.nl', types: { 'TileGroupDto': TypeInfo(TypeOf.Class, create:() => TileGroupDto()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'TileDto': TypeInfo(TypeOf.Class, create:() => TileDto()), 'DashboardDto': TypeInfo(TypeOf.Class, create:() => DashboardDto()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetDashboard': TypeInfo(TypeOf.Class, create:() => GetDashboard()), });