com.aliyun.dingtalktranscribe_1_0.models.UpdatePermissionForUsersRequest 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.dingtalktranscribe_1_0.models;
import com.aliyun.tea.*;
public class UpdatePermissionForUsersRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("bizType")
public Integer bizType;
/**
* This parameter is required.
*/
@NameInMap("members")
public java.util.List members;
/**
* This parameter is required.
*
* example:
* 533xxxxxx
*/
@NameInMap("taskCreator")
public Long taskCreator;
@NameInMap("operatorUid")
public Long operatorUid;
public static UpdatePermissionForUsersRequest build(java.util.Map map) throws Exception {
UpdatePermissionForUsersRequest self = new UpdatePermissionForUsersRequest();
return TeaModel.build(map, self);
}
public UpdatePermissionForUsersRequest setBizType(Integer bizType) {
this.bizType = bizType;
return this;
}
public Integer getBizType() {
return this.bizType;
}
public UpdatePermissionForUsersRequest setMembers(java.util.List members) {
this.members = members;
return this;
}
public java.util.List getMembers() {
return this.members;
}
public UpdatePermissionForUsersRequest setTaskCreator(Long taskCreator) {
this.taskCreator = taskCreator;
return this;
}
public Long getTaskCreator() {
return this.taskCreator;
}
public UpdatePermissionForUsersRequest setOperatorUid(Long operatorUid) {
this.operatorUid = operatorUid;
return this;
}
public Long getOperatorUid() {
return this.operatorUid;
}
public static class UpdatePermissionForUsersRequestMembers extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("memberId")
public Long memberId;
/**
* This parameter is required.
*/
@NameInMap("memberType")
public String memberType;
/**
* This parameter is required.
*
* example:
* EDITOR
*/
@NameInMap("policyType")
public String policyType;
public static UpdatePermissionForUsersRequestMembers build(java.util.Map map) throws Exception {
UpdatePermissionForUsersRequestMembers self = new UpdatePermissionForUsersRequestMembers();
return TeaModel.build(map, self);
}
public UpdatePermissionForUsersRequestMembers setMemberId(Long memberId) {
this.memberId = memberId;
return this;
}
public Long getMemberId() {
return this.memberId;
}
public UpdatePermissionForUsersRequestMembers setMemberType(String memberType) {
this.memberType = memberType;
return this;
}
public String getMemberType() {
return this.memberType;
}
public UpdatePermissionForUsersRequestMembers setPolicyType(String policyType) {
this.policyType = policyType;
return this;
}
public String getPolicyType() {
return this.policyType;
}
}
}