forked from gitlab4j/gitlab4j-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding diff_refs in MergeRequest gitlab4j#291 (gitlab4j#300)
- Loading branch information
1 parent
fa9e542
commit 00496bf
Showing
3 changed files
with
56 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package org.gitlab4j.api.models; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
public class DiffRef { | ||
private String baseSha; | ||
private String headSha; | ||
private String startSha; | ||
|
||
public DiffRef() { | ||
} | ||
|
||
public String getBaseSha() { | ||
return baseSha; | ||
} | ||
|
||
public void setBaseSha(final String baseSha) { | ||
this.baseSha = baseSha; | ||
} | ||
|
||
public String getHeadSha() { | ||
return headSha; | ||
} | ||
|
||
public void setHeadSha(final String headSha) { | ||
this.headSha = headSha; | ||
} | ||
|
||
public String getStartSha() { | ||
return startSha; | ||
} | ||
|
||
public void setStartSha(final String startSha) { | ||
this.startSha = startSha; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters