All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencentcloudapi.mps.v20190612.models.TaskSimpleInfo 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.mps.v20190612.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class TaskSimpleInfo extends AbstractModel{

    /**
    * 任务 ID。
    */
    @SerializedName("TaskId")
    @Expose
    private String TaskId;

    /**
    * 任务类型,包含:
  • WorkflowTask:工作流处理任务;
  • EditMediaTask:视频编辑任务;
  • LiveProcessTask:直播处理任务。
  • */ @SerializedName("TaskType") @Expose private String TaskType; /** * 任务创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。 */ @SerializedName("CreateTime") @Expose private String CreateTime; /** * 任务开始执行时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。若任务尚未开始,该字段为:0000-00-00T00:00:00Z。 */ @SerializedName("BeginProcessTime") @Expose private String BeginProcessTime; /** * 任务结束时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。若任务尚未完成,该字段为:0000-00-00T00:00:00Z。 */ @SerializedName("FinishTime") @Expose private String FinishTime; /** * 子任务类型。 */ @SerializedName("SubTaskTypes") @Expose private String [] SubTaskTypes; /** * Get 任务 ID。 * @return TaskId 任务 ID。 */ public String getTaskId() { return this.TaskId; } /** * Set 任务 ID。 * @param TaskId 任务 ID。 */ public void setTaskId(String TaskId) { this.TaskId = TaskId; } /** * Get 任务类型,包含:
  • WorkflowTask:工作流处理任务;
  • EditMediaTask:视频编辑任务;
  • LiveProcessTask:直播处理任务。
  • * @return TaskType 任务类型,包含:
  • WorkflowTask:工作流处理任务;
  • EditMediaTask:视频编辑任务;
  • LiveProcessTask:直播处理任务。
  • */ public String getTaskType() { return this.TaskType; } /** * Set 任务类型,包含:
  • WorkflowTask:工作流处理任务;
  • EditMediaTask:视频编辑任务;
  • LiveProcessTask:直播处理任务。
  • * @param TaskType 任务类型,包含:
  • WorkflowTask:工作流处理任务;
  • EditMediaTask:视频编辑任务;
  • LiveProcessTask:直播处理任务。
  • */ public void setTaskType(String TaskType) { this.TaskType = TaskType; } /** * Get 任务创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。 * @return CreateTime 任务创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。 */ public String getCreateTime() { return this.CreateTime; } /** * Set 任务创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。 * @param CreateTime 任务创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。 */ public void setCreateTime(String CreateTime) { this.CreateTime = CreateTime; } /** * Get 任务开始执行时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。若任务尚未开始,该字段为:0000-00-00T00:00:00Z。 * @return BeginProcessTime 任务开始执行时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。若任务尚未开始,该字段为:0000-00-00T00:00:00Z。 */ public String getBeginProcessTime() { return this.BeginProcessTime; } /** * Set 任务开始执行时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。若任务尚未开始,该字段为:0000-00-00T00:00:00Z。 * @param BeginProcessTime 任务开始执行时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。若任务尚未开始,该字段为:0000-00-00T00:00:00Z。 */ public void setBeginProcessTime(String BeginProcessTime) { this.BeginProcessTime = BeginProcessTime; } /** * Get 任务结束时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。若任务尚未完成,该字段为:0000-00-00T00:00:00Z。 * @return FinishTime 任务结束时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。若任务尚未完成,该字段为:0000-00-00T00:00:00Z。 */ public String getFinishTime() { return this.FinishTime; } /** * Set 任务结束时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。若任务尚未完成,该字段为:0000-00-00T00:00:00Z。 * @param FinishTime 任务结束时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。若任务尚未完成,该字段为:0000-00-00T00:00:00Z。 */ public void setFinishTime(String FinishTime) { this.FinishTime = FinishTime; } /** * Get 子任务类型。 * @return SubTaskTypes 子任务类型。 */ public String [] getSubTaskTypes() { return this.SubTaskTypes; } /** * Set 子任务类型。 * @param SubTaskTypes 子任务类型。 */ public void setSubTaskTypes(String [] SubTaskTypes) { this.SubTaskTypes = SubTaskTypes; } public TaskSimpleInfo() { } /** * 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 TaskSimpleInfo(TaskSimpleInfo source) { if (source.TaskId != null) { this.TaskId = new String(source.TaskId); } if (source.TaskType != null) { this.TaskType = new String(source.TaskType); } if (source.CreateTime != null) { this.CreateTime = new String(source.CreateTime); } if (source.BeginProcessTime != null) { this.BeginProcessTime = new String(source.BeginProcessTime); } if (source.FinishTime != null) { this.FinishTime = new String(source.FinishTime); } if (source.SubTaskTypes != null) { this.SubTaskTypes = new String[source.SubTaskTypes.length]; for (int i = 0; i < source.SubTaskTypes.length; i++) { this.SubTaskTypes[i] = new String(source.SubTaskTypes[i]); } } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "TaskId", this.TaskId); this.setParamSimple(map, prefix + "TaskType", this.TaskType); this.setParamSimple(map, prefix + "CreateTime", this.CreateTime); this.setParamSimple(map, prefix + "BeginProcessTime", this.BeginProcessTime); this.setParamSimple(map, prefix + "FinishTime", this.FinishTime); this.setParamArraySimple(map, prefix + "SubTaskTypes.", this.SubTaskTypes); } }




    © 2015 - 2025 Weber Informatics LLC | Privacy Policy