
com.tencentcloudapi.tione.v20211111.models.BatchTaskSetItem Maven / Gradle / Ivy
/*
* Copyright (c) 2017-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.
*/
package com.tencentcloudapi.tione.v20211111.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class BatchTaskSetItem extends AbstractModel{
/**
* 跑批任务ID
*/
@SerializedName("BatchTaskId")
@Expose
private String BatchTaskId;
/**
* 跑批任务名称
*/
@SerializedName("BatchTaskName")
@Expose
private String BatchTaskName;
/**
* 模型信息
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("ModelInfo")
@Expose
private ModelInfo ModelInfo;
/**
* 镜像信息
*/
@SerializedName("ImageInfo")
@Expose
private ImageInfo ImageInfo;
/**
* 计费模式
*/
@SerializedName("ChargeType")
@Expose
private String ChargeType;
/**
* 计费状态,eg:BILLING计费中,ARREARS_STOP欠费停止,NOT_BILLING不在计费中
*/
@SerializedName("ChargeStatus")
@Expose
private String ChargeStatus;
/**
* 预付费专用资源组
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("ResourceGroupId")
@Expose
private String ResourceGroupId;
/**
* 资源配置
*/
@SerializedName("ResourceConfigInfo")
@Expose
private ResourceConfigInfo ResourceConfigInfo;
/**
* 标签配置
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Tags")
@Expose
private Tag [] Tags;
/**
* 任务状态
*/
@SerializedName("Status")
@Expose
private String Status;
/**
* 运行时长
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("RuntimeInSeconds")
@Expose
private Long RuntimeInSeconds;
/**
* 创建时间
*/
@SerializedName("CreateTime")
@Expose
private String CreateTime;
/**
* 开始时间
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("StartTime")
@Expose
private String StartTime;
/**
* 结束时间
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("EndTime")
@Expose
private String EndTime;
/**
* 更新时间
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("UpdateTime")
@Expose
private String UpdateTime;
/**
* 输出
*/
@SerializedName("Outputs")
@Expose
private DataConfig [] Outputs;
/**
* 预付费专用资源组名称
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("ResourceGroupName")
@Expose
private String ResourceGroupName;
/**
* 失败原因
*/
@SerializedName("FailureReason")
@Expose
private String FailureReason;
/**
* 计费金额信息,eg:2.00元/小时 (for后付费)
*/
@SerializedName("BillingInfo")
@Expose
private String BillingInfo;
/**
* Get 跑批任务ID
* @return BatchTaskId 跑批任务ID
*/
public String getBatchTaskId() {
return this.BatchTaskId;
}
/**
* Set 跑批任务ID
* @param BatchTaskId 跑批任务ID
*/
public void setBatchTaskId(String BatchTaskId) {
this.BatchTaskId = BatchTaskId;
}
/**
* Get 跑批任务名称
* @return BatchTaskName 跑批任务名称
*/
public String getBatchTaskName() {
return this.BatchTaskName;
}
/**
* Set 跑批任务名称
* @param BatchTaskName 跑批任务名称
*/
public void setBatchTaskName(String BatchTaskName) {
this.BatchTaskName = BatchTaskName;
}
/**
* Get 模型信息
注意:此字段可能返回 null,表示取不到有效值。
* @return ModelInfo 模型信息
注意:此字段可能返回 null,表示取不到有效值。
*/
public ModelInfo getModelInfo() {
return this.ModelInfo;
}
/**
* Set 模型信息
注意:此字段可能返回 null,表示取不到有效值。
* @param ModelInfo 模型信息
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setModelInfo(ModelInfo ModelInfo) {
this.ModelInfo = ModelInfo;
}
/**
* Get 镜像信息
* @return ImageInfo 镜像信息
*/
public ImageInfo getImageInfo() {
return this.ImageInfo;
}
/**
* Set 镜像信息
* @param ImageInfo 镜像信息
*/
public void setImageInfo(ImageInfo ImageInfo) {
this.ImageInfo = ImageInfo;
}
/**
* Get 计费模式
* @return ChargeType 计费模式
*/
public String getChargeType() {
return this.ChargeType;
}
/**
* Set 计费模式
* @param ChargeType 计费模式
*/
public void setChargeType(String ChargeType) {
this.ChargeType = ChargeType;
}
/**
* Get 计费状态,eg:BILLING计费中,ARREARS_STOP欠费停止,NOT_BILLING不在计费中
* @return ChargeStatus 计费状态,eg:BILLING计费中,ARREARS_STOP欠费停止,NOT_BILLING不在计费中
*/
public String getChargeStatus() {
return this.ChargeStatus;
}
/**
* Set 计费状态,eg:BILLING计费中,ARREARS_STOP欠费停止,NOT_BILLING不在计费中
* @param ChargeStatus 计费状态,eg:BILLING计费中,ARREARS_STOP欠费停止,NOT_BILLING不在计费中
*/
public void setChargeStatus(String ChargeStatus) {
this.ChargeStatus = ChargeStatus;
}
/**
* Get 预付费专用资源组
注意:此字段可能返回 null,表示取不到有效值。
* @return ResourceGroupId 预付费专用资源组
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getResourceGroupId() {
return this.ResourceGroupId;
}
/**
* Set 预付费专用资源组
注意:此字段可能返回 null,表示取不到有效值。
* @param ResourceGroupId 预付费专用资源组
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setResourceGroupId(String ResourceGroupId) {
this.ResourceGroupId = ResourceGroupId;
}
/**
* Get 资源配置
* @return ResourceConfigInfo 资源配置
*/
public ResourceConfigInfo getResourceConfigInfo() {
return this.ResourceConfigInfo;
}
/**
* Set 资源配置
* @param ResourceConfigInfo 资源配置
*/
public void setResourceConfigInfo(ResourceConfigInfo ResourceConfigInfo) {
this.ResourceConfigInfo = ResourceConfigInfo;
}
/**
* Get 标签配置
注意:此字段可能返回 null,表示取不到有效值。
* @return Tags 标签配置
注意:此字段可能返回 null,表示取不到有效值。
*/
public Tag [] getTags() {
return this.Tags;
}
/**
* Set 标签配置
注意:此字段可能返回 null,表示取不到有效值。
* @param Tags 标签配置
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setTags(Tag [] Tags) {
this.Tags = Tags;
}
/**
* Get 任务状态
* @return Status 任务状态
*/
public String getStatus() {
return this.Status;
}
/**
* Set 任务状态
* @param Status 任务状态
*/
public void setStatus(String Status) {
this.Status = Status;
}
/**
* Get 运行时长
注意:此字段可能返回 null,表示取不到有效值。
* @return RuntimeInSeconds 运行时长
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getRuntimeInSeconds() {
return this.RuntimeInSeconds;
}
/**
* Set 运行时长
注意:此字段可能返回 null,表示取不到有效值。
* @param RuntimeInSeconds 运行时长
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setRuntimeInSeconds(Long RuntimeInSeconds) {
this.RuntimeInSeconds = RuntimeInSeconds;
}
/**
* Get 创建时间
* @return CreateTime 创建时间
*/
public String getCreateTime() {
return this.CreateTime;
}
/**
* Set 创建时间
* @param CreateTime 创建时间
*/
public void setCreateTime(String CreateTime) {
this.CreateTime = CreateTime;
}
/**
* Get 开始时间
注意:此字段可能返回 null,表示取不到有效值。
* @return StartTime 开始时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getStartTime() {
return this.StartTime;
}
/**
* Set 开始时间
注意:此字段可能返回 null,表示取不到有效值。
* @param StartTime 开始时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setStartTime(String StartTime) {
this.StartTime = StartTime;
}
/**
* Get 结束时间
注意:此字段可能返回 null,表示取不到有效值。
* @return EndTime 结束时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getEndTime() {
return this.EndTime;
}
/**
* Set 结束时间
注意:此字段可能返回 null,表示取不到有效值。
* @param EndTime 结束时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setEndTime(String EndTime) {
this.EndTime = EndTime;
}
/**
* Get 更新时间
注意:此字段可能返回 null,表示取不到有效值。
* @return UpdateTime 更新时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getUpdateTime() {
return this.UpdateTime;
}
/**
* Set 更新时间
注意:此字段可能返回 null,表示取不到有效值。
* @param UpdateTime 更新时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setUpdateTime(String UpdateTime) {
this.UpdateTime = UpdateTime;
}
/**
* Get 输出
* @return Outputs 输出
*/
public DataConfig [] getOutputs() {
return this.Outputs;
}
/**
* Set 输出
* @param Outputs 输出
*/
public void setOutputs(DataConfig [] Outputs) {
this.Outputs = Outputs;
}
/**
* Get 预付费专用资源组名称
注意:此字段可能返回 null,表示取不到有效值。
* @return ResourceGroupName 预付费专用资源组名称
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getResourceGroupName() {
return this.ResourceGroupName;
}
/**
* Set 预付费专用资源组名称
注意:此字段可能返回 null,表示取不到有效值。
* @param ResourceGroupName 预付费专用资源组名称
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setResourceGroupName(String ResourceGroupName) {
this.ResourceGroupName = ResourceGroupName;
}
/**
* Get 失败原因
* @return FailureReason 失败原因
*/
public String getFailureReason() {
return this.FailureReason;
}
/**
* Set 失败原因
* @param FailureReason 失败原因
*/
public void setFailureReason(String FailureReason) {
this.FailureReason = FailureReason;
}
/**
* Get 计费金额信息,eg:2.00元/小时 (for后付费)
* @return BillingInfo 计费金额信息,eg:2.00元/小时 (for后付费)
*/
public String getBillingInfo() {
return this.BillingInfo;
}
/**
* Set 计费金额信息,eg:2.00元/小时 (for后付费)
* @param BillingInfo 计费金额信息,eg:2.00元/小时 (for后付费)
*/
public void setBillingInfo(String BillingInfo) {
this.BillingInfo = BillingInfo;
}
public BatchTaskSetItem() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public BatchTaskSetItem(BatchTaskSetItem source) {
if (source.BatchTaskId != null) {
this.BatchTaskId = new String(source.BatchTaskId);
}
if (source.BatchTaskName != null) {
this.BatchTaskName = new String(source.BatchTaskName);
}
if (source.ModelInfo != null) {
this.ModelInfo = new ModelInfo(source.ModelInfo);
}
if (source.ImageInfo != null) {
this.ImageInfo = new ImageInfo(source.ImageInfo);
}
if (source.ChargeType != null) {
this.ChargeType = new String(source.ChargeType);
}
if (source.ChargeStatus != null) {
this.ChargeStatus = new String(source.ChargeStatus);
}
if (source.ResourceGroupId != null) {
this.ResourceGroupId = new String(source.ResourceGroupId);
}
if (source.ResourceConfigInfo != null) {
this.ResourceConfigInfo = new ResourceConfigInfo(source.ResourceConfigInfo);
}
if (source.Tags != null) {
this.Tags = new Tag[source.Tags.length];
for (int i = 0; i < source.Tags.length; i++) {
this.Tags[i] = new Tag(source.Tags[i]);
}
}
if (source.Status != null) {
this.Status = new String(source.Status);
}
if (source.RuntimeInSeconds != null) {
this.RuntimeInSeconds = new Long(source.RuntimeInSeconds);
}
if (source.CreateTime != null) {
this.CreateTime = new String(source.CreateTime);
}
if (source.StartTime != null) {
this.StartTime = new String(source.StartTime);
}
if (source.EndTime != null) {
this.EndTime = new String(source.EndTime);
}
if (source.UpdateTime != null) {
this.UpdateTime = new String(source.UpdateTime);
}
if (source.Outputs != null) {
this.Outputs = new DataConfig[source.Outputs.length];
for (int i = 0; i < source.Outputs.length; i++) {
this.Outputs[i] = new DataConfig(source.Outputs[i]);
}
}
if (source.ResourceGroupName != null) {
this.ResourceGroupName = new String(source.ResourceGroupName);
}
if (source.FailureReason != null) {
this.FailureReason = new String(source.FailureReason);
}
if (source.BillingInfo != null) {
this.BillingInfo = new String(source.BillingInfo);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "BatchTaskId", this.BatchTaskId);
this.setParamSimple(map, prefix + "BatchTaskName", this.BatchTaskName);
this.setParamObj(map, prefix + "ModelInfo.", this.ModelInfo);
this.setParamObj(map, prefix + "ImageInfo.", this.ImageInfo);
this.setParamSimple(map, prefix + "ChargeType", this.ChargeType);
this.setParamSimple(map, prefix + "ChargeStatus", this.ChargeStatus);
this.setParamSimple(map, prefix + "ResourceGroupId", this.ResourceGroupId);
this.setParamObj(map, prefix + "ResourceConfigInfo.", this.ResourceConfigInfo);
this.setParamArrayObj(map, prefix + "Tags.", this.Tags);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "RuntimeInSeconds", this.RuntimeInSeconds);
this.setParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.setParamSimple(map, prefix + "StartTime", this.StartTime);
this.setParamSimple(map, prefix + "EndTime", this.EndTime);
this.setParamSimple(map, prefix + "UpdateTime", this.UpdateTime);
this.setParamArrayObj(map, prefix + "Outputs.", this.Outputs);
this.setParamSimple(map, prefix + "ResourceGroupName", this.ResourceGroupName);
this.setParamSimple(map, prefix + "FailureReason", this.FailureReason);
this.setParamSimple(map, prefix + "BillingInfo", this.BillingInfo);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy