com.aliyun.ccc20200701.models.CreateContactFlowRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ccc20200701 Show documentation
Show all versions of ccc20200701 Show documentation
Alibaba Cloud cloud call center (20200701) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ccc20200701.models;
import com.aliyun.tea.*;
public class CreateContactFlowRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("Definition")
public String definition;
/**
* This parameter is required.
*
* example:
* 1.0
*/
@NameInMap("Description")
public String description;
/**
* This parameter is required.
*
* example:
* ccc-test
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* This parameter is required.
*/
@NameInMap("Name")
public String name;
/**
* This parameter is required.
*
* example:
* MAIN_FLOW
*/
@NameInMap("Type")
public String type;
public static CreateContactFlowRequest build(java.util.Map map) throws Exception {
CreateContactFlowRequest self = new CreateContactFlowRequest();
return TeaModel.build(map, self);
}
public CreateContactFlowRequest setDefinition(String definition) {
this.definition = definition;
return this;
}
public String getDefinition() {
return this.definition;
}
public CreateContactFlowRequest setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public CreateContactFlowRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public CreateContactFlowRequest setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public CreateContactFlowRequest setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}