package com.shopr.api.clickouts.api.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.String; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.1-dev * User agent: apibuilder app.apibuilder.io/shopr/clickouts-api/0.0.1-dev/java_aws_lambda_pojo_client * * WARNING: not all features (notably unions) and data types work with the java generator yet. * Java POJO generator is designed to be used with AWS Lambdas. * If you are considering using this library, would like to request/discuss features, or would like to share how you're using it, please contact daniel.kirby@gilt.com * * Series of attributes for tracking purposes */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class Tracking { @NotNull protected String ipAddress; @NotNull protected ClientOrigin origin; protected String userAgent; protected String referrer; public Tracking(String ipAddress, ClientOrigin origin, String userAgent, String referrer) { this.ipAddress = ipAddress; this.origin = origin; this.userAgent = userAgent; this.referrer = referrer; } public Tracking() { } public String getIpAddress() { return ipAddress; } public void setIpAddress(String ipAddress) { this.ipAddress = ipAddress; } /** * Client originating the order request essentially any of the values of the client_origin enum. */ public ClientOrigin getOrigin() { return origin; } public void setOrigin(ClientOrigin origin) { this.origin = origin; } public String getUserAgent() { return userAgent; } public void setUserAgent(String userAgent) { this.userAgent = userAgent; } /** * Optional page referrer. */ public String getReferrer() { return referrer; } public void setReferrer(String referrer) { this.referrer = referrer; } }