| POST | /awss3-ercot-lowercase |
|---|
import 'package:servicestack/servicestack.dart';
class AwsS3EercotLowerCaseRequest implements IConvertible
{
String? rootPath;
bool? deleteOld;
AwsS3EercotLowerCaseRequest({this.rootPath,this.deleteOld});
AwsS3EercotLowerCaseRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
rootPath = json['rootPath'];
deleteOld = json['deleteOld'];
return this;
}
Map<String, dynamic> toJson() => {
'rootPath': rootPath,
'deleteOld': deleteOld
};
getTypeName() => "AwsS3EercotLowerCaseRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'catalog_jobs_dev.power.dev', types: <String, TypeInfo> {
'AwsS3EercotLowerCaseRequest': TypeInfo(TypeOf.Class, create:() => AwsS3EercotLowerCaseRequest()),
});
Dart AwsS3EercotLowerCaseRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /awss3-ercot-lowercase HTTP/1.1
Host: catalog-jobs-dev.power.dev
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"rootPath":"String","deleteOld":false}