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

pro.taskana.common.rest.models.TaskanaUserInfoRepresentationModel Maven / Gradle / Ivy

There is a newer version: 8.2.0
Show newest version
package pro.taskana.common.rest.models;

import java.util.ArrayList;
import java.util.List;
import org.springframework.hateoas.RepresentationModel;

import pro.taskana.common.api.LoggerUtils;
import pro.taskana.common.api.TaskanaRole;

/** EntityModel class for user information. */
public class TaskanaUserInfoRepresentationModel
    extends RepresentationModel {

  private String userId;
  private List groupIds = new ArrayList<>();
  private List roles = new ArrayList<>();

  public String getUserId() {
    return userId;
  }

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

  public List getGroupIds() {
    return groupIds;
  }

  public void setGroupIds(List groupIds) {
    this.groupIds = groupIds;
  }

  public List getRoles() {
    return roles;
  }

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

  @Override
  public String toString() {
    return "TaskanaUserInfoRepresentationModel ["
        + "userId= "
        + this.userId
        + "groupIds= "
        + LoggerUtils.listToString(this.groupIds)
        + "roles= "
        + LoggerUtils.listToString(this.roles)
        + "]";
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy