com.aliyun.dingtalkdrive_1_0.models.ModifyPermissionRequest 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.dingtalkdrive_1_0.models;
import com.aliyun.tea.*;
public class ModifyPermissionRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("members")
public java.util.List members;
/**
* This parameter is required.
*/
@NameInMap("role")
public String role;
/**
* This parameter is required.
*/
@NameInMap("unionId")
public String unionId;
public static ModifyPermissionRequest build(java.util.Map map) throws Exception {
ModifyPermissionRequest self = new ModifyPermissionRequest();
return TeaModel.build(map, self);
}
public ModifyPermissionRequest setMembers(java.util.List members) {
this.members = members;
return this;
}
public java.util.List getMembers() {
return this.members;
}
public ModifyPermissionRequest setRole(String role) {
this.role = role;
return this;
}
public String getRole() {
return this.role;
}
public ModifyPermissionRequest setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
public static class ModifyPermissionRequestMembers extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("corpId")
public String corpId;
/**
* This parameter is required.
*/
@NameInMap("memberId")
public String memberId;
/**
* This parameter is required.
*/
@NameInMap("memberType")
public String memberType;
public static ModifyPermissionRequestMembers build(java.util.Map map) throws Exception {
ModifyPermissionRequestMembers self = new ModifyPermissionRequestMembers();
return TeaModel.build(map, self);
}
public ModifyPermissionRequestMembers setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public ModifyPermissionRequestMembers setMemberId(String memberId) {
this.memberId = memberId;
return this;
}
public String getMemberId() {
return this.memberId;
}
public ModifyPermissionRequestMembers setMemberType(String memberType) {
this.memberType = memberType;
return this;
}
public String getMemberType() {
return this.memberType;
}
}
}