/*
* 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.Tione.V20191022.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeTrainingJobResponse : AbstractModel
{
///
/// 算法镜像配置
///
[JsonProperty("AlgorithmSpecification")]
public AlgorithmSpecification AlgorithmSpecification{ get; set; }
///
/// 任务名称
///
[JsonProperty("TrainingJobName")]
public string TrainingJobName{ get; set; }
///
/// 算法超级参数
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("HyperParameters")]
public string HyperParameters{ get; set; }
///
/// 输入数据配置
///
[JsonProperty("InputDataConfig")]
public InputDataConfig[] InputDataConfig{ get; set; }
///
/// 输出数据配置
///
[JsonProperty("OutputDataConfig")]
public OutputDataConfig OutputDataConfig{ get; set; }
///
/// 中止条件
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("StoppingCondition")]
public StoppingCondition StoppingCondition{ get; set; }
///
/// 计算实例配置
///
[JsonProperty("ResourceConfig")]
public ResourceConfig ResourceConfig{ get; set; }
///
/// 私有网络配置
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("VpcConfig")]
public VpcConfig VpcConfig{ get; set; }
///
/// 失败原因
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("FailureReason")]
public string FailureReason{ get; set; }
///
/// 最近修改时间
///
[JsonProperty("LastModifiedTime")]
public string LastModifiedTime{ get; set; }
///
/// 任务开始时间
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("TrainingStartTime")]
public string TrainingStartTime{ get; set; }
///
/// 任务完成时间
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("TrainingEndTime")]
public string TrainingEndTime{ get; set; }
///
/// 模型输出配置
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("ModelArtifacts")]
public ModelArtifacts ModelArtifacts{ get; set; }
///
/// 详细状态
///
[JsonProperty("SecondaryStatus")]
public string SecondaryStatus{ get; set; }
///
/// 详细状态事件记录
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("SecondaryStatusTransitions")]
public SecondaryStatusTransition[] SecondaryStatusTransitions{ get; set; }
///
/// 角色名称
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("RoleName")]
public string RoleName{ get; set; }
///
/// 任务状态
///
[JsonProperty("TrainingJobStatus")]
public string TrainingJobStatus{ get; set; }
///
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
///
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamObj(map, prefix + "AlgorithmSpecification.", this.AlgorithmSpecification);
this.SetParamSimple(map, prefix + "TrainingJobName", this.TrainingJobName);
this.SetParamSimple(map, prefix + "HyperParameters", this.HyperParameters);
this.SetParamArrayObj(map, prefix + "InputDataConfig.", this.InputDataConfig);
this.SetParamObj(map, prefix + "OutputDataConfig.", this.OutputDataConfig);
this.SetParamObj(map, prefix + "StoppingCondition.", this.StoppingCondition);
this.SetParamObj(map, prefix + "ResourceConfig.", this.ResourceConfig);
this.SetParamObj(map, prefix + "VpcConfig.", this.VpcConfig);
this.SetParamSimple(map, prefix + "FailureReason", this.FailureReason);
this.SetParamSimple(map, prefix + "LastModifiedTime", this.LastModifiedTime);
this.SetParamSimple(map, prefix + "TrainingStartTime", this.TrainingStartTime);
this.SetParamSimple(map, prefix + "TrainingEndTime", this.TrainingEndTime);
this.SetParamObj(map, prefix + "ModelArtifacts.", this.ModelArtifacts);
this.SetParamSimple(map, prefix + "SecondaryStatus", this.SecondaryStatus);
this.SetParamArrayObj(map, prefix + "SecondaryStatusTransitions.", this.SecondaryStatusTransitions);
this.SetParamSimple(map, prefix + "RoleName", this.RoleName);
this.SetParamSimple(map, prefix + "TrainingJobStatus", this.TrainingJobStatus);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}