com.foilen.infra.api.model.permission.Role Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of foilen-infra-api Show documentation
Show all versions of foilen-infra-api Show documentation
This is the infra service API
The newest version!
/*
Foilen Infra API
https://github.com/foilen/foilen-infra-api
Copyright (c) 2017-2021 Foilen (https://foilen.com)
The MIT License
http://opensource.org/licenses/MIT
*/
package com.foilen.infra.api.model.permission;
import java.util.ArrayList;
import java.util.List;
import com.foilen.smalltools.restapi.model.AbstractApiBase;
public class Role extends AbstractApiBase {
private String name;
private List resources = new ArrayList<>();
private List links = new ArrayList<>();
public Role() {
}
public Role(String name) {
this.name = name;
}
public List getLinks() {
return links;
}
public String getName() {
return name;
}
public List getResources() {
return resources;
}
public Role setLinks(List links) {
this.links = links;
return this;
}
public Role setName(String name) {
this.name = name;
return this;
}
public Role setResources(List resources) {
this.resources = resources;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy