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.Ugc;
|
||||
|
||||
public class DeleteUgcResponse
|
||||
{
|
||||
[JsonProperty("success")]
|
||||
public bool Success { 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.Ugc;
|
||||
|
||||
public class GetDownloadUrlResponse
|
||||
{
|
||||
[JsonProperty("downloadUrl")]
|
||||
public string DownloadUrl { 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.Ugc;
|
||||
|
||||
public class GetUploadUrlResponse
|
||||
{
|
||||
[JsonProperty("fileKey")]
|
||||
public string FileKey { get; set; }
|
||||
|
||||
[JsonProperty("uploadUrl")]
|
||||
public string UploadUrl { 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.Ugc;
|
||||
|
||||
public class ListUgcResponse
|
||||
{
|
||||
[JsonProperty("items")]
|
||||
public List<UgcSubmission> Items { get; set; }
|
||||
|
||||
[JsonProperty("nextCursor")]
|
||||
public string NextCursor { 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.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; }
|
||||
|
||||
}
|
||||
@@ -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; }
|
||||
|
||||
}
|
||||
@@ -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; }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user