com.aliyun.dingtalktrade_1_0.models.CreateOpportunityRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalktrade_1_0.models;
import com.aliyun.tea.*;
public class CreateOpportunityRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("belongToPhoneNum")
public String belongToPhoneNum;
/**
* This parameter is required.
*/
@NameInMap("contactPhoneNum")
public String contactPhoneNum;
/**
* This parameter is required.
*/
@NameInMap("corpId")
public String corpId;
@NameInMap("deptId")
public Long deptId;
/**
* This parameter is required.
*/
@NameInMap("marketCode")
public String marketCode;
public static CreateOpportunityRequest build(java.util.Map map) throws Exception {
CreateOpportunityRequest self = new CreateOpportunityRequest();
return TeaModel.build(map, self);
}
public CreateOpportunityRequest setBelongToPhoneNum(String belongToPhoneNum) {
this.belongToPhoneNum = belongToPhoneNum;
return this;
}
public String getBelongToPhoneNum() {
return this.belongToPhoneNum;
}
public CreateOpportunityRequest setContactPhoneNum(String contactPhoneNum) {
this.contactPhoneNum = contactPhoneNum;
return this;
}
public String getContactPhoneNum() {
return this.contactPhoneNum;
}
public CreateOpportunityRequest setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public CreateOpportunityRequest setDeptId(Long deptId) {
this.deptId = deptId;
return this;
}
public Long getDeptId() {
return this.deptId;
}
public CreateOpportunityRequest setMarketCode(String marketCode) {
this.marketCode = marketCode;
return this;
}
public String getMarketCode() {
return this.marketCode;
}
}