/* Options: Date: 2026-08-11 13:18:31 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: EnginePumpRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class EnginePumpResponse implements IConvertible { int? EventsMatched; int? RunsExecuted; ResponseStatus? ResponseStatus; EnginePumpResponse({this.EventsMatched,this.RunsExecuted,this.ResponseStatus}); EnginePumpResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { EventsMatched = json['EventsMatched']; RunsExecuted = json['RunsExecuted']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'EventsMatched': EventsMatched, 'RunsExecuted': RunsExecuted, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "EnginePumpResponse"; TypeContext? context = _ctx; } // @Route("/v1/engine/pump", "POST,OPTIONS") class EnginePumpRequest implements IReturn, IConvertible, IPost { String? Key; int? MaxItems; EnginePumpRequest({this.Key,this.MaxItems}); EnginePumpRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Key = json['Key']; MaxItems = json['MaxItems']; return this; } Map toJson() => { 'Key': Key, 'MaxItems': MaxItems }; createResponse() => EnginePumpResponse(); getResponseTypeName() => "EnginePumpResponse"; getTypeName() => "EnginePumpRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'EnginePumpResponse': TypeInfo(TypeOf.Class, create:() => EnginePumpResponse()), 'EnginePumpRequest': TypeInfo(TypeOf.Class, create:() => EnginePumpRequest()), });