cn.authing.sdk.java.dto.IsUserInDepartmentDto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of authing-java-sdk Show documentation
Show all versions of authing-java-sdk Show documentation
java backend sdk for authing
package cn.authing.sdk.java.dto;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
public class IsUserInDepartmentDto {
/**
* 用户的唯一标志,可以是用户 ID、用户名、邮箱、手机号、externalId、在外部身份源的 ID,详情见 userIdType 字段的说明。默认为用户 id 。
*/
@JsonProperty("userId")
private String userId;
/**
* 组织 code
*/
@JsonProperty("organizationCode")
private String organizationCode;
/**
* 部门 ID,根部门传 `root`。departmentId 和 departmentCode 必传其一。
*/
@JsonProperty("departmentId")
private String departmentId;
/**
* 此次调用中使用的部门 ID 的类型
*/
@JsonProperty("departmentIdType")
private String departmentIdType;
/**
* 是否包含子部门
*/
@JsonProperty("includeChildrenDepartments")
private Boolean includeChildrenDepartments;
/**
* 租户 ID
*/
@JsonProperty("tenantId")
private String tenantId;
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getOrganizationCode() {
return organizationCode;
}
public void setOrganizationCode(String organizationCode) {
this.organizationCode = organizationCode;
}
public String getDepartmentId() {
return departmentId;
}
public void setDepartmentId(String departmentId) {
this.departmentId = departmentId;
}
public String getDepartmentIdType() {
return departmentIdType;
}
public void setDepartmentIdType(String departmentIdType) {
this.departmentIdType = departmentIdType;
}
public Boolean getIncludeChildrenDepartments() {
return includeChildrenDepartments;
}
public void setIncludeChildrenDepartments(Boolean includeChildrenDepartments) {
this.includeChildrenDepartments = includeChildrenDepartments;
}
public String getTenantId() {
return tenantId;
}
public void setTenantId(String tenantId) {
this.tenantId = tenantId;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy