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