![JAR search and dependency download from the Maven repository](/logo.png)
com.tencentcloudapi.wedata.v20210820.models.SubmitWorkflowRequest 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.wedata.v20210820.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 SubmitWorkflowRequest extends AbstractModel {
/**
* Project ID
*/
@SerializedName("ProjectId")
@Expose
private String ProjectId;
/**
* Workflow ID
*/
@SerializedName("WorkflowId")
@Expose
private String WorkflowId;
/**
* Submitted Version Notes
*/
@SerializedName("VersionRemark")
@Expose
private String VersionRemark;
/**
* Whether to Enable Scheduling
*/
@SerializedName("StartScheduling")
@Expose
private Boolean StartScheduling;
/**
* Get Project ID
* @return ProjectId Project ID
*/
public String getProjectId() {
return this.ProjectId;
}
/**
* Set Project ID
* @param ProjectId Project ID
*/
public void setProjectId(String ProjectId) {
this.ProjectId = ProjectId;
}
/**
* Get Workflow ID
* @return WorkflowId Workflow ID
*/
public String getWorkflowId() {
return this.WorkflowId;
}
/**
* Set Workflow ID
* @param WorkflowId Workflow ID
*/
public void setWorkflowId(String WorkflowId) {
this.WorkflowId = WorkflowId;
}
/**
* Get Submitted Version Notes
* @return VersionRemark Submitted Version Notes
*/
public String getVersionRemark() {
return this.VersionRemark;
}
/**
* Set Submitted Version Notes
* @param VersionRemark Submitted Version Notes
*/
public void setVersionRemark(String VersionRemark) {
this.VersionRemark = VersionRemark;
}
/**
* Get Whether to Enable Scheduling
* @return StartScheduling Whether to Enable Scheduling
*/
public Boolean getStartScheduling() {
return this.StartScheduling;
}
/**
* Set Whether to Enable Scheduling
* @param StartScheduling Whether to Enable Scheduling
*/
public void setStartScheduling(Boolean StartScheduling) {
this.StartScheduling = StartScheduling;
}
public SubmitWorkflowRequest() {
}
/**
* 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 SubmitWorkflowRequest(SubmitWorkflowRequest source) {
if (source.ProjectId != null) {
this.ProjectId = new String(source.ProjectId);
}
if (source.WorkflowId != null) {
this.WorkflowId = new String(source.WorkflowId);
}
if (source.VersionRemark != null) {
this.VersionRemark = new String(source.VersionRemark);
}
if (source.StartScheduling != null) {
this.StartScheduling = new Boolean(source.StartScheduling);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "ProjectId", this.ProjectId);
this.setParamSimple(map, prefix + "WorkflowId", this.WorkflowId);
this.setParamSimple(map, prefix + "VersionRemark", this.VersionRemark);
this.setParamSimple(map, prefix + "StartScheduling", this.StartScheduling);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy