Add ProjectStorageService and generated ProjectStorage models
This commit is contained in:
@@ -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; }
|
||||
|
||||
}
|
||||
@@ -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; }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user