Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding version tracking #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/main/java/com/metamx/datatypes/mmx/MmxAuctionSummary.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public class MmxAuctionSummary
private final User user;
private final List<MmxBidResponse> responses;
private final Ext ext;
private final String radTechVersion;

public MmxAuctionSummary(
@JsonProperty("timestamp") String timestamp,
Expand All @@ -70,6 +71,7 @@ public MmxAuctionSummary(
this.user = user;
this.responses = responses;
this.ext = ext;
this.radTechVersion = MmxAuctionSummary.class.getPackage().getImplementationVersion();
}

@JsonProperty
Expand Down Expand Up @@ -138,6 +140,12 @@ public Ext getExt()
return ext;
}

@JsonProperty("rad_tech_version")
public String getRadTechVersion()
{
return radTechVersion;
}

public static Builder builder()
{
return new Builder();
Expand Down