Skip to content

Commit a91a6d0

Browse files
authored
Merge pull request #547 from immutable/feat/update-zkevm-api-2025-08-12-10-05-36
feat: update immutable zkEVM API package
2 parents 4de2af2 + a02c34d commit a91a6d0

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

src/Packages/ZkEvmApi/Documentation~/FeedItemFollowGame.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Name | Type | Description | Notes
2323
**Description** | **string** | Description of the CTA button |
2424
**Logo** | **string** | URL of the quiz logo |
2525
**Title** | **string** | Title of the video |
26+
**SimilarGames** | **List<string>** | Similar games to display | [optional]
2627

2728
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
2829

src/Packages/ZkEvmApi/Runtime/Model/FeedItemFollowGame.cs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ protected FeedItemFollowGame() { }
7979
/// <param name="description">Description of the CTA button (required).</param>
8080
/// <param name="logo">URL of the quiz logo (required).</param>
8181
/// <param name="title">Title of the video (required).</param>
82-
public FeedItemFollowGame(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List<string> tags = default(List<string>), List<string> categories = default(List<string>), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum), string image = default(string), string label = default(string), string description = default(string), string logo = default(string), string title = default(string))
82+
/// <param name="similarGames">Similar games to display.</param>
83+
public FeedItemFollowGame(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List<string> tags = default(List<string>), List<string> categories = default(List<string>), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum), string image = default(string), string label = default(string), string description = default(string), string logo = default(string), string title = default(string), List<string> similarGames = default(List<string>))
8384
{
8485
// to ensure "id" is required (not null)
8586
if (id == null)
@@ -140,6 +141,7 @@ protected FeedItemFollowGame() { }
140141
this.Tags = tags;
141142
this.Categories = categories;
142143
this.OnboardingExperience = onboardingExperience;
144+
this.SimilarGames = similarGames;
143145
}
144146

145147
/// <summary>
@@ -268,6 +270,13 @@ protected FeedItemFollowGame() { }
268270
[DataMember(Name = "title", IsRequired = true, EmitDefaultValue = true)]
269271
public string Title { get; set; }
270272

273+
/// <summary>
274+
/// Similar games to display
275+
/// </summary>
276+
/// <value>Similar games to display</value>
277+
[DataMember(Name = "similar_games", EmitDefaultValue = false)]
278+
public List<string> SimilarGames { get; set; }
279+
271280
/// <summary>
272281
/// Returns the string presentation of the object
273282
/// </summary>
@@ -295,6 +304,7 @@ public override string ToString()
295304
sb.Append(" Description: ").Append(Description).Append("\n");
296305
sb.Append(" Logo: ").Append(Logo).Append("\n");
297306
sb.Append(" Title: ").Append(Title).Append("\n");
307+
sb.Append(" SimilarGames: ").Append(SimilarGames).Append("\n");
298308
sb.Append("}\n");
299309
return sb.ToString();
300310
}

src/Packages/ZkEvmApi/api~/openapi.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9167,6 +9167,11 @@ components:
91679167
title:
91689168
description: Title of the video
91699169
type: string
9170+
similar_games:
9171+
description: Similar games to display
9172+
items:
9173+
type: string
9174+
type: array
91709175
required:
91719176
- description
91729177
- image

0 commit comments

Comments
 (0)