![JAR search and dependency download from the Maven repository](/logo.png)
com.tencentcloudapi.mps.v20190612.models.ScheduleTask Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* 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.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class ScheduleTask extends AbstractModel {
/**
* The scheme ID.
*/
@SerializedName("TaskId")
@Expose
private String TaskId;
/**
* The scheme status. Valid values:
PROCESSING
FINISH
*/
@SerializedName("Status")
@Expose
private String Status;
/**
* If the value returned is not 0, there was a source error. If 0 is returned, refer to the error codes of the corresponding task type.
*/
@SerializedName("ErrCode")
@Expose
private Long ErrCode;
/**
* If there was a source error, this parameter is the error message. For other errors, refer to the error messages of the corresponding task type.
*/
@SerializedName("Message")
@Expose
private String Message;
/**
* The information of the file processed.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("InputInfo")
@Expose
private MediaInputInfo InputInfo;
/**
* The metadata of the source video.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("MetaData")
@Expose
private MediaMetaData MetaData;
/**
* The output of the scheme.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("ActivityResultSet")
@Expose
private ActivityResult [] ActivityResultSet;
/**
* Get The scheme ID.
* @return TaskId The scheme ID.
*/
public String getTaskId() {
return this.TaskId;
}
/**
* Set The scheme ID.
* @param TaskId The scheme ID.
*/
public void setTaskId(String TaskId) {
this.TaskId = TaskId;
}
/**
* Get The scheme status. Valid values:
PROCESSING
FINISH
* @return Status The scheme status. Valid values:
PROCESSING
FINISH
*/
public String getStatus() {
return this.Status;
}
/**
* Set The scheme status. Valid values:
PROCESSING
FINISH
* @param Status The scheme status. Valid values:
PROCESSING
FINISH
*/
public void setStatus(String Status) {
this.Status = Status;
}
/**
* Get If the value returned is not 0, there was a source error. If 0 is returned, refer to the error codes of the corresponding task type.
* @return ErrCode If the value returned is not 0, there was a source error. If 0 is returned, refer to the error codes of the corresponding task type.
*/
public Long getErrCode() {
return this.ErrCode;
}
/**
* Set If the value returned is not 0, there was a source error. If 0 is returned, refer to the error codes of the corresponding task type.
* @param ErrCode If the value returned is not 0, there was a source error. If 0 is returned, refer to the error codes of the corresponding task type.
*/
public void setErrCode(Long ErrCode) {
this.ErrCode = ErrCode;
}
/**
* Get If there was a source error, this parameter is the error message. For other errors, refer to the error messages of the corresponding task type.
* @return Message If there was a source error, this parameter is the error message. For other errors, refer to the error messages of the corresponding task type.
*/
public String getMessage() {
return this.Message;
}
/**
* Set If there was a source error, this parameter is the error message. For other errors, refer to the error messages of the corresponding task type.
* @param Message If there was a source error, this parameter is the error message. For other errors, refer to the error messages of the corresponding task type.
*/
public void setMessage(String Message) {
this.Message = Message;
}
/**
* Get The information of the file processed.
Note: This field may return null, indicating that no valid values can be obtained.
* @return InputInfo The information of the file processed.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public MediaInputInfo getInputInfo() {
return this.InputInfo;
}
/**
* Set The information of the file processed.
Note: This field may return null, indicating that no valid values can be obtained.
* @param InputInfo The information of the file processed.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setInputInfo(MediaInputInfo InputInfo) {
this.InputInfo = InputInfo;
}
/**
* Get The metadata of the source video.
Note: This field may return null, indicating that no valid values can be obtained.
* @return MetaData The metadata of the source video.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public MediaMetaData getMetaData() {
return this.MetaData;
}
/**
* Set The metadata of the source video.
Note: This field may return null, indicating that no valid values can be obtained.
* @param MetaData The metadata of the source video.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setMetaData(MediaMetaData MetaData) {
this.MetaData = MetaData;
}
/**
* Get The output of the scheme.
Note: This field may return null, indicating that no valid values can be obtained.
* @return ActivityResultSet The output of the scheme.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public ActivityResult [] getActivityResultSet() {
return this.ActivityResultSet;
}
/**
* Set The output of the scheme.
Note: This field may return null, indicating that no valid values can be obtained.
* @param ActivityResultSet The output of the scheme.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setActivityResultSet(ActivityResult [] ActivityResultSet) {
this.ActivityResultSet = ActivityResultSet;
}
public ScheduleTask() {
}
/**
* 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 ScheduleTask(ScheduleTask source) {
if (source.TaskId != null) {
this.TaskId = new String(source.TaskId);
}
if (source.Status != null) {
this.Status = new String(source.Status);
}
if (source.ErrCode != null) {
this.ErrCode = new Long(source.ErrCode);
}
if (source.Message != null) {
this.Message = new String(source.Message);
}
if (source.InputInfo != null) {
this.InputInfo = new MediaInputInfo(source.InputInfo);
}
if (source.MetaData != null) {
this.MetaData = new MediaMetaData(source.MetaData);
}
if (source.ActivityResultSet != null) {
this.ActivityResultSet = new ActivityResult[source.ActivityResultSet.length];
for (int i = 0; i < source.ActivityResultSet.length; i++) {
this.ActivityResultSet[i] = new ActivityResult(source.ActivityResultSet[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 + "Status", this.Status);
this.setParamSimple(map, prefix + "ErrCode", this.ErrCode);
this.setParamSimple(map, prefix + "Message", this.Message);
this.setParamObj(map, prefix + "InputInfo.", this.InputInfo);
this.setParamObj(map, prefix + "MetaData.", this.MetaData);
this.setParamArrayObj(map, prefix + "ActivityResultSet.", this.ActivityResultSet);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy