com.aliyuncs.dds.model.v20151201.ModifyTaskInfoRequest Maven / Gradle / Ivy
/*
* 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.aliyuncs.dds.model.v20151201;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.dds.Endpoint;
/**
* @author auto create
* @version
*/
public class ModifyTaskInfoRequest extends RpcAcsRequest {
private Long resourceOwnerId;
private String taskId;
private String resourceOwnerAccount;
private String stepName;
private String actionParams;
private String taskAction;
public ModifyTaskInfoRequest() {
super("Dds", "2015-12-01", "ModifyTaskInfo", "dds");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getTaskId() {
return this.taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
if(taskId != null){
putQueryParameter("TaskId", taskId);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getStepName() {
return this.stepName;
}
public void setStepName(String stepName) {
this.stepName = stepName;
if(stepName != null){
putQueryParameter("StepName", stepName);
}
}
public String getActionParams() {
return this.actionParams;
}
public void setActionParams(String actionParams) {
this.actionParams = actionParams;
if(actionParams != null){
putQueryParameter("ActionParams", actionParams);
}
}
public String getTaskAction() {
return this.taskAction;
}
public void setTaskAction(String taskAction) {
this.taskAction = taskAction;
if(taskAction != null){
putQueryParameter("TaskAction", taskAction);
}
}
@Override
public Class getResponseClass() {
return ModifyTaskInfoResponse.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy