com.aliyun.dingtalkindustry_1_0.models.SupplyChainQueryDeptInfoResponseBody 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 SupplyChainQueryDeptInfoResponseBody extends TeaModel {
@NameInMap("result")
public SupplyChainQueryDeptInfoResponseBodyResult result;
public static SupplyChainQueryDeptInfoResponseBody build(java.util.Map map) throws Exception {
SupplyChainQueryDeptInfoResponseBody self = new SupplyChainQueryDeptInfoResponseBody();
return TeaModel.build(map, self);
}
public SupplyChainQueryDeptInfoResponseBody setResult(SupplyChainQueryDeptInfoResponseBodyResult result) {
this.result = result;
return this;
}
public SupplyChainQueryDeptInfoResponseBodyResult getResult() {
return this.result;
}
public static class SupplyChainQueryDeptInfoResponseBodyResultPartnerTypeInfoList extends TeaModel {
/**
* example:
* 111
*/
@NameInMap("id")
public Long id;
/**
* example:
* 11111
*/
@NameInMap("name")
public String name;
/**
* example:
* 1111
*/
@NameInMap("superId")
public Long superId;
/**
* example:
* 1111
*/
@NameInMap("superName")
public String superName;
public static SupplyChainQueryDeptInfoResponseBodyResultPartnerTypeInfoList build(java.util.Map map) throws Exception {
SupplyChainQueryDeptInfoResponseBodyResultPartnerTypeInfoList self = new SupplyChainQueryDeptInfoResponseBodyResultPartnerTypeInfoList();
return TeaModel.build(map, self);
}
public SupplyChainQueryDeptInfoResponseBodyResultPartnerTypeInfoList setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public SupplyChainQueryDeptInfoResponseBodyResultPartnerTypeInfoList setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public SupplyChainQueryDeptInfoResponseBodyResultPartnerTypeInfoList setSuperId(Long superId) {
this.superId = superId;
return this;
}
public Long getSuperId() {
return this.superId;
}
public SupplyChainQueryDeptInfoResponseBodyResultPartnerTypeInfoList setSuperName(String superName) {
this.superName = superName;
return this;
}
public String getSuperName() {
return this.superName;
}
}
public static class SupplyChainQueryDeptInfoResponseBodyResult extends TeaModel {
/**
* example:
* 1111
*/
@NameInMap("deptId")
public Long deptId;
/**
* example:
* ROOT
*/
@NameInMap("deptType")
public String deptType;
@NameInMap("hasSubDept")
public Boolean hasSubDept;
/**
* example:
* xxxx 有限公司
*/
@NameInMap("name")
public String name;
/**
* example:
* 111111
*/
@NameInMap("partnerNumber")
public String partnerNumber;
@NameInMap("partnerTypeInfoList")
public java.util.List partnerTypeInfoList;
/**
* example:
* 1111
*/
@NameInMap("superId")
public Long superId;
public static SupplyChainQueryDeptInfoResponseBodyResult build(java.util.Map map) throws Exception {
SupplyChainQueryDeptInfoResponseBodyResult self = new SupplyChainQueryDeptInfoResponseBodyResult();
return TeaModel.build(map, self);
}
public SupplyChainQueryDeptInfoResponseBodyResult setDeptId(Long deptId) {
this.deptId = deptId;
return this;
}
public Long getDeptId() {
return this.deptId;
}
public SupplyChainQueryDeptInfoResponseBodyResult setDeptType(String deptType) {
this.deptType = deptType;
return this;
}
public String getDeptType() {
return this.deptType;
}
public SupplyChainQueryDeptInfoResponseBodyResult setHasSubDept(Boolean hasSubDept) {
this.hasSubDept = hasSubDept;
return this;
}
public Boolean getHasSubDept() {
return this.hasSubDept;
}
public SupplyChainQueryDeptInfoResponseBodyResult setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public SupplyChainQueryDeptInfoResponseBodyResult setPartnerNumber(String partnerNumber) {
this.partnerNumber = partnerNumber;
return this;
}
public String getPartnerNumber() {
return this.partnerNumber;
}
public SupplyChainQueryDeptInfoResponseBodyResult setPartnerTypeInfoList(java.util.List partnerTypeInfoList) {
this.partnerTypeInfoList = partnerTypeInfoList;
return this;
}
public java.util.List getPartnerTypeInfoList() {
return this.partnerTypeInfoList;
}
public SupplyChainQueryDeptInfoResponseBodyResult setSuperId(Long superId) {
this.superId = superId;
return this;
}
public Long getSuperId() {
return this.superId;
}
}
}