/* Options: Date: 2026-06-13 13:09:45 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://riskstoreng-dev.nephila.com/api //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: FindEventSetRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { @Route(Path="/riskstore/eventset/search", Verbs="GET") public static class FindEventSetRequest extends QueryDb implements IReturn> { /** * Source Model System */ @ApiMember(DataType="string", Description="Source Model System") public String sourceModelSystem = null; /** * Model Id */ @ApiMember(DataType="string", Description="Model Id") public String modelId = null; /** * The perspective id for the event set */ @ApiMember(DataType="integer", Description="The perspective id for the event set", Format="int32") public Integer perspectiveId = null; /** * Source Event Set Id */ @ApiMember(DataType="string", Description="Source Event Set Id", Format="uuid") public UUID sourceEventSetId = null; public String getSourceModelSystem() { return sourceModelSystem; } public FindEventSetRequest setSourceModelSystem(String value) { this.sourceModelSystem = value; return this; } public String getModelId() { return modelId; } public FindEventSetRequest setModelId(String value) { this.modelId = value; return this; } public Integer getPerspectiveId() { return perspectiveId; } public FindEventSetRequest setPerspectiveId(Integer value) { this.perspectiveId = value; return this; } public UUID getSourceEventSetId() { return sourceEventSetId; } public FindEventSetRequest setSourceEventSetId(UUID value) { this.sourceEventSetId = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } @DataContract public static class QueryResponse { @DataMember(Order=1) public Integer offset = null; @DataMember(Order=2) public Integer total = null; @DataMember(Order=3) public ArrayList results = null; @DataMember(Order=4) public HashMap meta = null; @DataMember(Order=5) public ResponseStatus responseStatus = null; public Integer getOffset() { return offset; } public QueryResponse setOffset(Integer value) { this.offset = value; return this; } public Integer getTotal() { return total; } public QueryResponse setTotal(Integer value) { this.total = value; return this; } public ArrayList getResults() { return results; } public QueryResponse setResults(ArrayList value) { this.results = value; return this; } public HashMap getMeta() { return meta; } public QueryResponse setMeta(HashMap value) { this.meta = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public QueryResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class EventSet { public Long eventSetId = null; public ProcessingStatus processingStatus = null; public String sourceModelSystem = null; public String sourceEventSetId = null; public String modelId = null; public Integer perspectiveId = null; public Integer simulationCount = null; public String programCalculationId = null; public String description = null; public Double limit = null; public Integer reinstatements = null; public String eventSourceType = null; public String eventSetOriginId = null; public String eventSetOriginName = null; public String eventSetOriginType = null; public String sourceEventSetLossContainer = null; public String sourceEventSetLossPath = null; public String resolution = null; public String resultsHash = null; public Double expectedLossAggregate = null; public Double expectedLossOccurrence = null; public Double probabilityOfAttachment = null; public Double probabilityOfExhaustion = null; public Date approvedDateTimeUtc = null; public String approvedBy = null; public Long eventSourceId = null; public Date validFromUtc = null; public Date validToUtc = null; public String container = null; public String blobName = null; public Date updatedDateUtc = null; public Boolean isArchived = null; public String archivedLossDataBlobPath = null; public String archivedLossDataHash = null; public EventSetTelemetry eventSetTelemetry = null; public Long getEventSetId() { return eventSetId; } public EventSet setEventSetId(Long value) { this.eventSetId = value; return this; } public ProcessingStatus getProcessingStatus() { return processingStatus; } public EventSet setProcessingStatus(ProcessingStatus value) { this.processingStatus = value; return this; } public String getSourceModelSystem() { return sourceModelSystem; } public EventSet setSourceModelSystem(String value) { this.sourceModelSystem = value; return this; } public String getSourceEventSetId() { return sourceEventSetId; } public EventSet setSourceEventSetId(String value) { this.sourceEventSetId = value; return this; } public String getModelId() { return modelId; } public EventSet setModelId(String value) { this.modelId = value; return this; } public Integer getPerspectiveId() { return perspectiveId; } public EventSet setPerspectiveId(Integer value) { this.perspectiveId = value; return this; } public Integer getSimulationCount() { return simulationCount; } public EventSet setSimulationCount(Integer value) { this.simulationCount = value; return this; } public String getProgramCalculationId() { return programCalculationId; } public EventSet setProgramCalculationId(String value) { this.programCalculationId = value; return this; } public String getDescription() { return description; } public EventSet setDescription(String value) { this.description = value; return this; } public Double getLimit() { return limit; } public EventSet setLimit(Double value) { this.limit = value; return this; } public Integer getReinstatements() { return reinstatements; } public EventSet setReinstatements(Integer value) { this.reinstatements = value; return this; } public String getEventSourceType() { return eventSourceType; } public EventSet setEventSourceType(String value) { this.eventSourceType = value; return this; } public String getEventSetOriginId() { return eventSetOriginId; } public EventSet setEventSetOriginId(String value) { this.eventSetOriginId = value; return this; } public String getEventSetOriginName() { return eventSetOriginName; } public EventSet setEventSetOriginName(String value) { this.eventSetOriginName = value; return this; } public String getEventSetOriginType() { return eventSetOriginType; } public EventSet setEventSetOriginType(String value) { this.eventSetOriginType = value; return this; } public String getSourceEventSetLossContainer() { return sourceEventSetLossContainer; } public EventSet setSourceEventSetLossContainer(String value) { this.sourceEventSetLossContainer = value; return this; } public String getSourceEventSetLossPath() { return sourceEventSetLossPath; } public EventSet setSourceEventSetLossPath(String value) { this.sourceEventSetLossPath = value; return this; } public String getResolution() { return resolution; } public EventSet setResolution(String value) { this.resolution = value; return this; } public String getResultsHash() { return resultsHash; } public EventSet setResultsHash(String value) { this.resultsHash = value; return this; } public Double getExpectedLossAggregate() { return expectedLossAggregate; } public EventSet setExpectedLossAggregate(Double value) { this.expectedLossAggregate = value; return this; } public Double getExpectedLossOccurrence() { return expectedLossOccurrence; } public EventSet setExpectedLossOccurrence(Double value) { this.expectedLossOccurrence = value; return this; } public Double getProbabilityOfAttachment() { return probabilityOfAttachment; } public EventSet setProbabilityOfAttachment(Double value) { this.probabilityOfAttachment = value; return this; } public Double getProbabilityOfExhaustion() { return probabilityOfExhaustion; } public EventSet setProbabilityOfExhaustion(Double value) { this.probabilityOfExhaustion = value; return this; } public Date getApprovedDateTimeUtc() { return approvedDateTimeUtc; } public EventSet setApprovedDateTimeUtc(Date value) { this.approvedDateTimeUtc = value; return this; } public String getApprovedBy() { return approvedBy; } public EventSet setApprovedBy(String value) { this.approvedBy = value; return this; } public Long getEventSourceId() { return eventSourceId; } public EventSet setEventSourceId(Long value) { this.eventSourceId = value; return this; } public Date getValidFromUtc() { return validFromUtc; } public EventSet setValidFromUtc(Date value) { this.validFromUtc = value; return this; } public Date getValidToUtc() { return validToUtc; } public EventSet setValidToUtc(Date value) { this.validToUtc = value; return this; } public String getContainer() { return container; } public EventSet setContainer(String value) { this.container = value; return this; } public String getBlobName() { return blobName; } public EventSet setBlobName(String value) { this.blobName = value; return this; } public Date getUpdatedDateUtc() { return updatedDateUtc; } public EventSet setUpdatedDateUtc(Date value) { this.updatedDateUtc = value; return this; } public Boolean getIsArchived() { return isArchived; } public EventSet setIsArchived(Boolean value) { this.isArchived = value; return this; } public String getArchivedLossDataBlobPath() { return archivedLossDataBlobPath; } public EventSet setArchivedLossDataBlobPath(String value) { this.archivedLossDataBlobPath = value; return this; } public String getArchivedLossDataHash() { return archivedLossDataHash; } public EventSet setArchivedLossDataHash(String value) { this.archivedLossDataHash = value; return this; } public EventSetTelemetry getEventSetTelemetry() { return eventSetTelemetry; } public EventSet setEventSetTelemetry(EventSetTelemetry value) { this.eventSetTelemetry = value; return this; } } public static enum ProcessingStatus { New(0), Processing(1), Failed(10), Successful(20); private final int value; ProcessingStatus(final int intValue) { value = intValue; } public int getValue() { return value; } } public static class QueryDb extends QueryBase { } public static class EventSetTelemetry { public Long eventSetId = null; public Date startedDateTimeUtc = null; public Date endedDateTimeUct = null; public Integer eventLossCount = null; public Long getEventSetId() { return eventSetId; } public EventSetTelemetry setEventSetId(Long value) { this.eventSetId = value; return this; } public Date getStartedDateTimeUtc() { return startedDateTimeUtc; } public EventSetTelemetry setStartedDateTimeUtc(Date value) { this.startedDateTimeUtc = value; return this; } public Date getEndedDateTimeUct() { return endedDateTimeUct; } public EventSetTelemetry setEndedDateTimeUct(Date value) { this.endedDateTimeUct = value; return this; } public Integer getEventLossCount() { return eventLossCount; } public EventSetTelemetry setEventLossCount(Integer value) { this.eventLossCount = value; return this; } } @DataContract public static class QueryBase { @DataMember(Order=1) public Integer skip = null; @DataMember(Order=2) public Integer take = null; @DataMember(Order=3) public String orderBy = null; @DataMember(Order=4) public String orderByDesc = null; @DataMember(Order=5) public String include = null; @DataMember(Order=6) public String fields = null; @DataMember(Order=7) public HashMap meta = null; public Integer getSkip() { return skip; } public QueryBase setSkip(Integer value) { this.skip = value; return this; } public Integer getTake() { return take; } public QueryBase setTake(Integer value) { this.take = value; return this; } public String getOrderBy() { return orderBy; } public QueryBase setOrderBy(String value) { this.orderBy = value; return this; } public String getOrderByDesc() { return orderByDesc; } public QueryBase setOrderByDesc(String value) { this.orderByDesc = value; return this; } public String getInclude() { return include; } public QueryBase setInclude(String value) { this.include = value; return this; } public String getFields() { return fields; } public QueryBase setFields(String value) { this.fields = value; return this; } public HashMap getMeta() { return meta; } public QueryBase setMeta(HashMap value) { this.meta = value; return this; } } }