com.aliyun.dingtalkchengfeng_1_0.models.CfOrgResp 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.dingtalkchengfeng_1_0.models;
import com.aliyun.tea.*;
public class CfOrgResp extends TeaModel {
/**
* This parameter is required.
*
* example:
* 01
*/
@NameInMap("deptCode")
public String deptCode;
/**
* This parameter is required.
*
* example:
* 一级部门
*/
@NameInMap("deptName")
public String deptName;
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("level")
public Long level;
/**
* This parameter is required.
*
* example:
* 1/01
*/
@NameInMap("organizationCodePath")
public String organizationCodePath;
/**
* This parameter is required.
*
* example:
* 公司/一级部门
*/
@NameInMap("organizationPath")
public String organizationPath;
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("parentDeptCode")
public String parentDeptCode;
public static CfOrgResp build(java.util.Map map) throws Exception {
CfOrgResp self = new CfOrgResp();
return TeaModel.build(map, self);
}
public CfOrgResp setDeptCode(String deptCode) {
this.deptCode = deptCode;
return this;
}
public String getDeptCode() {
return this.deptCode;
}
public CfOrgResp setDeptName(String deptName) {
this.deptName = deptName;
return this;
}
public String getDeptName() {
return this.deptName;
}
public CfOrgResp setLevel(Long level) {
this.level = level;
return this;
}
public Long getLevel() {
return this.level;
}
public CfOrgResp setOrganizationCodePath(String organizationCodePath) {
this.organizationCodePath = organizationCodePath;
return this;
}
public String getOrganizationCodePath() {
return this.organizationCodePath;
}
public CfOrgResp setOrganizationPath(String organizationPath) {
this.organizationPath = organizationPath;
return this;
}
public String getOrganizationPath() {
return this.organizationPath;
}
public CfOrgResp setParentDeptCode(String parentDeptCode) {
this.parentDeptCode = parentDeptCode;
return this;
}
public String getParentDeptCode() {
return this.parentDeptCode;
}
}