/* Options: Date: 2025-10-28 02:17:49 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: InvoiceFilesAdd.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:collection'; class InvoiceFilesAddResponse implements IConvertible { // @DataMember(Order=2) int? TenantsId; // @DataMember(Order=3) int? DebtsId; // @DataMember(Order=4) String? InvoiceUrl; // @DataMember(Order=6) ResponseStatus? ResponseStatus; InvoiceFilesAddResponse({this.TenantsId,this.DebtsId,this.InvoiceUrl,this.ResponseStatus}); InvoiceFilesAddResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TenantsId = json['TenantsId']; DebtsId = json['DebtsId']; InvoiceUrl = json['InvoiceUrl']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'TenantsId': TenantsId, 'DebtsId': DebtsId, 'InvoiceUrl': InvoiceUrl, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "InvoiceFilesAddResponse"; TypeContext? context = _ctx; } // @Route("/invoice_files", "POST") // @DataContract class InvoiceFilesAdd implements IReturn, IConvertible, IPost { // @DataMember(Order=2) // @Validate(Validator="NotNull") int? TenantsId; // @DataMember(Order=3) // @Validate(Validator="NotNull") int? DebtsId; // @DataMember(Order=4) // @Validate(Validator="NotNull") String? InvoiceUrl; InvoiceFilesAdd({this.TenantsId,this.DebtsId,this.InvoiceUrl}); InvoiceFilesAdd.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TenantsId = json['TenantsId']; DebtsId = json['DebtsId']; InvoiceUrl = json['InvoiceUrl']; return this; } Map toJson() => { 'TenantsId': TenantsId, 'DebtsId': DebtsId, 'InvoiceUrl': InvoiceUrl }; createResponse() => InvoiceFilesAddResponse(); getResponseTypeName() => "InvoiceFilesAddResponse"; getTypeName() => "InvoiceFilesAdd"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: { 'InvoiceFilesAddResponse': TypeInfo(TypeOf.Class, create:() => InvoiceFilesAddResponse()), 'InvoiceFilesAdd': TypeInfo(TypeOf.Class, create:() => InvoiceFilesAdd()), });