' Options: 'Date: 2026-06-13 13:33:45 '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: FindAnalysisRequest.* '''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 Imports Nephila.RiskStore.ServiceModel.Types Imports Nephila.RiskStore.ServiceModel.Requests Namespace Global Namespace Nephila.RiskStore.ServiceModel.Requests Public Partial Class FindAnalysisRequest Inherits QueryDb(Of Analysis) Implements IReturn(Of QueryResponse(Of Analysis)) ''' '''The Ids of the Analyses ''' Public Overridable Property Ids As Long() ''' '''The partial name of the analyses ''' Public Overridable Property Name As String ''' '''Filter only Standard analysis type ''' Public Overridable Property StandardEnabled As Boolean? ''' '''Filter only Run Off analysis type ''' Public Overridable Property RunOffEnabled As Boolean? ''' '''The perspective id used for the analysis ''' Public Overridable Property PerspectiveId As Integer? ''' '''The partial name of the user who run the analysis ''' Public Overridable Property CreatedBy As String ''' '''The analysis run date to filter from ''' Public Overridable Property AnalysisRunFromDateTime As Date? ''' '''The analysis run date to filter to ''' Public Overridable Property AnalysisRunToDateTime As Date? ''' '''The status of the analysis. 1 = Processing, 10 = Failed, 20 = Successful ''' Public Overridable Property ProcessingStatus As ProcessingStatus? 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 Interface IHasAnalysisId Property AnalysisId 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