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

com.aliyun.dingtalkdrive_1_0.models.ModifyPermissionRequest Maven / Gradle / Ivy

There is a newer version: 2.1.50
Show newest version
// 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 {
    @NameInMap("members")
    public java.util.List members;

    // 权限角色
    @NameInMap("role")
    public String role;

    // 用户id
    @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 {
        // 企业corpId
        @NameInMap("corpId")
        public String corpId;

        // 成员id
        @NameInMap("memberId")
        public String memberId;

        // 成员类型
        @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;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy