0.4.0: Claim, Models/ DTOs, compile
LeaderboardSession.ClaimAsync sends onClaim. Generated DTOs live under Models/ with nullable wire fields. Remove incomplete duplicate type files.
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
// Code generated by apigen. DO NOT EDIT.
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace RudderSdk.Core.Models.Scenarios;
|
||||
|
||||
public class GetScenarioRunRequest
|
||||
{
|
||||
[JsonProperty("runId")]
|
||||
public string RunId { get; set; }
|
||||
public string? RunId { get; set; }
|
||||
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
// Code generated by apigen. DO NOT EDIT.
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Collections.Generic;
|
||||
using RudderSdk.Core.Models;
|
||||
|
||||
namespace RudderSdk.Core.Models.Scenarios;
|
||||
@@ -9,12 +7,12 @@ namespace RudderSdk.Core.Models.Scenarios;
|
||||
public class GetScenarioRunResponse
|
||||
{
|
||||
[JsonProperty("plan")]
|
||||
public ExecutionPlan Plan { get; set; }
|
||||
public ExecutionPlan? Plan { get; set; }
|
||||
|
||||
[JsonProperty("runId")]
|
||||
public string RunId { get; set; }
|
||||
public string? RunId { get; set; }
|
||||
|
||||
[JsonProperty("status")]
|
||||
public string Status { get; set; }
|
||||
public string? Status { get; set; }
|
||||
|
||||
}
|
||||
|
||||
@@ -1,22 +1,20 @@
|
||||
// Code generated by apigen. DO NOT EDIT.
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace RudderSdk.Core.Models.Scenarios;
|
||||
|
||||
public class HandleScenarioCallbackRequest
|
||||
{
|
||||
[JsonProperty("handle")]
|
||||
public string Handle { get; set; }
|
||||
public string? Handle { get; set; }
|
||||
|
||||
[JsonProperty("nodeId")]
|
||||
public string NodeId { get; set; }
|
||||
public string? NodeId { get; set; }
|
||||
|
||||
[JsonProperty("runId")]
|
||||
public string RunId { get; set; }
|
||||
public string? RunId { get; set; }
|
||||
|
||||
[JsonProperty("scenarioId")]
|
||||
public string ScenarioId { get; set; }
|
||||
public string? ScenarioId { get; set; }
|
||||
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
// Code generated by apigen. DO NOT EDIT.
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Collections.Generic;
|
||||
using RudderSdk.Core.Models;
|
||||
|
||||
namespace RudderSdk.Core.Models.Scenarios;
|
||||
@@ -9,6 +7,6 @@ namespace RudderSdk.Core.Models.Scenarios;
|
||||
public class HandleScenarioCallbackResponse
|
||||
{
|
||||
[JsonProperty("plan")]
|
||||
public ExecutionPlan Plan { get; set; }
|
||||
public ExecutionPlan? Plan { get; set; }
|
||||
|
||||
}
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
// Code generated by apigen. DO NOT EDIT.
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace RudderSdk.Core.Models.Scenarios;
|
||||
|
||||
public class TriggerScenarioRequest
|
||||
{
|
||||
[JsonProperty("event")]
|
||||
public string Event { get; set; }
|
||||
public string? Event { get; set; }
|
||||
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// Code generated by apigen. DO NOT EDIT.
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Collections.Generic;
|
||||
using RudderSdk.Core.Models;
|
||||
|
||||
@@ -9,6 +8,6 @@ namespace RudderSdk.Core.Models.Scenarios;
|
||||
public class TriggerScenarioResponse
|
||||
{
|
||||
[JsonProperty("plans")]
|
||||
public List<ExecutionPlan> Plans { get; set; }
|
||||
public List<ExecutionPlan>? Plans { get; set; }
|
||||
|
||||
}
|
||||
|
||||
@@ -1,25 +1,23 @@
|
||||
// Code generated by apigen. DO NOT EDIT.
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace RudderSdk.Core.Models.Scenarios;
|
||||
|
||||
public class UpdateScenarioCounterRequest
|
||||
{
|
||||
[JsonProperty("amount")]
|
||||
public long Amount { get; set; }
|
||||
public long? Amount { get; set; }
|
||||
|
||||
[JsonProperty("counterKey")]
|
||||
public string CounterKey { get; set; }
|
||||
public string? CounterKey { get; set; }
|
||||
|
||||
[JsonProperty("nodeId")]
|
||||
public string NodeId { get; set; }
|
||||
public string? NodeId { get; set; }
|
||||
|
||||
[JsonProperty("runId")]
|
||||
public string RunId { get; set; }
|
||||
public string? RunId { get; set; }
|
||||
|
||||
[JsonProperty("scenarioId")]
|
||||
public string ScenarioId { get; set; }
|
||||
public string? ScenarioId { get; set; }
|
||||
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
// Code generated by apigen. DO NOT EDIT.
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Collections.Generic;
|
||||
using RudderSdk.Core.Models;
|
||||
|
||||
namespace RudderSdk.Core.Models.Scenarios;
|
||||
@@ -9,9 +7,9 @@ namespace RudderSdk.Core.Models.Scenarios;
|
||||
public class UpdateScenarioCounterResponse
|
||||
{
|
||||
[JsonProperty("completed")]
|
||||
public bool Completed { get; set; }
|
||||
public bool? Completed { get; set; }
|
||||
|
||||
[JsonProperty("plan")]
|
||||
public ExecutionPlan Plan { get; set; }
|
||||
public ExecutionPlan? Plan { get; set; }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user