All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dingtalktranscribe_1_0.models.UpdatePermissionForUsersRequest Maven / Gradle / Ivy

There is a newer version: 2.1.30
Show newest version
// 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 {
    // 闪记任务的类型。枚举值,从任务详情中获取。
    @NameInMap("bizType")
    public Integer bizType;

    // 被授权的用户信息列表
    @NameInMap("members")
    public java.util.List members;

    // 要操作的闪记任务的创建者userId。
    @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 {
        @NameInMap("memberId")
        public Long memberId;

        // 要赋予用户的权限名称。该字段表示要授予特定用户的权限名称,由开发者填写。
        // 
        // EDITOR:可编辑权限
        // 
        // READ_DOWNLOAD:仅可查看、下载
        // 
        // READ:只读权限
        @NameInMap("memberType")
        public String memberType;

        @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;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy