com.aliyun.dingtalkindustry_1_0.models.SupplyAddDeptRequest 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.dingtalkindustry_1_0.models;
import com.aliyun.tea.*;
public class SupplyAddDeptRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 闪电供应商
*/
@NameInMap("deptName")
public String deptName;
/**
* example:
* G12345
*/
@NameInMap("partnerNumber")
public String partnerNumber;
/**
* This parameter is required.
*
* example:
* 1111
*/
@NameInMap("superDeptId")
public Long superDeptId;
/**
* This parameter is required.
*
* example:
* SUPPLY_CHAIN_DEPT_TYPE
*/
@NameInMap("supplyDeptType")
public String supplyDeptType;
public static SupplyAddDeptRequest build(java.util.Map map) throws Exception {
SupplyAddDeptRequest self = new SupplyAddDeptRequest();
return TeaModel.build(map, self);
}
public SupplyAddDeptRequest setDeptName(String deptName) {
this.deptName = deptName;
return this;
}
public String getDeptName() {
return this.deptName;
}
public SupplyAddDeptRequest setPartnerNumber(String partnerNumber) {
this.partnerNumber = partnerNumber;
return this;
}
public String getPartnerNumber() {
return this.partnerNumber;
}
public SupplyAddDeptRequest setSuperDeptId(Long superDeptId) {
this.superDeptId = superDeptId;
return this;
}
public Long getSuperDeptId() {
return this.superDeptId;
}
public SupplyAddDeptRequest setSupplyDeptType(String supplyDeptType) {
this.supplyDeptType = supplyDeptType;
return this;
}
public String getSupplyDeptType() {
return this.supplyDeptType;
}
}