public class ShowDiffCommitResponse extends SdkResponse
| Constructor and Description |
|---|
ShowDiffCommitResponse() |
| Modifier and Type | Method and Description |
|---|---|
ShowDiffCommitResponse |
addResultItem(DiffCommitInfo resultItem) |
boolean |
equals(Object o) |
Error |
getError()
Get error
|
List<DiffCommitInfo> |
getResult()
差异列表
|
String |
getStatus()
响应状态
|
int |
hashCode() |
void |
setError(Error error) |
void |
setResult(List<DiffCommitInfo> result) |
void |
setStatus(String status) |
String |
toString() |
ShowDiffCommitResponse |
withError(java.util.function.Consumer<Error> errorSetter) |
ShowDiffCommitResponse |
withError(Error error) |
ShowDiffCommitResponse |
withResult(java.util.function.Consumer<List<DiffCommitInfo>> resultSetter) |
ShowDiffCommitResponse |
withResult(List<DiffCommitInfo> result) |
ShowDiffCommitResponse |
withStatus(String status) |
getHttpStatusCode, setHttpStatusCodepublic ShowDiffCommitResponse withError(Error error)
public ShowDiffCommitResponse withError(java.util.function.Consumer<Error> errorSetter)
public Error getError()
public void setError(Error error)
public ShowDiffCommitResponse withResult(List<DiffCommitInfo> result)
public ShowDiffCommitResponse addResultItem(DiffCommitInfo resultItem)
public ShowDiffCommitResponse withResult(java.util.function.Consumer<List<DiffCommitInfo>> resultSetter)
public List<DiffCommitInfo> getResult()
public void setResult(List<DiffCommitInfo> result)
public ShowDiffCommitResponse withStatus(String status)
public String getStatus()
public void setStatus(String status)
Copyright © 2022. All rights reserved.