/* Options: Date: 2025-01-08 03:20:49 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: MigrateOldArtifacts.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class MigrateOldArtifactsResponse implements IConvertible { List? results = []; List? failed = []; ResponseStatus? responseStatus; MigrateOldArtifactsResponse({this.results,this.failed,this.responseStatus}); MigrateOldArtifactsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { results = JsonConverters.fromJson(json['results'],'List',context!); failed = JsonConverters.fromJson(json['failed'],'List',context!); responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'results': JsonConverters.toJson(results,'List',context!), 'failed': JsonConverters.toJson(failed,'List',context!), 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "MigrateOldArtifactsResponse"; TypeContext? context = _ctx; } // @ValidateRequest(Validator="IsAdmin") class MigrateOldArtifacts implements IReturn, IGet, IConvertible { int? limit; MigrateOldArtifacts({this.limit}); MigrateOldArtifacts.fromJson(Map json) { fromMap(json); } fromMap(Map json) { limit = json['limit']; return this; } Map toJson() => { 'limit': limit }; createResponse() => MigrateOldArtifactsResponse(); getResponseTypeName() => "MigrateOldArtifactsResponse"; getTypeName() => "MigrateOldArtifacts"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'blazordiffusion.com', types: { 'MigrateOldArtifactsResponse': TypeInfo(TypeOf.Class, create:() => MigrateOldArtifactsResponse()), 'MigrateOldArtifacts': TypeInfo(TypeOf.Class, create:() => MigrateOldArtifacts()), });