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.Scenarios;
|
||||
|
||||
public class GetScenarioRunRequest
|
||||
{
|
||||
[JsonProperty("runId")]
|
||||
public string RunId { get; set; }
|
||||
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
// 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;
|
||||
|
||||
public class GetScenarioRunResponse
|
||||
{
|
||||
[JsonProperty("plan")]
|
||||
public ExecutionPlan Plan { get; set; }
|
||||
|
||||
[JsonProperty("runId")]
|
||||
public string RunId { get; set; }
|
||||
|
||||
[JsonProperty("status")]
|
||||
public string Status { 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.Scenarios;
|
||||
|
||||
public class HandleScenarioCallbackRequest
|
||||
{
|
||||
[JsonProperty("handle")]
|
||||
public string Handle { get; set; }
|
||||
|
||||
[JsonProperty("nodeId")]
|
||||
public string NodeId { get; set; }
|
||||
|
||||
[JsonProperty("runId")]
|
||||
public string RunId { get; set; }
|
||||
|
||||
[JsonProperty("scenarioId")]
|
||||
public string ScenarioId { get; set; }
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
// 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;
|
||||
|
||||
public class HandleScenarioCallbackResponse
|
||||
{
|
||||
[JsonProperty("plan")]
|
||||
public ExecutionPlan Plan { get; set; }
|
||||
|
||||
}
|
||||
@@ -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.Scenarios;
|
||||
|
||||
public class TriggerScenarioRequest
|
||||
{
|
||||
[JsonProperty("event")]
|
||||
public string Event { get; set; }
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
// 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;
|
||||
|
||||
public class TriggerScenarioResponse
|
||||
{
|
||||
[JsonProperty("plans")]
|
||||
public List<ExecutionPlan> Plans { 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.Scenarios;
|
||||
|
||||
public class UpdateScenarioCounterRequest
|
||||
{
|
||||
[JsonProperty("amount")]
|
||||
public long Amount { get; set; }
|
||||
|
||||
[JsonProperty("counterKey")]
|
||||
public string CounterKey { get; set; }
|
||||
|
||||
[JsonProperty("nodeId")]
|
||||
public string NodeId { get; set; }
|
||||
|
||||
[JsonProperty("runId")]
|
||||
public string RunId { get; set; }
|
||||
|
||||
[JsonProperty("scenarioId")]
|
||||
public string ScenarioId { get; set; }
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
// 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;
|
||||
|
||||
public class UpdateScenarioCounterResponse
|
||||
{
|
||||
[JsonProperty("completed")]
|
||||
public bool Completed { get; set; }
|
||||
|
||||
[JsonProperty("plan")]
|
||||
public ExecutionPlan Plan { get; set; }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user