import 'package:servicestack/servicestack.dart';
class UpdateKiRatingResponse implements IConvertible
{
bool? Status;
UpdateKiRatingResponse({this.Status});
UpdateKiRatingResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Status = json['Status'];
return this;
}
Map<String, dynamic> toJson() => {
'Status': Status
};
getTypeName() => "UpdateKiRatingResponse";
TypeContext? context = _ctx;
}
class UpdateKiRatingRequest implements IConvertible
{
String? Lizenz;
int? AnalyseId;
int? Rating;
String? Kommentar;
int? KategorieId;
UpdateKiRatingRequest({this.Lizenz,this.AnalyseId,this.Rating,this.Kommentar,this.KategorieId});
UpdateKiRatingRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Lizenz = json['Lizenz'];
AnalyseId = json['AnalyseId'];
Rating = json['Rating'];
Kommentar = json['Kommentar'];
KategorieId = json['KategorieId'];
return this;
}
Map<String, dynamic> toJson() => {
'Lizenz': Lizenz,
'AnalyseId': AnalyseId,
'Rating': Rating,
'Kommentar': Kommentar,
'KategorieId': KategorieId
};
getTypeName() => "UpdateKiRatingRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: '52.142.207.43', types: <String, TypeInfo> {
'UpdateKiRatingResponse': TypeInfo(TypeOf.Class, create:() => UpdateKiRatingResponse()),
'UpdateKiRatingRequest': TypeInfo(TypeOf.Class, create:() => UpdateKiRatingRequest()),
});
Dart UpdateKiRatingRequest 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/reply/UpdateKiRatingRequest HTTP/1.1
Host: 52.142.207.43
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"Lizenz":"String","AnalyseId":0,"Rating":0,"Kommentar":"String","KategorieId":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"Status":false}