com.aliyun.dingtalkcontact_1_0.models.MultiOrgPermissionGrantRequest 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 MultiOrgPermissionGrantRequest extends TeaModel {
/**
* example:
* 123
*
* if can be null:
* false
*/
@NameInMap("grantDeptIdList")
public java.util.List grantDeptIdList;
/**
* This parameter is required.
*
* example:
* dingxxxxx
*/
@NameInMap("joinCorpId")
public String joinCorpId;
public static MultiOrgPermissionGrantRequest build(java.util.Map map) throws Exception {
MultiOrgPermissionGrantRequest self = new MultiOrgPermissionGrantRequest();
return TeaModel.build(map, self);
}
public MultiOrgPermissionGrantRequest setGrantDeptIdList(java.util.List grantDeptIdList) {
this.grantDeptIdList = grantDeptIdList;
return this;
}
public java.util.List getGrantDeptIdList() {
return this.grantDeptIdList;
}
public MultiOrgPermissionGrantRequest setJoinCorpId(String joinCorpId) {
this.joinCorpId = joinCorpId;
return this;
}
public String getJoinCorpId() {
return this.joinCorpId;
}
}