51 lines
1.1 KiB
C#
51 lines
1.1 KiB
C#
using Newtonsoft.Json;
|
|
using System.Collections.Generic;
|
|
|
|
namespace UEditor.Core
|
|
{
|
|
public class UEditorResult
|
|
{
|
|
[JsonProperty("state")]
|
|
public string State { get; set; }
|
|
|
|
[JsonProperty("list")]
|
|
public IEnumerable<UEditorFileList> List { get; set; }
|
|
|
|
[JsonProperty("start")]
|
|
public int? Start { get; set; }
|
|
|
|
[JsonProperty("size")]
|
|
public int? Size { get; set; }
|
|
|
|
[JsonProperty("source")]
|
|
public string Source { get; set; }
|
|
|
|
[JsonProperty("total")]
|
|
public int? Total { get; set; }
|
|
|
|
[JsonProperty("url")]
|
|
public string Url { get; set; }
|
|
|
|
[JsonProperty("title")]
|
|
public string Title { get; set; }
|
|
|
|
[JsonProperty("original")]
|
|
public string Original { get; set; }
|
|
|
|
[JsonProperty("error")]
|
|
public string Error { get; set; }
|
|
}
|
|
|
|
public class UEditorFileList
|
|
{
|
|
[JsonProperty("state")]
|
|
public string State { get; set; }
|
|
|
|
[JsonProperty("source")]
|
|
public string Source { get; set; }
|
|
|
|
[JsonProperty("url")]
|
|
public string Url { get; set; }
|
|
}
|
|
}
|