/* Options: Date: 2025-01-08 03:12:07 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: GetAlbumRefs.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class AlbumRef implements IConvertible { String? refId; int? ownerId; String? name; String? slug; String? description; List? tags = []; String? primaryArtifactRef; int? artifactsCount; AlbumRef({this.refId,this.ownerId,this.name,this.slug,this.description,this.tags,this.primaryArtifactRef,this.artifactsCount}); AlbumRef.fromJson(Map json) { fromMap(json); } fromMap(Map json) { refId = json['refId']; ownerId = json['ownerId']; name = json['name']; slug = json['slug']; description = json['description']; tags = JsonConverters.fromJson(json['tags'],'List',context!); primaryArtifactRef = json['primaryArtifactRef']; artifactsCount = json['artifactsCount']; return this; } Map toJson() => { 'refId': refId, 'ownerId': ownerId, 'name': name, 'slug': slug, 'description': description, 'tags': JsonConverters.toJson(tags,'List',context!), 'primaryArtifactRef': primaryArtifactRef, 'artifactsCount': artifactsCount }; getTypeName() => "AlbumRef"; TypeContext? context = _ctx; } class GetAlbumRefsResponse implements IConvertible { List? results = []; GetAlbumRefsResponse({this.results}); GetAlbumRefsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { results = JsonConverters.fromJson(json['results'],'List',context!); return this; } Map toJson() => { 'results': JsonConverters.toJson(results,'List',context!) }; getTypeName() => "GetAlbumRefsResponse"; TypeContext? context = _ctx; } class GetAlbumRefs implements IReturn, IConvertible, IPost { GetAlbumRefs(); GetAlbumRefs.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => GetAlbumRefsResponse(); getResponseTypeName() => "GetAlbumRefsResponse"; getTypeName() => "GetAlbumRefs"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'blazordiffusion.com', types: { 'AlbumRef': TypeInfo(TypeOf.Class, create:() => AlbumRef()), 'GetAlbumRefsResponse': TypeInfo(TypeOf.Class, create:() => GetAlbumRefsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetAlbumRefs': TypeInfo(TypeOf.Class, create:() => GetAlbumRefs()), });