/* Options: Date: 2025-10-28 01:00:04 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: GetCampaignActionClientFormData.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:collection'; class CampaignActionFile implements IConvertible { String? Name; String? FileType; String? FileSize; String? Extension; String? UploadUrl; CampaignActionFile({this.Name,this.FileType,this.FileSize,this.Extension,this.UploadUrl}); CampaignActionFile.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Name = json['Name']; FileType = json['FileType']; FileSize = json['FileSize']; Extension = json['Extension']; UploadUrl = json['UploadUrl']; return this; } Map toJson() => { 'Name': Name, 'FileType': FileType, 'FileSize': FileSize, 'Extension': Extension, 'UploadUrl': UploadUrl }; getTypeName() => "CampaignActionFile"; TypeContext? context = _ctx; } class CampaignActionFormResults implements IConvertible { String? CustomFormResults; String? Comments; List? CampaignActionFiles; CampaignActionFormResults({this.CustomFormResults,this.Comments,this.CampaignActionFiles}); CampaignActionFormResults.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CustomFormResults = json['CustomFormResults']; Comments = json['Comments']; CampaignActionFiles = JsonConverters.fromJson(json['CampaignActionFiles'],'List',context!); return this; } Map toJson() => { 'CustomFormResults': CustomFormResults, 'Comments': Comments, 'CampaignActionFiles': JsonConverters.toJson(CampaignActionFiles,'List',context!) }; getTypeName() => "CampaignActionFormResults"; TypeContext? context = _ctx; } class GetCampaignActionClientFormDataResponse implements IConvertible { CampaignActionFormResults? FormMetaResponses; ResponseStatus? ResponseStatus; GetCampaignActionClientFormDataResponse({this.FormMetaResponses,this.ResponseStatus}); GetCampaignActionClientFormDataResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { FormMetaResponses = JsonConverters.fromJson(json['FormMetaResponses'],'CampaignActionFormResults',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'FormMetaResponses': JsonConverters.toJson(FormMetaResponses,'CampaignActionFormResults',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "GetCampaignActionClientFormDataResponse"; TypeContext? context = _ctx; } // @Route("/campaign/inbox/form", "GET") class GetCampaignActionClientFormData implements IReturn, IConvertible, IGet { int? Id; String? CommsGuid; int? CampaignActionsRequestsId; GetCampaignActionClientFormData({this.Id,this.CommsGuid,this.CampaignActionsRequestsId}); GetCampaignActionClientFormData.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; CommsGuid = json['CommsGuid']; CampaignActionsRequestsId = json['CampaignActionsRequestsId']; return this; } Map toJson() => { 'Id': Id, 'CommsGuid': CommsGuid, 'CampaignActionsRequestsId': CampaignActionsRequestsId }; createResponse() => GetCampaignActionClientFormDataResponse(); getResponseTypeName() => "GetCampaignActionClientFormDataResponse"; getTypeName() => "GetCampaignActionClientFormData"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: { 'CampaignActionFile': TypeInfo(TypeOf.Class, create:() => CampaignActionFile()), 'CampaignActionFormResults': TypeInfo(TypeOf.Class, create:() => CampaignActionFormResults()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetCampaignActionClientFormDataResponse': TypeInfo(TypeOf.Class, create:() => GetCampaignActionClientFormDataResponse()), 'GetCampaignActionClientFormData': TypeInfo(TypeOf.Class, create:() => GetCampaignActionClientFormData()), });