![JAR search and dependency download from the Maven repository](/logo.png)
com.tencentcloudapi.mps.v20190612.models.ModifyScheduleRequest 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 ModifyScheduleRequest extends AbstractModel {
/**
* The scheme ID.
*/
@SerializedName("ScheduleId")
@Expose
private Long ScheduleId;
/**
* The scheme name.
*/
@SerializedName("ScheduleName")
@Expose
private String ScheduleName;
/**
* The trigger of the scheme.
*/
@SerializedName("Trigger")
@Expose
private WorkflowTrigger Trigger;
/**
* The subtasks of the scheme.
Note: You need to pass in the full list of subtasks even if you want to change only some of the subtasks.
*/
@SerializedName("Activities")
@Expose
private Activity [] Activities;
/**
* The bucket to save the output file.
*/
@SerializedName("OutputStorage")
@Expose
private TaskOutputStorage OutputStorage;
/**
* The directory to save the media processing output file, which must start and end with `/`.
Note: If this parameter is left empty, the current `OutputDir` value will be invalidated.
*/
@SerializedName("OutputDir")
@Expose
private String OutputDir;
/**
* The notification configuration.
*/
@SerializedName("TaskNotifyConfig")
@Expose
private TaskNotifyConfig TaskNotifyConfig;
/**
* Resource ID. Ensure the corresponding resource is in the enabled state.
*/
@SerializedName("ResourceId")
@Expose
private String ResourceId;
/**
* Get The scheme ID.
* @return ScheduleId The scheme ID.
*/
public Long getScheduleId() {
return this.ScheduleId;
}
/**
* Set The scheme ID.
* @param ScheduleId The scheme ID.
*/
public void setScheduleId(Long ScheduleId) {
this.ScheduleId = ScheduleId;
}
/**
* Get The scheme name.
* @return ScheduleName The scheme name.
*/
public String getScheduleName() {
return this.ScheduleName;
}
/**
* Set The scheme name.
* @param ScheduleName The scheme name.
*/
public void setScheduleName(String ScheduleName) {
this.ScheduleName = ScheduleName;
}
/**
* Get The trigger of the scheme.
* @return Trigger The trigger of the scheme.
*/
public WorkflowTrigger getTrigger() {
return this.Trigger;
}
/**
* Set The trigger of the scheme.
* @param Trigger The trigger of the scheme.
*/
public void setTrigger(WorkflowTrigger Trigger) {
this.Trigger = Trigger;
}
/**
* Get The subtasks of the scheme.
Note: You need to pass in the full list of subtasks even if you want to change only some of the subtasks.
* @return Activities The subtasks of the scheme.
Note: You need to pass in the full list of subtasks even if you want to change only some of the subtasks.
*/
public Activity [] getActivities() {
return this.Activities;
}
/**
* Set The subtasks of the scheme.
Note: You need to pass in the full list of subtasks even if you want to change only some of the subtasks.
* @param Activities The subtasks of the scheme.
Note: You need to pass in the full list of subtasks even if you want to change only some of the subtasks.
*/
public void setActivities(Activity [] Activities) {
this.Activities = Activities;
}
/**
* Get The bucket to save the output file.
* @return OutputStorage The bucket to save the output file.
*/
public TaskOutputStorage getOutputStorage() {
return this.OutputStorage;
}
/**
* Set The bucket to save the output file.
* @param OutputStorage The bucket to save the output file.
*/
public void setOutputStorage(TaskOutputStorage OutputStorage) {
this.OutputStorage = OutputStorage;
}
/**
* Get The directory to save the media processing output file, which must start and end with `/`.
Note: If this parameter is left empty, the current `OutputDir` value will be invalidated.
* @return OutputDir The directory to save the media processing output file, which must start and end with `/`.
Note: If this parameter is left empty, the current `OutputDir` value will be invalidated.
*/
public String getOutputDir() {
return this.OutputDir;
}
/**
* Set The directory to save the media processing output file, which must start and end with `/`.
Note: If this parameter is left empty, the current `OutputDir` value will be invalidated.
* @param OutputDir The directory to save the media processing output file, which must start and end with `/`.
Note: If this parameter is left empty, the current `OutputDir` value will be invalidated.
*/
public void setOutputDir(String OutputDir) {
this.OutputDir = OutputDir;
}
/**
* Get The notification configuration.
* @return TaskNotifyConfig The notification configuration.
*/
public TaskNotifyConfig getTaskNotifyConfig() {
return this.TaskNotifyConfig;
}
/**
* Set The notification configuration.
* @param TaskNotifyConfig The notification configuration.
*/
public void setTaskNotifyConfig(TaskNotifyConfig TaskNotifyConfig) {
this.TaskNotifyConfig = TaskNotifyConfig;
}
/**
* Get Resource ID. Ensure the corresponding resource is in the enabled state.
* @return ResourceId Resource ID. Ensure the corresponding resource is in the enabled state.
*/
public String getResourceId() {
return this.ResourceId;
}
/**
* Set Resource ID. Ensure the corresponding resource is in the enabled state.
* @param ResourceId Resource ID. Ensure the corresponding resource is in the enabled state.
*/
public void setResourceId(String ResourceId) {
this.ResourceId = ResourceId;
}
public ModifyScheduleRequest() {
}
/**
* 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 ModifyScheduleRequest(ModifyScheduleRequest source) {
if (source.ScheduleId != null) {
this.ScheduleId = new Long(source.ScheduleId);
}
if (source.ScheduleName != null) {
this.ScheduleName = new String(source.ScheduleName);
}
if (source.Trigger != null) {
this.Trigger = new WorkflowTrigger(source.Trigger);
}
if (source.Activities != null) {
this.Activities = new Activity[source.Activities.length];
for (int i = 0; i < source.Activities.length; i++) {
this.Activities[i] = new Activity(source.Activities[i]);
}
}
if (source.OutputStorage != null) {
this.OutputStorage = new TaskOutputStorage(source.OutputStorage);
}
if (source.OutputDir != null) {
this.OutputDir = new String(source.OutputDir);
}
if (source.TaskNotifyConfig != null) {
this.TaskNotifyConfig = new TaskNotifyConfig(source.TaskNotifyConfig);
}
if (source.ResourceId != null) {
this.ResourceId = new String(source.ResourceId);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "ScheduleId", this.ScheduleId);
this.setParamSimple(map, prefix + "ScheduleName", this.ScheduleName);
this.setParamObj(map, prefix + "Trigger.", this.Trigger);
this.setParamArrayObj(map, prefix + "Activities.", this.Activities);
this.setParamObj(map, prefix + "OutputStorage.", this.OutputStorage);
this.setParamSimple(map, prefix + "OutputDir", this.OutputDir);
this.setParamObj(map, prefix + "TaskNotifyConfig.", this.TaskNotifyConfig);
this.setParamSimple(map, prefix + "ResourceId", this.ResourceId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy