/* Options: Date: 2024-12-01 03:57:49 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://nkapi-sgepz3-auth.azurewebsites.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: WarmupRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class Initialization implements IConvertible { String? name; int? duration; Initialization({this.name,this.duration}); Initialization.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; duration = json['duration']; return this; } Map toJson() => { 'name': name, 'duration': duration }; getTypeName() => "Initialization"; TypeContext? context = _ctx; } class WarmupResponse implements IConvertible { List? dependencies; WarmupResponse({this.dependencies}); WarmupResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { dependencies = JsonConverters.fromJson(json['dependencies'],'List',context!); return this; } Map toJson() => { 'dependencies': JsonConverters.toJson(dependencies,'List',context!) }; getTypeName() => "WarmupResponse"; TypeContext? context = _ctx; } // @Route("/warmup", "GET") class WarmupRequest implements IReturn, IConvertible, IGet { WarmupRequest(); WarmupRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => WarmupResponse(); getResponseTypeName() => "WarmupResponse"; getTypeName() => "WarmupRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'nkapi_sgepz3_auth.azurewebsites.net', types: { 'Initialization': TypeInfo(TypeOf.Class, create:() => Initialization()), 'WarmupResponse': TypeInfo(TypeOf.Class, create:() => WarmupResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'WarmupRequest': TypeInfo(TypeOf.Class, create:() => WarmupRequest()), });