/* Options: Date: 2025-01-08 03:18:28 Version: 8.53 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazordiffusion.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SearchData.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ArtistInfo implements IConvertible { int? id; String? name; String? type; ArtistInfo({this.id,this.name,this.type}); ArtistInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; type = json['type']; return this; } Map toJson() => { 'id': id, 'name': name, 'type': type }; getTypeName() => "ArtistInfo"; TypeContext? context = _ctx; } class ModifierInfo implements IConvertible { int? id; String? name; String? category; ModifierInfo({this.id,this.name,this.category}); ModifierInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; category = json['category']; return this; } Map toJson() => { 'id': id, 'name': name, 'category': category }; getTypeName() => "ModifierInfo"; TypeContext? context = _ctx; } class SearchDataResponse implements IConvertible { List? artists = []; List? modifiers = []; SearchDataResponse({this.artists,this.modifiers}); SearchDataResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { artists = JsonConverters.fromJson(json['artists'],'List',context!); modifiers = JsonConverters.fromJson(json['modifiers'],'List',context!); return this; } Map toJson() => { 'artists': JsonConverters.toJson(artists,'List',context!), 'modifiers': JsonConverters.toJson(modifiers,'List',context!) }; getTypeName() => "SearchDataResponse"; TypeContext? context = _ctx; } class SearchData implements IReturn, IConvertible, IPost { SearchData(); SearchData.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => SearchDataResponse(); getResponseTypeName() => "SearchDataResponse"; getTypeName() => "SearchData"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'blazordiffusion.com', types: { 'ArtistInfo': TypeInfo(TypeOf.Class, create:() => ArtistInfo()), 'ModifierInfo': TypeInfo(TypeOf.Class, create:() => ModifierInfo()), 'SearchDataResponse': TypeInfo(TypeOf.Class, create:() => SearchDataResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'SearchData': TypeInfo(TypeOf.Class, create:() => SearchData()), });