/* Options: Date: 2024-12-22 21:19:37 Version: 8.51 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: DeleteArtists.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class Artists implements IConvertible { int? artistId; String? name; Artists({this.artistId,this.name}); Artists.fromJson(Map json) { fromMap(json); } fromMap(Map json) { artistId = json['artistId']; name = json['name']; return this; } Map toJson() => { 'artistId': artistId, 'name': name }; getTypeName() => "Artists"; TypeContext? context = _ctx; } // @Route("/artists/{ArtistId}", "DELETE") class DeleteArtists implements IReturn, IDelete, IDeleteDb, IConvertible { int? artistId; DeleteArtists({this.artistId}); DeleteArtists.fromJson(Map json) { fromMap(json); } fromMap(Map json) { artistId = json['artistId']; return this; } Map toJson() => { 'artistId': artistId }; createResponse() => IdResponse(); getResponseTypeName() => "IdResponse"; getTypeName() => "DeleteArtists"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'blazor_gallery.servicestack.net', types: { 'Artists': TypeInfo(TypeOf.Class, create:() => Artists()), 'DeleteArtists': TypeInfo(TypeOf.Class, create:() => DeleteArtists()), });