com.aliyun.dingtalkresident_1_0.models.UpdateResidenceRequest 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 UpdateResidenceRequest extends TeaModel {
// 组id
@NameInMap("departmentId")
public Long departmentId;
// 户名字
@NameInMap("departmentName")
public String departmentName;
// 是否是贫困户
@NameInMap("destitute")
public Boolean destitute;
// 所属网格
@NameInMap("grid")
public String grid;
// 家庭电话
@NameInMap("homeTel")
public String homeTel;
// 家庭管理员用户id
@NameInMap("managerUserId")
public String managerUserId;
// 组id
@NameInMap("parentDepartmentId")
public Long parentDepartmentId;
public static UpdateResidenceRequest build(java.util.Map map) throws Exception {
UpdateResidenceRequest self = new UpdateResidenceRequest();
return TeaModel.build(map, self);
}
public UpdateResidenceRequest setDepartmentId(Long departmentId) {
this.departmentId = departmentId;
return this;
}
public Long getDepartmentId() {
return this.departmentId;
}
public UpdateResidenceRequest setDepartmentName(String departmentName) {
this.departmentName = departmentName;
return this;
}
public String getDepartmentName() {
return this.departmentName;
}
public UpdateResidenceRequest setDestitute(Boolean destitute) {
this.destitute = destitute;
return this;
}
public Boolean getDestitute() {
return this.destitute;
}
public UpdateResidenceRequest setGrid(String grid) {
this.grid = grid;
return this;
}
public String getGrid() {
return this.grid;
}
public UpdateResidenceRequest setHomeTel(String homeTel) {
this.homeTel = homeTel;
return this;
}
public String getHomeTel() {
return this.homeTel;
}
public UpdateResidenceRequest setManagerUserId(String managerUserId) {
this.managerUserId = managerUserId;
return this;
}
public String getManagerUserId() {
return this.managerUserId;
}
public UpdateResidenceRequest setParentDepartmentId(Long parentDepartmentId) {
this.parentDepartmentId = parentDepartmentId;
return this;
}
public Long getParentDepartmentId() {
return this.parentDepartmentId;
}
}