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

de.cinovo.cloudconductor.api.model.UserGroup Maven / Gradle / Ivy

There is a newer version: 3.12
Show newest version
package de.cinovo.cloudconductor.api.model;

import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeInfo.As;
import com.fasterxml.jackson.annotation.JsonTypeInfo.Id;
import de.cinovo.cloudconductor.api.enums.UserPermissions;

import java.util.Set;

/**
 * Copyright 2017 Cinovo AG
*
* * @author psigloch */ @JsonTypeInfo(include = As.PROPERTY, use = Id.CLASS) public class UserGroup { private String name; private String description; private Set permissions; /** default constructor */ public UserGroup() { // nothing to do } /** * @param name group name * @param description group description * @param permissions set of permissions for group members */ public UserGroup(String name, String description, Set permissions) { this.name = name; this.description = description; this.permissions = permissions; } /** * @return the name */ public String getName() { return this.name; } /** * @param name the name to set */ public void setName(String name) { this.name = name; } /** * @return the description */ public String getDescription() { return this.description; } /** * @param description the description to set */ public void setDescription(String description) { this.description = description; } /** * @return the permissions */ public Set getPermissions() { return this.permissions; } /** * @param permissions the permissions to set */ public void setPermissions(Set permissions) { this.permissions = permissions; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy