/* Options: Date: 2026-06-13 13:54:35 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: GetDealExpectedLossesChangedSinceRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class Change implements IConvertible { String? sourceDealId; DateTime? sysStartUtc; Change({this.sourceDealId,this.sysStartUtc}); Change.fromJson(Map json) { fromMap(json); } fromMap(Map json) { sourceDealId = json['sourceDealId']; sysStartUtc = JsonConverters.fromJson(json['sysStartUtc'],'DateTime',context!); return this; } Map toJson() => { 'sourceDealId': sourceDealId, 'sysStartUtc': JsonConverters.toJson(sysStartUtc,'DateTime',context!) }; getTypeName() => "Change"; TypeContext? context = _ctx; } class GetDealExpectedLossesChangedSinceResponse implements IConvertible { List? changes; ResponseStatus? responseStatus; GetDealExpectedLossesChangedSinceResponse({this.changes,this.responseStatus}); GetDealExpectedLossesChangedSinceResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { changes = JsonConverters.fromJson(json['changes'],'List',context!); responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'changes': JsonConverters.toJson(changes,'List',context!), 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "GetDealExpectedLossesChangedSinceResponse"; TypeContext? context = _ctx; } // @Route("/riskstore/eventset/deal-expected-loss-changed-since", "GET") class GetDealExpectedLossesChangedSinceRequest implements IReturn, IGet, IConvertible { /** * The source deal system (IGN) to get the date for */ // @ApiMember(DataType="string", Description="The source deal system (IGN) to get the date for", IsRequired=true) String? sourceDealSystem; /** * The date to get the changes since */ // @ApiMember(DataType="string", Description="The date to get the changes since", Format="date-time", IsRequired=true) DateTime? sinceSysStartUtc; GetDealExpectedLossesChangedSinceRequest({this.sourceDealSystem,this.sinceSysStartUtc}); GetDealExpectedLossesChangedSinceRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { sourceDealSystem = json['sourceDealSystem']; sinceSysStartUtc = JsonConverters.fromJson(json['sinceSysStartUtc'],'DateTime',context!); return this; } Map toJson() => { 'sourceDealSystem': sourceDealSystem, 'sinceSysStartUtc': JsonConverters.toJson(sinceSysStartUtc,'DateTime',context!) }; createResponse() => GetDealExpectedLossesChangedSinceResponse(); getResponseTypeName() => "GetDealExpectedLossesChangedSinceResponse"; getTypeName() => "GetDealExpectedLossesChangedSinceRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'riskstoreng_dev.nephila.com', types: { 'Change': TypeInfo(TypeOf.Class, create:() => Change()), 'GetDealExpectedLossesChangedSinceResponse': TypeInfo(TypeOf.Class, create:() => GetDealExpectedLossesChangedSinceResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetDealExpectedLossesChangedSinceRequest': TypeInfo(TypeOf.Class, create:() => GetDealExpectedLossesChangedSinceRequest()), });