/* Options: Date: 2025-10-27 21:34:00 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: GetCampaignActionClientForm.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class CampaignActions implements IConvertible { // @DataMember(Order=1) // @Required() int? Id; // @DataMember(Order=2) // @Required() // @References(typeof(Campaigns)) int? CampaignsId; // @DataMember(Order=3) // @References(typeof(Actions)) int? ActionsId; // @DataMember(Order=4) String? ButtonName; // @DataMember(Order=5) // @References(typeof(ActionTypes)) int? ActionTypesId; // @DataMember(Order=6) String? Description; // @DataMember(Order=7) int? OfferOrder; // @DataMember(Order=8) bool? StandOut; // @DataMember(Order=9) // @Required() String? PublicAccessGuid; // @DataMember(Order=10) List? FormMeta; // @DataMember(Order=11) List? Files; // @DataMember(Order=12) String? SentToEmailAddress; // @DataMember(Order=13) String? CcEmailAddress; CampaignActions({this.Id,this.CampaignsId,this.ActionsId,this.ButtonName,this.ActionTypesId,this.Description,this.OfferOrder,this.StandOut,this.PublicAccessGuid,this.FormMeta,this.Files,this.SentToEmailAddress,this.CcEmailAddress}); CampaignActions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; CampaignsId = json['CampaignsId']; ActionsId = json['ActionsId']; ButtonName = json['ButtonName']; ActionTypesId = json['ActionTypesId']; Description = json['Description']; OfferOrder = json['OfferOrder']; StandOut = json['StandOut']; PublicAccessGuid = json['PublicAccessGuid']; FormMeta = JsonConverters.fromJson(json['FormMeta'],'List',context!); Files = JsonConverters.fromJson(json['Files'],'List',context!); SentToEmailAddress = json['SentToEmailAddress']; CcEmailAddress = json['CcEmailAddress']; return this; } Map toJson() => { 'Id': Id, 'CampaignsId': CampaignsId, 'ActionsId': ActionsId, 'ButtonName': ButtonName, 'ActionTypesId': ActionTypesId, 'Description': Description, 'OfferOrder': OfferOrder, 'StandOut': StandOut, 'PublicAccessGuid': PublicAccessGuid, 'FormMeta': JsonConverters.toJson(FormMeta,'List',context!), 'Files': JsonConverters.toJson(Files,'List',context!), 'SentToEmailAddress': SentToEmailAddress, 'CcEmailAddress': CcEmailAddress }; getTypeName() => "CampaignActions"; TypeContext? context = _ctx; } class InboxActionResponse implements IConvertible { CampaignActions? campaignAction; ResponseStatus? ResponseStatus; InboxActionResponse({this.campaignAction,this.ResponseStatus}); InboxActionResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { campaignAction = JsonConverters.fromJson(json['campaignAction'],'CampaignActions',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'campaignAction': JsonConverters.toJson(campaignAction,'CampaignActions',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "InboxActionResponse"; TypeContext? context = _ctx; } // @Route("/campaign/inbox/formmeta", "GET") class GetCampaignActionClientForm implements IReturn, IConvertible, IGet { String? CommsGuid; int? CampaignActionsRequestsId; GetCampaignActionClientForm({this.CommsGuid,this.CampaignActionsRequestsId}); GetCampaignActionClientForm.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CommsGuid = json['CommsGuid']; CampaignActionsRequestsId = json['CampaignActionsRequestsId']; return this; } Map toJson() => { 'CommsGuid': CommsGuid, 'CampaignActionsRequestsId': CampaignActionsRequestsId }; createResponse() => InboxActionResponse(); getResponseTypeName() => "InboxActionResponse"; getTypeName() => "GetCampaignActionClientForm"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: { 'CampaignActions': TypeInfo(TypeOf.Class, create:() => CampaignActions()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FormField': TypeInfo(TypeOf.Class, create:() => FormField()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'CampaignActionFile': TypeInfo(TypeOf.Class, create:() => CampaignActionFile()), 'InboxActionResponse': TypeInfo(TypeOf.Class, create:() => InboxActionResponse()), 'GetCampaignActionClientForm': TypeInfo(TypeOf.Class, create:() => GetCampaignActionClientForm()), });