/* Options: Date: 2025-08-05 02:50:15 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://www.asg.com.au/RestApi //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: RestoreRecycleBinItems.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ModalMessageProxy implements IConvertible { bool? IsRecoverable; String? HeaderText; String? BodyText; String? ActionButtonText; bool? HasCancelButton; ModalMessageProxy({this.IsRecoverable,this.HeaderText,this.BodyText,this.ActionButtonText,this.HasCancelButton}); ModalMessageProxy.fromJson(Map json) { fromMap(json); } fromMap(Map json) { IsRecoverable = json['IsRecoverable']; HeaderText = json['HeaderText']; BodyText = json['BodyText']; ActionButtonText = json['ActionButtonText']; HasCancelButton = json['HasCancelButton']; return this; } Map toJson() => { 'IsRecoverable': IsRecoverable, 'HeaderText': HeaderText, 'BodyText': BodyText, 'ActionButtonText': ActionButtonText, 'HasCancelButton': HasCancelButton }; getTypeName() => "ModalMessageProxy"; TypeContext? context = _ctx; } class BatchRestoreModalMessageProxy extends ModalMessageProxy implements IConvertible { List? InvalidItems; BatchRestoreModalMessageProxy({this.InvalidItems}); BatchRestoreModalMessageProxy.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); InvalidItems = JsonConverters.fromJson(json['InvalidItems'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'InvalidItems': JsonConverters.toJson(InvalidItems,'List',context!) }); getTypeName() => "BatchRestoreModalMessageProxy"; TypeContext? context = _ctx; } // @Route("/recycle-bin/batch/restore", "POST") class RestoreRecycleBinItems implements IReturn, IConvertible, IPost { List? Ids; RestoreRecycleBinItems({this.Ids}); RestoreRecycleBinItems.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Ids = JsonConverters.fromJson(json['Ids'],'List',context!); return this; } Map toJson() => { 'Ids': JsonConverters.toJson(Ids,'List',context!) }; createResponse() => BatchRestoreModalMessageProxy(); getResponseTypeName() => "BatchRestoreModalMessageProxy"; getTypeName() => "RestoreRecycleBinItems"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'www.asg.com.au', types: { 'ModalMessageProxy': TypeInfo(TypeOf.Class, create:() => ModalMessageProxy()), 'BatchRestoreModalMessageProxy': TypeInfo(TypeOf.Class, create:() => BatchRestoreModalMessageProxy()), 'RestoreRecycleBinItems': TypeInfo(TypeOf.Class, create:() => RestoreRecycleBinItems()), });