import 'package:servicestack/servicestack.dart';
class UpdateStorageSystemResponse implements IConvertible
{
    bool? IsSucces;
    String? DocumentID;
    List<String>? ErrorMessages;
    UpdateStorageSystemResponse({this.IsSucces,this.DocumentID,this.ErrorMessages});
    UpdateStorageSystemResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
    fromMap(Map<String, dynamic> json) {
        IsSucces = json['IsSucces'];
        DocumentID = json['DocumentID'];
        ErrorMessages = JsonConverters.fromJson(json['ErrorMessages'],'List<String>',context!);
        return this;
    }
    Map<String, dynamic> toJson() => {
        'IsSucces': IsSucces,
        'DocumentID': DocumentID,
        'ErrorMessages': JsonConverters.toJson(ErrorMessages,'List<String>',context!)
    };
    getTypeName() => "UpdateStorageSystemResponse";
    TypeContext? context = _ctx;
}
class UpdateStorageSystem implements IConvertible
{
    String? DocumentID;
    bool? OptimizeForNewCreatedFiles;
    UpdateStorageSystem({this.DocumentID,this.OptimizeForNewCreatedFiles});
    UpdateStorageSystem.fromJson(Map<String, dynamic> json) { fromMap(json); }
    fromMap(Map<String, dynamic> json) {
        DocumentID = json['DocumentID'];
        OptimizeForNewCreatedFiles = json['OptimizeForNewCreatedFiles'];
        return this;
    }
    Map<String, dynamic> toJson() => {
        'DocumentID': DocumentID,
        'OptimizeForNewCreatedFiles': OptimizeForNewCreatedFiles
    };
    getTypeName() => "UpdateStorageSystem";
    TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'doapigw.baasbv.nl', types: <String, TypeInfo> {
    'UpdateStorageSystemResponse': TypeInfo(TypeOf.Class, create:() => UpdateStorageSystemResponse()),
    'UpdateStorageSystem': TypeInfo(TypeOf.Class, create:() => UpdateStorageSystem()),
});
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.
POST /json/reply/UpdateStorageSystem HTTP/1.1 
Host: doapigw.baasbv.nl 
Accept: application/json
Content-Type: application/json
Content-Length: length
{"DocumentID":"00000000-0000-0000-0000-000000000000","OptimizeForNewCreatedFiles":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"IsSucces":false,"DocumentID":"00000000-0000-0000-0000-000000000000","ErrorMessages":["String"]}