cn.authing.sdk.java.dto.DeleteDepartmentReqDto 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 DeleteDepartmentReqDto {
/**
* 组织 Code(organizationCode)
*/
@JsonProperty("organizationCode")
private String organizationCode;
/**
* 部门系统 ID(为 Authing 系统自动生成,不可修改)
*/
@JsonProperty("departmentId")
private String departmentId;
/**
* 此次调用中使用的部门 ID 的类型
*/
@JsonProperty("departmentIdType")
private DepartmentIdType departmentIdType;
/**
* 租户 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 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;
}
}
}