public class ShowSingleCommitRequest extends Object
| Constructor and Description |
|---|
ShowSingleCommitRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Integer |
getRepoId()
仓库短id
|
String |
getSha()
commit id,仓库的branch名或tag名
|
Boolean |
getStats()
包括提交统计信息。默认值为true
|
int |
hashCode() |
void |
setRepoId(Integer repoId) |
void |
setSha(String sha) |
void |
setStats(Boolean stats) |
String |
toString() |
ShowSingleCommitRequest |
withRepoId(Integer repoId) |
ShowSingleCommitRequest |
withSha(String sha) |
ShowSingleCommitRequest |
withStats(Boolean stats) |
public ShowSingleCommitRequest withRepoId(Integer repoId)
public Integer getRepoId()
public void setRepoId(Integer repoId)
public ShowSingleCommitRequest withSha(String sha)
public String getSha()
public void setSha(String sha)
public ShowSingleCommitRequest withStats(Boolean stats)
public Boolean getStats()
public void setStats(Boolean stats)
Copyright © 2022. All rights reserved.