/* Options: Date: 2025-08-05 02:02:57 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: TouchpointRequestDto.* //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/touchpoint", Verbs="GET") public static class TouchpointRequestDto implements IReturn { public String Filter = null; public String getFilter() { return Filter; } public TouchpointRequestDto setFilter(String value) { this.Filter = value; return this; } private static Object responseType = TouchpointsViewModel.class; public Object getResponseType() { return responseType; } } public static class TouchpointsViewModel { public IList Touchpoints = null; public IList getTouchpoints() { return Touchpoints; } public TouchpointsViewModel setTouchpoints(IList value) { this.Touchpoints = value; return this; } } public static class Touchpoint { public Integer Id = null; public String Name = null; public ConditionExpression Definition = null; public CalculationState State = null; public Date CreatedOn = null; public String CreatedByUserId = null; public Date ModifiedOn = null; public String ModifiedByUserId = null; public Integer TotalHits = null; public Integer TotalMetaClientHits = null; public Integer AbsoluteHits = null; public Date AttributionsCalculatedOn = null; public Date StatisticsCalculatedOn = null; public String Errors = null; public TouchpointType TouchpointType = null; public Integer getId() { return Id; } public Touchpoint setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public Touchpoint setName(String value) { this.Name = value; return this; } public ConditionExpression getDefinition() { return Definition; } public Touchpoint setDefinition(ConditionExpression value) { this.Definition = value; return this; } public CalculationState getState() { return State; } public Touchpoint setState(CalculationState value) { this.State = value; return this; } public Date getCreatedOn() { return CreatedOn; } public Touchpoint setCreatedOn(Date value) { this.CreatedOn = value; return this; } public String getCreatedByUserId() { return CreatedByUserId; } public Touchpoint setCreatedByUserId(String value) { this.CreatedByUserId = value; return this; } public Date getModifiedOn() { return ModifiedOn; } public Touchpoint setModifiedOn(Date value) { this.ModifiedOn = value; return this; } public String getModifiedByUserId() { return ModifiedByUserId; } public Touchpoint setModifiedByUserId(String value) { this.ModifiedByUserId = value; return this; } public Integer getTotalHits() { return TotalHits; } public Touchpoint setTotalHits(Integer value) { this.TotalHits = value; return this; } public Integer getTotalMetaClientHits() { return TotalMetaClientHits; } public Touchpoint setTotalMetaClientHits(Integer value) { this.TotalMetaClientHits = value; return this; } public Integer getAbsoluteHits() { return AbsoluteHits; } public Touchpoint setAbsoluteHits(Integer value) { this.AbsoluteHits = value; return this; } public Date getAttributionsCalculatedOn() { return AttributionsCalculatedOn; } public Touchpoint setAttributionsCalculatedOn(Date value) { this.AttributionsCalculatedOn = value; return this; } public Date getStatisticsCalculatedOn() { return StatisticsCalculatedOn; } public Touchpoint setStatisticsCalculatedOn(Date value) { this.StatisticsCalculatedOn = value; return this; } public String getErrors() { return Errors; } public Touchpoint setErrors(String value) { this.Errors = value; return this; } public TouchpointType getTouchpointType() { return TouchpointType; } public Touchpoint setTouchpointType(TouchpointType value) { this.TouchpointType = value; return this; } } public static class ConditionExpression { public String Relation = null; public IList Parts = null; public String getRelation() { return Relation; } public ConditionExpression setRelation(String value) { this.Relation = value; return this; } public IList getParts() { return Parts; } public ConditionExpression setParts(IList value) { this.Parts = value; return this; } } public static enum CalculationState { Inactive, Initializing, Active, ToBeDeleted, Error, Pending, Expired; } public static enum TouchpointType { Touchpoint, Discovered, Personalization, AbVariant, AbGoal, Content; } public static class ConditionPart { public Integer Id = null; public String Predicate = null; public Boolean IsNegated = null; public MatchingOperator PredicateOperator = null; public MatchingOperator ObjectOperator = null; public ArrayList Objects = null; public String ClientAttribute = null; public UUID ContactPropertyId = null; public HashMap ObjectMetadata = null; public HashMap UrlParameters = null; public Integer getId() { return Id; } public ConditionPart setId(Integer value) { this.Id = value; return this; } public String getPredicate() { return Predicate; } public ConditionPart setPredicate(String value) { this.Predicate = value; return this; } public Boolean getIsNegated() { return IsNegated; } public ConditionPart setIsNegated(Boolean value) { this.IsNegated = value; return this; } public MatchingOperator getPredicateOperator() { return PredicateOperator; } public ConditionPart setPredicateOperator(MatchingOperator value) { this.PredicateOperator = value; return this; } public MatchingOperator getObjectOperator() { return ObjectOperator; } public ConditionPart setObjectOperator(MatchingOperator value) { this.ObjectOperator = value; return this; } public ArrayList getObjects() { return Objects; } public ConditionPart setObjects(ArrayList value) { this.Objects = value; return this; } public String getClientAttribute() { return ClientAttribute; } public ConditionPart setClientAttribute(String value) { this.ClientAttribute = value; return this; } public UUID getContactPropertyId() { return ContactPropertyId; } public ConditionPart setContactPropertyId(UUID value) { this.ContactPropertyId = value; return this; } public HashMap getObjectMetadata() { return ObjectMetadata; } public ConditionPart setObjectMetadata(HashMap value) { this.ObjectMetadata = value; return this; } public HashMap getUrlParameters() { return UrlParameters; } public ConditionPart setUrlParameters(HashMap value) { this.UrlParameters = value; return this; } } public static enum MatchingOperator { ExactMatch, Contains, StartsWith, EndsWith, UrlStrippedMatch; } }