Add ProjectStorageService and generated ProjectStorage models

This commit is contained in:
edmand46
2026-08-12 23:58:31 +03:00
parent 8cf738d9f0
commit 91c3d46ceb
6 changed files with 153 additions and 0 deletions
@@ -0,0 +1,16 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace RudderSdk.Core.Models.ProjectStorage;
public class GetProjectStorageResponse
{
[JsonProperty("items")]
public List<ProjectStorageItem> Items { get; set; }
[JsonProperty("nextCursor")]
public string NextCursor { get; set; }
}
+37
View File
@@ -0,0 +1,37 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace RudderSdk.Core.Models.ProjectStorage;
public class ProjectStorageItem
{
[JsonProperty("data")]
public string Data { get; set; }
[JsonProperty("expiresAt")]
public string ExpiresAt { get; set; }
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("readPermission")]
public string ReadPermission { get; set; }
[JsonProperty("size")]
public long Size { get; set; }
[JsonProperty("type")]
public string Type { get; set; }
[JsonProperty("updatedAt")]
public string UpdatedAt { get; set; }
[JsonProperty("version")]
public long Version { get; set; }
[JsonProperty("writePermission")]
public string WritePermission { get; set; }
}
@@ -0,0 +1,16 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace RudderSdk.Core.Models.ProjectStorage;
public class ProjectStorageUpdateItem
{
[JsonProperty("data")]
public string Data { get; set; }
[JsonProperty("type")]
public string Type { get; set; }
}
@@ -0,0 +1,16 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace RudderSdk.Core.Models.ProjectStorage;
public class UpdateProjectStorageRequest
{
[JsonProperty("idempotencyKey")]
public string IdempotencyKey { get; set; }
[JsonProperty("items")]
public List<ProjectStorageUpdateItem> Items { get; set; }
}