/* Options: Date: 2025-12-06 08:15:42 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ReportManagerModuleDeleteRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class ReportManagerModule implements IReportManagerDocument, IConvertible { int? id; String? name; String? text; DateTime? updated; ReportManagerModule({this.id,this.name,this.text,this.updated}); ReportManagerModule.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; text = json['text']; updated = JsonConverters.fromJson(json['updated'],'DateTime',context!); return this; } Map toJson() => { 'id': id, 'name': name, 'text': text, 'updated': JsonConverters.toJson(updated,'DateTime',context!) }; getTypeName() => "ReportManagerModule"; TypeContext? context = _ctx; } abstract class IReportManagerDocument { } abstract class ReportManagerDeleteRequest { int? id; ReportManagerDeleteRequest({this.id}); ReportManagerDeleteRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; return this; } Map toJson() => { 'id': id }; getTypeName() => "ReportManagerDeleteRequest<$T>"; TypeContext? context = _ctx; } class ReportManagerSaveDeleteResponse implements IConvertible { int? id; ReportManagerSaveDeleteResponse({this.id}); ReportManagerSaveDeleteResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; return this; } Map toJson() => { 'id': id }; getTypeName() => "ReportManagerSaveDeleteResponse"; TypeContext? context = _ctx; } // @Route("/v1/ReportManager/api/Modules/{id}", "DELETE,OPTIONS") class ReportManagerModuleDeleteRequest extends ReportManagerDeleteRequest implements IReturn, IConvertible, IDelete { ReportManagerModuleDeleteRequest(); ReportManagerModuleDeleteRequest.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => ReportManagerSaveDeleteResponse(); getResponseTypeName() => "ReportManagerSaveDeleteResponse"; getTypeName() => "ReportManagerModuleDeleteRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'ReportManagerModule': TypeInfo(TypeOf.Class, create:() => ReportManagerModule()), 'IReportManagerDocument': TypeInfo(TypeOf.Interface), 'ReportManagerDeleteRequest': TypeInfo(TypeOf.GenericDef,create:() => ReportManagerDeleteRequest()), 'ReportManagerSaveDeleteResponse': TypeInfo(TypeOf.Class, create:() => ReportManagerSaveDeleteResponse()), 'ReportManagerModuleDeleteRequest': TypeInfo(TypeOf.Class, create:() => ReportManagerModuleDeleteRequest()), });