/* Options: Date: 2026-08-10 17:06:13 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: IntegrationsRunsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class RunView implements IConvertible { DateTime? At; String? Kind; String? Outcome; String? Detail; RunView({this.At,this.Kind,this.Outcome,this.Detail}); RunView.fromJson(Map json) { fromMap(json); } fromMap(Map json) { At = JsonConverters.fromJson(json['At'],'DateTime',context!); Kind = json['Kind']; Outcome = json['Outcome']; Detail = json['Detail']; return this; } Map toJson() => { 'At': JsonConverters.toJson(At,'DateTime',context!), 'Kind': Kind, 'Outcome': Outcome, 'Detail': Detail }; getTypeName() => "RunView"; TypeContext? context = _ctx; } class IntegrationsRunsResponse implements IConvertible { List? Runs = []; ResponseStatus? ResponseStatus; IntegrationsRunsResponse({this.Runs,this.ResponseStatus}); IntegrationsRunsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Runs = JsonConverters.fromJson(json['Runs'],'List',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Runs': JsonConverters.toJson(Runs,'List',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "IntegrationsRunsResponse"; TypeContext? context = _ctx; } // @Route("/v1/integrations/{Provider}/runs", "GET,OPTIONS") class IntegrationsRunsRequest implements IReturn, IConvertible, IGet { String? Provider; int? Top; IntegrationsRunsRequest({this.Provider,this.Top}); IntegrationsRunsRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Provider = json['Provider']; Top = json['Top']; return this; } Map toJson() => { 'Provider': Provider, 'Top': Top }; createResponse() => IntegrationsRunsResponse(); getResponseTypeName() => "IntegrationsRunsResponse"; getTypeName() => "IntegrationsRunsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'RunView': TypeInfo(TypeOf.Class, create:() => RunView()), 'IntegrationsRunsResponse': TypeInfo(TypeOf.Class, create:() => IntegrationsRunsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'IntegrationsRunsRequest': TypeInfo(TypeOf.Class, create:() => IntegrationsRunsRequest()), });