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

cn.authing.sdk.java.dto.HasAnyRoleReqDto 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.HasAnyRoleOptionsDto;
import cn.authing.sdk.java.dto.HasRoleRolesDto;

public class HasAnyRoleReqDto {
    /**
     * 角色列表
     */
    @JsonProperty("roles")
    private List roles;
    /**
     * 用户唯一标志,可以是用户 ID、用户名、邮箱、手机号、外部 ID、在外部身份源的 ID。
     */
    @JsonProperty("userId")
    private String userId;
    /**
     * 可选参数
     */
    @JsonProperty("options")
    private HasAnyRoleOptionsDto options;

    public List getRoles() {
        return roles;
    }
    public void setRoles(List roles) {
        this.roles = roles;
    }

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

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



}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy