All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.authing.sdk.java.dto.SetUserDepartmentsDto Maven / Gradle / Ivy

There is a newer version: 3.1.10
Show newest version
package cn.authing.sdk.java.dto;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

import cn.authing.sdk.java.dto.SetUserDepartmentDto;
import cn.authing.sdk.java.dto.SetUserDepartmentsOptionsDto;

public class SetUserDepartmentsDto {
    /**
     * 用户的唯一标志,可以是用户 ID、用户名、邮箱、手机号、externalId、在外部身份源的 ID,详情见 userIdType 字段的说明。默认为用户 id 。
     */
    @JsonProperty("userId")
    private String userId;
    /**
     * 部门信息
     */
    @JsonProperty("departments")
    private List departments;
    /**
     * 可选参数
     */
    @JsonProperty("options")
    private SetUserDepartmentsOptionsDto options;

    public String getUserId() {
        return userId;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }

    public List getDepartments() {
        return departments;
    }
    public void setDepartments(List departments) {
        this.departments = departments;
    }

    public SetUserDepartmentsOptionsDto getOptions() {
        return options;
    }
    public void setOptions(SetUserDepartmentsOptionsDto options) {
        this.options = options;
    }



}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy