Initial commit

This commit is contained in:
rudder
2026-08-12 14:04:55 +03:00
commit 8cf738d9f0
124 changed files with 5433 additions and 0 deletions
+13
View File
@@ -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.Ugc;
public class DeleteUgcResponse
{
[JsonProperty("success")]
public bool Success { get; set; }
}
+13
View File
@@ -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.Ugc;
public class GetDownloadUrlResponse
{
[JsonProperty("downloadUrl")]
public string DownloadUrl { get; set; }
}
+16
View File
@@ -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.Ugc;
public class GetUploadUrlResponse
{
[JsonProperty("fileKey")]
public string FileKey { get; set; }
[JsonProperty("uploadUrl")]
public string UploadUrl { get; set; }
}
+16
View File
@@ -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.Ugc;
public class ListUgcResponse
{
[JsonProperty("items")]
public List<UgcSubmission> Items { get; set; }
[JsonProperty("nextCursor")]
public string NextCursor { get; set; }
}
+25
View File
@@ -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.Ugc;
public class SubmitUgcRequest
{
[JsonProperty("description")]
public string Description { get; set; }
[JsonProperty("fileKey")]
public string FileKey { get; set; }
[JsonProperty("fileSize")]
public long FileSize { get; set; }
[JsonProperty("metadata")]
public JToken Metadata { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
}
+16
View File
@@ -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.Ugc;
public class SubmittedBy
{
[JsonProperty("userId")]
public string UserId { get; set; }
[JsonProperty("username")]
public string Username { get; set; }
}
+43
View File
@@ -0,0 +1,43 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace RudderSdk.Core.Models.Ugc;
public class UgcSubmission
{
[JsonProperty("description")]
public string Description { get; set; }
[JsonProperty("fileSize")]
public long FileSize { get; set; }
[JsonProperty("fileUrl")]
public string FileUrl { get; set; }
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("metadata")]
public JToken Metadata { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("reviewedAt")]
public string ReviewedAt { get; set; }
[JsonProperty("reviewedBy")]
public string ReviewedBy { get; set; }
[JsonProperty("status")]
public string Status { get; set; }
[JsonProperty("submittedAt")]
public string SubmittedAt { get; set; }
[JsonProperty("submittedBy")]
public SubmittedBy SubmittedBy { get; set; }
}