import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class ProcessArchiveEventSetRequest implements IHasMessageTrackingId, IConvertible
{
int? eventSetId;
String? messageTrackingId;
ProcessArchiveEventSetRequest({this.eventSetId,this.messageTrackingId});
ProcessArchiveEventSetRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
eventSetId = json['eventSetId'];
messageTrackingId = json['messageTrackingId'];
return this;
}
Map<String, dynamic> toJson() => {
'eventSetId': eventSetId,
'messageTrackingId': messageTrackingId
};
getTypeName() => "ProcessArchiveEventSetRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'riskstoreng_dev.nephila.com', types: <String, TypeInfo> {
'ProcessArchiveEventSetRequest': TypeInfo(TypeOf.Class, create:() => ProcessArchiveEventSetRequest()),
});
Dart ProcessArchiveEventSetRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /json/oneway/ProcessArchiveEventSetRequest HTTP/1.1
Host: riskstoreng-dev.nephila.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"eventSetId":0,"messageTrackingId":"00000000000000000000000000000000"}