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

com.aliyun.dingtalkstorage_2_0.models.UpdatePermissionRequest Maven / Gradle / Ivy

There is a newer version: 2.1.67
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkstorage_2_0.models;

import com.aliyun.tea.*;

public class UpdatePermissionRequest extends TeaModel {
    /**
     * 

This parameter is required.

*/ @NameInMap("members") public java.util.List members; @NameInMap("option") public UpdatePermissionRequestOption option; /** *

This parameter is required.

* * example: *

MANAGER

*/ @NameInMap("roleId") public String roleId; /** *

This parameter is required.

* * example: *

union_id

*/ @NameInMap("unionId") public String unionId; public static UpdatePermissionRequest build(java.util.Map map) throws Exception { UpdatePermissionRequest self = new UpdatePermissionRequest(); return TeaModel.build(map, self); } public UpdatePermissionRequest setMembers(java.util.List members) { this.members = members; return this; } public java.util.List getMembers() { return this.members; } public UpdatePermissionRequest setOption(UpdatePermissionRequestOption option) { this.option = option; return this; } public UpdatePermissionRequestOption getOption() { return this.option; } public UpdatePermissionRequest setRoleId(String roleId) { this.roleId = roleId; return this; } public String getRoleId() { return this.roleId; } public UpdatePermissionRequest setUnionId(String unionId) { this.unionId = unionId; return this; } public String getUnionId() { return this.unionId; } public static class UpdatePermissionRequestMembers extends TeaModel { /** * example: *

corp_id

*/ @NameInMap("corpId") public String corpId; /** *

This parameter is required.

* * example: *

member_id

*/ @NameInMap("id") public String id; /** *

This parameter is required.

* * example: *

USER

*/ @NameInMap("type") public String type; public static UpdatePermissionRequestMembers build(java.util.Map map) throws Exception { UpdatePermissionRequestMembers self = new UpdatePermissionRequestMembers(); return TeaModel.build(map, self); } public UpdatePermissionRequestMembers setCorpId(String corpId) { this.corpId = corpId; return this; } public String getCorpId() { return this.corpId; } public UpdatePermissionRequestMembers setId(String id) { this.id = id; return this; } public String getId() { return this.id; } public UpdatePermissionRequestMembers setType(String type) { this.type = type; return this; } public String getType() { return this.type; } } public static class UpdatePermissionRequestOption extends TeaModel { /** * example: *

3600

*/ @NameInMap("duration") public Long duration; public static UpdatePermissionRequestOption build(java.util.Map map) throws Exception { UpdatePermissionRequestOption self = new UpdatePermissionRequestOption(); return TeaModel.build(map, self); } public UpdatePermissionRequestOption setDuration(Long duration) { this.duration = duration; return this; } public Long getDuration() { return this.duration; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy