com.aliyun.dingtalkresident_1_0.models.AddResidentMemberRequest 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 AddResidentMemberRequest extends TeaModel {
// 人员信息
@NameInMap("residentAddInfo")
public AddResidentMemberRequestResidentAddInfo residentAddInfo;
public static AddResidentMemberRequest build(java.util.Map map) throws Exception {
AddResidentMemberRequest self = new AddResidentMemberRequest();
return TeaModel.build(map, self);
}
public AddResidentMemberRequest setResidentAddInfo(AddResidentMemberRequestResidentAddInfo residentAddInfo) {
this.residentAddInfo = residentAddInfo;
return this;
}
public AddResidentMemberRequestResidentAddInfo getResidentAddInfo() {
return this.residentAddInfo;
}
public static class AddResidentMemberRequestResidentAddInfo extends TeaModel {
// 部门id
@NameInMap("deptId")
public Long deptId;
// 是否是产权人
@NameInMap("isPropertyOwner")
public Boolean isPropertyOwner;
// 人员扩展信息,目前只有租客的起止时间
@NameInMap("memberDeptExtension")
public java.util.Map memberDeptExtension;
// 手机号
@NameInMap("mobile")
public String mobile;
// 姓名
@NameInMap("name")
public String name;
// 身份,1:业主,2:租客,3:亲友
@NameInMap("relateType")
public String relateType;
public static AddResidentMemberRequestResidentAddInfo build(java.util.Map map) throws Exception {
AddResidentMemberRequestResidentAddInfo self = new AddResidentMemberRequestResidentAddInfo();
return TeaModel.build(map, self);
}
public AddResidentMemberRequestResidentAddInfo setDeptId(Long deptId) {
this.deptId = deptId;
return this;
}
public Long getDeptId() {
return this.deptId;
}
public AddResidentMemberRequestResidentAddInfo setIsPropertyOwner(Boolean isPropertyOwner) {
this.isPropertyOwner = isPropertyOwner;
return this;
}
public Boolean getIsPropertyOwner() {
return this.isPropertyOwner;
}
public AddResidentMemberRequestResidentAddInfo setMemberDeptExtension(java.util.Map memberDeptExtension) {
this.memberDeptExtension = memberDeptExtension;
return this;
}
public java.util.Map getMemberDeptExtension() {
return this.memberDeptExtension;
}
public AddResidentMemberRequestResidentAddInfo setMobile(String mobile) {
this.mobile = mobile;
return this;
}
public String getMobile() {
return this.mobile;
}
public AddResidentMemberRequestResidentAddInfo setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public AddResidentMemberRequestResidentAddInfo setRelateType(String relateType) {
this.relateType = relateType;
return this;
}
public String getRelateType() {
return this.relateType;
}
}
}