types for request for bunch token creation for service and container

added
This commit is contained in:
lucio 2019-12-09 17:56:17 +01:00
parent 6e4c5acb02
commit e237f28a83
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,28 @@
package org.gcube.common.authorization.library.utils;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
import org.gcube.common.authorization.library.AuthorizationEntry;
@XmlRootElement
public class AuthorizationEntryList {
private List<AuthorizationEntry> entries = new ArrayList<AuthorizationEntry>();
public AuthorizationEntryList(List<AuthorizationEntry> entries) {
super();
this.entries = entries;
}
public List<AuthorizationEntry> getEntries() {
return entries;
}
public void setEntries(List<AuthorizationEntry> entries) {
this.entries = entries;
}
}

View File

@ -10,6 +10,13 @@ public class ListMapper {
private List<String> list = new ArrayList<String>();
public ListMapper(List<String> list) {
super();
this.list = list;
}
public List<String> getList() {
return list;
}