import 'package:servicestack/servicestack.dart';
class KiKorrekturSignal implements IConvertible
{
String? AktionTyp;
String? Tabelle;
String? Feldname;
String? AenderungsBeschreibung;
String? FehlerMeldung;
String? AufgerufeVon;
String? UrspruenglicheFehlertext;
KiKorrekturSignal({this.AktionTyp,this.Tabelle,this.Feldname,this.AenderungsBeschreibung,this.FehlerMeldung,this.AufgerufeVon,this.UrspruenglicheFehlertext});
KiKorrekturSignal.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
AktionTyp = json['AktionTyp'];
Tabelle = json['Tabelle'];
Feldname = json['Feldname'];
AenderungsBeschreibung = json['AenderungsBeschreibung'];
FehlerMeldung = json['FehlerMeldung'];
AufgerufeVon = json['AufgerufeVon'];
UrspruenglicheFehlertext = json['UrspruenglicheFehlertext'];
return this;
}
Map<String, dynamic> toJson() => {
'AktionTyp': AktionTyp,
'Tabelle': Tabelle,
'Feldname': Feldname,
'AenderungsBeschreibung': AenderungsBeschreibung,
'FehlerMeldung': FehlerMeldung,
'AufgerufeVon': AufgerufeVon,
'UrspruenglicheFehlertext': UrspruenglicheFehlertext
};
getTypeName() => "KiKorrekturSignal";
TypeContext? context = _ctx;
}
class GetKiNegativProtokollResponse implements IConvertible
{
bool? Status;
List<KiKorrekturSignal>? Signale;
GetKiNegativProtokollResponse({this.Status,this.Signale});
GetKiNegativProtokollResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Status = json['Status'];
Signale = JsonConverters.fromJson(json['Signale'],'List<KiKorrekturSignal>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'Status': Status,
'Signale': JsonConverters.toJson(Signale,'List<KiKorrekturSignal>',context!)
};
getTypeName() => "GetKiNegativProtokollResponse";
TypeContext? context = _ctx;
}
class GetKiNegativProtokollRequest implements IConvertible
{
String? Lizenz;
int? RohLimit;
GetKiNegativProtokollRequest({this.Lizenz,this.RohLimit});
GetKiNegativProtokollRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Lizenz = json['Lizenz'];
RohLimit = json['RohLimit'];
return this;
}
Map<String, dynamic> toJson() => {
'Lizenz': Lizenz,
'RohLimit': RohLimit
};
getTypeName() => "GetKiNegativProtokollRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: '52.142.207.43', types: <String, TypeInfo> {
'KiKorrekturSignal': TypeInfo(TypeOf.Class, create:() => KiKorrekturSignal()),
'GetKiNegativProtokollResponse': TypeInfo(TypeOf.Class, create:() => GetKiNegativProtokollResponse()),
'List<KiKorrekturSignal>': TypeInfo(TypeOf.Class, create:() => <KiKorrekturSignal>[]),
'GetKiNegativProtokollRequest': TypeInfo(TypeOf.Class, create:() => GetKiNegativProtokollRequest()),
});
Dart GetKiNegativProtokollRequest 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/reply/GetKiNegativProtokollRequest HTTP/1.1
Host: 52.142.207.43
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Lizenz":"String","RohLimit":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Status":false,"Signale":[{"AktionTyp":"String","Tabelle":"String","Feldname":"String","AenderungsBeschreibung":"String","FehlerMeldung":"String","AufgerufeVon":"String","UrspruenglicheFehlertext":"String"}]}