File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
core-api/src/main/java/com/optimizely/ab/event/internal/payload Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
1
/**
2
2
*
3
- * Copyright 2018-2020 , Optimizely and contributors
3
+ * Copyright 2018-2021 , Optimizely and contributors
4
4
*
5
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
6
* you may not use this file except in compliance with the License.
16
16
*/
17
17
package com .optimizely .ab .event .internal .payload ;
18
18
19
+ import com .fasterxml .jackson .annotation .JsonInclude ;
19
20
import com .fasterxml .jackson .annotation .JsonProperty ;
20
21
import com .optimizely .ab .annotations .VisibleForTesting ;
21
22
22
23
public class Decision {
24
+ @ JsonInclude (JsonInclude .Include .ALWAYS )
23
25
@ JsonProperty ("campaign_id" )
24
26
String campaignId ;
27
+ @ JsonInclude (JsonInclude .Include .ALWAYS )
25
28
@ JsonProperty ("experiment_id" )
26
29
String experimentId ;
27
30
@ JsonProperty ("variation_id" )
You can’t perform that action at this time.
0 commit comments