/* Options: Date: 2025-10-27 21:54:12 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://duengageapi.uat.scadsoftware.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: TestDelete.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:collection'; class TestDeleteResponse implements IConvertible { // @DataMember(Order=1) int? Id; // @DataMember(Order=4) ResponseStatus? ResponseStatus; TestDeleteResponse({this.Id,this.ResponseStatus}); TestDeleteResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Id': Id, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "TestDeleteResponse"; TypeContext? context = _ctx; } // @Route("/test/{Id}", "DELETE") // @DataContract class TestDelete implements IReturn, IConvertible, IDelete { // @DataMember(Order=1) // @Validate(Validator="NotNull") int? Id; TestDelete({this.Id}); TestDelete.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; return this; } Map toJson() => { 'Id': Id }; createResponse() => TestDeleteResponse(); getResponseTypeName() => "TestDeleteResponse"; getTypeName() => "TestDelete"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: { 'TestDeleteResponse': TypeInfo(TypeOf.Class, create:() => TestDeleteResponse()), 'TestDelete': TypeInfo(TypeOf.Class, create:() => TestDelete()), });