blob: cf636146156cf5838a532ab051e14f4e8d30a2f4 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
/*******************************************************************************
* Copyright (c) 2014 Ericsson AB 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:
* Ericsson AB - initial API and implementation
******************************************************************************/
package org.eclipse.mylyn.internal.gerrit.core.client.rest;
/**
* Data model object for
* <a href="https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#related-change-and-commit-info"
* >RelatedChangeAndCommitInfo</a>.
*/
public class RelatedChangeAndCommitInfo {
private String change_id;
private CommitInfo commit;
private int _change_number;
private int _revision_number;
private int _current_revision_number;
public String getChangeId() {
return change_id;
}
public CommitInfo getCommitInfo() {
return commit;
}
public int getChangeNumber() {
return _change_number;
}
public int getRevisionNumber() {
return _revision_number;
}
public int getCurrentRevisionNumber() {
return _current_revision_number;
}
}
|