/* Options: Date: 2025-01-08 03:15:38 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: AnonData.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class AlbumResult implements IConvertible { int? id; String? name; String? slug; String? albumRef; String? ownerRef; int? primaryArtifactId; int? score; List? artifactIds = []; AlbumResult({this.id,this.name,this.slug,this.albumRef,this.ownerRef,this.primaryArtifactId,this.score,this.artifactIds}); AlbumResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; slug = json['slug']; albumRef = json['albumRef']; ownerRef = json['ownerRef']; primaryArtifactId = json['primaryArtifactId']; score = json['score']; artifactIds = JsonConverters.fromJson(json['artifactIds'],'List',context!); return this; } Map toJson() => { 'id': id, 'name': name, 'slug': slug, 'albumRef': albumRef, 'ownerRef': ownerRef, 'primaryArtifactId': primaryArtifactId, 'score': score, 'artifactIds': JsonConverters.toJson(artifactIds,'List',context!) }; getTypeName() => "AlbumResult"; TypeContext? context = _ctx; } class AnonDataResponse implements IConvertible { List? topAlbums = []; ResponseStatus? responseStatus; AnonDataResponse({this.topAlbums,this.responseStatus}); AnonDataResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { topAlbums = JsonConverters.fromJson(json['topAlbums'],'List',context!); responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'topAlbums': JsonConverters.toJson(topAlbums,'List',context!), 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "AnonDataResponse"; TypeContext? context = _ctx; } class AnonData implements IReturn, IConvertible, IPost { AnonData(); AnonData.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => AnonDataResponse(); getResponseTypeName() => "AnonDataResponse"; getTypeName() => "AnonData"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'blazordiffusion.com', types: { 'AlbumResult': TypeInfo(TypeOf.Class, create:() => AlbumResult()), 'AnonDataResponse': TypeInfo(TypeOf.Class, create:() => AnonDataResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'AnonData': TypeInfo(TypeOf.Class, create:() => AnonData()), });