com.aliyun.dingtalkdoc_1_0.models.AddWorkspaceMembersRequest 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 AddWorkspaceMembersRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("members")
public java.util.List members;
/**
* This parameter is required.
*/
@NameInMap("operatorId")
public String operatorId;
public static AddWorkspaceMembersRequest build(java.util.Map map) throws Exception {
AddWorkspaceMembersRequest self = new AddWorkspaceMembersRequest();
return TeaModel.build(map, self);
}
public AddWorkspaceMembersRequest setMembers(java.util.List members) {
this.members = members;
return this;
}
public java.util.List getMembers() {
return this.members;
}
public AddWorkspaceMembersRequest setOperatorId(String operatorId) {
this.operatorId = operatorId;
return this;
}
public String getOperatorId() {
return this.operatorId;
}
public static class AddWorkspaceMembersRequestMembers 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 AddWorkspaceMembersRequestMembers build(java.util.Map map) throws Exception {
AddWorkspaceMembersRequestMembers self = new AddWorkspaceMembersRequestMembers();
return TeaModel.build(map, self);
}
public AddWorkspaceMembersRequestMembers setMemberId(String memberId) {
this.memberId = memberId;
return this;
}
public String getMemberId() {
return this.memberId;
}
public AddWorkspaceMembersRequestMembers setMemberType(String memberType) {
this.memberType = memberType;
return this;
}
public String getMemberType() {
return this.memberType;
}
public AddWorkspaceMembersRequestMembers setRoleType(String roleType) {
this.roleType = roleType;
return this;
}
public String getRoleType() {
return this.roleType;
}
}
}