' Options: 'Date: 2026-06-13 13:38:41 '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 '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: False '''ExportValueTypes: False 'IncludeTypes: RollupRequest.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.IO Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports Nephila.RiskStore.ServiceModel.Types Imports Nephila.RiskStore.ServiceModel Imports Nephila.RiskStore.ServiceModel.Requests Namespace Global Namespace Nephila.RiskStore.ServiceModel.Requests Public Partial Class RollupRequest Implements IReturn(Of RollupResponse) Implements IPost Implements IHasVersion Public Overridable Property Analysis As Analysis Public Overridable Property Version As Integer Implements IHasVersion.Version End Class Public Partial Class RollupResponse Public Overridable Property Analysis As Analysis Public Overridable Property PortfolioMetrics As List(Of AnalysisPortfolioMetric) Public Overridable Property Results As List(Of AnalysisResult) Public Overridable Property ResponseStatus As ResponseStatus Public Overridable Property UnresolvedDealIds As List(Of String) Public Overridable Property UnlinkedDealIds As List(Of ValueTuple(Of String,String)) Public Overridable Property Message As String End Class End Namespace Namespace Nephila.RiskStore.ServiceModel.Types Public Partial Class Analysis Implements IObjectWithId Public Overridable Property Id As Long Implements IObjectWithId.Id Public Overridable Property Name As String Public Overridable Property ModelAsOfDate As Date? Public Overridable Property PerspectiveId As Integer Public Overridable Property Configurations As List(Of AnalysisConfiguration) Public Overridable Property Deals As List(Of AnalysisDeal) Public Overridable Property EventIdFilters As List(Of AnalysisEventIdFilter) Public Overridable Property CreatedBy As String Public Overridable Property CreatedDateUtc As Date Public Overridable Property CompletedDateUtc As Date? Public Overridable Property LegacyAnalysisId As Long? Public Overridable Property ResultPersistenceTracking As List(Of MessageTracking) Public Overridable Property ProcessingStatus As ProcessingStatus Public Overridable Property SaveResults As Boolean Public Overridable Property EventSourceSystem As String Public Overridable Property UpdatedDateUtc As Date Public Overridable Property IsExpired As Boolean Public Overridable Property RowIdentifier As Guid Implements IObjectWithId.RowIdentifier Public Overridable Property ErrorMessage As String ''' '''Take the minimum simulation count when we have different simulations between event sets ''' Public Overridable Property IgnoreSimulationCountMismatch As Boolean Public Overridable Property FinalStatus As ProcessingStatus End Class Public Partial Class AnalysisConfiguration Implements IObjectWithId Implements IHasAnalysisId Public Overridable Property Id As Long Implements IObjectWithId.Id Public Overridable Property AnalysisId As Long Implements IHasAnalysisId.AnalysisId Public Overridable Property WindowStartDate As Date? Public Overridable Property WindowEndDate As Date? Public Overridable Property StandardEnabled As Boolean Public Overridable Property RunOffEnabled As Boolean Public Overridable Property AggregateEnabled As Boolean Public Overridable Property OccurrenceEnabled As Boolean Public Overridable Property NettEnabled As Boolean Public Overridable Property GrossEnabled As Boolean Public Overridable Property TailIntensityPercentageStart As Decimal? Public Overridable Property TailIntensityPercentageEnd As Decimal? Public Overridable Property MetaRiskId As Integer Public Overridable Property OutputLevel As ResultOutputLevel Public Overridable Property ProcessingStatus As ProcessingStatus Public Overridable Property EventLossFloorStartRange As Decimal? Public Overridable Property EventLossFloorEndRange As Decimal? Public Overridable Property AnalysisPortfolioEventSetConfigurations As List(Of AnalysisPortfolioEventSetConfiguration) Public Overridable Property RowIdentifier As Guid Implements IObjectWithId.RowIdentifier End Class Public Partial Class AnalysisDeal Implements IObjectWithId Implements IHasAnalysisId Public Overridable Property Id As Long Implements IObjectWithId.Id Public Overridable Property AnalysisId As Long Implements IHasAnalysisId.AnalysisId Public Overridable Property SourceDealId As String Public Overridable Property DealRef As String Public Overridable Property SourceDealSystem As String Public Overridable Property EventSetId As Long Public Overridable Property ROL As Double Public Overridable Property Limit As Double Public Overridable Property InceptionDate As Date Public Overridable Property ExpiryDate As Date Public Overridable Property TransactionType As TransactionType Public Overridable Property Allocations As List(Of AnalysisPortfolioAllocation) Public Overridable Property PerspectiveIdOverride As Integer? Public Overridable Property EventSetIdOverride As Long? Public Overridable Property ModelAsOfDateOverride As Date? Public Overridable Property SourceModelSystemOverride As String Public Overridable Property SourceModelIdOverride As String Public Overridable Property SourceEventSetIdOverride As String Public Overridable Property EventSourceSystemOverride As String Public Overridable Property RowIdentifier As Guid Implements IObjectWithId.RowIdentifier End Class Public Partial Class AnalysisEventIdFilter Implements IObjectWithId Implements IHasAnalysisId Public Overridable Property Id As Long Implements IObjectWithId.Id Public Overridable Property AnalysisId As Long Implements IHasAnalysisId.AnalysisId Public Overridable Property EventSourceId As Integer Public Overridable Property EventId As Long Public Overridable Property RowIdentifier As Guid Implements IObjectWithId.RowIdentifier End Class Public Partial Class AnalysisPortfolioAllocation Implements IObjectWithId Public Overridable Property Id As Long Implements IObjectWithId.Id Public Overridable Property AnalysisDealId As Long Public Overridable Property PortfolioName As String Public Overridable Property AllocationPercentage As Double Public Overridable Property RowIdentifier As Guid Implements IObjectWithId.RowIdentifier End Class Public Partial Class AnalysisPortfolioEventSetConfiguration Implements IObjectWithId Implements IHasAnalysisId Public Overridable Property Id As Long Implements IObjectWithId.Id Public Overridable Property AnalysisId As Long Implements IHasAnalysisId.AnalysisId Public Overridable Property AnalysisConfigurationId As Long Public Overridable Property PortfolioName As String Public Overridable Property ModelId As String Public Overridable Property RowIdentifier As Guid Implements IObjectWithId.RowIdentifier End Class Public Partial Class AnalysisPortfolioEventSetResult Implements IObjectWithId Implements IHasAnalysisId Public Overridable Property Id As Long Implements IObjectWithId.Id Public Overridable Property AnalysisId As Long Implements IHasAnalysisId.AnalysisId Public Overridable Property AnalysisPortfolioEventSetConfigurationId As Long Public Overridable Property AnalysisResultId As Long Public Overridable Property PortfolioName As String Public Overridable Property RowIdentifier As Guid Implements IObjectWithId.RowIdentifier End Class Public Partial Class AnalysisPortfolioMetric Implements IHasAnalysisResultId Public Overridable Property AnalysisType As AnalysisType Public Overridable Property SimulationLossPerspective As SimulationLossPerspective Public Overridable Property ReinsurancePremiumLossType As ReinsurancePremiumLossType Public Overridable Property MetricDescription As String Public Overridable Property PortfolioName As String Public Overridable Property Metric As Double Public Overridable Property MetaRiskId As Integer Public Overridable Property Simulation As Integer? Public Overridable Property AnalysisResultId As Long Implements IHasAnalysisResultId.AnalysisResultId End Class Public Partial Class AnalysisResult Implements IObjectWithId Public Overridable Property Id As Long Implements IObjectWithId.Id Public Overridable Property AnalysisId As Long Public Overridable Property AnalysisConfigurationId As Long Public Overridable Property Container As String Public Overridable Property BlobName As String Public Overridable Property ResultTableName As String Public Overridable Property AnalysisType As AnalysisType Public Overridable Property SimulationLossPerspective As SimulationLossPerspective Public Overridable Property ReinsurancePremiumLossType As ReinsurancePremiumLossType Public Overridable Property OutputLevel As ResultOutputLevel Public Overridable Property MetaRiskId As Integer Public Overridable Property AnalysisPortfolioEventSetResults As List(Of AnalysisPortfolioEventSetResult) Public Overridable Property RowIdentifier As Guid Implements IObjectWithId.RowIdentifier End Class Public Interface IHasAnalysisId Property AnalysisId As Long End Interface Public Interface IHasAnalysisResultId Property AnalysisResultId As Long End Interface Public Interface IObjectWithId Property Id As Long Property RowIdentifier As Guid End Interface Public Partial Class MessageTracking Public Overridable Property Id As Guid Public Overridable Property AnalysisId As Long? Public Overridable Property ProcessingStatus As ProcessingStatus Public Overridable Property MessageType As MessageType Public Overridable Property CreatedDateUtc As Date Public Overridable Property UpdatedDateUtc As Date End Class End Namespace End Namespace