de.cinovo.cloudconductor.api.model.UserGroup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cloudconductor-api Show documentation
Show all versions of cloudconductor-api Show documentation
Server to manage deployment environments
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