com.aliyun.dingtalkedu_1_0.models.EduFindUserRolesByUserIdRequest 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.dingtalkedu_1_0.models;
import com.aliyun.tea.*;
public class EduFindUserRolesByUserIdRequest extends TeaModel {
/**
* example:
* 666666
*/
@NameInMap("classId")
public Long classId;
/**
* example:
* ding123456
*/
@NameInMap("corpId")
public String corpId;
@NameInMap("hasOrgRole")
public Boolean hasOrgRole;
/**
* example:
* 123456
*/
@NameInMap("userId")
public String userId;
public static EduFindUserRolesByUserIdRequest build(java.util.Map map) throws Exception {
EduFindUserRolesByUserIdRequest self = new EduFindUserRolesByUserIdRequest();
return TeaModel.build(map, self);
}
public EduFindUserRolesByUserIdRequest setClassId(Long classId) {
this.classId = classId;
return this;
}
public Long getClassId() {
return this.classId;
}
public EduFindUserRolesByUserIdRequest setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public EduFindUserRolesByUserIdRequest setHasOrgRole(Boolean hasOrgRole) {
this.hasOrgRole = hasOrgRole;
return this;
}
public Boolean getHasOrgRole() {
return this.hasOrgRole;
}
public EduFindUserRolesByUserIdRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}