namespace Yw.BIMFace { /// /// 转换资源 /// [Serializable] public class TranslateSource { /// /// /// public TranslateSource() { Compressed = false; RootName = null; } /// /// 文件Id,即调用上传文件API返回的fileId /// [JsonProperty("fileId")] public long FileId { get; set; } /// /// 是否为压缩文件,默认为false /// [JsonProperty("compressed")] public bool Compressed { get; set; } /// /// 如果是压缩文件,必须指定压缩包中哪一个是主文件。(例如:root.rvt)。 /// 如果不是压缩,则设置为 null /// [JsonProperty("rootName", NullValueHandling = NullValueHandling.Ignore)] public string RootName { get; set; } } }