com.aliyun.dingtalkresident_1_0.models.AddResidentDepartmentRequest 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.dingtalkresident_1_0.models;
import com.aliyun.tea.*;
public class AddResidentDepartmentRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 第一网格组
*/
@NameInMap("departmentName")
public String departmentName;
/**
* example:
* true
*/
@NameInMap("isResidenceGroup")
public Boolean isResidenceGroup;
/**
* This parameter is required.
*
* example:
* 12345
*/
@NameInMap("parentDepartmentId")
public Long parentDepartmentId;
public static AddResidentDepartmentRequest build(java.util.Map map) throws Exception {
AddResidentDepartmentRequest self = new AddResidentDepartmentRequest();
return TeaModel.build(map, self);
}
public AddResidentDepartmentRequest setDepartmentName(String departmentName) {
this.departmentName = departmentName;
return this;
}
public String getDepartmentName() {
return this.departmentName;
}
public AddResidentDepartmentRequest setIsResidenceGroup(Boolean isResidenceGroup) {
this.isResidenceGroup = isResidenceGroup;
return this;
}
public Boolean getIsResidenceGroup() {
return this.isResidenceGroup;
}
public AddResidentDepartmentRequest setParentDepartmentId(Long parentDepartmentId) {
this.parentDepartmentId = parentDepartmentId;
return this;
}
public Long getParentDepartmentId() {
return this.parentDepartmentId;
}
}