com.aliyun.dingtalkmicro_app_1_0.models.GetMicroAppScopeResponseBody 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.dingtalkmicro_app_1_0.models;
import com.aliyun.tea.*;
public class GetMicroAppScopeResponseBody extends TeaModel {
// 可见范围结果
@NameInMap("result")
public GetMicroAppScopeResponseBodyResult result;
public static GetMicroAppScopeResponseBody build(java.util.Map map) throws Exception {
GetMicroAppScopeResponseBody self = new GetMicroAppScopeResponseBody();
return TeaModel.build(map, self);
}
public GetMicroAppScopeResponseBody setResult(GetMicroAppScopeResponseBodyResult result) {
this.result = result;
return this;
}
public GetMicroAppScopeResponseBodyResult getResult() {
return this.result;
}
public static class GetMicroAppScopeResponseBodyResult extends TeaModel {
// 部门可见列表
@NameInMap("deptIds")
public java.util.List deptIds;
// 是否管理员可见。如果为true,优先看这个字段
@NameInMap("onlyAdminVisible")
public Boolean onlyAdminVisible;
// 角色可见列表
@NameInMap("roleIds")
public java.util.List roleIds;
// 用户可见列表
@NameInMap("userIds")
public java.util.List userIds;
public static GetMicroAppScopeResponseBodyResult build(java.util.Map map) throws Exception {
GetMicroAppScopeResponseBodyResult self = new GetMicroAppScopeResponseBodyResult();
return TeaModel.build(map, self);
}
public GetMicroAppScopeResponseBodyResult setDeptIds(java.util.List deptIds) {
this.deptIds = deptIds;
return this;
}
public java.util.List getDeptIds() {
return this.deptIds;
}
public GetMicroAppScopeResponseBodyResult setOnlyAdminVisible(Boolean onlyAdminVisible) {
this.onlyAdminVisible = onlyAdminVisible;
return this;
}
public Boolean getOnlyAdminVisible() {
return this.onlyAdminVisible;
}
public GetMicroAppScopeResponseBodyResult setRoleIds(java.util.List roleIds) {
this.roleIds = roleIds;
return this;
}
public java.util.List getRoleIds() {
return this.roleIds;
}
public GetMicroAppScopeResponseBodyResult setUserIds(java.util.List userIds) {
this.userIds = userIds;
return this;
}
public java.util.List getUserIds() {
return this.userIds;
}
}
}