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