You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -216,6 +234,7 @@ public Builder from(StreakResponse other) {
216
234
periodEnd(other.getPeriodEnd());
217
235
expires(other.getExpires());
218
236
streakHistory(other.getStreakHistory());
237
+
rank(other.getRank());
219
238
returnthis;
220
239
}
221
240
@@ -241,6 +260,26 @@ public _FinalStage frequency(@NotNull StreakFrequency frequency) {
241
260
returnthis;
242
261
}
243
262
263
+
/**
264
+
* <p>The user's rank across all users. Null if the user has no active streak.</p>
265
+
* @return Reference to {@code this} so that method calls can be chained together.
266
+
*/
267
+
@java.lang.Override
268
+
public_FinalStagerank(Integerrank) {
269
+
this.rank = Optional.ofNullable(rank);
270
+
returnthis;
271
+
}
272
+
273
+
@java.lang.Override
274
+
@JsonSetter(
275
+
value = "rank",
276
+
nulls = Nulls.SKIP
277
+
)
278
+
public_FinalStagerank(Optional<Integer> rank) {
279
+
this.rank = rank;
280
+
returnthis;
281
+
}
282
+
244
283
/**
245
284
* <p>A list of the user's past streak periods up through the current period. Each period includes the start and end dates and the length of the streak.</p>
246
285
* @return Reference to {@code this} so that method calls can be chained together.
@@ -344,7 +383,7 @@ public _FinalStage started(Optional<String> started) {
0 commit comments