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