您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

91 行
2.9 KiB

using System;
using System.Collections.Generic;
using JetBrains.Annotations;
namespace Metacity.Publish.Editor
{
public class UrlResponse
{
public string url { get; set; }
}
public class UserResponse
{
public string id { get; set; }
public string userName { get; set; }
public string displayName { get; set; }
public string description { get; set; }
public string character { get; set; }
public string avatar { get; set; }
public List<string> roles { get; set; }
}
public class TemplateResponse
{
public string id { get; set; }
public string name { get; set; }
public string description { get; set; }
[CanBeNull] public string banner { get; set; }
public bool? official { get; set; }
public string activeId { get; set; }
public string platform { get; set; }
[CanBeNull] public string uosId { get; set; }
public string state { get; set; }
public string createdBy { get; set; }
public DateTime createdAt { get; set; }
public DateTime updatedAt { get; set; }
}
public class CloudrenderingResponse
{
public string id { get; set; }
public string name { get; set; }
public string description { get; set; }
public string templateId { get; set; }
public string version { get; set; }
public string crId { get; set; }
public string createdBy { get; set; }
public DateTime createdAt { get; set; }
public DateTime updatedAt { get; set; }
}
public class TemplateInput
{
public string name { get; set; }
public string description { get; set; }
public object banner { get; set; }
public bool? official { get; set; }
public string activeId { get; set; }
public string platform { get; set; }
public string uosId { get; set; }
public string state { get; set; }
}
public class CreateCRInput
{
public string name { get; set; }
public string description { get; set; }
public string version { get; set; }
public string template { get; set; }
public string crId { get; set; }
}
public class PublishInput
{
public string userId { get; set; }
public string templateId { get; set; }
public string cloudrenderingId { get; set; }
public string serverType { get; set; }
public string crUrl { get; set; }
public string crPath { get; set; }
public string crFileName { get; set; }
public long crSize { get; set; }
public string uosUrl { get; set; }
public string uosPath { get; set; }
public List<GameServerPort> gameServerPorts { get; set; }
public Dictionary<string, string> environmentVariables { get; set; }
public bool firstPublish { get; set; }
}
}