cn.authing.sdk.java.dto.GetUserBatchDto 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 GetUserBatchDto {
/**
* 用户 ID 数组
*/
@JsonProperty("userIds")
private String userIds;
/**
* 用户 ID 类型,默认值为 `user_id`,可选值为:
* - `user_id`: Authing 用户 ID,如 `6319a1504f3xxxxf214dd5b7`
* - `phone`: 用户手机号
* - `email`: 用户邮箱
* - `username`: 用户名
* - `external_id`: 用户在外部系统的 ID,对应 Authing 用户信息的 `externalId` 字段
* - `identity`: 用户的外部身份源信息,格式为 `:`,其中 `` 为 Authing 身份源的 ID,`` 为用户在外部身份源的 ID。
* 示例值:`62f20932716fbcc10d966ee5:ou_8bae746eac07cd2564654140d2a9ac61`。
* - `sync_relation`: 用户的外部身份源信息,格式为 `:`,其中 `` 为同步身份源类型,如 wechatwork, lark;`` 为用户在外部身份源的 ID。
* 示例值:`lark:ou_8bae746eac07cd2564654140d2a9ac61`。
*
*/
@JsonProperty("userIdType")
private String userIdType;
/**
* 是否获取自定义数据
*/
@JsonProperty("withCustomData")
private Boolean withCustomData;
/**
* 是否拍平扩展字段
*/
@JsonProperty("flatCustomData")
private Boolean flatCustomData;
/**
* 是否获取 identities
*/
@JsonProperty("withIdentities")
private Boolean withIdentities;
/**
* 是否获取部门 ID 列表
*/
@JsonProperty("withDepartmentIds")
private Boolean withDepartmentIds;
public String getUserIds() {
return userIds;
}
public void setUserIds(String userIds) {
this.userIds = userIds;
}
public String getUserIdType() {
return userIdType;
}
public void setUserIdType(String userIdType) {
this.userIdType = userIdType;
}
public Boolean getWithCustomData() {
return withCustomData;
}
public void setWithCustomData(Boolean withCustomData) {
this.withCustomData = withCustomData;
}
public Boolean getFlatCustomData() {
return flatCustomData;
}
public void setFlatCustomData(Boolean flatCustomData) {
this.flatCustomData = flatCustomData;
}
public Boolean getWithIdentities() {
return withIdentities;
}
public void setWithIdentities(Boolean withIdentities) {
this.withIdentities = withIdentities;
}
public Boolean getWithDepartmentIds() {
return withDepartmentIds;
}
public void setWithDepartmentIds(Boolean withDepartmentIds) {
this.withDepartmentIds = withDepartmentIds;
}
}