/* Options: Date: 2025-10-27 21:35:08 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: StartProcessBatch.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ProcessBatchResponse implements IConvertible { // @DataMember(Order=1) int? Id; // @DataMember(Order=2) ResponseStatus? ResponseStatus; ProcessBatchResponse({this.Id,this.ResponseStatus}); ProcessBatchResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Id': Id, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "ProcessBatchResponse"; TypeContext? context = _ctx; } // @Route("/campaign/batch/start/{Id}", "GET POST") // @DataContract class StartProcessBatch implements IReturn, IConvertible, IPost { // @DataMember(Order=1) int? Id; StartProcessBatch({this.Id}); StartProcessBatch.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; return this; } Map toJson() => { 'Id': Id }; createResponse() => ProcessBatchResponse(); getResponseTypeName() => "ProcessBatchResponse"; getTypeName() => "StartProcessBatch"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: { 'ProcessBatchResponse': TypeInfo(TypeOf.Class, create:() => ProcessBatchResponse()), 'StartProcessBatch': TypeInfo(TypeOf.Class, create:() => StartProcessBatch()), });