cn.authing.sdk.java.dto.AddTenantDepartmentMembersReqDto 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 AddTenantDepartmentMembersReqDto {
/**
* 组织 code
*/
@JsonProperty("organizationCode")
private String organizationCode;
/**
* 部门系统 ID(为 Authing 系统自动生成,不可修改)
*/
@JsonProperty("departmentId")
private String departmentId;
/**
* 此次调用中使用的部门 ID 的类型
*/
@JsonProperty("departmentIdType")
private DepartmentIdType departmentIdType;
/**
* 关联的用户池级别的用户 ID
*/
@JsonProperty("linkUserIds")
private List linkUserIds;
/**
* 租户成员 ID
*/
@JsonProperty("memberIds")
private List memberIds;
/**
* 租户 ID
*/
@JsonProperty("tenantId")
private String tenantId;
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 DepartmentIdType getDepartmentIdType() {
return departmentIdType;
}
public void setDepartmentIdType(DepartmentIdType departmentIdType) {
this.departmentIdType = departmentIdType;
}
public List getLinkUserIds() {
return linkUserIds;
}
public void setLinkUserIds(List linkUserIds) {
this.linkUserIds = linkUserIds;
}
public List getMemberIds() {
return memberIds;
}
public void setMemberIds(List memberIds) {
this.memberIds = memberIds;
}
public String getTenantId() {
return tenantId;
}
public void setTenantId(String tenantId) {
this.tenantId = tenantId;
}
/**
* 此次调用中使用的部门 ID 的类型
*/
public static enum DepartmentIdType {
@JsonProperty("department_id")
DEPARTMENT_ID("department_id"),
@JsonProperty("open_department_id")
OPEN_DEPARTMENT_ID("open_department_id"),
@JsonProperty("sync_relation")
SYNC_RELATION("sync_relation"),
@JsonProperty("custom_field")
CUSTOM_FIELD("custom_field"),
@JsonProperty("code")
CODE("code"),
;
private String value;
DepartmentIdType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
}
}