Skip to content

Commit 6075536

Browse files
Automatically update Java SDK
1 parent 5e8d4f4 commit 6075536

File tree

4 files changed

+13
-15
lines changed

4 files changed

+13
-15
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<!-- General project information -->
99
<groupId>so.trophy</groupId>
1010
<artifactId>trophy-java</artifactId>
11-
<version>1.0.32</version>
11+
<version>1.0.34</version>
1212
<packaging>jar</packaging>
1313
<name>Trophy</name>
1414
<description>Java client library for the Trophy API</description>

src/main/java/so/trophy/core/ClientOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ private ClientOptions(Environment environment, Map<String, String> headers,
3030
this.environment = environment;
3131
this.headers = new HashMap<>();
3232
this.headers.putAll(headers);
33-
this.headers.putAll(new HashMap<String,String>() {{put("X-Fern-Language", "JAVA");put("X-Fern-SDK-Name", "com.trophy.fern:api-sdk");put("X-Fern-SDK-Version", "0.0.2148");}});
33+
this.headers.putAll(new HashMap<String,String>() {{put("X-Fern-Language", "JAVA");put("X-Fern-SDK-Name", "com.trophy.fern:api-sdk");put("X-Fern-SDK-Version", "0.0.2165");}});
3434
this.headerSuppliers = headerSuppliers;
3535
this.httpClient = httpClient;
3636
this.timeout = timeout;

src/main/java/so/trophy/types/EventResponse.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,15 @@ public MetricEventStreakResponse getCurrentStreak() {
109109
}
110110

111111
/**
112-
* @return A map of points systems by key.
112+
* @return A map of points systems by key. Only contains points systems that were affected by the event.
113113
*/
114114
@JsonProperty("points")
115115
public Map<String, MetricEventPointsResponse> getPoints() {
116116
return points;
117117
}
118118

119119
/**
120-
* @return A map of leaderboards by key.
120+
* @return A map of leaderboards by key. Only contains leaderboards that were affected by the event.
121121
*/
122122
@JsonProperty("leaderboards")
123123
public Map<String, MetricEventLeaderboardResponse> getLeaderboards() {
@@ -212,7 +212,7 @@ public interface _FinalStage {
212212
_FinalStage addAllAchievements(List<CompletedAchievementResponse> achievements);
213213

214214
/**
215-
* <p>A map of points systems by key.</p>
215+
* <p>A map of points systems by key. Only contains points systems that were affected by the event.</p>
216216
*/
217217
_FinalStage points(Map<String, MetricEventPointsResponse> points);
218218

@@ -221,7 +221,7 @@ public interface _FinalStage {
221221
_FinalStage points(String key, MetricEventPointsResponse value);
222222

223223
/**
224-
* <p>A map of leaderboards by key.</p>
224+
* <p>A map of leaderboards by key. Only contains leaderboards that were affected by the event.</p>
225225
*/
226226
_FinalStage leaderboards(Map<String, MetricEventLeaderboardResponse> leaderboards);
227227

@@ -381,7 +381,7 @@ public _FinalStage idempotencyKey(Optional<String> idempotencyKey) {
381381
}
382382

383383
/**
384-
* <p>A map of leaderboards by key.</p>
384+
* <p>A map of leaderboards by key. Only contains leaderboards that were affected by the event.</p>
385385
* @return Reference to {@code this} so that method calls can be chained together.
386386
*/
387387
@java.lang.Override
@@ -391,7 +391,7 @@ public _FinalStage leaderboards(String key, MetricEventLeaderboardResponse value
391391
}
392392

393393
/**
394-
* <p>A map of leaderboards by key.</p>
394+
* <p>A map of leaderboards by key. Only contains leaderboards that were affected by the event.</p>
395395
* @return Reference to {@code this} so that method calls can be chained together.
396396
*/
397397
@java.lang.Override
@@ -404,7 +404,7 @@ public _FinalStage putAllLeaderboards(
404404
}
405405

406406
/**
407-
* <p>A map of leaderboards by key.</p>
407+
* <p>A map of leaderboards by key. Only contains leaderboards that were affected by the event.</p>
408408
*/
409409
@java.lang.Override
410410
@JsonSetter(
@@ -418,7 +418,7 @@ public _FinalStage leaderboards(Map<String, MetricEventLeaderboardResponse> lead
418418
}
419419

420420
/**
421-
* <p>A map of points systems by key.</p>
421+
* <p>A map of points systems by key. Only contains points systems that were affected by the event.</p>
422422
* @return Reference to {@code this} so that method calls can be chained together.
423423
*/
424424
@java.lang.Override
@@ -428,7 +428,7 @@ public _FinalStage points(String key, MetricEventPointsResponse value) {
428428
}
429429

430430
/**
431-
* <p>A map of points systems by key.</p>
431+
* <p>A map of points systems by key. Only contains points systems that were affected by the event.</p>
432432
* @return Reference to {@code this} so that method calls can be chained together.
433433
*/
434434
@java.lang.Override
@@ -440,7 +440,7 @@ public _FinalStage putAllPoints(Map<String, MetricEventPointsResponse> points) {
440440
}
441441

442442
/**
443-
* <p>A map of points systems by key.</p>
443+
* <p>A map of points systems by key. Only contains points systems that were affected by the event.</p>
444444
*/
445445
@java.lang.Override
446446
@JsonSetter(

src/main/java/so/trophy/types/StreakFrequency.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ public enum StreakFrequency {
1313

1414
WEEKLY("weekly"),
1515

16-
MONTHLY("monthly"),
17-
18-
YEARLY("yearly");
16+
MONTHLY("monthly");
1917

2018
private final String value;
2119

0 commit comments

Comments
 (0)