/* Options: Date: 2026-10-08 22:18:48 Version: 6.21 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://cert.cendyn.com/CenResServiceR2Test //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ProfilePurgePost.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; enum ProfileMergePurgeSource { Other, Messaging, DirectDBExtract, ReportImport, } class ProfilePurgeContainer implements IConvertible { DateTime? transactionDate; String? retiredProfileId; ProfileMergePurgeSource? sourceId; String? importSource; String? importSourceId; String? cendynPropertyID; ProfilePurgeContainer({this.transactionDate,this.retiredProfileId,this.sourceId,this.importSource,this.importSourceId,this.cendynPropertyID}); ProfilePurgeContainer.fromJson(Map json) { fromMap(json); } fromMap(Map json) { transactionDate = JsonConverters.fromJson(json['transactionDate'],'DateTime',context!); retiredProfileId = json['retiredProfileId']; sourceId = JsonConverters.fromJson(json['sourceId'],'ProfileMergePurgeSource',context!); importSource = json['importSource']; importSourceId = json['importSourceId']; cendynPropertyID = json['cendynPropertyID']; return this; } Map toJson() => { 'transactionDate': JsonConverters.toJson(transactionDate,'DateTime',context!), 'retiredProfileId': retiredProfileId, 'sourceId': JsonConverters.toJson(sourceId,'ProfileMergePurgeSource',context!), 'importSource': importSource, 'importSourceId': importSourceId, 'cendynPropertyID': cendynPropertyID }; getTypeName() => "ProfilePurgeContainer"; TypeContext? context = _ctx; } class Response implements IConvertible { String? statusCode; int? recordCount; int? errorCount; Response({this.statusCode,this.recordCount,this.errorCount}); Response.fromJson(Map json) { fromMap(json); } fromMap(Map json) { statusCode = json['statusCode']; recordCount = json['recordCount']; errorCount = json['errorCount']; return this; } Map toJson() => { 'statusCode': statusCode, 'recordCount': recordCount, 'errorCount': errorCount }; getTypeName() => "Response"; TypeContext? context = _ctx; } // @Route("/profile/purge/{SubscriptionId}", "POST") class ProfilePurgePost implements IReturn, IConvertible { ProfilePurgeContainer? profilePurgeContainer; String? subscriptionId; ProfilePurgePost({this.profilePurgeContainer,this.subscriptionId}); ProfilePurgePost.fromJson(Map json) { fromMap(json); } fromMap(Map json) { profilePurgeContainer = JsonConverters.fromJson(json['profilePurgeContainer'],'ProfilePurgeContainer',context!); subscriptionId = json['subscriptionId']; return this; } Map toJson() => { 'profilePurgeContainer': JsonConverters.toJson(profilePurgeContainer,'ProfilePurgeContainer',context!), 'subscriptionId': subscriptionId }; createResponse() => Response(); getResponseTypeName() => "Response"; getTypeName() => "ProfilePurgePost"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'cert.cendyn.com', types: { 'ProfileMergePurgeSource': TypeInfo(TypeOf.Enum, enumValues:ProfileMergePurgeSource.values), 'ProfilePurgeContainer': TypeInfo(TypeOf.Class, create:() => ProfilePurgeContainer()), 'Response': TypeInfo(TypeOf.Class, create:() => Response()), 'ProfilePurgePost': TypeInfo(TypeOf.Class, create:() => ProfilePurgePost()), });