Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 919600a6ce3c55ab560da3042bf0c20fcc22c83c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*******************************************************************************
 * Copyright (c) 2014, 2018 Frank Becker and others.
 * 
 * This program and the accompanying materials are made
 * available under the terms of the Eclipse Public License 2.0
 * which is available at https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *     Frank Becker - initial API and implementation
 *     Red Hat Inc. - modified for use in OSIO Rest Connector
 *******************************************************************************/

package org.eclipse.linuxtools.internal.mylyn.osio.rest.core.response.data;

public class UsersResponse implements RestResponse<User> {
	
	private User[] data;
	
	// for testing purposes only
	public UsersResponse (User[] data) {
		this.data = data;
	}
	
	@Override
	public User[] getArray() {
		return data;
	}
	
}

Back to the top