types for request for bunch token creation for service and container
added
This commit is contained in:
parent
6e4c5acb02
commit
e237f28a83
|
@ -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;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -10,6 +10,13 @@ public class ListMapper {
|
||||||
|
|
||||||
private List<String> list = new ArrayList<String>();
|
private List<String> list = new ArrayList<String>();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public ListMapper(List<String> list) {
|
||||||
|
super();
|
||||||
|
this.list = list;
|
||||||
|
}
|
||||||
|
|
||||||
public List<String> getList() {
|
public List<String> getList() {
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue