| Requires any of the roles: | Riskstore.Write, Riskstore.Admin |
import 'package:servicestack/servicestack.dart';
class ProcessQueuedRollupRequest implements IConvertible
{
int? analysisId;
DateTime? modelAsOfDate;
int? simulationCount;
int? version;
ProcessQueuedRollupRequest({this.analysisId,this.modelAsOfDate,this.simulationCount,this.version});
ProcessQueuedRollupRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
analysisId = json['analysisId'];
modelAsOfDate = JsonConverters.fromJson(json['modelAsOfDate'],'DateTime',context!);
simulationCount = json['simulationCount'];
version = json['version'];
return this;
}
Map<String, dynamic> toJson() => {
'analysisId': analysisId,
'modelAsOfDate': JsonConverters.toJson(modelAsOfDate,'DateTime',context!),
'simulationCount': simulationCount,
'version': version
};
getTypeName() => "ProcessQueuedRollupRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'riskstoreng_dev.nephila.com', types: <String, TypeInfo> {
'ProcessQueuedRollupRequest': TypeInfo(TypeOf.Class, create:() => ProcessQueuedRollupRequest()),
});
Dart ProcessQueuedRollupRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsonl/oneway/ProcessQueuedRollupRequest HTTP/1.1
Host: riskstoreng-dev.nephila.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"analysisId":0,"modelAsOfDate":"0001-01-01T00:00:00.0000000Z","simulationCount":0,"version":0}