POST | /RestApi/Sitefinity/packaging/export-for-packaging |
---|
import 'package:servicestack/servicestack.dart';
class ExportForAddonConfigurationMessage implements IConvertible
{
List<String>? StructureExportConfiguration;
List<String>? ContentExportConfiguration;
String? ExportDirectory;
ExportForAddonConfigurationMessage({this.StructureExportConfiguration,this.ContentExportConfiguration,this.ExportDirectory});
ExportForAddonConfigurationMessage.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
StructureExportConfiguration = JsonConverters.fromJson(json['StructureExportConfiguration'],'List<String>',context!);
ContentExportConfiguration = JsonConverters.fromJson(json['ContentExportConfiguration'],'List<String>',context!);
ExportDirectory = json['ExportDirectory'];
return this;
}
Map<String, dynamic> toJson() => {
'StructureExportConfiguration': JsonConverters.toJson(StructureExportConfiguration,'List<String>',context!),
'ContentExportConfiguration': JsonConverters.toJson(ContentExportConfiguration,'List<String>',context!),
'ExportDirectory': ExportDirectory
};
getTypeName() => "ExportForAddonConfigurationMessage";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'www.asg.com.au', types: <String, TypeInfo> {
'ExportForAddonConfigurationMessage': TypeInfo(TypeOf.Class, create:() => ExportForAddonConfigurationMessage()),
});
Dart ExportForAddonConfigurationMessage 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.
POST /RestApi/Sitefinity/packaging/export-for-packaging HTTP/1.1
Host: www.asg.com.au
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ExportDirectory: String
}