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
# @return [DateTime] The timestamp the streak was most recently extended. Null if the streak is not
13
+
# active.
14
+
attr_reader:extended
11
15
# @return [Array<TrophyApiClient::StreakResponseStreakHistoryItem>] A list of the user's past streak periods up through the current period. Each
12
16
# period includes the start and end dates and the length of the streak.
13
17
attr_reader:streak_history
14
-
# @return [Integer] Deprecated. The user's rank across all users. Null if the user has no active
15
-
# streak.
16
-
attr_reader:rank
17
18
# @return [Integer] The length of the user's current streak.
18
19
attr_reader:length
19
20
# @return [TrophyApiClient::StreakFrequency] The frequency of the streak.
@@ -46,10 +47,10 @@ class StreakResponse
46
47
47
48
OMIT=Object.new
48
49
50
+
# @param extended [DateTime] The timestamp the streak was most recently extended. Null if the streak is not
51
+
# active.
49
52
# @param streak_history [Array<TrophyApiClient::StreakResponseStreakHistoryItem>] A list of the user's past streak periods up through the current period. Each
50
53
# period includes the start and end dates and the length of the streak.
51
-
# @param rank [Integer] Deprecated. The user's rank across all users. Null if the user has no active
52
-
# streak.
53
54
# @param length [Integer] The length of the user's current streak.
54
55
# @param frequency [TrophyApiClient::StreakFrequency] The frequency of the streak.
55
56
# @param started [String] The date the streak started.
@@ -66,10 +67,10 @@ class StreakResponse
66
67
# the organization has enabled streak freeze auto-earn.
67
68
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
obj.streak_history&.is_a?(Array) != false || raise("Passed value for field obj.streak_history is not the expected type, validation failed.")
156
-
obj.rank&.is_a?(Integer) != false || raise("Passed value for field obj.rank is not the expected type, validation failed.")
156
+
obj.extended&.is_a?(DateTime) != false || raise("Passed value for field obj.extended is not the expected type, validation failed.")
157
+
obj.streak_history.is_a?(Array) != false || raise("Passed value for field obj.streak_history is not the expected type, validation failed.")
157
158
obj.length.is_a?(Integer) != false || raise("Passed value for field obj.length is not the expected type, validation failed.")
158
159
obj.frequency.is_a?(TrophyApiClient::StreakFrequency) != false || raise("Passed value for field obj.frequency is not the expected type, validation failed.")
159
160
obj.started&.is_a?(String) != false || raise("Passed value for field obj.started is not the expected type, validation failed.")
0 commit comments