/* Options: Date: 2026-11-08 11:30:18 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://devapi.billhighway.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetCampaign.* //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="/v1.1/campaigns/get/{campaignId*}", Verbs="GET") // @Route(Path="/v1.2/campaigns/get/{campaignId*}", Verbs="GET") public static class GetCampaign extends GetCampaign implements IReturn, IReturnLegacyException { private static Object responseType = CampaignItem.class; public Object getResponseType() { return responseType; } } public static class CampaignItem { public Integer Id = null; public String Name = null; public String SubTitle = null; public String Description = null; public Boolean HasGoal = null; public String DetailUri = null; public CampaignTheme Theme = null; public CampaignGoal Goal = null; public ArrayList Levels = null; public String LogoUrl = null; public String HighResolutionLogoUrl = null; public Signup Signup = null; public Integer getId() { return Id; } public CampaignItem setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public CampaignItem setName(String value) { this.Name = value; return this; } public String getSubTitle() { return SubTitle; } public CampaignItem setSubTitle(String value) { this.SubTitle = value; return this; } public String getDescription() { return Description; } public CampaignItem setDescription(String value) { this.Description = value; return this; } public Boolean isHasGoal() { return HasGoal; } public CampaignItem setHasGoal(Boolean value) { this.HasGoal = value; return this; } public String getDetailUri() { return DetailUri; } public CampaignItem setDetailUri(String value) { this.DetailUri = value; return this; } public CampaignTheme getTheme() { return Theme; } public CampaignItem setTheme(CampaignTheme value) { this.Theme = value; return this; } public CampaignGoal getGoal() { return Goal; } public CampaignItem setGoal(CampaignGoal value) { this.Goal = value; return this; } public ArrayList getLevels() { return Levels; } public CampaignItem setLevels(ArrayList value) { this.Levels = value; return this; } public String getLogoUrl() { return LogoUrl; } public CampaignItem setLogoUrl(String value) { this.LogoUrl = value; return this; } public String getHighResolutionLogoUrl() { return HighResolutionLogoUrl; } public CampaignItem setHighResolutionLogoUrl(String value) { this.HighResolutionLogoUrl = value; return this; } public Signup getSignup() { return Signup; } public CampaignItem setSignup(Signup value) { this.Signup = value; return this; } } public static interface IReturnLegacyException { } public static class GetCampaign { public Integer campaignId = null; public Integer getCampaignId() { return campaignId; } public GetCampaign setCampaignId(Integer value) { this.campaignId = value; return this; } } public static class CampaignTheme { public Integer Id = null; public String Name = null; public String MainColor = null; public String SecondaryColor = null; public CampaignThemeImage iPhone = null; public CampaignThemeImage iPhoneRetina = null; public Integer getId() { return Id; } public CampaignTheme setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public CampaignTheme setName(String value) { this.Name = value; return this; } public String getMainColor() { return MainColor; } public CampaignTheme setMainColor(String value) { this.MainColor = value; return this; } public String getSecondaryColor() { return SecondaryColor; } public CampaignTheme setSecondaryColor(String value) { this.SecondaryColor = value; return this; } public CampaignThemeImage getIPhone() { return iPhone; } public CampaignTheme setIPhone(CampaignThemeImage value) { this.iPhone = value; return this; } public CampaignThemeImage getIPhoneRetina() { return iPhoneRetina; } public CampaignTheme setIPhoneRetina(CampaignThemeImage value) { this.iPhoneRetina = value; return this; } } public static class CampaignGoal { public BigDecimal Target = null; public BigDecimal Actual = null; public BigDecimal getTarget() { return Target; } public CampaignGoal setTarget(BigDecimal value) { this.Target = value; return this; } public BigDecimal getActual() { return Actual; } public CampaignGoal setActual(BigDecimal value) { this.Actual = value; return this; } } public static class Signup { public Boolean ShowOnNewMembership = null; public Boolean ShowOnSignupRenewal = null; public Boolean ShowOtherAmount = null; public Boolean isShowOnNewMembership() { return ShowOnNewMembership; } public Signup setShowOnNewMembership(Boolean value) { this.ShowOnNewMembership = value; return this; } public Boolean isShowOnSignupRenewal() { return ShowOnSignupRenewal; } public Signup setShowOnSignupRenewal(Boolean value) { this.ShowOnSignupRenewal = value; return this; } public Boolean isShowOtherAmount() { return ShowOtherAmount; } public Signup setShowOtherAmount(Boolean value) { this.ShowOtherAmount = value; return this; } } public static class CampaignThemeImage { public String BackgroundImage = null; public String Icon = null; public String getBackgroundImage() { return BackgroundImage; } public CampaignThemeImage setBackgroundImage(String value) { this.BackgroundImage = value; return this; } public String getIcon() { return Icon; } public CampaignThemeImage setIcon(String value) { this.Icon = value; return this; } } }