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
obj.key.is_a?(String) != false || raise("Passed value for field obj.key is not the expected type, validation failed.")
179
186
obj.rank_by.is_a?(TrophyApiClient::LeaderboardResponseRankBy) != false || raise("Passed value for field obj.rank_by is not the expected type, validation failed.")
180
187
obj.breakdown_attribute&.is_a?(String) != false || raise("Passed value for field obj.breakdown_attribute is not the expected type, validation failed.")
188
+
obj.breakdown_attributes.is_a?(Array) != false || raise("Passed value for field obj.breakdown_attributes is not the expected type, validation failed.")
181
189
obj.metric_key&.is_a?(String) != false || raise("Passed value for field obj.metric_key is not the expected type, validation failed.")
182
190
obj.metric_name&.is_a?(String) != false || raise("Passed value for field obj.metric_name is not the expected type, validation failed.")
183
191
obj.points_system_key&.is_a?(String) != false || raise("Passed value for field obj.points_system_key is not the expected type, validation failed.")
# @return [Array<TrophyApiClient::AchievementResponseUserAttributesItem>] User attribute filters that must be met for this achievement to be completed.
40
-
# Only present if the achievement has user attribute filters configured.
41
41
attr_reader:user_attributes
42
-
# @return [TrophyApiClient::AchievementResponseEventAttribute] Event attribute filter that must be met for this achievement to be completed.
43
-
# Only present if the achievement has an event filter configured.
42
+
# @return [TrophyApiClient::AchievementResponseEventAttribute] Deprecated. Event attribute filter that must be met for this achievement to be
43
+
# completed. Only present if the achievement has an event filter configured.
44
44
attr_reader:event_attribute
45
+
# @return [Array<TrophyApiClient::AchievementResponseEventAttributesItem>] Event attribute filters that must be met for this achievement to be completed.
46
+
# Omitted for non-metric achievements.
47
+
attr_reader:event_attributes
45
48
# @return [OpenStruct] Additional properties unmapped to the current class definition
46
49
attr_reader:additional_properties
47
50
# @return [Object]
@@ -68,13 +71,14 @@ class AchievementResponse
68
71
# @param metric_name [String] The name of the metric associated with this achievement (only applicable if
69
72
# trigger = 'metric')
70
73
# @param user_attributes [Array<TrophyApiClient::AchievementResponseUserAttributesItem>] User attribute filters that must be met for this achievement to be completed.
71
-
# Only present if the achievement has user attribute filters configured.
72
-
# @param event_attribute [TrophyApiClient::AchievementResponseEventAttribute] Event attribute filter that must be met for this achievement to be completed.
73
-
# Only present if the achievement has an event filter configured.
74
+
# @param event_attribute [TrophyApiClient::AchievementResponseEventAttribute] Deprecated. Event attribute filter that must be met for this achievement to be
75
+
# completed. Only present if the achievement has an event filter configured.
76
+
# @param event_attributes [Array<TrophyApiClient::AchievementResponseEventAttributesItem>] Event attribute filters that must be met for this achievement to be completed.
77
+
# Omitted for non-metric achievements.
74
78
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
0 commit comments