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
The newest version!
// 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 {
/**
* This parameter is required.
*/
@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 {
/**
* This parameter is required.
*/
@NameInMap("deptId")
public Long deptId;
/**
* This parameter is required.
*/
@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 {
/**
* This parameter is required.
*/
@NameInMap("name")
public String name;
/**
* This parameter is required.
*/
@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 {
/**
* This parameter is required.
*/
@NameInMap("deptId")
public Long deptId;
/**
* This parameter is required.
*/
@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 {
/**
* This parameter is required.
*/
@NameInMap("name")
public String name;
/**
* This parameter is required.
*/
@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 {
/**
* example:
* 123
*/
@NameInMap("id")
public Long id;
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("isNecessary")
public Integer isNecessary;
/**
* This parameter is required.
*
* example:
* 供应商
*/
@NameInMap("name")
public String name;
/**
* This parameter is required.
*/
@NameInMap("visibleDepts")
public java.util.List visibleDepts;
/**
* This parameter is required.
*/
@NameInMap("visibleUsers")
public java.util.List visibleUsers;
/**
* This parameter is required.
*/
@NameInMap("warningDepts")
public java.util.List warningDepts;
/**
* This parameter is required.
*/
@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;
}
}
}