/* Options: Date: 2026-09-01 21:59:21 Version: 10.09 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DeleteAlbums.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class Albums implements IConvertible { int albumId = 0; // @required() String title = ""; int artistId = 0; Albums({this.albumId=0,this.title="",this.artistId=0}); Albums.fromJson(Map json) { fromMap(json); } fromMap(Map json) { albumId = json['albumId'] ?? 0; title = json['title'] ?? ""; artistId = json['artistId'] ?? 0; return this; } Map toJson() => { 'albumId': albumId, 'title': title, 'artistId': artistId }; getTypeName() => "Albums"; TypeContext? context = _ctx; } // @Route("/albums/{AlbumId}", "DELETE") class DeleteAlbums implements IReturn, IDelete, IDeleteDb, IConvertible { int albumId = 0; DeleteAlbums({this.albumId=0}); DeleteAlbums.fromJson(Map json) { fromMap(json); } fromMap(Map json) { albumId = json['albumId'] ?? 0; return this; } Map toJson() => { 'albumId': albumId }; createResponse() => IdResponse(); getResponseTypeName() => "IdResponse"; getTypeName() => "DeleteAlbums"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'blazor_gallery.servicestack.net', types: { 'Albums': TypeInfo(TypeOf.Class, create:() => Albums()), 'DeleteAlbums': TypeInfo(TypeOf.Class, create:() => DeleteAlbums()), });