org.visallo.web.clientapi.model.ClientApiWorkspaces Maven / Gradle / Ivy
package org.visallo.web.clientapi.model;
import org.visallo.web.clientapi.util.StringUtils;
import java.util.ArrayList;
import java.util.List;
public class ClientApiWorkspaces implements ClientApiObject {
private List workspaces = new ArrayList();
public List getWorkspaces() {
return workspaces;
}
@Override
public String toString() {
return "Workspaces{" +
"workspaces=" + StringUtils.join(workspaces) +
'}';
}
public void addWorkspace(ClientApiWorkspace workspace) {
this.workspaces.add(workspace);
}
}