com.aliyuncs.fnf.model.v20190315.CreateFlowRequest 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.fnf.model.v20190315;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class CreateFlowRequest extends RpcAcsRequest {
public CreateFlowRequest() {
super("fnf", "2019-03-15", "CreateFlow", "fnf");
setMethod(MethodType.POST);
}
private String requestId;
private String roleArn;
private String name;
private String description;
private String definition;
private String type;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
if(requestId != null){
putQueryParameter("RequestId", requestId);
}
}
public String getRoleArn() {
return this.roleArn;
}
public void setRoleArn(String roleArn) {
this.roleArn = roleArn;
if(roleArn != null){
putBodyParameter("RoleArn", roleArn);
}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putBodyParameter("Name", name);
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putBodyParameter("Description", description);
}
}
public String getDefinition() {
return this.definition;
}
public void setDefinition(String definition) {
this.definition = definition;
if(definition != null){
putBodyParameter("Definition", definition);
}
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
if(type != null){
putBodyParameter("Type", type);
}
}
@Override
public Class getResponseClass() {
return CreateFlowResponse.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy