149 lines
4.6 KiB
C#
149 lines
4.6 KiB
C#
/*
|
||
* 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
|
||
{
|
||
|
||
/// <summary>
|
||
/// 模型名称
|
||
/// </summary>
|
||
[JsonProperty("Name")]
|
||
public string Name{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 模型描述
|
||
/// </summary>
|
||
[JsonProperty("Description")]
|
||
public string Description{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 集群名称
|
||
/// </summary>
|
||
[JsonProperty("Cluster")]
|
||
public string Cluster{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 模型地址
|
||
/// </summary>
|
||
[JsonProperty("Model")]
|
||
public string Model{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 运行环境编号
|
||
/// </summary>
|
||
[JsonProperty("RuntimeVersion")]
|
||
public string RuntimeVersion{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 模型创建时间
|
||
/// </summary>
|
||
[JsonProperty("CreateTime")]
|
||
public string CreateTime{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 模型运行状态
|
||
/// </summary>
|
||
[JsonProperty("State")]
|
||
public string State{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 提供服务的url
|
||
/// </summary>
|
||
[JsonProperty("ServingUrl")]
|
||
public string ServingUrl{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 相关消息
|
||
/// </summary>
|
||
[JsonProperty("Message")]
|
||
public string Message{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 编号
|
||
/// </summary>
|
||
[JsonProperty("AppId")]
|
||
public ulong? AppId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 机型
|
||
/// </summary>
|
||
[JsonProperty("ServType")]
|
||
public string ServType{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 模型暴露方式
|
||
/// </summary>
|
||
[JsonProperty("Expose")]
|
||
public string Expose{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 部署副本数量
|
||
/// </summary>
|
||
[JsonProperty("Replicas")]
|
||
public ulong? Replicas{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 模型Id
|
||
/// </summary>
|
||
[JsonProperty("Id")]
|
||
public string Id{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 创建任务的Uin
|
||
/// </summary>
|
||
[JsonProperty("Uin")]
|
||
public string Uin{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 模型删除时间,格式为:2006-01-02 15:04:05.999999999 -0700 MST
|
||
/// </summary>
|
||
[JsonProperty("DelTime")]
|
||
public string DelTime{ get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// For internal usage only. DO NOT USE IT.
|
||
/// </summary>
|
||
internal override void ToMap(Dictionary<string, string> 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);
|
||
}
|
||
}
|
||
}
|
||
|