GET | /RestApi/comments-api/comments/reviews_statistics |
---|
import 'package:servicestack/servicestack.dart';
class ReviewsStatisticsGetRequest implements IConvertible
{
List<String>? ThreadKey;
ReviewsStatisticsGetRequest({this.ThreadKey});
ReviewsStatisticsGetRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
ThreadKey = JsonConverters.fromJson(json['ThreadKey'],'List<String>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'ThreadKey': JsonConverters.toJson(ThreadKey,'List<String>',context!)
};
getTypeName() => "ReviewsStatisticsGetRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'www.asg.com.au', types: <String, TypeInfo> {
'ReviewsStatisticsGetRequest': TypeInfo(TypeOf.Class, create:() => ReviewsStatisticsGetRequest()),
});
Dart ReviewsStatisticsGetRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /RestApi/comments-api/comments/reviews_statistics HTTP/1.1 Host: www.asg.com.au Accept: text/jsv