/* Options: Date: 2026-06-13 13:36:47 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://riskstoreng-dev.nephila.com/api //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: False //ExportValueTypes: False IncludeTypes: GetDealExpectedLossRequest.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using Nephila.RiskStore.ServiceModel.Types; using Nephila.RiskStore.ServiceModel.Requests; namespace Nephila.RiskStore.ServiceModel.Requests { [Route("/riskstore/eventset/deal-expected-loss", "POST")] public partial class GetDealExpectedLossRequest : IReturn, IPost { /// ///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)] public virtual string SourceDealSystem { get; set; } /// ///The as of date to query /// [ApiMember(DataType="string", Description="The as of date to query", Format="date-time")] public virtual DateTime? AsOf { get; set; } /// ///The metarisks to query for /// [ApiMember(DataType="array", Description="The metarisks to query for", Format="int32", IsRequired=true)] public virtual List MetaRiskIds { get; set; } = []; /// ///The perspectives to query for /// [ApiMember(DataType="array", Description="The perspectives to query for", Format="int32")] public virtual List PerspectiveIds { get; set; } /// ///The perspectives types to query for (0 - Vendor, 10 - Nephila 1.0, 16 - Nephila 2.0 etc...) /// [ApiMember(DataType="array", Description="The perspectives types to query for (0 - Vendor, 10 - Nephila 1.0, 16 - Nephila 2.0 etc...)", Format="int32")] public virtual List PerspectiveTypeIds { get; set; } /// ///The source deal ids to query for /// [ApiMember(DataType="array", Description="The source deal ids to query for", Format="int64", IsRequired=true)] public virtual List SourceDealIds { get; set; } = []; } public partial class GetDealExpectedLossResponse { public virtual List DealExpectedLosses { get; set; } public virtual ResponseStatus ResponseStatus { get; set; } } } namespace Nephila.RiskStore.ServiceModel.Types { public partial class DealExpectedLoss { public virtual long SourceDealId { get; set; } public virtual int PerspectiveId { get; set; } public virtual int MetaRiskId { get; set; } public virtual decimal ELAgg { get; set; } public virtual decimal ELOcc { get; set; } public virtual decimal PAtt { get; set; } public virtual decimal PExh { get; set; } } }