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