/* Options: Date: 2026-10-01 12:31:37 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stubbur-app.azurewebsites.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SurveyMarkRespondedRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class SurveyMarkRespondedResult implements IConvertible { int? matched; int? alreadyMarked; int? unmatched; List? unmatchedUrls; int? statusCode; String? message; SurveyMarkRespondedResult({this.matched,this.alreadyMarked,this.unmatched,this.unmatchedUrls,this.statusCode,this.message}); SurveyMarkRespondedResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { matched = json['matched']; alreadyMarked = json['alreadyMarked']; unmatched = json['unmatched']; unmatchedUrls = JsonConverters.fromJson(json['unmatchedUrls'],'List',context!); statusCode = json['statusCode']; message = json['message']; return this; } Map toJson() => { 'matched': matched, 'alreadyMarked': alreadyMarked, 'unmatched': unmatched, 'unmatchedUrls': JsonConverters.toJson(unmatchedUrls,'List',context!), 'statusCode': statusCode, 'message': message }; getTypeName() => "SurveyMarkRespondedResult"; TypeContext? context = _ctx; } // @Route("/SurveyCampaign/{CampaignId}/MarkResponded", "POST") class SurveyMarkRespondedRequest implements IReturn, IConvertible { int? campaignId; List? answeredUrls; bool? markMissingAsUnanswered; SurveyMarkRespondedRequest({this.campaignId,this.answeredUrls,this.markMissingAsUnanswered}); SurveyMarkRespondedRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { campaignId = json['campaignId']; answeredUrls = JsonConverters.fromJson(json['answeredUrls'],'List',context!); markMissingAsUnanswered = json['markMissingAsUnanswered']; return this; } Map toJson() => { 'campaignId': campaignId, 'answeredUrls': JsonConverters.toJson(answeredUrls,'List',context!), 'markMissingAsUnanswered': markMissingAsUnanswered }; createResponse() => SurveyMarkRespondedResult(); getResponseTypeName() => "SurveyMarkRespondedResult"; getTypeName() => "SurveyMarkRespondedRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_app.azurewebsites.net', types: { 'SurveyMarkRespondedResult': TypeInfo(TypeOf.Class, create:() => SurveyMarkRespondedResult()), 'SurveyMarkRespondedRequest': TypeInfo(TypeOf.Class, create:() => SurveyMarkRespondedRequest()), });