com.aliyun.dingtalkcalendar_1_0.models.CreateAclsResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkcalendar_1_0.models;
import com.aliyun.tea.*;
public class CreateAclsResponseBody extends TeaModel {
// acl资源ID
@NameInMap("aclId")
public String aclId;
// 对日历的访问权限
@NameInMap("privilege")
public String privilege;
// 权限范围
@NameInMap("scope")
public CreateAclsResponseBodyScope scope;
public static CreateAclsResponseBody build(java.util.Map map) throws Exception {
CreateAclsResponseBody self = new CreateAclsResponseBody();
return TeaModel.build(map, self);
}
public CreateAclsResponseBody setAclId(String aclId) {
this.aclId = aclId;
return this;
}
public String getAclId() {
return this.aclId;
}
public CreateAclsResponseBody setPrivilege(String privilege) {
this.privilege = privilege;
return this;
}
public String getPrivilege() {
return this.privilege;
}
public CreateAclsResponseBody setScope(CreateAclsResponseBodyScope scope) {
this.scope = scope;
return this;
}
public CreateAclsResponseBodyScope getScope() {
return this.scope;
}
public static class CreateAclsResponseBodyScope extends TeaModel {
// 权限类型
@NameInMap("scopeType")
public String scopeType;
// 用户id
@NameInMap("userId")
public String userId;
public static CreateAclsResponseBodyScope build(java.util.Map map) throws Exception {
CreateAclsResponseBodyScope self = new CreateAclsResponseBodyScope();
return TeaModel.build(map, self);
}
public CreateAclsResponseBodyScope setScopeType(String scopeType) {
this.scopeType = scopeType;
return this;
}
public String getScopeType() {
return this.scopeType;
}
public CreateAclsResponseBodyScope setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
}