com.aliyun.dingtalkresident_1_0.models.UpdateResidentMemberRequest 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 UpdateResidentMemberRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 测试小区1
*/
@NameInMap("residentUpdateInfo")
public UpdateResidentMemberRequestResidentUpdateInfo residentUpdateInfo;
/**
* This parameter is required.
*
* example:
* 1212
*/
@NameInMap("unionId")
public String unionId;
public static UpdateResidentMemberRequest build(java.util.Map map) throws Exception {
UpdateResidentMemberRequest self = new UpdateResidentMemberRequest();
return TeaModel.build(map, self);
}
public UpdateResidentMemberRequest setResidentUpdateInfo(UpdateResidentMemberRequestResidentUpdateInfo residentUpdateInfo) {
this.residentUpdateInfo = residentUpdateInfo;
return this;
}
public UpdateResidentMemberRequestResidentUpdateInfo getResidentUpdateInfo() {
return this.residentUpdateInfo;
}
public UpdateResidentMemberRequest setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
public static class UpdateResidentMemberRequestResidentUpdateInfo extends TeaModel {
/**
* This parameter is required.
*
* example:
* 11112
*/
@NameInMap("deptId")
public Long deptId;
/**
* example:
* true
*/
@NameInMap("isPropertyOwner")
public Boolean isPropertyOwner;
/**
* example:
* {"startTime":1652358627106,"endTime":1652445027106}
*/
@NameInMap("memberDeptExtension")
public java.util.Map memberDeptExtension;
/**
* This parameter is required.
*
* example:
* 张三
*/
@NameInMap("name")
public String name;
/**
* This parameter is required.
*
* example:
* 11123
*/
@NameInMap("oldDeptId")
public Long oldDeptId;
/**
* example:
* 1
*/
@NameInMap("relateType")
public String relateType;
/**
* example:
* 11123
*/
@NameInMap("userId")
public String userId;
public static UpdateResidentMemberRequestResidentUpdateInfo build(java.util.Map map) throws Exception {
UpdateResidentMemberRequestResidentUpdateInfo self = new UpdateResidentMemberRequestResidentUpdateInfo();
return TeaModel.build(map, self);
}
public UpdateResidentMemberRequestResidentUpdateInfo setDeptId(Long deptId) {
this.deptId = deptId;
return this;
}
public Long getDeptId() {
return this.deptId;
}
public UpdateResidentMemberRequestResidentUpdateInfo setIsPropertyOwner(Boolean isPropertyOwner) {
this.isPropertyOwner = isPropertyOwner;
return this;
}
public Boolean getIsPropertyOwner() {
return this.isPropertyOwner;
}
public UpdateResidentMemberRequestResidentUpdateInfo setMemberDeptExtension(java.util.Map memberDeptExtension) {
this.memberDeptExtension = memberDeptExtension;
return this;
}
public java.util.Map getMemberDeptExtension() {
return this.memberDeptExtension;
}
public UpdateResidentMemberRequestResidentUpdateInfo setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public UpdateResidentMemberRequestResidentUpdateInfo setOldDeptId(Long oldDeptId) {
this.oldDeptId = oldDeptId;
return this;
}
public Long getOldDeptId() {
return this.oldDeptId;
}
public UpdateResidentMemberRequestResidentUpdateInfo setRelateType(String relateType) {
this.relateType = relateType;
return this;
}
public String getRelateType() {
return this.relateType;
}
public UpdateResidentMemberRequestResidentUpdateInfo setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
}