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