/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ namespace TencentCloud.Tia.V20180226.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class ModelInfo : AbstractModel { /// /// 模型名称 /// [JsonProperty("Name")] public string Name{ get; set; } /// /// 模型描述 /// [JsonProperty("Description")] public string Description{ get; set; } /// /// 集群名称 /// [JsonProperty("Cluster")] public string Cluster{ get; set; } /// /// 模型地址 /// [JsonProperty("Model")] public string Model{ get; set; } /// /// 运行环境编号 /// [JsonProperty("RuntimeVersion")] public string RuntimeVersion{ get; set; } /// /// 模型创建时间 /// [JsonProperty("CreateTime")] public string CreateTime{ get; set; } /// /// 模型运行状态 /// [JsonProperty("State")] public string State{ get; set; } /// /// 提供服务的url /// [JsonProperty("ServingUrl")] public string ServingUrl{ get; set; } /// /// 相关消息 /// [JsonProperty("Message")] public string Message{ get; set; } /// /// 编号 /// [JsonProperty("AppId")] public ulong? AppId{ get; set; } /// /// 机型 /// [JsonProperty("ServType")] public string ServType{ get; set; } /// /// 模型暴露方式 /// [JsonProperty("Expose")] public string Expose{ get; set; } /// /// 部署副本数量 /// [JsonProperty("Replicas")] public ulong? Replicas{ get; set; } /// /// 模型Id /// [JsonProperty("Id")] public string Id{ get; set; } /// /// 创建任务的Uin /// [JsonProperty("Uin")] public string Uin{ get; set; } /// /// 模型删除时间,格式为:2006-01-02 15:04:05.999999999 -0700 MST /// [JsonProperty("DelTime")] public string DelTime{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "Name", this.Name); this.SetParamSimple(map, prefix + "Description", this.Description); this.SetParamSimple(map, prefix + "Cluster", this.Cluster); this.SetParamSimple(map, prefix + "Model", this.Model); this.SetParamSimple(map, prefix + "RuntimeVersion", this.RuntimeVersion); this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime); this.SetParamSimple(map, prefix + "State", this.State); this.SetParamSimple(map, prefix + "ServingUrl", this.ServingUrl); this.SetParamSimple(map, prefix + "Message", this.Message); this.SetParamSimple(map, prefix + "AppId", this.AppId); this.SetParamSimple(map, prefix + "ServType", this.ServType); this.SetParamSimple(map, prefix + "Expose", this.Expose); this.SetParamSimple(map, prefix + "Replicas", this.Replicas); this.SetParamSimple(map, prefix + "Id", this.Id); this.SetParamSimple(map, prefix + "Uin", this.Uin); this.SetParamSimple(map, prefix + "DelTime", this.DelTime); } } }