![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.dingtalkcontact_1_0.models.UpdateManagementGroupRequest 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.dingtalkcontact_1_0.models;
import com.aliyun.tea.*;
public class UpdateManagementGroupRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 财务管理组
*/
@NameInMap("groupName")
public String groupName;
/**
* This parameter is required.
*/
@NameInMap("members")
public java.util.List members;
/**
* This parameter is required.
*/
@NameInMap("resourceIds")
public java.util.List resourceIds;
/**
* This parameter is required.
*/
@NameInMap("scope")
public UpdateManagementGroupRequestScope scope;
public static UpdateManagementGroupRequest build(java.util.Map map) throws Exception {
UpdateManagementGroupRequest self = new UpdateManagementGroupRequest();
return TeaModel.build(map, self);
}
public UpdateManagementGroupRequest setGroupName(String groupName) {
this.groupName = groupName;
return this;
}
public String getGroupName() {
return this.groupName;
}
public UpdateManagementGroupRequest setMembers(java.util.List members) {
this.members = members;
return this;
}
public java.util.List getMembers() {
return this.members;
}
public UpdateManagementGroupRequest setResourceIds(java.util.List resourceIds) {
this.resourceIds = resourceIds;
return this;
}
public java.util.List getResourceIds() {
return this.resourceIds;
}
public UpdateManagementGroupRequest setScope(UpdateManagementGroupRequestScope scope) {
this.scope = scope;
return this;
}
public UpdateManagementGroupRequestScope getScope() {
return this.scope;
}
public static class UpdateManagementGroupRequestMembers extends TeaModel {
/**
* This parameter is required.
*
* example:
* WB001
*/
@NameInMap("memberId")
public String memberId;
/**
* This parameter is required.
*
* example:
* user
*/
@NameInMap("memberType")
public String memberType;
public static UpdateManagementGroupRequestMembers build(java.util.Map map) throws Exception {
UpdateManagementGroupRequestMembers self = new UpdateManagementGroupRequestMembers();
return TeaModel.build(map, self);
}
public UpdateManagementGroupRequestMembers setMemberId(String memberId) {
this.memberId = memberId;
return this;
}
public String getMemberId() {
return this.memberId;
}
public UpdateManagementGroupRequestMembers setMemberType(String memberType) {
this.memberType = memberType;
return this;
}
public String getMemberType() {
return this.memberType;
}
}
public static class UpdateManagementGroupRequestScope extends TeaModel {
@NameInMap("deptIds")
public java.util.List deptIds;
/**
* This parameter is required.
*
* example:
* 1:全公司 2:所在部门 3:指定部门
*/
@NameInMap("scopeType")
public Integer scopeType;
public static UpdateManagementGroupRequestScope build(java.util.Map map) throws Exception {
UpdateManagementGroupRequestScope self = new UpdateManagementGroupRequestScope();
return TeaModel.build(map, self);
}
public UpdateManagementGroupRequestScope setDeptIds(java.util.List deptIds) {
this.deptIds = deptIds;
return this;
}
public java.util.List getDeptIds() {
return this.deptIds;
}
public UpdateManagementGroupRequestScope setScopeType(Integer scopeType) {
this.scopeType = scopeType;
return this;
}
public Integer getScopeType() {
return this.scopeType;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy