/* Options: Date: 2026-09-01 21:53:01 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: PatchPlaylists.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class Playlists implements IConvertible { int playlistId = 0; String name = ""; Playlists({this.playlistId=0,this.name=""}); Playlists.fromJson(Map json) { fromMap(json); } fromMap(Map json) { playlistId = json['playlistId'] ?? 0; name = json['name'] ?? ""; return this; } Map toJson() => { 'playlistId': playlistId, 'name': name }; getTypeName() => "Playlists"; TypeContext? context = _ctx; } // @Route("/playlists/{PlaylistId}", "PATCH") class PatchPlaylists implements IReturn, IPatch, IPatchDb, IConvertible { int playlistId = 0; String name = ""; PatchPlaylists({this.playlistId=0,this.name=""}); PatchPlaylists.fromJson(Map json) { fromMap(json); } fromMap(Map json) { playlistId = json['playlistId'] ?? 0; name = json['name'] ?? ""; return this; } Map toJson() => { 'playlistId': playlistId, 'name': name }; createResponse() => IdResponse(); getResponseTypeName() => "IdResponse"; getTypeName() => "PatchPlaylists"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'blazor_gallery.servicestack.net', types: { 'Playlists': TypeInfo(TypeOf.Class, create:() => Playlists()), 'PatchPlaylists': TypeInfo(TypeOf.Class, create:() => PatchPlaylists()), });