/* Options: Date: 2026-10-01 11:23:50 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stubbur-app.azurewebsites.net //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: CampaignConversionRunRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/CampaignConversions/Run", Verbs="POST") public static class CampaignConversionRunRequest implements IReturn { public Integer campaignId = null; public ArrayList people = null; public Integer windowHours = null; public Integer targetEventId = null; public Boolean includeFood = null; public Integer getCampaignId() { return campaignId; } public CampaignConversionRunRequest setCampaignId(Integer value) { this.campaignId = value; return this; } public ArrayList getPeople() { return people; } public CampaignConversionRunRequest setPeople(ArrayList value) { this.people = value; return this; } public Integer getWindowHours() { return windowHours; } public CampaignConversionRunRequest setWindowHours(Integer value) { this.windowHours = value; return this; } public Integer getTargetEventId() { return targetEventId; } public CampaignConversionRunRequest setTargetEventId(Integer value) { this.targetEventId = value; return this; } public Boolean isIncludeFood() { return includeFood; } public CampaignConversionRunRequest setIncludeFood(Boolean value) { this.includeFood = value; return this; } private static Object responseType = CampaignConversionResult.class; public Object getResponseType() { return responseType; } } public static class CampaignConversionResult { public String runId = null; public Integer peopleMeasured = null; public Integer peopleConverted = null; public BigDecimal totalAmount = null; public ArrayList bySurface = null; public ArrayList byChannel = null; public Integer headlineConversions = null; public BigDecimal headlineAmount = null; public Integer medianHoursToConvert = null; public ArrayList notes = null; public Integer statusCode = null; public String message = null; public String getRunId() { return runId; } public CampaignConversionResult setRunId(String value) { this.runId = value; return this; } public Integer getPeopleMeasured() { return peopleMeasured; } public CampaignConversionResult setPeopleMeasured(Integer value) { this.peopleMeasured = value; return this; } public Integer getPeopleConverted() { return peopleConverted; } public CampaignConversionResult setPeopleConverted(Integer value) { this.peopleConverted = value; return this; } public BigDecimal getTotalAmount() { return totalAmount; } public CampaignConversionResult setTotalAmount(BigDecimal value) { this.totalAmount = value; return this; } public ArrayList getBySurface() { return bySurface; } public CampaignConversionResult setBySurface(ArrayList value) { this.bySurface = value; return this; } public ArrayList getByChannel() { return byChannel; } public CampaignConversionResult setByChannel(ArrayList value) { this.byChannel = value; return this; } public Integer getHeadlineConversions() { return headlineConversions; } public CampaignConversionResult setHeadlineConversions(Integer value) { this.headlineConversions = value; return this; } public BigDecimal getHeadlineAmount() { return headlineAmount; } public CampaignConversionResult setHeadlineAmount(BigDecimal value) { this.headlineAmount = value; return this; } public Integer getMedianHoursToConvert() { return medianHoursToConvert; } public CampaignConversionResult setMedianHoursToConvert(Integer value) { this.medianHoursToConvert = value; return this; } public ArrayList getNotes() { return notes; } public CampaignConversionResult setNotes(ArrayList value) { this.notes = value; return this; } public Integer getStatusCode() { return statusCode; } public CampaignConversionResult setStatusCode(Integer value) { this.statusCode = value; return this; } public String getMessage() { return message; } public CampaignConversionResult setMessage(String value) { this.message = value; return this; } } public static class CampaignConversionPerson { public String phone = null; public String email = null; public Integer recipientId = null; public String channel = null; public Date sentAt = null; public String getPhone() { return phone; } public CampaignConversionPerson setPhone(String value) { this.phone = value; return this; } public String getEmail() { return email; } public CampaignConversionPerson setEmail(String value) { this.email = value; return this; } public Integer getRecipientId() { return recipientId; } public CampaignConversionPerson setRecipientId(Integer value) { this.recipientId = value; return this; } public String getChannel() { return channel; } public CampaignConversionPerson setChannel(String value) { this.channel = value; return this; } public Date getSentAt() { return sentAt; } public CampaignConversionPerson setSentAt(Date value) { this.sentAt = value; return this; } } public static class CampaignConversionSurfaceCount { public String key = null; public Integer people = null; public Integer count = null; public BigDecimal amount = null; public String getKey() { return key; } public CampaignConversionSurfaceCount setKey(String value) { this.key = value; return this; } public Integer getPeople() { return people; } public CampaignConversionSurfaceCount setPeople(Integer value) { this.people = value; return this; } public Integer getCount() { return count; } public CampaignConversionSurfaceCount setCount(Integer value) { this.count = value; return this; } public BigDecimal getAmount() { return amount; } public CampaignConversionSurfaceCount setAmount(BigDecimal value) { this.amount = value; return this; } } }