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