Initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// Code generated by apigen. DO NOT EDIT.
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace RudderSdk.Core.Models.Quests;
|
||||
|
||||
public class ClaimQuestRequest
|
||||
{
|
||||
[JsonProperty("questId")]
|
||||
public string QuestId { get; set; }
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
// Code generated by apigen. DO NOT EDIT.
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace RudderSdk.Core.Models.Quests;
|
||||
|
||||
public class ClaimQuestResponse
|
||||
{
|
||||
[JsonProperty("alreadyClaimed")]
|
||||
public bool AlreadyClaimed { get; set; }
|
||||
|
||||
[JsonProperty("error")]
|
||||
public string Error { get; set; }
|
||||
|
||||
[JsonProperty("granted")]
|
||||
public List<QuestReward> Granted { get; set; }
|
||||
|
||||
[JsonProperty("success")]
|
||||
public bool Success { get; set; }
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
// Code generated by apigen. DO NOT EDIT.
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace RudderSdk.Core.Models.Quests;
|
||||
|
||||
public class ListQuestsRequest
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
// Code generated by apigen. DO NOT EDIT.
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace RudderSdk.Core.Models.Quests;
|
||||
|
||||
public class ListQuestsResponse
|
||||
{
|
||||
[JsonProperty("quests")]
|
||||
public List<Quest> Quests { get; set; }
|
||||
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
// Code generated by apigen. DO NOT EDIT.
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace RudderSdk.Core.Models.Quests;
|
||||
|
||||
public class Quest
|
||||
{
|
||||
[JsonProperty("id")]
|
||||
public string Id { get; set; }
|
||||
|
||||
[JsonProperty("name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
[JsonProperty("objectives")]
|
||||
public List<QuestObjectiveProgress> Objectives { get; set; }
|
||||
|
||||
[JsonProperty("rewards")]
|
||||
public List<QuestReward> Rewards { get; set; }
|
||||
|
||||
[JsonProperty("status")]
|
||||
public string Status { get; set; }
|
||||
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
// Code generated by apigen. DO NOT EDIT.
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace RudderSdk.Core.Models.Quests;
|
||||
|
||||
public class QuestObjectiveProgress
|
||||
{
|
||||
[JsonProperty("completed")]
|
||||
public bool Completed { get; set; }
|
||||
|
||||
[JsonProperty("current")]
|
||||
public long Current { get; set; }
|
||||
|
||||
[JsonProperty("metric")]
|
||||
public string Metric { get; set; }
|
||||
|
||||
[JsonProperty("objectiveId")]
|
||||
public string ObjectiveId { get; set; }
|
||||
|
||||
[JsonProperty("target")]
|
||||
public long Target { get; set; }
|
||||
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
// Code generated by apigen. DO NOT EDIT.
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace RudderSdk.Core.Models.Quests;
|
||||
|
||||
public class QuestReward
|
||||
{
|
||||
[JsonProperty("amount")]
|
||||
public long Amount { get; set; }
|
||||
|
||||
[JsonProperty("currency")]
|
||||
public string Currency { get; set; }
|
||||
|
||||
[JsonProperty("itemId")]
|
||||
public string ItemId { get; set; }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user