com.dahuatech.icc.brm.model.v202010.role.BrmRoleDetailRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk-brm Show documentation
Show all versions of java-sdk-brm Show documentation
Dahua ICC Open API SDK for Java
The newest version!
package com.dahuatech.icc.brm.model.v202010.role;
import com.dahuatech.hutool.http.Method;
import com.dahuatech.icc.brm.constant.BrmConstant;
import com.dahuatech.icc.brm.constant.ParamConstant;
import com.dahuatech.icc.brm.exception.BusinessException;
import com.dahuatech.icc.exception.ClientException;
import com.dahuatech.icc.oauth.http.AbstractIccRequest;
import com.dahuatech.icc.util.CollectionUtil;
/**
* 角色信息
*
* @author 237417
* @since 1.0.0 2021/02/23
*/
public class BrmRoleDetailRequest extends AbstractIccRequest {
private Long userId;
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public BrmRoleDetailRequest(Long userId) {
super(BrmConstant.url(BrmConstant.BRM_URL_ROLE_DETAIL_REST_GET, userId), Method.GET);
this.userId = userId;
}
@Override
public Class getResponseClass() {
return BrmRoleDetailResponse.class;
}
public void businessValid() {
}
}