/* Options: Date: 2025-08-05 02:01:09 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://www.asg.com.au/RestApi //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: LeadScoreRequestDto.* //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="/sitefinity/data-intelligence/leadscore", Verbs="GET") public static class LeadScoreRequestDto implements IReturn { public String Filter = null; public String getFilter() { return Filter; } public LeadScoreRequestDto setFilter(String value) { this.Filter = value; return this; } private static Object responseType = LeadScoreListViewModel.class; public Object getResponseType() { return responseType; } } public static class LeadScoreListViewModel { public IList LeadScores = null; public String DecAppUrl = null; public IList getLeadScores() { return LeadScores; } public LeadScoreListViewModel setLeadScores(IList value) { this.LeadScores = value; return this; } public String getDecAppUrl() { return DecAppUrl; } public LeadScoreListViewModel setDecAppUrl(String value) { this.DecAppUrl = value; return this; } } public static class LeadScore { public Integer Id = null; public String Name = null; public LeadScoreState State = null; public IList Levels = null; public HashMap Fields = null; public Date CreatedOn = null; public String CreatedByUserId = null; public Date ModifiedOn = null; public String ModifiedByUserId = null; public Date ToBeReinitializedAt = null; public Integer getId() { return Id; } public LeadScore setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public LeadScore setName(String value) { this.Name = value; return this; } public LeadScoreState getState() { return State; } public LeadScore setState(LeadScoreState value) { this.State = value; return this; } public IList getLevels() { return Levels; } public LeadScore setLevels(IList value) { this.Levels = value; return this; } public HashMap getFields() { return Fields; } public LeadScore setFields(HashMap value) { this.Fields = value; return this; } public Date getCreatedOn() { return CreatedOn; } public LeadScore setCreatedOn(Date value) { this.CreatedOn = value; return this; } public String getCreatedByUserId() { return CreatedByUserId; } public LeadScore setCreatedByUserId(String value) { this.CreatedByUserId = value; return this; } public Date getModifiedOn() { return ModifiedOn; } public LeadScore setModifiedOn(Date value) { this.ModifiedOn = value; return this; } public String getModifiedByUserId() { return ModifiedByUserId; } public LeadScore setModifiedByUserId(String value) { this.ModifiedByUserId = value; return this; } public Date getToBeReinitializedAt() { return ToBeReinitializedAt; } public LeadScore setToBeReinitializedAt(Date value) { this.ToBeReinitializedAt = value; return this; } } public static enum LeadScoreState { Inactive, Active, ToBeDeleted; } public static class LeadScoreLevel { public Integer Id = null; public String Name = null; public Integer Threshold = null; public Boolean SendNotification = null; public String Email = null; public Integer getId() { return Id; } public LeadScoreLevel setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public LeadScoreLevel setName(String value) { this.Name = value; return this; } public Integer getThreshold() { return Threshold; } public LeadScoreLevel setThreshold(Integer value) { this.Threshold = value; return this; } public Boolean isSendNotification() { return SendNotification; } public LeadScoreLevel setSendNotification(Boolean value) { this.SendNotification = value; return this; } public String getEmail() { return Email; } public LeadScoreLevel setEmail(String value) { this.Email = value; return this; } } }