Skip to main content
summaryrefslogtreecommitdiffstats
blob: d1ff68b8c16f2a0eab720938a66bf35aeb265c17 (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
32
33
34
/*******************************************************************************
 * Copyright (c) 2013 Tasktop Technologies and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Tasktop Technologies - initial API and implementation
 *******************************************************************************/

package org.eclipse.mylyn.internal.gerrit.core.client.rest;

import java.util.List;
import java.util.Map;

/**
 * Data model object for <a
 * href="https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#label-info">LabelInfo</a>.
 */
public class LabelInfo {

	private List<ApprovalInfo> all;

	private Map<String, String> values;

	public List<ApprovalInfo> getAll() {
		return all;
	}

	public Map<String/*vote*/, String/*description*/> getValues() {
		return values;
	}
}

Back to the top