com.aliyun.dingtalkdoc_1_0.models.AddWorkspaceDocMembersRequest 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.dingtalkdoc_1_0.models;
import com.aliyun.tea.*;
public class AddWorkspaceDocMembersRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("members")
public java.util.List members;
/**
* This parameter is required.
*/
@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 {
/**
* This parameter is required.
*/
@NameInMap("memberId")
public String memberId;
/**
* This parameter is required.
*/
@NameInMap("memberType")
public String memberType;
/**
* This parameter is required.
*/
@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;
}
}
}