/* Options: Date: 2026-06-13 13:38:18 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://riskstoreng-dev.nephila.com/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetEventSetMetricsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class DealEventSetMetric implements IConvertible { String? sourceModelSystem; String? modelId; String? sourceEventSetId; int? eventSetId; int? perspectiveId; double? elAgg; double? elOcc; double? pAtt; double? pExh; String? sourceDealId; String? sourceDealSystem; DateTime? approvedDateTimeUtc; DealEventSetMetric({this.sourceModelSystem,this.modelId,this.sourceEventSetId,this.eventSetId,this.perspectiveId,this.elAgg,this.elOcc,this.pAtt,this.pExh,this.sourceDealId,this.sourceDealSystem,this.approvedDateTimeUtc}); DealEventSetMetric.fromJson(Map json) { fromMap(json); } fromMap(Map json) { sourceModelSystem = json['sourceModelSystem']; modelId = json['modelId']; sourceEventSetId = json['sourceEventSetId']; eventSetId = json['eventSetId']; perspectiveId = json['perspectiveId']; elAgg = JsonConverters.toDouble(json['elAgg']); elOcc = JsonConverters.toDouble(json['elOcc']); pAtt = JsonConverters.toDouble(json['pAtt']); pExh = JsonConverters.toDouble(json['pExh']); sourceDealId = json['sourceDealId']; sourceDealSystem = json['sourceDealSystem']; approvedDateTimeUtc = JsonConverters.fromJson(json['approvedDateTimeUtc'],'DateTime',context!); return this; } Map toJson() => { 'sourceModelSystem': sourceModelSystem, 'modelId': modelId, 'sourceEventSetId': sourceEventSetId, 'eventSetId': eventSetId, 'perspectiveId': perspectiveId, 'elAgg': elAgg, 'elOcc': elOcc, 'pAtt': pAtt, 'pExh': pExh, 'sourceDealId': sourceDealId, 'sourceDealSystem': sourceDealSystem, 'approvedDateTimeUtc': JsonConverters.toJson(approvedDateTimeUtc,'DateTime',context!) }; getTypeName() => "DealEventSetMetric"; TypeContext? context = _ctx; } class GetEventSetMetricsResponse implements IConvertible { List? dealEventSetMetrics; ResponseStatus? responseStatus; GetEventSetMetricsResponse({this.dealEventSetMetrics,this.responseStatus}); GetEventSetMetricsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { dealEventSetMetrics = JsonConverters.fromJson(json['dealEventSetMetrics'],'List',context!); responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'dealEventSetMetrics': JsonConverters.toJson(dealEventSetMetrics,'List',context!), 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "GetEventSetMetricsResponse"; TypeContext? context = _ctx; } // @Route("/riskstore/eventset/metrics", "GET") class GetEventSetMetricsRequest implements IReturn, IGet, IConvertible { /** * The analysis id to get the event set metrics for */ // @ApiMember(DataType="integer", Description="The analysis id to get the event set metrics for", Format="int64", IsRequired=true) int? analysisId; GetEventSetMetricsRequest({this.analysisId}); GetEventSetMetricsRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { analysisId = json['analysisId']; return this; } Map toJson() => { 'analysisId': analysisId }; createResponse() => GetEventSetMetricsResponse(); getResponseTypeName() => "GetEventSetMetricsResponse"; getTypeName() => "GetEventSetMetricsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'riskstoreng_dev.nephila.com', types: { 'DealEventSetMetric': TypeInfo(TypeOf.Class, create:() => DealEventSetMetric()), 'GetEventSetMetricsResponse': TypeInfo(TypeOf.Class, create:() => GetEventSetMetricsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetEventSetMetricsRequest': TypeInfo(TypeOf.Class, create:() => GetEventSetMetricsRequest()), });