GET | /RestApi/sitefinity/data-intelligence/content-analysis-progress |
---|
import 'package:servicestack/servicestack.dart';
class DECEnableContentAnalysisDto implements IConvertible
{
int? Progress;
String? DataCenterApiKey;
List<String>? SiteNames;
String? StatusMessage;
DECEnableContentAnalysisDto({this.Progress,this.DataCenterApiKey,this.SiteNames,this.StatusMessage});
DECEnableContentAnalysisDto.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Progress = json['Progress'];
DataCenterApiKey = json['DataCenterApiKey'];
SiteNames = JsonConverters.fromJson(json['SiteNames'],'List<String>',context!);
StatusMessage = json['StatusMessage'];
return this;
}
Map<String, dynamic> toJson() => {
'Progress': Progress,
'DataCenterApiKey': DataCenterApiKey,
'SiteNames': JsonConverters.toJson(SiteNames,'List<String>',context!),
'StatusMessage': StatusMessage
};
getTypeName() => "DECEnableContentAnalysisDto";
TypeContext? context = _ctx;
}
class DECMonitorContentAnalysisDto implements IConvertible
{
List<DECEnableContentAnalysisDto>? DataCenterProgress;
DECMonitorContentAnalysisDto({this.DataCenterProgress});
DECMonitorContentAnalysisDto.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
DataCenterProgress = JsonConverters.fromJson(json['DataCenterProgress'],'List<DECEnableContentAnalysisDto>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'DataCenterProgress': JsonConverters.toJson(DataCenterProgress,'List<DECEnableContentAnalysisDto>',context!)
};
getTypeName() => "DECMonitorContentAnalysisDto";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'www.asg.com.au', types: <String, TypeInfo> {
'DECEnableContentAnalysisDto': TypeInfo(TypeOf.Class, create:() => DECEnableContentAnalysisDto()),
'DECMonitorContentAnalysisDto': TypeInfo(TypeOf.Class, create:() => DECMonitorContentAnalysisDto()),
'List<DECEnableContentAnalysisDto>': TypeInfo(TypeOf.Class, create:() => <DECEnableContentAnalysisDto>[]),
});
Dart DECMonitorContentAnalysisDto 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.
GET /RestApi/sitefinity/data-intelligence/content-analysis-progress HTTP/1.1 Host: www.asg.com.au Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"DataCenterProgress":[{"Progress":0,"DataCenterApiKey":"String","SiteNames":["String"],"StatusMessage":"String"}]}