
com.aliyun.dingtalkresident_1_0.models.UpdateResidentUserRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkresident_1_0.models;
import com.aliyun.tea.*;
public class UpdateResidentUserRequest extends TeaModel {
/**
* example:
* 美好社区创景街道万通公寓
*/
@NameInMap("address")
public String address;
/**
* This parameter is required.
*
* example:
* 12345
*/
@NameInMap("departmentId")
public Long departmentId;
@NameInMap("extField")
public java.util.List extField;
/**
* example:
* false
*/
@NameInMap("isRetainOldDept")
public Boolean isRetainOldDept;
/**
* example:
* 15612345678
*/
@NameInMap("mobile")
public String mobile;
/**
* This parameter is required.
*
* example:
* 12345
*/
@NameInMap("oldDepartmentId")
public Long oldDepartmentId;
/**
* example:
* SELF
*
* if can be null:
* true
*/
@NameInMap("relateType")
public String relateType;
/**
* This parameter is required.
*
* example:
* 12345
*/
@NameInMap("userId")
public String userId;
/**
* This parameter is required.
*
* example:
* 王建国
*/
@NameInMap("userName")
public String userName;
public static UpdateResidentUserRequest build(java.util.Map map) throws Exception {
UpdateResidentUserRequest self = new UpdateResidentUserRequest();
return TeaModel.build(map, self);
}
public UpdateResidentUserRequest setAddress(String address) {
this.address = address;
return this;
}
public String getAddress() {
return this.address;
}
public UpdateResidentUserRequest setDepartmentId(Long departmentId) {
this.departmentId = departmentId;
return this;
}
public Long getDepartmentId() {
return this.departmentId;
}
public UpdateResidentUserRequest setExtField(java.util.List extField) {
this.extField = extField;
return this;
}
public java.util.List getExtField() {
return this.extField;
}
public UpdateResidentUserRequest setIsRetainOldDept(Boolean isRetainOldDept) {
this.isRetainOldDept = isRetainOldDept;
return this;
}
public Boolean getIsRetainOldDept() {
return this.isRetainOldDept;
}
public UpdateResidentUserRequest setMobile(String mobile) {
this.mobile = mobile;
return this;
}
public String getMobile() {
return this.mobile;
}
public UpdateResidentUserRequest setOldDepartmentId(Long oldDepartmentId) {
this.oldDepartmentId = oldDepartmentId;
return this;
}
public Long getOldDepartmentId() {
return this.oldDepartmentId;
}
public UpdateResidentUserRequest setRelateType(String relateType) {
this.relateType = relateType;
return this;
}
public String getRelateType() {
return this.relateType;
}
public UpdateResidentUserRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
public UpdateResidentUserRequest setUserName(String userName) {
this.userName = userName;
return this;
}
public String getUserName() {
return this.userName;
}
public static class UpdateResidentUserRequestExtField extends TeaModel {
/**
* example:
* 性别
*/
@NameInMap("itemName")
public String itemName;
/**
* example:
* 女
*/
@NameInMap("itemValue")
public String itemValue;
public static UpdateResidentUserRequestExtField build(java.util.Map map) throws Exception {
UpdateResidentUserRequestExtField self = new UpdateResidentUserRequestExtField();
return TeaModel.build(map, self);
}
public UpdateResidentUserRequestExtField setItemName(String itemName) {
this.itemName = itemName;
return this;
}
public String getItemName() {
return this.itemName;
}
public UpdateResidentUserRequestExtField setItemValue(String itemValue) {
this.itemValue = itemValue;
return this;
}
public String getItemValue() {
return this.itemValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy