com.aliyun.dingtalkdoc_1_0.models.AddWorkspaceDocMembersRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkdoc_1_0.models;
import com.aliyun.tea.*;
public class AddWorkspaceDocMembersRequest extends TeaModel {
// 被操作用户组
@NameInMap("members")
public java.util.List members;
// 发起操作者unionId
@NameInMap("operatorId")
public String operatorId;
public static AddWorkspaceDocMembersRequest build(java.util.Map map) throws Exception {
AddWorkspaceDocMembersRequest self = new AddWorkspaceDocMembersRequest();
return TeaModel.build(map, self);
}
public AddWorkspaceDocMembersRequest setMembers(java.util.List members) {
this.members = members;
return this;
}
public java.util.List getMembers() {
return this.members;
}
public AddWorkspaceDocMembersRequest setOperatorId(String operatorId) {
this.operatorId = operatorId;
return this;
}
public String getOperatorId() {
return this.operatorId;
}
public static class AddWorkspaceDocMembersRequestMembers extends TeaModel {
// 被操作用户unionId
@NameInMap("memberId")
public String memberId;
// 用户类型
@NameInMap("memberType")
public String memberType;
// 用户权限
@NameInMap("roleType")
public String roleType;
public static AddWorkspaceDocMembersRequestMembers build(java.util.Map map) throws Exception {
AddWorkspaceDocMembersRequestMembers self = new AddWorkspaceDocMembersRequestMembers();
return TeaModel.build(map, self);
}
public AddWorkspaceDocMembersRequestMembers setMemberId(String memberId) {
this.memberId = memberId;
return this;
}
public String getMemberId() {
return this.memberId;
}
public AddWorkspaceDocMembersRequestMembers setMemberType(String memberType) {
this.memberType = memberType;
return this;
}
public String getMemberType() {
return this.memberType;
}
public AddWorkspaceDocMembersRequestMembers setRoleType(String roleType) {
this.roleType = roleType;
return this;
}
public String getRoleType() {
return this.roleType;
}
}
}