com.aliyun.dingtalkexclusive_1_0.models.ListPartnerRolesResponseBody 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.dingtalkexclusive_1_0.models;
import com.aliyun.tea.*;
public class ListPartnerRolesResponseBody extends TeaModel {
@NameInMap("list")
public java.util.List list;
public static ListPartnerRolesResponseBody build(java.util.Map map) throws Exception {
ListPartnerRolesResponseBody self = new ListPartnerRolesResponseBody();
return TeaModel.build(map, self);
}
public ListPartnerRolesResponseBody setList(java.util.List list) {
this.list = list;
return this;
}
public java.util.List getList() {
return this.list;
}
public static class ListPartnerRolesResponseBodyListVisibleDepts extends TeaModel {
// 部门id
@NameInMap("deptId")
public Long deptId;
// 部门名称
@NameInMap("name")
public String name;
public static ListPartnerRolesResponseBodyListVisibleDepts build(java.util.Map map) throws Exception {
ListPartnerRolesResponseBodyListVisibleDepts self = new ListPartnerRolesResponseBodyListVisibleDepts();
return TeaModel.build(map, self);
}
public ListPartnerRolesResponseBodyListVisibleDepts setDeptId(Long deptId) {
this.deptId = deptId;
return this;
}
public Long getDeptId() {
return this.deptId;
}
public ListPartnerRolesResponseBodyListVisibleDepts setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
}
public static class ListPartnerRolesResponseBodyListVisibleUsers extends TeaModel {
// 员工姓名
@NameInMap("name")
public String name;
// 员工id
@NameInMap("userId")
public String userId;
public static ListPartnerRolesResponseBodyListVisibleUsers build(java.util.Map map) throws Exception {
ListPartnerRolesResponseBodyListVisibleUsers self = new ListPartnerRolesResponseBodyListVisibleUsers();
return TeaModel.build(map, self);
}
public ListPartnerRolesResponseBodyListVisibleUsers setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public ListPartnerRolesResponseBodyListVisibleUsers setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
public static class ListPartnerRolesResponseBodyListWarningDepts extends TeaModel {
// 部门id
@NameInMap("deptId")
public Long deptId;
// 部门名称
@NameInMap("name")
public String name;
public static ListPartnerRolesResponseBodyListWarningDepts build(java.util.Map map) throws Exception {
ListPartnerRolesResponseBodyListWarningDepts self = new ListPartnerRolesResponseBodyListWarningDepts();
return TeaModel.build(map, self);
}
public ListPartnerRolesResponseBodyListWarningDepts setDeptId(Long deptId) {
this.deptId = deptId;
return this;
}
public Long getDeptId() {
return this.deptId;
}
public ListPartnerRolesResponseBodyListWarningDepts setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
}
public static class ListPartnerRolesResponseBodyListWarningUsers extends TeaModel {
// 员工姓名
@NameInMap("name")
public String name;
// 员工id
@NameInMap("userId")
public String userId;
public static ListPartnerRolesResponseBodyListWarningUsers build(java.util.Map map) throws Exception {
ListPartnerRolesResponseBodyListWarningUsers self = new ListPartnerRolesResponseBodyListWarningUsers();
return TeaModel.build(map, self);
}
public ListPartnerRolesResponseBodyListWarningUsers setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public ListPartnerRolesResponseBodyListWarningUsers setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
public static class ListPartnerRolesResponseBodyList extends TeaModel {
// 角色id
@NameInMap("id")
public Long id;
// 是否必邀角色
@NameInMap("isNecessary")
public Integer isNecessary;
// 角色名称
@NameInMap("name")
public String name;
// 可见部门
@NameInMap("visibleDepts")
public java.util.List visibleDepts;
// 可见员工
@NameInMap("visibleUsers")
public java.util.List visibleUsers;
// 预警部门
@NameInMap("warningDepts")
public java.util.List warningDepts;
// 预警成员
@NameInMap("warningUsers")
public java.util.List warningUsers;
public static ListPartnerRolesResponseBodyList build(java.util.Map map) throws Exception {
ListPartnerRolesResponseBodyList self = new ListPartnerRolesResponseBodyList();
return TeaModel.build(map, self);
}
public ListPartnerRolesResponseBodyList setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public ListPartnerRolesResponseBodyList setIsNecessary(Integer isNecessary) {
this.isNecessary = isNecessary;
return this;
}
public Integer getIsNecessary() {
return this.isNecessary;
}
public ListPartnerRolesResponseBodyList setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public ListPartnerRolesResponseBodyList setVisibleDepts(java.util.List visibleDepts) {
this.visibleDepts = visibleDepts;
return this;
}
public java.util.List getVisibleDepts() {
return this.visibleDepts;
}
public ListPartnerRolesResponseBodyList setVisibleUsers(java.util.List visibleUsers) {
this.visibleUsers = visibleUsers;
return this;
}
public java.util.List getVisibleUsers() {
return this.visibleUsers;
}
public ListPartnerRolesResponseBodyList setWarningDepts(java.util.List warningDepts) {
this.warningDepts = warningDepts;
return this;
}
public java.util.List getWarningDepts() {
return this.warningDepts;
}
public ListPartnerRolesResponseBodyList setWarningUsers(java.util.List warningUsers) {
this.warningUsers = warningUsers;
return this;
}
public java.util.List getWarningUsers() {
return this.warningUsers;
}
}
}